Former SNP leader and former first minister of Scotland Alex Salmond was unseated in Gordon by the Conservatives' Colin Clark on swing of 20%, and the SNP's Westminster leader Angus Robertson also lost to Tory Douglas Ross.

Find your constituency and candidates

Enter a postcode or seat name

Start typing to search

What the parties are saying

Speaking outside Number 10, Theresa May said she intended to form a government which could "provide certainty and lead Britain forward at this critical time for our country". She gave little detail on how the arrangement with the DUP may work.

DUP leader Arlene Foster confirmed she had spoken to Mrs May and they would speak further to "explore how it may be possible to bring stability to this nation at this time of great challenge".

"I'm afraid we ran a pretty dreadful campaign," said Conservative Anna Soubry who says the prime minister "needs to consider her position".

"I think it will be difficult for her to survive," DUP leader Arlene Foster on Theresa May.

Social media reaction

The hashtag #HungParliament shot to the top of Twitter's list of top UK trends after the general election exit poll predicted that the Conservatives would lose their overall majority. More than 70,000 messages were posted in under an hour. Read more here

Key video clips

Media captionLabour leader Jeremy Corbyn: "I'm very, very proud of the campaign my party has run"

Media playback is unsupported on your device

Media captionLaura Kuenssberg says the result is a "total political disaster for Theresa May"

Media playback is unsupported on your device

Media captionThis is the moment the general election exit poll is announced

Media playback is unsupported on your device

Media captionNick Clegg: 'There's a huge gulf between young and old'

Analysis

BBC political editor Laura Kuenssberg:

The conversations have started not just about whether the Tories will be able to form a government, but whether or not Theresa May can stay in her job.

There is no one prevailing mood inside the Tory party. As I write, Mrs May is holed up with her advisers inside Tory HQ. But a former minister Anna Soubry has called for her to "consider her position" - political code for calling for her to resign. Read more from Laura

John Curtice, Professor of Politics at the University of Strathclyde

This is the third post-war snap election called unexpectedly before a party's term of office had come to an end. On the two previous occasions in 1970 and February 1974 the PM and the party lost office. While there is no other conceivable administration in the new parliament other than a Conservative-led one, it remains to be seen whether the PM will retain her position. However, so long as the Conservatives can reach an accommodation with the DUP they will have a working majority in the House of Commons.

BBC economics editor Kamal Ahmed:

When the general election exit poll was revealed at 10pm, the pound immediately dropped by 2% as investors took a position that a hung parliament was a possible outcome of the general election.

Why would that cause the currency to decline? Because a hung parliament means that the government's direction of travel would be less certain. Read more from Kamal

Philip Sim, BBC Scotland political reporter: If Prime Minister Theresa May does not appear to have had a particularly good night, Ruth Davidson, the Tory leader in Scotland, certainly has. The Scottish Tories have more than doubled their returns in some places where the party was previously unelectable. Read more from Philip