It's been an historic decision by the British people and the effects of the Brexit vote will be felt far and wide. Here are the key things you need to have on your radar.
1. The final result was predicted by ITV, BBC and Sky News with less than 70 voting areas left to declare, when Leave had built up an unassailable lead over Remain. The Leave camp passed the winning post of 16,757,766 with eight of the 382 voting areas still to declare, heading for an overall majority of 51.9% to 48.1%.
2. Voter turnout for the referendum was one of the highest on record. The Electoral Commission said almost three quarters of those registered cast eligible votes - that's a total of 33,568,184 people, just short of the 33,614,074 who voted in the 1992 general election.
3. The prospect of Brexit had a huge impact on the stock market, sending the pound plummeting to its lowest level in more than 30 years. Shortly after the polls closed on Thursday night, the pound rocketed to 1.50 dollars - its highest performance of the calendar year - but strong Leave votes soon saw it plunge to 1.3305 dollars, a level not seen since 1985.
4. All 32 local authorities in Scotland voted to remain part of the EU but, because of the Leave vote in England, Scotland will still be forced out of the EU. The result means Scotland's First Minister Nicola Sturgeon will now come under pressure to call a second independence referendum. The SNP manifesto for May's Scottish Parliament election said there should be another ballot if there was a "significant and material" change in circumstances from the 2014 vote, such as Scotland being taken out of the EU against its will.
5. On the other hand, Wales voted overwhelmingly in support of Brexit, with 17 out of 22 councils voting to leave the EU.
6. The vote was a little closer in Northern Ireland as 11 out of 18 of the region's constituencies voted Remain compared to seven who voted Leave. Sinn Fein welcomed the result, saying it now brings the question of Northern Ireland remaining as part of the UK into sharp focus.
7. Gibraltar was the first region to announce its final count on Thursday night with a resounding vote of 96% in favour of remaining in the EU. Gibraltar could also face political uncertainty in a post-Brexit Europe given its position as an overseas territory on a peninsula bordering Spain
8. The Brexit result will have a number of immediate knock-on effects. Trading on the London Stock Exchange could be suspended, an emergency EU summit could be called and negotiations over the terms of the UK's exit will have to be discussed.