Gwyneth Paltrow will be singing Cee Lo Green's song Forget You on Glee.
The Oscar-winning actress is appearing on the US show later this month as a substitute teacher who Mr Schuester (Matthew Morrison) falls for, Fox confirmed to Entertainment Weekly.
The song about a bitter ex-boyfriend contains lines such as: "Yeah, I'm sorry, I can't afford a Ferrari... I guess he's an Xbox and I'm more Atari."
Glee creator Ryan Murphy previously revealed he wrote the part of a substitute glee club leader especially for the Shakespeare In Love actress.
He said: "Gwyneth is a great singer. She's done it a little bit but now we can show everyone how great she is."