WGA strike and network change
On November 5, 2007, the Writers Guild of America went on strike, which put the production of the show's seventh season on hold. When the strike started, only 11 of Scrubs' 18 planned seventh-season episodes had been finished. Lawrence refused to cross any WGA picket lines to serve any of his duties for the show, so ABC Studios had non-WGA members finish episode 12, which the studio had unsuccessfully pressured Lawrence to rewrite as a series finale prior to the strike.
During the strike, NBC announced that The Office and Scrubs would be replaced by Celebrity Apprentice. NBC later announced that they would leave Scrubs on hiatus for the time being and fill the 8–9 pm timeslot with various specials and repeats.
Episode 11, "My Princess", was eventually filmed, although Lawrence was absent. Filming of episode 11 was disrupted by picketers. It was believed that Lawrence had tipped the picketers off about the filming schedule, although these beliefs turned out to be false as Lawrence quickly drove to the set to "keep the peace". After the strike ended, Lawrence announced that the final episodes of Scrubs would be produced, although at the time, he was unsure where or how they would be distributed.
Amid strike-induced doubt involving the final episodes of Scrubs, on February 28, 2008, The Hollywood Reporter reported that ABC was in talks with corporate sibling ABC Studios with the aim of bringing Scrubs to ABC for an eighth season of 18 episodes, despite Lawrence and Braff's protests that the seventh season would definitely be the last. Just hours later, Variety reported that NBC was lashing out and threatening legal action against ABC Studios. McGinley confirmed that he had been told to report back to work on March 24, 2008, to begin production for another season. On March 12, 2008, McGinley was also quoted as saying that the show's long-rumored move from NBC to ABC was a done deal, and that Scrubs would air on ABC during the 2008–09 TV season as a midseason replacement.
On March 19, 2008, Michael Ausiello of TV Guide reported that although nothing was "official", the Scrubs cast was to report back to work the following Wednesday for work on a season "unofficial" as yet. Zach Braff posted in his blog on Myspace, on April 28, 2008, that an eighth season consisting of 18 episodes was under production, but that he could not say where it would be aired. He then stated, on May 7, 2008, that the May 8 episode would be the final NBC-aired episode of Scrubs, which was followed by a bulletin on his Myspace, on May 12, confirming that Scrubs's eighth season would be moving to ABC.
On May 13, 2008, ABC announced that Scrubs would be a midseason replacement, airing Tuesday nights at 9:00 pm EST. Steve McPherson, ABC's President of Entertainment, also stated that additional seasons of Scrubs beyond the eighth could be produced if it performs well. In late November, ABC announced Scrubs would resume with back-to-back episodes on January 6, 2009, at 9:00 pm EST.
Creator Bill Lawrence described season eight as more like the first few seasons in tone, with increased focus on more realistic storylines, accompanied by the introduction of new characters. Courteney Cox joined the cast as the new chief of medicine, Dr. Maddox, for a three-episode arc. The eighth season includes webisodes and is the first Scrubs season broadcast in high definition.
Sarah Chalke was hoping that J.D. and Elliot would end up back together, comparing them to Friends characters Ross and Rachel, which has been addressed a few times on the show. In the early episodes of the season, they did rekindle their relationship, and continued dating through the end of the season. Several actors who guest starred as patients at Sacred Heart during the course of Scrubs returned for the finale.
The double-length season eight finale, "My Finale", aired on May 6, 2009, and was expected to be the series finale, as well. However, it soon became clear that the show would return for a ninth season.
On April 16, 2009, Bill Lawrence wrote on the ABC.com message boards that a ninth season of Scrubs was still "50/50". On April 28, it was announced that ABC was in talks to renew Scrubs for another year.
Lawrence also stated that Scrubs as it was is over, for the show to move forward with a new cast in an ER type role on ABC, or take a new title completely. In response to criticisms that the change would tarnish Scrubs' legacy, Lawrence defended the decision, as it would allow the Scrubs crew to continue work through a recession: "'Legacy shmegacy.' I'm really proud of the show, I'll continue to be proud of the show, but I love all of those people..."
On June 19, 2009, it was announced that the ninth season of Scrubs would "shift from the hospital to the classroom and make med-school professors of John C. McGinley's Dr. Cox and Donald Faison's Turk." According to Lawrence, the ninth season would "be a lot like Paper Chase as a comedy," with Cox's and Turk's students occasionally rotating through the halls of Sacred Heart and encountering former series regulars. McGinley and Faison were joined by "a quartet of newbies (most of them playing students)" as full-time regulars, while one of the freshmen "will be fairly famous."
Of the seven actors who had appeared in the show since the pilot, only Faison and McGinley retained their roles as regulars. Zach Braff returned part-time and was absent for the majority of the season, while retaining lead billing for six episodes. Sarah Chalke returned for four episodes as a guest star; Ken Jenkins, credited as a guest star, appeared in nine of the 13 episodes; Neil Flynn appeared in the season premiere in a brief cameo; Judy Reyes was the only former star not to return to the show. In an interview on the YouTube series Made Man, John C. McGinley stated that the reason for some cast members not returning was that they demanded higher salaries. Although he did not confirm which cast members, he did specify that two of the original cast made demands; hence, they were not brought back.
The new main cast included Eliza Coupe returning to the recurring role of Denise "Jo" Mahoney from season eight, Dave Franco as Cole, a charming, confidently stupid, and incredibly entitled medical student whose family donated the money to build the school, Kerry Bishé as Lucy, who shared the starring role with Braff in the beginning of the season and eventually became the show's new narrator, and Michael Mosley as Drew, a 30-year-old med student on his last attempt at school.
Production for the ninth season took place at Culver Studios.