Will & Grace creators and executive producers David Kohan and Max Mutchnick, who had not served as writers since the season four season finale, wrote the script for the series finale.
The set was already being broken down the day after filming finished.