<P> "The Finale" is the twenty - third episode of American television series Will & Grace's eighth season, which originally served as the series finale prior to the announcement of a 16 - episode ninth season revival slated for the 2017--18 TV season . It originally aired on the National Broadcasting Company (NBC) in the United States on May 18, 2006, when it was watched by an average of eighteen million viewers, making it the most watched episode of the final two seasons of Will & Grace . In the finale, Will and Grace have a falling - out that lasts for years . They each have a child with their respective partners, and eventually reconcile when their children (Laila and Ben) meet at college . Meanwhile, Karen's arch - enemy Beverley Leslie makes an offer to Jack which ultimately leads to Jack inheriting Beverley's fortune . </P> <P> The episode was written by series creators and executive producers David Kohan and Max Mutchnick, and directed by James Burrows . Filming took place at CBS Studio Center in Studio City, California in April 2006 . The cast members took the news about the show ending well, but they became emotional as the final scene was being filmed . NBC heavily promoted the finale, and the main cast members appeared on The Oprah Winfrey Show and The Today Show to bid farewell . An hour - long series retrospective, "Say Goodnight Gracie", featuring interviews with the cast, crew, and guest stars, preceded the hour - long series finale . Since airing, the finale has received mixed reviews from television critics . </P> <P> Grace Adler (Debra Messing), heavily pregnant, is having bizarre dreams of the future in which she and her gay friend and roommate Will Truman (Eric McCormack) are an old couple raising their child . In her dream, Jack McFarland (Sean Hayes) is married to actor Kevin Bacon, and Karen Walker (Megan Mullally)--who has not aged (her explanation: "Money")--is now in a relationship with her maid Rosario Salazar (Shelley Morrison). In Grace's real life, however, her relationship with Will is complicated . Grace is not sure if she wants to spend the rest of her life living with Will . When her ex-husband Marvin "Leo" Markus (Harry Connick, Jr .) shows up and proposes to her--unaware she is pregnant with his child--she immediately accepts . Will feels betrayed, and stops speaking to her . </P> <P> Two years later, Grace moves with Leo to Rome and lives there for a year . They then move back to New York City, where they raise their daughter, Laila . Will and Vince D'Angelo (Bobby Cannavale) have since reconciled, and are raising a son, Ben . Karen and Jack grow tired of the fact that Will and Grace are not speaking with each other, so they lure them to the same place and force them to make up . The four meet at Will and Vince's apartment, and even though Will and Grace have a pleasant evening together, they find that too much has changed between them, and drift apart . </P>

Who does grace marry in will and grace