Summary
After 56 declarations, Labour has won 37 seats; the SNP nine; Liberal Democrats five; and Conservatives five
It was a triumphant night for Labour which took dozens of seats off the SNP, including all six in Glasgow
Scottish Tory leader Douglas Ross lost his bid to return to Westminster, describing it a "historically bad night" for the Conservatives
First Minister and SNP leader John Swinney described the result for his party as "very, very difficult and damaging".
SNP casualties included Kirsten Oswald, Tommy Sheppard, Alison Thewliss and high-profile MP Joanna Cherry
Labour's Ian Murray, who comfortably held his Edinburgh South seat, has been appointed as the new Scottish Secretary
One final seat - Inverness, Skye and West Ross-shire - has yet to be called and will go to a re-count on Saturday. The Lib Dems are expected to win after SNP candidate Drew Hendry conceded defeat
Live Reporting
Edited by Paul McLaren and Steven Brocklehurst
Steve Reed appointed as environment, food and rural affairs secretarypublished at 17:39 British Summer Time 5 July
Some numbers from the election in Scotlandpublished at 17:34 British Summer Time 5 July
17:34 BST 5 JulyWith one seat yet to declare in Scotland, the parties are lining up like this:
- Labour 37 seats - up from one in 2019
- SNP 9 seats - down from 48
- Conservatives 5 seats
- Lib Dems 5 seats
Labour got 35.7% of the vote in Scotland - up from 18.7% in 2019.
The SNP got 29.9% of the vote - down from 45% in 2019.
The Conservatives slumped to 12.9%, the Lib Dems had 9.1% and Reform UK had 7%.
The Greens got 3.8% of the vote and Alba 0.5%.
Just 11,784 voted for Alex Salmond's Alba party, which stood in 19 seats.
The Scottish Greens, who stood in 43 seats, got 90,647 votes and Reform UK, who stood in every seat, got 165,045.
The Lib Dems got 216,069 votes while the Tories got 304,842.
With one seat to go, The SNP has got 708,759 in total - half a million less than 2019.
Labour in Scotland has 845,651 votes across the country - up more than 330,000 on the last general election.
New Labour MP says they must 'rebuild hope for the future'published at 17:25 British Summer Time 5 July
17:25 BST 5 JulyBlair McDougall, the new Scottish Labour MP for East Renfrewshire, says a lot of the focus for Keir Starmer will be about proving the offer of change is real.
"I think we'll see very quickly moves around making work pay and giving more job security to people," McDougall said.
Labour came from third in East Renfrewshire to take the seat from the SNP.
McDougall has been a high profile Labour activist for years, running the Better Together campaign during the independence referendum in 2014.
He told Radio Scotland's Drivetime Labour's job isn't just to repair public services or the economy.
"You've also got to repair people's belief that politics and government can actually be worth a damn in their lives anymore," he said.
"Rebuilding hope for the future in terms of policy is part of it but also just rebuilding hope that politics can be a positive and uniting force in people's lives again."
'They should take nothing for granted' - Lord McConnell's advice to new Labour MPspublished at 17:11 British Summer Time 5 July
17:11 BST 5 JulyFormer Scottish First Minister Jack McConnell says he is "really encouraged by the new Labour MPs in Scotland".
He says they are in the main a new younger generation of people who are very articulate, very focused and very determined to be good hard-working MPs.
Lord McConnell says: "They need to be part of this new Labour movement in Scotland, back on the front foot, very much at the centre of the debate in Scotland. But they also need to be Scotland's voice at Westminster."
He says they have a job to do to get down to parliament and operate as a team.
He points out that turnout was down as people are disillusioned with politicians because of the "shenanigans of the past few years".
The former first minister says all the new MPs and the Scottish Labour leader Anas Sarwar have to realise there is a job to be done, to speak to the whole country and to continue to win new support, to persuade people to do the right things.
"They should take nothing for granted," he says.
A look at Pat McFaddenpublished at 17:06 British Summer Time 5 July
17:06 BST 5 JulyNewly appointed Chancellor of the Duchy of Lancaster, Pat McFadden was born in Glasgow and educated at the University of Edinburgh.
However, his Westminster seat is Wolverhampton South East.
Before becoming an MP in 2005, he worked in several advisory roles for Tony Blair, both in opposition and in government.
The 59-year-old has held roles as the Shadow Chief Secretary to the Treasury and was the minister in charge of postal affairs from 2007 for about three years.
He was appointed Shadow Chancellor of the Duchy of Lancaster by Keir Starmer last year, making the transition to his new role a seamless one.
His new post is the highest ranking minister in the Cabinet Office, immediately after the Prime Minister.
Still no word on the new Scottish Secretarypublished at 16:59 British Summer Time 5 July
16:59 BST 5 JulyAs we've been reporting, a swathe of cabinet positions are being handed out by Sir Keir Starmer - but still no word on who will be the next secretary of state for Scotland.
Edinburgh South MP Ian Murray has served as shadow Scottish secretary since 2020 and is expected to get the step up into government.
Murray is currently camped inside No 10 Downing Street but, for now, the wait goes on.
Reynolds, Kyle and Haigh given cabinet rolespublished at 16:50 British Summer Time 5 July
16:50 BST 5 JulyThere have been three more appointments to the new PM's cabinet:
- Jonathan Reynolds - business secretary
- Peter Kyle - science secretary
- Louise Haigh - transport secretary
Starmer chooses more cabinet ministerspublished at 16:48 British Summer Time 5 July
16:48 BST 5 JulyPrime Minister Keir Starmer has confirmed more positions in his new Labour cabinet, including:
- Ed Miliband as energy secretary
- John Healey as defence secretary
- Shabana Mahmood as justice secretary
- Wes Streeting as health secretary
- Bridget Phillipson as education secretary
- Liz Kendall as work and pensions secretary
McConnell says people in Westminster are a 'little bit excited'published at 16:40 British Summer Time 5 July
16:40 BST 5 JulyLord Jack McConnell, the former Labour first minister of Scotland, tells BBC Radio Scotland's Drivetime the atmosphere at Westminster is "pretty positive".
McConnell says "everybody is excited about the fact that the country has really turned a corner".
"You can already feel that the country feels a little bit more relaxed," he says.
He says Keir Starmer struck the right tone outside No.10 earlier when he spoke about all of the people who hadn't voted Labour and not continuing with the divisive politics of recent years.
"People are content but also just that little bit excited as well," he says.
Labour is back in Scotland - and it's a big changepublished at 16:15 British Summer Time 5 July
16:15 BST 5 JulyGlenn Campbell
BBC Scotland Political EditorLabour is back in Scotland
For the first time since 2010 they have won a national election north of the border, crushing the SNP and bringing to a juddering halt the nationalists' long-running winning streak.
This is big.
The SNP successfully persuaded independence supporters to back them in all three Westminster elections in the decade since the 2014 referendum.
That was an almost unbeatable coalition of support. If anything like 45% of voters side with one party and the others have to share 55% between them - the party of 45% wins.
This time that link appears to have broken. To many in Scotland, Labour presented itself as a better route to political change.
Live now: More election reaction on BBC Radio Scotland's Drivetimepublished at 16:08 British Summer Time 5 July
16:08 BST 5 JulyPlenty of guests are lined up to share their thoughts on the election result on BBC Radio Scotland.
Drivetime will be hearing from former political leaders and advisers on what it means for Scotland.
You can listen live by clicking on the link at the top of this page.
More cabinet appointments confirmedpublished at 15:56 British Summer Time 5 July
15:56 BST 5 JulySir Keir Starmer is wasting little time in confirming his first cabinet.
It has now been announced David Lammy is the new foreign secretary, Yvette Cooper has been appointed home secretary and John Healey has been named defence secretary.
Pat McFadden appointed Chancellor of the Duchy of Lancasterpublished at 15:45 British Summer Time 5 July
15:45 BST 5 JulyPat McFadden is the latest politician to be appointed in the cabinet - he is the new Chancellor of the Duchy of Lancaster.
This means he is the most senior minister in the Cabinet Office.
Ian Murray arrives at Downing Streetpublished at 15:41 British Summer Time 5 July
15:41 BST 5 JulyAfter appearing with Anas Sarwar in Glasgow this morning, Ian Murray has arrived at Downing Street to meet with the new prime minister.
Keir Starmer is expected to appoint Murray as the new Scottish Secretary, replacing Alister Jack.
Murray has been shadow secretary of state for Scotland since 2020.
Rachel Reeves becomes UK's first female chancellorpublished at 15:33 British Summer Time 5 July
15:33 BST 5 JulyRachel Reeves has just been appointed as the UK's first female chancellor.
Angela Rayner appointed deputy PMpublished at 15:25 British Summer Time 5 July
15:25 BST 5 JulyAngela Rayner has just been confirmed as deputy prime minister in Sir Keir Starmer's cabinet.
She is also secretary of state for levelling up, housing and communities.
Moving into Downing Street: life behind the iconic black doorpublished at 15:23 British Summer Time 5 July
15:23 BST 5 JulyRosemary McCabe
BBC NewsOut with the old, in with the new.
Nothing represents the rapid, ruthless business of politics like removal vans at Downing Street.
Moving a new prime minister - staff, family, pets and paraphernalia - into 10 Downing Street is a complex feat.
Here’s how it happens.
Who won in my area? Check out the BBC's interactive guidepublished at 15:10 British Summer Time 5 July
15:10 BST 5 JulyYou can use our election result checker to get the detailed figures for your area by entering your postcode or constituency name.
And there are more facts and figures here, focusing particularly on the results in Scotland.
Starmer begins process of appointing first cabinetpublished at 14:57 British Summer Time 5 July
14:57 BST 5 JulyMeanwhile, back in Downing Street Angela Rayner has arrived ahead of the announcement of Sir Keir Starmer's cabinet.
She is expected to be confirmed as deputy prime minister.
Rayner has been followed by Pat McFadden, Labour’s national campaign coordinator, and Rachel Reeves.
Reeves is expected to be named as the UK's first female chancellor.
The numbers gamepublished at 14:43 British Summer Time 5 July
14:43 BST 5 JulyPhilip Sim
BBC Scotland political correspondentAs with every general election, the key is in the numbers.
So here are a few key figures from the last 24 hours:
- 59.2% - The voter turnout across Scotland, down more than 8% on the 2019 ballot.
- 9 – The number of SNP MPs still standing after a bruising vote, a huge fall from the 48 secured in 2019.
- 36 – The Labour gain on their 2019 performance, when Ian Murray was the party’s sole Scottish MP.
- 5% - The Tory vote dipped below the 5% mark in all six of Glasgow’s constituencies, where Labour now have total control.
- 500,000 – The SNP lost half a million votes, with the party’s share dropping below 30%.
- 3.8% – The Scottish Greens did not secure any MPs, but the party’s voter share did increase to 3.8%.
- 11,784 – The number of votes the Alba party’s 19 candidates secured between them, with all losing their deposits.
- 14 - Reform UK picked up 14 times more votes (165,045) in Scotland than Alba.
- 1,000 minutes – As of 14:40 on Friday, 1,000 minutes have passed since the polls closed in Inverness, Skye and West Ross-shire without the result of the seat being declared.