Advertisement
UKExplainer

What happens when a UK prime minister leaves office? Explained

Explains how a UK PM leaves office mid-term, the final PMQs, and the Hillsborough Law.

UK

What happens when a UK prime minister leaves office? Explained

The sight of a prime minister walking out of the House of Commons for the last time is rare enough to feel historic — and when Sir Keir Starmer did so on 15 July 2026, cheered by his own MPs and many on the opposition benches, it marked the end of a two-year premiership that began with a landslide victory and ended with him being forced out by his own party. But how does a UK prime minister actually leave office mid-term, and what does the process look like in practice?

In the UK, a prime minister can leave office in several ways: by losing a general election, by resigning for personal or political reasons, or by being pushed out by their own MPs. Starmer’s departure is an example of the last route. After losing the confidence of his parliamentary party — often triggered by poor poll ratings, internal rebellions, or a sense that the leader is no longer an electoral asset — he announced he would stand down as Labour leader. That triggered a leadership contest, won by Andy Burnham, the former Greater Manchester mayor. Starmer will formally hand over power to Burnham on Monday 20 July 2026, after Burnham is confirmed as Labour leader at a special party conference on Friday 17 July.

Explains how a UK PM leaves office mid-term, the final PMQs, and the Hillsborough Law.

The final act of a departing prime minister’s time in office is usually their last appearance at Prime Minister’s Questions (PMQs), the weekly half-hour session where MPs quiz the PM on any topic. This session is normally fiercely combative, but for a leaving premier it becomes a more reflective affair. At Starmer’s final PMQs, Conservative leader Kemi Badenoch refrained from attacking his record and instead praised his work on Ukraine. Liberal Democrat leader Sir Ed Davey called him a “true patriot”. Labour MPs Carolyn Harris and Johanna Baxter were visibly emotional, and the outgoing PM himself appeared close to tears as he thanked his staff, his family, and the campaigners watching from the public gallery. He ended his last answer by saying: “This is the end of my political journey.”

Advertisement

The reason the tone softens is rooted in tradition. PMQs is designed to hold the government to account, but a departing PM is no longer a long-term target — and MPs across parties often use the occasion to offer tributes, share jokes, and acknowledge the personal cost of the job. Starmer’s session included light-hearted questions about England’s World Cup semi-final against Argentina and a proposed debate between Nigel Farage and Count Binface, a satirical candidate. The speaker, Lindsay Hoyle, had to remind the chamber that applause is technically forbidden — a sign of how unusual the warmth was.

For UK readers, understanding this process matters because it affects how quickly the country can adjust to new leadership. A prime minister leaving mid-term does not trigger a general election; instead, the governing party chooses a new leader, who then becomes PM without a public vote. That means the transition can happen within days — as it will with Burnham taking over on Monday. The change also has immediate policy consequences. In Starmer’s final days, the Commons approved the Hillsborough Law — formally the Public Office (Accountability) Bill — which imposes a duty on public authorities to tell the truth during official investigations. Starmer called it “a bill for every single working person in this country” and said it was a direct response to the cover-ups that followed the 1989 Hillsborough disaster, in which 97 Liverpool fans died. The legislation will now go to the House of Lords before becoming law.

Q: How does a UK prime minister leave office mid-term? A prime minister can be replaced without a general election if they resign or lose the confidence of their party. The governing party then holds a leadership contest, and the winner is appointed prime minister by the monarch. In Starmer’s case, he announced he would stand down after losing the support of Labour MPs, and Andy Burnham won the subsequent contest. The handover happens within days — Burnham will become PM on Monday 20 July 2026.

Advertisement

Q: What happens at a prime minister’s final Prime Minister’s Questions? The session is typically less combative than usual. MPs from all sides pay tribute, share anecdotes, and ask lighter questions. The outgoing prime minister often gives a farewell speech thanking staff, family, and campaigners. Starmer’s final PMQs included jokes about the World Cup and a by-election, as well as emotional tributes from allies. He received a standing ovation as he left the chamber.

Q: What is the Hillsborough Law and why is it significant? The Hillsborough Law — formally the Public Office (Accountability) Bill — places a legal duty on public authorities and officials to tell the truth and cooperate with official investigations and inquiries. It was named after the 1989 Hillsborough disaster, in which 97 Liverpool fans died and police later spread false narratives blaming supporters. The bill cleared the House of Commons in Starmer’s final days and is seen as a key part of his legacy. It will now be scrutinised by the House of Lords.

What happens next is straightforward. Andy Burnham will be confirmed as Labour leader at a special party conference on Friday 17 July and will become prime minister on Monday 20 July. He will then appoint his cabinet, and the governing party’s agenda — including the Hillsborough Law’s progress through Parliament — will continue under his leadership. Starmer, who said “we must do more to defend our democracy” following the murder of former MP Ann Widdecombe, leaves office with a promise that work on MP security will be taken forward by officials across government.

Advertisement
Advertisement