Space, the final frontier. These are the voyages of the starship Enterprise. Its 5-year mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no man has gone before.

Catherine Tate was originally going to be revealed to be the new Office Manager in the Season 8 premiere, {The List}, but Tate's obligations with a major British touring production made this impossible. Her Nellie Bertram character was introduced later in the year as a Corporate executive who eventually made her way to the Scranton office for the closing stretch of the 8th season and all of the 9th and final season of the series.

During the 8th season Jenna Fischer (Pam Halpert) was actually pregnant. The pregnancy was already planned for the season but it wasn't intended that Jenna Fischer would get pregnant.

During the cold open for {Lotto}, the office workers are upset about a dog stuck in a car. However, the sun roof is open so there's really no reason they should all be so upset.

The guitarist who joins Robert California in {Pam's Replacement} is Linda Taylor, the same guitarist who performs in ABC's [Whose Line Is It Anyway?]

{Christmas Wishes} is the firstof two episodes directed by Ed Helms in the series. The other is S8E20 {Welcome Party}.

The epilogue scene of for {Doomsday}, with John Krasinski getting injured playing squash with James Spader was non-scripted. There is a shot of the ball rebounding and hitting Jim in the crotch. This actually accidently happened during filming and is hidden by a quick cut away and subsequent reaction inserts.

On {Get the Girl}, when Erin is doing the short interview in Florida, she is apparently in front of a green box. She is really in there when she's picking up the paper, but if you watch closely, in the following scene, she doesn't naturally fit in the background, lighting in her face is softer, whereas in the real place it's natural sunlight.

During the {Fundraiser} cold open when Ryan is freaking out about the death of [?] Smokey Robinson, Jim agrees by saying, "I second that emotion," to emphasize the fact that Ryan doesn't really know Smokey's music. "I Second That Emotion" is a 1967 song written and performed by Smokey Robinson.

Brian Baumgartner, who plays Kevin Malone, originally auditioned for the role of Stanley Hudson.

The computers on the Dunder-Mifflin office set are wired for the internet. Cast members have admitted that when they're in the background of scenes they are often checking email and surfing the net.

One of the dogs Andy ends up adopting in {Fundraiser} was also on [Parks and Recreation] as the dog Champion.

The kiss between Robert California and Andrew Bernard in {Free Family Portrait Studio} was improvised by actor James Spader.

New Dunder Mifflin CEO Robert California leaves a piece of paper with a line down the middle that has names of the Scranton staff on either side of it, leading everyone to try and figure out what it means.

After the entire warehouse staff wins the lottery and quits their job, Darryl becomes depressed and demands to be fired. Meanwhile, the office staff is forced to load the truck for their orders themselves

Erin is worried that she is about to get fired after she organizes a disastrous office Halloween party for Robert and his son. Meanwhile, Robert probes the minds of the employees to come up with the perfect spooky story.

Andy decides to motivate and inspire everyone by taking them on a field trip to Gettysburg. Some people in the office stay behind and Robert California asks them to come up with Dunder Mifflin/Sabre's next big idea.

Robert brings his wife to the office so that she can find a job, but he gives Andy conflicting messages about whether to hire her. Meanwhile, Dwight opens a gym in the building and tries to persuade Darryl to join.

Robert throws a party for the Dunder Mifflin staff at his house before he sells it because of his divorce. At the party, Erin and Dwight agree to flirt with each other to make Andy jealous, and Jim tries in vain to duck out early.

In Tallahassee, Dwight and Todd Packer try to romance Nellie to get the VP position, while Jim wonders if a colleague is trying to hit on him. Back in Scranton, Val's boyfriend shows up with a message for Darryl.

Jim tries to warn Dwight that he's going to be fired after Robert rejects the Sabre Store idea, but he refuses to listen. Meanwhile, Darryl and Toby try to sell cookies to Kevin, and Erin tells Andy she's not coming back from Florida.

Andy goes to Tallahassee to tell Erin that he loves her and needs her to return to Scranton. Meanwhile, Nellie shows up in Scranton and tries to claim Andy's manager position by offering everyone raises.

Andy and Erin return to Dunder Mifflin, only to discover that Nellie has taken his job and office and refuses to give them up. Meanwhile, Ryan becomes jealous after Pam tries to play matchmaker for Kelly.

Dwight and Jim fight with the Syracuse over a client after Robert shuts down the Binghamton branch, and Andy sees an opportunity for revenge. Meanwhile Robert tries to figure out the contents of a drunken voicemail to Nellie.