At San Diego Comic-Con last weekend, The Office showrunner Greg Daniels joined star Steve Carell for a panel that delighted fans with behind-the-scenes stories. One tale in particular highlighted how close the beloved sitcom came to an early end—and how Carell's quick thinking saved the day.

Daniels revealed that the Season 2 premiere, "The Dundies," was nearly scrapped after filming due to a legal issue with Chili's, the restaurant chain featured in the episode. The episode follows the Dunder Mifflin crew to a Chili's for their annual awards ceremony, where Pam gets drunk. But Chili's lawyers objected, claiming the chain doesn't overserve customers, and demanded a script change.

Read also
TV Shows
The 10 Most Flawless Sitcoms of the 2010s, Ranked
The 2010s were a golden age for sitcoms. We rank the most flawless comedies of the decade, from workplace gems to family farces.

This was a major problem because Pam's intoxication was crucial to the episode's plot and to the development of Jim and Pam's relationship. Daniels recalled having a meltdown, thinking the show was doomed. "I just melted down. I just had an absolute meltdown," he said. With no budget to reshoot, cancellation seemed inevitable.

Enter Steve Carell, whose improv background proved invaluable. Daniels credited Carell's improv training, saying, "Improv is his religion." Carell suggested turning the legal complaint into a joke, making it clear that Chili's didn't endorse Pam's behavior. The result was a hilarious talking-head interview with the restaurant's manager, who explains that Pam was sneaking drinks from other tables and is now banned from the chain.

That single joke not only resolved the crisis but also became one of the season's most memorable moments. It even paid off years later when Jenna Fischer posted a photo outside a Chili's, prompting the chain to officially lift Pam's ban. The joke was a perfect example of how improv became the show's lifeblood.

Improv wasn't just a rescue tool; it was central to the show's humor. Many cast members, including Carell, came from improv backgrounds, and later seasons brought in stars like Will Ferrell. Fischer and Angela Kinsey's Office Ladies podcast has revealed countless improvised moments, such as Michael Scott's "snip snap" monologue in "Dinner Party," which was prompted by director Paul Feig to lighten the mood.

This improvisational approach gave The Office its authentic, documentary-like feel, distinguishing it from the original British version. It made the characters feel real and relatable, which is why the show remains a comfort-watch for so many. As streaming continues to dominate, maybe future shows can learn from this formula and capture that same magic.

For those eager to revisit Dunder Mifflin, The Office is streaming on Peacock, and Office Ladies is available on all major podcast platforms. The SDCC panel hasn't been posted online, but this story is a testament to the power of improvisation in television.