The show's creator Ryan Murphy has confirmed that the 28-year-old actress will make an appearance – after she approached him looking for a role, suggesting she could play the lesbian aunt of Chris Colfer’s character Kurt.
Ryan said: "The thing that's great about Anne Hathaway is that she created her own character and we just ran into her and we said 'Really?' So we're going to do that. We love her."
Meanwhile, one of the show's other stars, Amber Riley has also given more news about upcoming episodes – revealing that two Justin Bieber songs have been planned into the script.
The actress, who plays Mercedes Jones, said: "There's gonna be two Bieber songs, and I think 'Baby' is one. I think that's correct. 'Somebody to Love.' I think ... those are the two songs."
Ryan confirmed that "Bieber comes up in episode 13 as a small plot point" – and added that another Lady Gaga episode is in the works.
The superstar's unreleased single 'Born This Way' will be used to highlight the plight of school bully Karofsky, played by Max Adler, who the show has hinted might be gay.
Ryan explained: "I love that that song is an anthem. This show is by nature optimistic, and I think a character like Karofsky could turn to booze or pills or alcohol and kill themselves or do something dark. But I also love Max and I love that character and I sorta want that character to have a happy ending.
"So I don't really know what that's going to be. But I do know we're going to do a whole episode that's about that song."
Last month, Chris Colfer named Anne as one of the celebrities he'd most like to work with on the show.
He said: "Can you imagine a family with myself, Mike O'Malley, Julie Andrews and Anne Hathaway? That's one hell of a family!"