Cwmcarn High School is to reopen, after Caerphilly councillors agreed a plan to remove asbestos at the site and provide temporary classrooms.
The decision was made at a meeting on Wednesday night, which was also attended by a large number of parents of pupils at the school.
Since the discovery of asbestos at the school last October, the pupils have been educated at the former Coleg Gwent site in Ebbw Vale.
More top news
Take your waterproofs with you if you're heading out tonight! It's about to turn wet with mist and hill fog by the early hours!
Ian Paul Mcguigan and two men from Liverpool were caught after a police surveillance operation.
The case has now been adjourned until February, due to a delay which the judge blamed on Brexit.