The Office (U.S. season 7)
Episodes
In the following table, "U.S. viewers (million)" refers to the number of Americans who viewed the episode on the night of broadcast.

The Office (U.S. season 7)

Section Title: Episodes
Table Section Text: In the following table, "U.S. viewers (million)" refers to the number of Americans who viewed the episode on the night of broadcast.

No. overall	No. in season	Title	Directed by	Written by	Original air date	Prod. code	U.S. viewers (millions)

127	1	"Nepotism"	Jeffrey Blitz	Daniel Chun	September 23, 2010	7001	8.40

Michael upsets the office when he ignores their pleas to fire office assistant Luke, Michael's immature nephew. Pam's attempt to prank Dwight backfires when Kevin's faulty rewiring of an elevator strands the two together.

128	2	"Counseling"	Jeffrey Blitz	B. J. Novak	September 30, 2010	7002	7.36

Michael is forced to have six hours of counseling with Toby after he physically reprimanded Luke, but Michael refuses to make Toby's job easy.

129	3	"Andy's Play"	John Stuart Scott	Charlie Grandy	October 7, 2010	7003	6.95

Andy lands a role in a local production of Sweeney Todd and invites the entire office to the performance, hoping to impress Erin.

130	4	"Sex Ed"	Paul Lieberstein	Paul Lieberstein	October 14, 2010	7004	7.36

Michael comes to work thinking he has a pimple, but it turns out to actually be a cold sore. When he is told that it is a form of herpes, Michael contacts all his ex-girlfriends—Jan (Melora Hardin), Holly (Amy Ryan), Helene (Linda Purl), Donna (Amy Pietz) and Carol (Nancy Carell).

131	5	"The Sting"	Randall Einhorn	Mindy Kaling	October 21, 2010	7005	6.87

When a Dunder Mifflin client is stolen by a rival salesman named Danny (Timothy Olyphant), Michael, Dwight and Jim decide to set up a sting in order to uncover his sales secret.

132	6	"Costume Contest"	Dean Holland	Justin Spitzer	October 28, 2010	7006	8.07

Michael freaks out when Darryl goes over his head by taking an idea to corporate. The employees partake in a Halloween costume contest in the office.

133	7	"Christening"	Alex Hardcastle	Peter Ocko	November 4, 2010	7007	7.65

Pam and Jim's baby, Cece, gets christened and Michael invites the entire office to celebrate. Michael joins a church group of high school graduates on a mission to Mexico, with Andy following along to impress Erin.

134	8	"Viewing Party"	Ken Whittingham	Jon Vitti	November 11, 2010	7008	7.15

Erin and Gabe invite the office over to Gabe's house for a Glee viewing party. Michael can't handle the fact that the office workers think of Gabe as their boss instead of him.

135	9	"WUPHF.com"	Danny Leiner	Aaron Shure	November 18, 2010	7009	7.28

Michael helps Ryan by charming people to invest in his internet company, WUPHF.com. Dwight creates a hay festival in the parking lot for the Thanksgiving holiday.

136	10	"China"	Charles McDougall	Halsted Sullivan & Warren Lieberstein	December 2, 2010	7010	7.31

When Michael reads an article about China growing as a global power, he decides they must be stopped before they take over the United States.

137138	1112	"Classy Christmas"	Rainn Wilson	Mindy Kaling	December 9, 2010	70117012	7.18

Michael couldn't be happier when Toby takes a leave of absence, leaving corporate to send Holly Flax (Amy Ryan) to cover for him.

139	13	"Ultimatum"	David Rogers	Carrie Kemper	January 20, 2011	7013	8.26

Michael anticipates the news regarding the status of Holly and A.J.'s relationship. In the office, Pam puts up a New Year's resolution board so everyone can post their resolutions.

140	14	"The Seminar"	B. J. Novak	Steve Hely	January 27, 2011	7014	7.93

Andy holds a small business seminar in the office with some special guests after he finds out that his sales are at his lowest.

141	15	"The Search"	Michael Spiller	Brent Forrester	February 3, 2011	7015	7.29

Jim gets an emergency phone call from Helene (Linda Purl), forcing him to leave Michael at a gas station bathroom. This leads Holly, Erin, and Dwight on a search for the whereabouts of Michael.

142	16	"PDA"	Greg Daniels	Robert Padnick	February 10, 2011	7017	6.90

Michael and Holly's public displays of affection start to make everyone in the office uncomfortable. Jim and Pam have too much champagne during lunch, causing complications when they have to return to work.

143	17	"Threat Level Midnight"	Tucker Gates	B. J. Novak	February 17, 2011	7016	6.41

Michael screens his action film Threat Level Midnight to the office after eleven years of writing, shooting, re-shooting, and editing. The film features Michael as Agent Michael Scarn, Dwight as Scarn's sidekick, and Jim as archnemesis "Goldenface," as well as several people from Michael's past including Jan (Melora Hardin), Karen (Rashida Jones), Roy (David Denman), Helene (Linda Purl), Todd Packer (David Koechner), Tony Gardner (Mike Bruner), and Troy Underbridge (Noel Petok).

144	18	"Todd Packer"	Randall Einhorn	Amelie Gillette	February 24, 2011	7018	6.12

Traveling salesman Todd Packer (David Koechner) comes to Dunder Mifflin looking for a desk job in the office. However, the office is unsure if they want him to work there due to his previous behavior.

145	19	"Garage Sale"	Steve Carell	Jon Vitti	March 24, 2011	7019	7.07

Michael decides to propose to Holly, and runs into trouble thinking of how to do it well with his expensive diamond ring.

146	20	"Training Day"	Paul Lieberstein	Daniel Chun	April 14, 2011	7020	7.87

Michael's replacement appears in the office, to start receiving training from Michael. The new manager, Deangelo Vickers (Will Ferrell), has everyone hoping to make good first impressions: Andy finds himself awkwardly typecast while Jim and Pam worry that they've come on too strong.

147	21	"Michael's Last Dundies"	Mindy Kaling	Mindy Kaling	April 21, 2011	7021	6.85

Michael trains his office replacement, Deangelo (Will Ferrell), for hosting the Dundie Awards. Meanwhile, Erin deals with her dislike of her boyfriend, Gabe.

148	22	"Goodbye, Michael"	Paul Feig	Greg Daniels	April 28, 2011	7022	8.42

Michael prepares to leave for Colorado with Holly, and spends his last day in the office saying goodbye to everyone individually, wanting no drama to ensue.

149	23	"The Inner Circle"	Matt Sohn	Charlie Grandy	May 5, 2011	7023	6.90

New office manager Deangelo picks favorites among the staff, revealing his true management style.

150	24	"Dwight K. Schrute, (Acting) Manager"	Troy Miller	Justin Spitzer	May 12, 2011	7024	6.45

Dwight becomes the interim regional manager, instituting a typically heavy-handed management style. Meanwhile, Gabe tries to win back Erin.

151152	2526	"Search Committee"	Jeffrey Blitz	Paul Lieberstein	May 19, 2011	70257026	7.29

Deangelo's new replacement is sought out through a search committee process led by Jim.

Sentence(s)