• BREAKING NEWS ABC shows live and on-demand -- Download the WATCH ABC app!

OTRC: Sean Hayes to reunite with Debra Messing on 'Smash' season 2 (Spoilers)

"Will and Grace" fans may want to tune into season 2 of the NBC musical series "Smash" for what could be the "best reunion ever."

The network announced on Monday that Sean Hayes is set to guest star on new episodes of the show, which returns during the 2012-2013 midseason. Debra Messing, who plays Broadway musical writer Julia Houston on the series, co-starred with him on the NBC sitcom "Will & Grace," which aired from 1998 to 2006. The two last acted on screen together on the series finale.

Warning: Spoiler alert!

Hayes, 42, will appear in a "multi-episode arc" on "Smash," playing "Terrence Falls, a "comedic television and film star who is making his Broadway debut in the musical 'Liaisons,' based on the novel "Les Liaisons Dangereuses,'" according to NBC's statement.

"Due to a series of comic circumstances, he becomes a major thorn in the side for Ivy Lynn (Megan Hilty) and other characters," the network added.

A Broadway play based on the book, by French author Pierre Choderlos de Laclos, was produced in 1987. A revival ran for a month in 2008. The novel was never adapted into a Broadway musical but was made into several feature films, including the 1999 modern cult hit "Cruel Intentions," which starred Sarah Michelle Gellar.

NBC made its casting announcement on the same day as the season 2 premiere of its fantasy-horror series "Grimm." Hayes is one of the show's executive producers.

The first season of "Smash" depicted the rivalry between two actresses, played by Katharine McPhee and Megan Hilty, battling for the role of Marilyn Monroe in a new Broadway musical plagued by production problems.

"Best reunion ever?!" was the question posted on the official Facebook page of "Smash" on Monday, following the casting news.

"I'm very excited to be guest-starring in a multi-episode arc on @NBCSmash this season. Back to Broadway?sort of. :)," Hayes Tweeted.

Hayes made his Broadway debut in a 2010 revival of the musical "Promises, Promises" alongside Kristin Chenoweth. The actor received a Tony nomination for his role in 2011 and also won an Emmy that year for hosting the Tony Awards. Messing, 44, has never acted on Broadway.

Hayes won an Emmy and was nominated for five others for playing Jack McFarland, the best friend of Will Truman, on "Will & Grace." Messing won an Emmy and was nominated for five others for her role as Grace Adler, Truman's other BFF.

Season 2 of "Smash" is also set to feature Oscar-winning actress and singer Jennifer Hudson. NBC announced in June that she will play the recurring role of Veronica Moore, a Tony recipient and Broadway star who also affects the lives of McPhee's and Hilty's characters, as well as Harvey Fierstein.

The "Independence Day" actor is a Broadway veteran. He played Edna Turnblad in "Hairspray" and has also starred in musicals such as "Fiddler on the Roof," "La Cage aux Folles" and "Newsies." Details about his role on "Smash" have not been released.

"Shot an episode of SMASH this week," Fierstein Tweeted on August 3, alongside a photo of Christian Borle, who plays Messing's character's writing partner. "Lovely talented cast and company. A pleasure."

(Copyright ©2018 OnTheRedCarpet.com. All Rights Reserved.)