Will & Grace is pulling out all the stops before the revival signs off for good. Demi Lovato will guest-star in the hit NBC comedy's final season, Entertainment Weekly reports.

Lovato will reportedly play Jenny, a guarded woman who enters Will's (Eric McCormack) life in an "unexpected way." The singer and actress — who was nominated for Best Dance Video at Monday's MTV Video Music Awards for her work in Clean Bandit's "Solo" — is set to appear in three episodes of the upcoming season, which is expected to premiere midseason on NBC.

Will & Grace to End After Season 11

NBC announced in July that Will & Grace's upcoming season will be the last for the iconic sitcom. The season will be the comedy's 11th overall and the third of the revival, which premiered in 2017. Creators Max Mutchnick and David Kohan and executive producer and director James Burrows said in a statement, "We think of the Will & Grace [revival] episodes the way Karen Walker thinks of martinis — 51 is not enough, 53 is too many. That is why, after consulting with the cast, we all have decided this will be the final season of Will & Grace."

Will & Grace returns midseason on NBC.

Demi LovatoDemi Lovato