Increasing prominence within BJP
In the 2009 general election, the BJP decided to field Varun Gandhi as its candidate from the Pilibhit constituency instead of his incumbent mother Maneka Gandhi. He won the seat by receiving 419,539 votes and defeated his nearest contending candidate, V.M. Singh, by a margin of 281,501 votes. The victory was the strongest of any of the four Gandhi family candidates in the election: his mother Maneka Gandhi, aunt Sonia Gandhi and first cousin Rahul Gandhi. The security deposits of all other candidates, including those of V.M. Singh of the Indian National Congress and the Bahujan Samaj Party candidate Ganga Charan Rajput were forfeited. A case was filed against Gandhi for allegedly making a provocative speech about Muslims, at a meeting at Dalchand Mohalla area of Pilibhit; however, he was acquitted by in court in the matter. On 5 March 2013, a Pilibhit court acquitted Gandhi in the second hate speech case registered against him during the 2009 Lok Sabha election campaign.
In August 2011, Varun Gandhi strongly pitched for the Jan Lokpal Bill. Gandhi offered his official residence to activist Anna Hazare to hold his fast, after Hazare was denied permission by the government. When Hazare was jailed, Gandhi offered to table the Jan Lokpal Bill in Parliament. On 24 August, he went to Ramlila Maidan as a common man to support the cause of Anna Hazare, becoming the first politician to openly support the anti-corruption cause.
In March 2013, Rajnath Singh appointed Varun Gandhi as the national general secretary of the BJP. He became the youngest ever general secretary of the party. In May 2013, Varun Gandhi was made in charge of the BJP's affairs in West Bengal.
In August 2013, newspapers reported that Gandhi was the only MP in the country who had spent all of his MP Local Area Development Fund (MPLAD) before stipulated time. According to official sources, Varun Gandhi used his funds for the development in education, health and infrastructure activities. His proposals were worth more than the entire MPLAD fund thus ensuring the entire amount of 25 crore was spent during his tenure as a Member of Parliament.
Gandhi was highly critical of his cousin Rahul Gandhi as well as the then Uttar Pradesh Chief Minister Akhilesh Yadav. He was projected as a youth face of the party within Uttar Pradesh. In September 2013, Varun Gandhi accused the Samajwadi Party-led Uttar Pradesh government of pursuing the politics of appeasement, and said that its mistakes would lead to its collapse, after it denied permission to Varun Gandhi's rally in Agra just two days before it was scheduled to take place.
He also denounced Rahul Gandhi's infamous outburst against the controversial ordinance against convicted lawmakers, and said that it was an insult to the Prime Minister, who was abroad at the time, and therefore also disgraceful to the nation.
In February 2014, Gandhi kickstarted his campaign for the 2014 election in Sultanpur. He gave an emotional speech to an enthusiastic crowd in Kadipur, and said that he had come to Sultanpur to fulfill his father's dreams.
In May 2014, Gandhi defeated Amita Singh from Sultanpur in Lok Sabha 2014 elections.
In March 2016, he introduced the Representation of the People (Amendment) Bill, 2016 in Lok Sabha.
He contested from Pilibhit lok sabha constituency in 2019 general elections and won with approx 250,000 votes to become an MP for the third consecutive time.