Kapoor subsequently got signed by Yash Raj Films (YRF) studio for a three-film contract. He appeared in films like Laaga Chunari Mein Daag (2007), Aaja Nachle (2007) and Bachna Ae Haseeno (2008). After this, Kapoor took a break for two years, and appeared next in national award winner Rahul Dholakia's Lamhaa (2010) starring Sanjay Dutt. The film didn't do well but Kapoor received accolades for his performance as a young Kashmiri Politician. Critics hailed it as "One of the most powerful performances of the year" That same year, Kapoor voiced the Indian God Rama in Mahayoddha Rama, an animation film made by Raizada Rohit Jaising Vaid. In 2011, he appeared in the Shahrukh Khan starrer Don 2, where his performance was appreciated.