Political career
On 28 July 2009, it was revealed that Stewart had been approved to put himself forward for selection to constituency associations as a PPC for the Conservative Party. As the former commander of the Cheshire Regiment he was linked to the safe Conservative East Cheshire seats of Macclesfield and Congleton, however the final shortlists for Macclesfield and for Congleton from Conservative Central Office did not contain his name. In summer 2009 he was shortlisted for Beckenham, one of the safest Conservative seats in the country, and on 6 December it was announced that he had been selected as Conservative candidate there, winning an overall majority on the second ballot.
At the 2010 general election, Stewart was elected as the new MP for Beckenham. He won 57.9% of the vote, a decrease of 1.8%, and won a majority of 17,784, an increase from 8,401 at the 2005 general election.
In 2013, Stewart voted against same-sex marriage and called on the then Prime Minister David Cameron to drop the proposal. Five years later in May 2018 he apologised unreservedly in the House of Commons chamber for voting against same-sex marriage, after he had seen "the joy" it had brought to the lives of same-sex couples. In 2019, he voted to extend same-sex marriage to couples in Northern Ireland.
Stewart served on the House of Commons Defence Select Committee and in May 2014 he was one of seven unsuccessful candidates for the chairmanship of the committee.
Stewart has been vocal in criticising cuts to the defence budget, suggesting in March 2015, that if the Joint Chiefs of Staff were to resign over the issue it would "make a very powerful message". When asked if he would resign as an MP himself, he said that he was considering it.
Stewart was re-elected at the 2015 general election with an increased majority of 18,471 and a decreased vote share of 57.3%.
In 2016, Stewart was criticised after it was revealed he had described Isabel Hardman, The Spectator's assistant editor, as "totty". He later apologised to the journalist, but went on to publicly defend himself against an environment that he described as overly 'politically correct'. In November 2017, Stewart countered sexual harassment allegations saying "I'm not sleazy or drunk".
Stewart's seat was a target seat for the Liberal Democrats at both the 2017 and 2019 general election, following his open support of Brexit. At the snap 2017 general election, Stewart held his seat with a vote share increased by 2%, but with a decreased majority of 15,087. At the 2019 general election, Stewart was re-elected with a decreased vote share of 54.0% and a decreased majority of 14,258.
In the House of Commons Stewart sat on the Northern Ireland Affairs Committee and had previously sat on the Committees on Arms Export Controls and Defence Sub-Committee.
Stewart employed his wife as a part-time, Senior Parliamentary Assistant. MPs who were first elected in 2017 have been banned from employing family members, the restriction is not retrospective – meaning that Stewart's employment of his wife was allowed.
During a 2018 interview with Russia Today that followed the Stoneman Douglas High School shooting, Stewart suggested that teachers in American high schools may have to be armed.
In March 2020, Stewart was accused of fuelling xenophobia after he described COVID-19 as a "foul Chinese illness" in a Facebook post. Stewart said: "My grandfather died of Spanish flu in 1919 and I used the word Chinese Flu in respect of where the virus originated. As a constituent emailed me and thought I was being rude about the Chinese I deleted the word 'Chinese' because that was not my intention."
He is a Sino-sceptic who co-chaired the British-Taiwanese all-party parliamentary group along with Lord Rogan.
In July 2021, Stewart was one of five Conservative MPs found by the Commons Select Committee on Standards to have breached the code of conduct by writing to the Lord Chief Justice to try to influence a judge not to release character statements made by ordinary members of the public – former constituents of the former Conservative MP Charlie Elphicke, who had previously been found guilty of three counts of sexual assault and sentenced to two years in prison. Stewart reportedly wrote to the judge saying Elphicke's sentence should take into account his hard work as an MP, and described his crimes as "folly". On 22 July 2021, Stewart made a personal statement in the House of Commons apologising.
In November 2023, Stewart announced that he would not be seeking re-election at the 2024 general election.