BBC Scotland's live coverage of the local election results has now ended. Follow reaction and analysis on Reporting Scotland, starting at 18:30.
- All 32 councils in Scotland declare their results in full
- The SNP is the overall winning party but the Conservatives did well - gaining seats in areas where they had no previous track record
- Every mainland council is now in "no overall control" meaning coalitions and minority rule will follow
- Labour lose control of Glasgow City Council leaving the SNP as the biggest single party
- A total of 1,227 seats were contested across 353 wards
Former SNP MSP Duncan Hamilton says there is marginal disappointment, perhaps, that the SNP did not get an overall majority in Glasgow, but stresses the SNP has got the most votes and seats across Scotland.
Mr Hamilton says: "It is on any view a victory for the SNP."
He says the story of the election in Scotland is the loss of Labour votes to the Tories.
Tory MSP Adam Tomkins says the Conservative gains have largely come from Labour.
Mr Tomkins says there are now eight Tory councillors in Glasgow, up seven from one.
He says there is no "no-go area" in Scotland for the Conservatives.
Former Labour MP Tom Harris says he thinks the Greens will go into coalition with the SNP in Glasgow without any hesitation.
Mr Harris says for Labour to have retreated "to a fairly firm base" and says this is "a little bit of a silver lining, but of course it is a dark cloud".
First Minister Nicola Sturgeon says the "SNP has won this election, we've got more votes, more seats" and says it is a "clear and emphatic victory for the SNP".
Ms Sturgeon says: "We are the largest party in all of Scotland's four biggest cities".
She says the SNP have ended 40 years of Labour control of Glasgow City Council.
The first minister says: "This is a fantastic victory."
She adds that the Tory gains have come from Labour who face some "soul searching" after this election.
The SNP has become the largest in 18 of Scotland's 32 council areas.
No party gained majority control in any council but the SNP overthrew Labour to become the largest party in...
- North Lanarkshire
- South Lanarkshire
- West Dunbartonshire
- West Lothian
The first minister says the SNP is going to emerge from this election with more votes than any other party.
Ms Sturgeon says: "That is a pretty clear and emphatic win."
She says the SNP have not lost ground to the Tories, saying "the question about the Tory support are questions for Labour, whose vote has collapsed".
Labour's John McDonnell says the election result shows the SNP surge has come to a halt and is evidence of the rejection of another independence referendum.
Former Conservative minister Iain Duncan Smith says the SNP put indyref2 on the table and cannot complain when it is an issue.
Ms Sturgeon says the performance of the SNP today is a great springboard for the general election campaign.
The first minister adds that the SNP fought the council election on local issues, but the Tories have to face up to the fact they put independence front and centre of this election and the SNP have won.
The SNP has become the biggest party in Scotland's largest council for the first time, as Labour slumped in Glasgow City Council.
The SNP now has 39 seats while Labour, which had an overall majority before the election, dropped to 31.
The Conservatives, who previously only had one seat, won eight; the Lib Dems lost the only seat they had in 2012 and the Greens increased their tally to seven.
Note: The 2012 election saw 79 seats contested. Following boundary changes, the 2017 election had 85 seats up for grabs.
The Conservatives have become the largest party in six of Scotland's 32 council areas.
- Dumfries & Galloway
- East Renfrewshire
- Perth & Kinross
- Scottish Borders
- and South Ayrshire
In Stirling the Tories and the SNP both had nine seats.
The Conservatives gained five seats to end up just one behind the SNP on Moray Council.
The SNP went down from 10 to nine. Independents went down from 10 to eight.
Labour lost two seats to go from three to one.
The council administration had been run by an Independent/Conservative coalition.
Scottish Labour Leader Kezia Dugdale says the Tories gain in Shettleston is down to "constitutional politics" rather than people having faith in the party's plans for public services.
Ms Dugdale is still hopeful that Labour can make progress in the General Election saying it will come to the fore to reject another independence referendum and focus on the "bread and butter issues".
"Labour will do what it has always done and represent the many and not the few," she added.
The SNP are now the largest party on North Lanarkshire Council, an area where Labour had an overall majority before the election.
The SNP tally stands at 33 and Labour is one behind at 32.
The Conservatives went from zero to 10 seats in a council region where they have not succeeded for years.
Note: The 2012 election saw 70 seats being contested. Following boundary changes, the 2017 election had 77 seats up for grabs.
With just Glasgow and North Lanarkshire still to declare, Labour has lost more than 100 councillors and is no longer the biggest party in former strongholds such as Renfrewshire and West Dunbartonshire.
Just three of Scotland's councils now have Labour as the largest party - East Lothian, Inverclyde and Midlothian.
Scottish Labour leader Kezia Dugdale says the local election results are a disappointment for her party.
She says Labour are still topping the tables in four areas across the country.
Ms Dugdale adds that "we have seen the constitution bite" again, with Yes versus No and a "clear rejection the length and breadth of the country of Nicola Sturgeon's plans for a second independence referendum".
She says the Glasgow result is disappointing for the SNP as the nationalists will not get an overall majority.
It is undoubtedly a disappointing result for Labour here in Scotland, not particularly a surprise though."
The SNP has become the largest party on South Lanarkshire Council having won 27 seats.
Labour fell back to 22 and the Conservatives ended on the up with 14 seats.
Note: The 2012 election saw 67 seats contested. Following boundary changes, the 2017 election had 64 seats up for grabs.
The number of independent councillors on Highland Council fell to 28. The Conservatives had no representatives in 2012 but won 10 seats this time.
The SNP is the biggest politcal party with a tally of 22 and Labour went from the eight it won five years ago to three. The Lib Dems also suffered loses and now hold 10 seats.
Highland Council had been run by a minority independent administration.
Note: The 2012 election saw 80 seats contested. Following boundary changes, the 2017 election had 74 seats up for grabs.
The new Conservative councillor for the Paisley northwest ward on Renfrewshire Council told the BBC that the voting environment had changed.
John McIntyre said that voters were responding to unease over the UK Labour leader Jeremy Corbyn and the prospect of another referendum on Scottish independence.
He said he was optimistic about the prospects of his party going into the general election.
I'm only recently elected and I wouldn't like to prejudge my electors but I do think politics in Scotland is changing and I think it's been changing over a number of elections. I hope that continues into the future.
With seven seats, the Conservatives are now the largest party on East Renfrewshire Council.
The SNP dropped to five and Labour went down to four.
There are now two independent councillors.
East Renfrewshire had been run by a Labour/SNP/Independent coalition.
Note: The 2012 election saw 20 seats contested. Following boundary changes, the 2017 election had 18 seats up for grabs.
Nicola Sturgeon was greeted with cheers and applause as she arrived at the Glasgow count to congratulate SNP campaigners.
The SNP has returned the most councillors on the City of Edinburgh Council.
They now have 19 seats, just one ahead of the Tories who gained seven.
Labour, which had been the biggest single party five years ago, dropped down to 12 seats.
The Greens went up to eight seats and the Lib Dems doubled its representation and now have six seats.
Edinburgh had been ruled by a Labour/SNP administration.
Note: The 2012 election saw 58 seats contested. Following boundary changes, the 2017 election had 63 seats up for grabs.
The Conservatives gained four seats and the Lib Dems three to take them both to six councillors in East Dunbartonshire.
They are both one seat behind the SNP.
Labour dropped to two seats and there is now one independent councillor, down from three in 2012.
East Dunbartonshire had been a Labour/Conservative minority coalition administration.
Note: The 2012 election saw 24 seats contested. Following boundary changes, the 2017 election had 22 seats up for grabs.
The SNP lost one seat but were still the largest party on Falkirk Council.
They now have 12 seats while Labour stands at nine.
The Conservatives have leapfrogged Labour and now have seven seats.
The number of independents went from three to two.
Note: The 2012 election saw 32 seats contested. Following boundary changes, the 2017 election had 30 seats up for grabs.
John McIntyre, who is a new councillor for Paisley North West, told BBC Scotland he was pleasantly surprised to be elected in one of Scotland's most deprived areas.
Finance Secretary, and former Renfrewshire Council leader, Derek Mackay, has blamed the collapse of Labour for the Tory gains in the local council elections.
BBC Scotland Political Editor
...... And another thing. With the exception of the islands councils - Orkney, Shetland, Comhairle - all Scotland's local authorities thus far have registered No Overall Control. Stand by for bargaining, made much more difficult by advance statements and by the pending UK election.
The SNP is now the largest party on Fife Council, knocking Labour from that position.
The Conservatives made big gains, going up 12 seats from three to 15.
The SNP now has 29 seats and Labour 24.
The Lib Dems went down from 10 to seven. There are no independents sitting on the council.
Fife had been a Labour minority administration.
Note: The 2012 election saw 78 seats contested. Following boundary changes, the 2017 election had 75 seats up for grabs.
Comhairle nan Eilean Siar's count in Stornoway on Lewis has seen none of the women candidates elected.
This is the first time in the comhairle's history that it has no female councillors.
The most women it had was between 2007 and 2012 when there were five.
Scottish Conservative leader Ruth Davidson says if the SNP want her to stop talking about independence then Nicola Sturgeon should take indyref2 off the table.
Ms Davidson was responding to criticism from SNP general election candidate John Nicolson, who pointed out a large number of references to independence in Conservative local government election literature.
The Scottish Conservative leader accused Mr Nicolson of sour grapes.
She said in the local elections you must look at who got the largest first preference vote and says her party has done that in places like the Borders, Dumfries and Galloway and Moray.
Ms Davidson says this must be used as a platform to take the fight to the SNP.