Glee creator Ryan Murphy has confirmed the popular show will air an episode dedicated to the late Cory Monteith before the show takes a break to reassess its direction.

The third episode of season five of the show will be replaced with a tribute to the 31-year-old actor, who was found dead in a hotel room following an overdose of heroin and alcohol last weekend.

The series, which will return on September 26, one week later than planned, will then take a break while bosses reassess its direction.

Speaking to Deadline, Ryan said: "We will begin shooting in late August the two shows we had already written, so that people can physically go back to work.

"We will then do an episode that will deal with the death of Finn's character and follow that with a long hiatus. I don't know exactly when we will come back."

Murphy also explained that the cast and crew, including Monteith's girlfriend Lea Michele, made a collective decision to carry on working on the show so that they could grieve together.

He added: "We were left with the decision, what do you do? Do you cancel, shut down the show? Come back in December and January? We considered every option, and decided to do what the cast and crew felt best.

"What we did was look to the people who loved Cory, who worked with him most, and specifically Lea. This is what they wanted to do. They wanted to be back on the set, where there is a sense of security, and where they can grieve together.

"We had already written the two part Beatles tribute and we'll shoot those and Cory's tribute for that third episode and then we will take a long hiatus and figure out what to do.

"Lea blessed every decision. I told her even I don't know what to do. I don't know how to write about the death of someone I love. She wanted people to be together."

Monteith played the character of Finn Hudson in Glee, which follows a fictional high school choir.