Taylor Swift is to guest star in 'New Girl'.

The 'State of Grace' hitmaker - who is known to be a big fan of the series - will make a cameo appearance in the May 14 finale of the comedy show, which stars Zooey Deschanel as adorable-but-awkward teacher Jess.

According to Entertainment Weekly, Taylor will portray a character called Elaine, who is an ''important guest'' at the wedding of Cece (Hannah Simone) and Shivrang (Satya Bhabha).

The 23-year-old star has been name-checked on several occasions in the series and in one episode Taylor's latest single '22' played in the background while Nick (Jake Johnson) was trying to cheer up Jess.

It's not the first time the blonde beauty has tried her hand at acting. Taylor made her acting debut on the small screen in a 2009 episode of 'CSI: Crime Scene Investigation', in which she played a rebellious teenager.

Taylor has also featured in movies such as 2010 comedy 'Valentine's Day', which saw her star as a ditzy girlfriend of a high school student. Last year, the 'I Knew You Were Trouble' singer voiced tree-lover Audrey in animated film 'The Lorax' opposite Danny Devito and Zac Efron.