At the 2012 Summer Olympics, Kashyap surprised one and all by winning all his matches at the group stage, which involved the shocking defeat of Nguyen Tien Minh. In the Pre-quarters he defeated Niluka Karunaratne of Sri Lanka by 21–16, 15–21, 21–14. In the Quarterfinals, it was disappointment as a dejected looking Kashyap was escorted out of the court after his loss to top seed Lee Chong Wei in straight sets. In the process, he created history by becoming the only Indian to reach the Quarterfinal stages in the Olympics in Men's Singles. This achievement led him to 19th rank.