The proportion of school buildings in Scotland reported as being in good or satisfactory condition has increased.
New statistics show that 89.9 per cent of schools achieved these levels in April, up from 88.3 per cent the previous year.
The equivalent figure in April 2007 was 61.1 per cent.
2019 figures: Less than a third of pupils in ‘good’ school buildings
Long read: Building a school from the ground up
Quick read: Why the design of school buildings matters
Meanwhile, the proportion of pupils educated in schools in “poor” or “bad” condition has decreased.
About 257,000 pupils (36.6 per cent) were taught in these schools in 2007 compared to just under 62,000 (8.9 per cent) in 2020.
The Scottish government publication covered all local authority schools as of 1 April.
It said that 30 schools were built or substantially refurbished in the 2019-20 financial year.
Education secretary John Swinney said more pupils will benefit from investment in the school estate in the near future.
He said: “These statistics show the tremendous progress we are making in building modern, high quality and fit for purpose schools that make a real difference for pupils and teachers.
“Nine out of 10 pupils, more than ever before, are now being taught in good or satisfactory buildings.
“When complete in early 2021, the Schools for the Future Programme will have delivered 117 top quality school projects for more than 60,000 pupils, which does not include the local authorities’ own school improvement programmes.
“And our new £1 billion Learning Estate Investment Programme aims to benefit around 50,000 pupils across Scotland by the end of the next Parliament.”