Season 7 begins with Michael hiring a new office assistant (Evan Peters), whose bad attitude rubs the staffers the wrong way. Meanwhile, Erin flirts with someone other than Andy, and Pam tries to impress Jim by pulling an office prank. Kathy Bates guest stars.
Corporate pushes Michael into counseling sessions with his office nemesis---Toby. Meanwhile, Dwight launches a mission of revenge against the mall-shop owner who rebuffed him; and Pam sets out to change her job title.
Andy invites the gang to his community-theater staging of "Sweeney Todd," but his ultimate hope is to impress Erin. Michael, habitually starved for attention and now upstaged, tries to push his jealousy aside and take in the performance. Meanwhile, Jim and Pam are saddled with a bumbling babysitter.
Convinced he has herpes, Michael sets out to contact his former girlfriends, including Holly (Amy Ryan), Jan (Melora Hardin), Carol (Nancy Carell), Donna (Amy Pietz) and Helene (Linda Purl). Meanwhile, Andy conducts a sex-ed class in the office in a ploy to win over Erin.
A competing salesman (Timothy Olyphant) begins stealing Dunder Mifflin's clients. To unearth the pilferer's sales secrets, Michael sets up a sting with Jim and Dwight. Meanwhile, Andy is inspired to start a band after discovering that his college pal has forged a successful music career.
The staffers turn overly competitive when they scare up a Halloween costume contest. Meanwhile, Darryl gives an idea to corporate himself, passing over a fuming Michael. And Pam corners Danny (Timothy Olyphant) about their dating history.
Erin and Gabe host a "Glee" viewing party for the gang at Gabe's house. Meanwhile, Michael lacks any semblance of glee when the staffers refer to Gabe as his boss. As for Andy, his jealousy over Gabe and Erin's relationship grows and grows.
Michael puts on the charm by trying to attract investors to Ryan's fledgling Internet company. Meanwhile, Dwight celebrates Thanksgiving and his childhood by organizing a hay festival in the office parking lot; and a newly implemented policy prevents Jim from earning commission. Kathy Bates and Jack Coleman guest star.
Michael reads about China's growth as a global power, so he sets out to stop the country from taking over the U.S. Meanwhile, Dwight's building standards irritate the staffers, and Pam threatens to move the branch to a new building.
Part 1 of 2. It's a Holly jolly Christmas for Michael when his office nemesis, Toby, takes a leave of absence. This opens the door for one Holly Flax (Amy Ryan), who returns to Scranton to cover for Toby. Meanwhile, Pam is pushed into throwing two holiday parties when Michael insists they have one for Holly's return; and Jim and Dwight square off in a snowball fight.
When Andy falls into a sales slump, he desperately hosts a small business seminar featuring special guests. Before long, the event turns into an opportunity for Michael and Holly (Amy Ryan) to showcase their improv-comedy flair (or lack thereof). Elsewhere, Erin and Gabe compete in a game of Scrabble.
When Jim receives an emergency call, he's forced to leave Michael in a gas-station bathroom. Michael then vanishes, prompting Holly, Erin and Dwight to embark on an odd odyssey to find him. Elsewhere, Pam's art inspires a captioning challenge, but the office contest agitates Gabe.
Michael's relationship with Holly (Amy Ryan) flowers on Valentine's Day, but their public displays of affection disturb and perturb the others. Elsewhere, troubles bubble over for Jim and Pam following a champagne lunch; and Gabe sets up a romantic treasure hunt for Erin.
After 11 long years of production, Michael finally presents his action flick, "Threat Level Midnight," to Holly and his staffers, but he might not be prepared for their reviews. Guest stars include Melora Hardin, Rashida Jones, Linda Purl, David Denman and Andy Buckley.
Brash and crass traveling salesman Todd Packer (David Koechner)---who's also Michael's best bud---hopes to land a desk job at the office, but this development potentially unsettles the staffers. Meanwhile, Andy's computer chronically freezes up, so he sets out to get a new one. Amy Ryan guest stars.
Michael charges his successor (Will Ferrell) with his very first assignment---to emcee the Dundies, the branch's annual awards soiree. Meanwhile, Erin tries to come to terms with her ballooning dislike of her boyfriend, Gabe.
Part 1 of 2. Michael gears up to bid adieu to each staffer during his very last day at the office. Meanwhile, Deangelo (Will Ferrell) and Andy frantically scurry to retain Michael's most important clients.
Conclusion. Michael says his final good-bye to each staffer during his very last day at the office. Meanwhile, Deangelo (Will Ferrell) and Andy frantically scurry to retain Michael's most important clients. Steve Carell's final episode.