Waterloo Road's new set will be based in Greenock, it has been announced.
The BBC school drama, which has been filmed in Rochdale since it began in 2006, will be relocated to the town, 25 miles outside of Glasgow in Scotland, for its eighth series next year.
Eileen Gallagher, chief executive officer of the programme's production company Shed, said in a statement: "Waterloo Road has had an incredibly happy six years in Rochdale working with one of the best TV crews in the country.
"But now we have outgrown our present site and we couldn't resist the BBC offer to take the show to Scotland.
"The former Greenock Academy school will make a great Waterloo Road and the stunning scenery in and around Greenock will be a fantastic asset right on our doorstep."
Gallagher added: "We're really looking forward to coming to Greenock and already we've had a terrific welcome."
The Scotland move, which has been criticised by cast members, was announced in August earlier this year.
Waterloo Road's five-year tenure in Rochdale will come to a "dramatic and explosive" conclusion on Wednesday, November 16 in four weeks' time.