About halfway through the season, the gang receives invitations in the mail to Michael and Holly's wedding, which say it will be taking place in Colorado.

SE09/Ep.20 - "Out of Business"

Dunder Mifflin has officially been run into the ground. There is nothing they can do to save it. Paper is practically irrelevant nowadays, especially from a company competing with Staples and other big brands. It's going under, and the gang has to figure out what to do with their lives.

SE09/Ep.21 - "Flashback"

This will be the look-back episode, where the characters look back on their time there. It will be sad. Also, in various talking heads, the characters talk about what they plan to do once they leave...

Jim and Pam will move out to Maine, where Jim can start his bike shop and Pam can focus on her art.

Dwight will tend to his farm, as business has been blooming.

Andy and Erin will move to New York, where Andy will be starting his new job at Cornell University. Erin will be a volunteer at hospital. They plan to get married.

Phyllis and Bob have adopted a child, and Phyllis will remain a stay-at-home mother while Bob continues work at Vance Refrigeration.

Stanley will finally be retiring in Florida.

Creed doesn't know where he'll go from there, but he'll "take the journey head on" because he's "got his whole life ahead of him".

Meredith will just find another job somewhere. She doesn't care where.

Kevin will open up a small restaurant where he can make his famous chili.

Oscar, now with the State Senator, will run for Scranton Comptroller.

Angela, still with Dwight, will "follow him wherever he goes".

Ryan and Kelly will move out to California and go from there.

Gabe will "find something...".

And last but not least, Toby will go back to the seminary.

SE09/Ep.22 - "The End"

(I actually wrote out a cold open. However, it might be tough to read in the Reddit format, so I apologize.)

INT. MAIN AREA - DAY

Everyone is going about their work per usual. DWIGHT is on his phone.

DWIGHT

Yes, we will be shutting down soon, so my job is to help you find the best new paper supplier for you--

Suddenly, the bobble head begins to bob its head. DWIGHT stops.

DWIGHT

What the--

CLIENT (O.S.)

I'm sorry?

DWIGHT looks at the bobble head until it stops.

DWIGHT

My apologies, Mr. Scofield. Like I said, it's--

The bobble head moves again. DWIGHT stops. Looks at Jim.

DWIGHT

(annoyed)

Jim, what're you doing?

JIM looks up from his work.

JIM

Sorry?

DWIGHT

Let me see your hands.

JIM holds his hands up. DWIGHT looks at the bobble head.

DWIGHT

Okay, Mr. Scofield, as I was saying--

The bobble head moves again.

DWIGHT

Dammit, Jim!

int. Conference Room

JIM talking head.

JIM

We're closing down soon. And before that happens, I have to play as many pranks on Dwight as possible. So I'm doing everything I can think of.

INT. MAIN AREA - DAY

DWIGHT lifts the bobble head and sees a string tied around it. He takes it off.

DWIGHT

Ugh...

JIM puts his right foot on his left knee and unties a string from his ankle. PAM looks empathetic.

INT. CONFERENCE ROOM

JIM talking head.

JIM

So, naturally, some of them are gonna stink.

INT. MAIN AREA - DAY

DWIGHT hangs up the phone.

DWIGHT

Nice try, idiot. Probably your worst one yet.

JIM

Aw, come on...

DWIGHT looks around as if he can't find something.

JIM

What's the matter?

DWIGHT

I can't find my stapler.

INT. CONFERENCE ROOM

JIM talking head.

JIM

But you can't go wrong with the classics.

INT. MAIN AREA - DAY

DWIGHT opens his drawer. He closes his eyes, annoyed.

DWIGHT

Dammit, Jim!

DWIGHT takes, out of his drawer, a plate of Jello, his stapler in the middle.

JIM looks way too pleased with himself.

INT. CONFERENCE ROOM

JIM talking head.

JIM slowly exhales, smiling.

JIM

I'm gonna miss this place...

It's the weekend. Everyone is getting ready to go to Colorado for Michael and Holly's wedding.

(The two-year gap between the engagement and the marriage is addressed by Jim, but Pam says something like "don't be so quick to judge".)

They all arrive at the airport Saturday morning, and are waiting in the terminal. The cameraman sees Michael in the crowd, walking with his luggage. The camera swings around to see Jim, who gives a "what?" look. The cameraman points out Michael, and Jim immediately gets up and runs over to him. They switched the wedding to Scranton, where his family is. Michael figured he'd surprise everyone by showing up. Obviously, everyone is pissed.

On Sunday, Michael and his family are setting up his wedding in the Scranton business park parking lot. Of course, it's starts to torrentially downpour. With the help of everyone, they move the wedding inside, to the warehouse. There are complications, but by the end of the episode, Michael and Holly are married.

It fades out.

*Title: One Week Later*

The gang is finishing up work. They pack up their stuff for the last time. As people are getting ready to leave, Jim calls a conference room meeting. In this meeting, he addresses everyone, saying goodbye, and telling them he wants to keep in touch. Everyone says their goodbyes and exchanges all of their contact information with each other.

It will be VERY VERY sad.

As everyone is walking out, Michael shows up. He wanted to be there for the end of Dunder Mifflin. Everyone walks out, leaving Michael and Jim. They stand by the receptionist desk and talk about how upsetting it is, and how Michael knows exactly what he's going through.

JIM: I can't believe this is it...

MICHAEL: Yup. A lot of years spent here. A lot of years.

JIM: So what's next for you? Are you staying here?

MICHAEL: Back to Colorado. We'll be back, though.

(Awkward silence.)

JIM: Well, I guess we better get going.

MICHAEL: Yeah.

They turn to walk out.

MICHAEL: How's Pam doing?

JIM: She's taking it pretty rough...

(Brief pause.)

MICHAEL AND JIM: That's what she said.

Jim turns out the lights and closes the door. The final shot is of the office we've come to know and love, in the dark.

The end.