The Edinburgh Schools Partnership has completed remedial works on the 17 Edinburgh schools in which building defects were found in January.
The final two schools, Drummond Community High and The Royal High, were handed back to Edinburgh council yesterday and the 15 other schools have reopened.
The schools were built in 2005 under a £360m PPP contract won by the Edinburgh Schools Partnership consortium, which included Amey and Miller Construction.
Initial faults were found in Oxgangs Primary School when a wall collapsed during Storm Gertrude in January. A further 16 schools closed by the end of April after building defects were found in all schools built under the contract.
In total, 7,600 pupils were affected and 5,000 children were relocated to more than 70 different schools and education facilities during the three months until the summer holidays.