For those unfamiliar with the show, the program is a reality competition series that features putting drag queens through a series of challenges that culminates each week with the top two contestants lip-syncing for the power to send one of their peers home.
"Competition will be fierce as the queens shift their strategies and work extra hard to not only impress RuPaul and the judges, but to also impress each other," VH1 said in its press release
announcing the news.
The California Democrat and first female speaker of the House joins a handful of other celebrity guest judges, including actors Vanessa Hudgens, Tituss Burgess and Kristin Chenoweth.
Pelosi's office did not immediately respond to CNN's request for comment on the details on her appearance, but she tweeted Thursday about the show.
"All I can say is, you betta werk!" she wrote, quoting a famous RuPaul catch phrase. "Had a fabulous time with @RuPaul and good luck to all the queens. #DragRaceNancy"
Randy Barbato, executive producer of "Drag Race" and co-founder of production company World of Wonder, said Pelosi was a good fit for the show's theme.
Pelosi is a "fierce servant of our nation (and) 'Drag Race's' mission is to teach the children and honor those who fight on our behalf," Barbato said in an email to CNN.
The producers of "Drag Race" reached out to Pelosi's team, who Barbato said "were happy to participate."
Barbato wouldn't give any spoilers on Pelosi's appearance. However, he said Pelosi "was absolutely delightful and the entire cast and crew were moved by her visit."
Season three of the drag-queen competition show kicks off January 25.