In March 2017, Khan applied to be Labour's candidate in the
2017 Manchester Gorton by-election and was officially selected on 22 March. Prior to the election, he said "I condemn the statements made by
Ken Livingstone and I believe there is no place for anti-Semitism in the Labour Party." He added, "I have been a lifelong campaigner against racism and anti-Semitism. In 2008, I was awarded a CBE in part for my work encouraging greater understanding between Muslims and Jews. I intend to continue this work if I am elected as MP for Manchester Gorton." The by-election was cancelled following the dissolution of Parliament for the
early general election on 8 June 2017. Khan was elected to Parliament as MP for Manchester Gorton with 76.3% of the vote and a majority of 31,730. In July 2017, Khan was appointed Shadow Immigration Minister. In March 2018, Khan received a suspicious package containing an
anti-Islamic letter and sticky liquid. The substance was later found to be harmless. Similar packages were received by fellow Labour MPs
Mohammad Yasin,
Rushanara Ali and
Rupa Huq. In July 2019, Khan apologised for having shared on Facebook two years earlier a video of American comedian
Jon Stewart talking about
Benjamin Netanyahu. The text under the video referred to an "Israel-British-Swiss-Rothschilds crime syndicate" and "mass murdering Rothschilds Israeli mafia criminal liars". Khan said he was "mortified", adding "I didn't read the text below, which contained an anti-Semitic conspiracy about the Rothschilds. I would never have shared it if I had seen that". At the
2019 general election, Khan was re-elected with an increased vote share of 77.6% and a decreased majority of 30,339. From August 2020 to 2022, Khan served as parliamentary chair for the
Labour Muslim Network. In the
September 2023 shadow cabinet reshuffle, he was appointed Shadow Minister for Exports. One month later Khan resigned from the frontbench to vote for a
Scottish National Party (SNP) motion demanding a ceasefire in Gaza. Due to the
2023 review of Westminster constituencies, Khan's constituency of Manchester Gorton was abolished, and replaced with
Manchester Rusholme. At the
2024 general election, Khan was elected to Parliament as MP for Manchester Rusholme with 51.9% of the vote and a majority of 8,235. In August 2025 he resigned as trade envoy for
Turkey following calls for his resignation following a visit to the self-declared Turkish republic of
Northern Cyprus which he had been invited to and given he had met the Turkish-Cypriot President there which the official
Cypriot government described as "absolutely condemnable and unacceptable". He remained a Member of Parliament. ==Personal life==