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
As leader of the Welsh Conservatives, Andrew RT Davies may be criticised for many things, but never of being a career politician.
2016 is the Year of Adventure so we're discovering some of the most exhilarating things you can see and do across Wales.
Pupils across Wales are celebrating the success of the Big Pedal scheme which saw more than 32,000 children bike or scoot to school.