Wales total - after 10 of 22 resultspublished at 02:34 British Summer Time 24 June 2016
LEAVE: 55.5% - 367,626
REMAIN: 44.5% - 295,096
The people of Britain vote in favour of leaving the European Union
Wales votes to leave by a majority of just over 5%
Final totals: Leave 52.5% (854,572), and Remain 47.5% (772,347)
22 local authority areas in Wales - 17 vote Leave, five vote Remain
Turnout: 71.7% (1,628,075)
Get involved by emailing newsonline.wales@bbc.co.uk or tweeting us @WalesPolitics or contacting us on Facebook at BBC Wales News
Andy Roberts and Ben Frampton
LEAVE: 55.5% - 367,626
REMAIN: 44.5% - 295,096
Margin is 59% to 41%
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Margin was 54% to 46%
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Margin is 56% to 44%
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Margin is 58% to 42%
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
LEAVE: 54.4% - 196,194
REMAIN: 45.6% - 164,536
Margin was 51% to 49%
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
All five Welsh results so far have gone their way
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Margin is 54% to 46%
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Margin is 51.5% to 48.5%
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Margin is 56% to 44%
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Margin is 62% to 38%
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Swansea result expected shortly, says BBC Radio 5 Live reporter
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Margin is 56% to 44%
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Vote Leave's bullishness about support in the south Wales valleys is echoed by Labour.
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
The pro-EU Plaid Cymru leader is not surprised the vote looks close.
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Welsh Tory leader says results in the Labour heartlands will be the most interesting.
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.