Ricky Martin's guest stint on Glee is thought to have been finalised.

A show source confirmed to TVLine that the singer will play a Spanish instructor in an appearance that will be aired in late January 2012.

The Livin La Vida Loca star will play what the Glee insider called "the hottest Spanish teacher ever in the history of Ohio."

They also said that Martin will headline two big musical numbers in the episode.

He joins a long list of previous guest stars including Oscar-winning actress Gwyneth Paltrow, singer-songwriter Josh Groban, soap star Tanya Clarke and comedian Kathy Griffin.