General election 2017 results night: When will we know who's won?
Here's a full guide to UK general election night on the BBC - including the key results to watch out for as the night unfolds.
What to expect when
Results have started coming in at quite a pace, but there are many more still to come. Most counts will be completed by 06:00 BST.
Some won't be in until lunchtime on Friday, with Berwick-upon-Tweed, Blyth Valley and Wansbeck usually last to declare.
However, the overall outcome of the election should become clear much earlier than that.
To get an idea of where the main parties are likely to make gains or where the result is too close to call, have a look at our seat-by-seat forecast.
Sorry, your browser cannot display this content.
Find your constituency and candidates
Enter a postcode or seat name
Or you can browse our A-Z listings.
Results to watch out for
Here is a full list of estimated declaration times from the Press Association
All timings are approximate
3am Results are coming in thick and fast - at the rate of about five per minute. Lib Dem leader Tim Farron's result in Westmorland and Lonsdale, where he is facing a strong Tory challenge, could be interesting.
4am One of politics' big hitters - Alex Salmond, in Gordon - is expected to be re-elected around now. Results in key Lib Dem targets Cheltenham and Bath are also expected. The Conservatives are targeting three seats in Scotland - the first to declare is likely to be Dumfries and Galloway around now. If they take this seat from the SNP, Theresa May could be looking at a big majority overall. Aberdeenshire West and Kincardine and top target Berwickshire, Roxburgh and Selkirk are set to declare a little later.
4.30am Theresa May faces little threat in Maidenhead, but we could find out what she makes of the national results when she speaks at her count.
5am UKIP leader Paul Nuttall will find out whether he has unseated his Conservative opponent, who was a Remainer, in Boston and Skegness.
How to follow the night with the BBC
You can follow minute-by-minute updates in text and video as the results roll in, with breaking stories, social media reaction and expert analysis in our main live page. Results will appear as they are announced on an interactive map and postcode search.
We are also running live pages for 16 English regions - London, North East and Cumbria, North West, South, South East, South West, West, West Midlands, Yorkshire, Lincolnshire, Norfolk, Suffolk, Northamptonshire, Beds, Herts and Bucks, Essex and Cambridgeshire.
And you can follow the latest developments and the find out the result in your own constituency.
BBC One: The BBC's election night is hosted by David Dimbleby - the 10th time he has filled this role since his first election night as host in 1979.
BBC correspondents, led by Andrew Marr, Nick Robinson, Kirsty Wark and Sophie Raworth, are at the key counts. Jeremy Vine, Emily Maitlis and polling expert Professor John Curtice are analysing the results as they come in. Mishal Husain has been grilling the key political payers - and media editor Amol Rajan watching social media reaction. The BBC's political editor Laura Kuenssberg is on hand to provide analysis throughout the night.
Huw Edwards will take over in the morning as lead presenter. Andrew Neil will take over as lead interviewer.
The overnight programme is being simulcast on the BBC News Channel and BBC World News - and streamed live on the BBC News website in the UK and bbc.com in the rest of the world.
Viewers in the US will be able to catch up on the latest on the UK election and other international stories in World News America at 2100 GMT and join the election special from 2300 GMT/6pm Eastern. Viewers in the rest of the world can join David Dimbleby and the team from 2055 GMT.
On Twitter @BBCElection is tweeting the latest results, the BBC Politics Facebook Messenger bot will include expert analysis, and there will be Facebook Lives from behind-the-scenes of the results programme on the BBC Politics page. BBC News is live streaming the results programme on Twitter. Follow the tag #BBCElection on Twitter.
BBC Radio 4: Throughout election night, Carolyn Quinn and James Naughtie are presenting Election 2017, reporting on the key moments as they happen from 10pm on until 6am on Friday, 9 June.
BBC Radio 5 Live: Election night is being hosted by Stephen Nolan in Salford and Emma Barnett in London, who is being joined by the UK's brightest political bloggers and commentators, all on hand as the result's roll in.
World Service: Election special with Philippa Thomas and Tim Franks will be in London analysing the results with a team of experts and senior politicians. Valerie Sanderson is in Scotland.
BBC local radio: Results and analysis through the night and into the morning with a number of special programmes across the network. Here are details on how to listen to your station.