- “News flash: you can't drink and then come to work. You're not airline pilots.”— Dr. Cox
"My Dream Job" is the twenty-second and final episode of Scrubs' second season. J.D. and Turk's college buddy Spence (Ryan Reynolds) comes to town for a visit, but a night of drinking causes Spence to blurt out that Dr. Cox is the father of Jordan's baby. Elliot gets picked on by Dr. Kelso.
Turk and J.D.'s college buddy Spence comes to town and in a flashback we discover that Spence is the one responsible for J.D.'s signature hair style. The three of them go out drinking together. While recovering from their hangovers the next day, Spence inadvertently informs Dr. Cox that he (Dr. Cox) is the father of Jordan's baby. Dr. Cox is infuriated that Jordan lied to him and wants nothing more to do with her. J.D. and Turk show Spence around the hospital, and Spence remarks that it looks like the two of them have landed their dream jobs. This provokes the opposite thought from J.D..
Spence offers to take J.D. and Turk out for some fun, and the three of them go hot-tubbing and drinking even though J.D. and Turk are the backup on-call doctors that night. They tell Spence they would only get paged in the unlikeliest of events. Unlikely events occur, and they both get paged after having had several beers. When they show up at the hospital smelling of beer, Dr. Cox delivers a scathing lecture, then sends them both back home as unfit to work.
Meanwhile Jordan relentlessly keeps hanging around Dr. Cox saying she won't leave him alone until he forgives her. Dr. Cox briefly escapes into the on-call room only to find Elliot, who tells him that Dr. Kelso is really getting to her and she can't take it any more. Dr. Cox can't help her because he has too much stuff of his own going on.
J.D. and Turk want to blame Spence for their disgrace but he tells them they both hate their jobs and were looking for any excuse to blow off work. They know he's right. Jordan tells Dr. Cox that things are different now that they have a baby together and she won't go home until he promises to go home with her. He finally relents and gently tells her to wait for him at home and he'll be along later. J.D. realizes that the reason he and his friends became doctors is because they all want to help people, and they have to keep remembering that as the going gets tougher; that it takes perseverance, fortitude and sacrifice at this stage of their training.
J.D. saves his angry patient's foot with the correct medical treatment and Dr. Cox gives him a back-handed compliment, which thrills J.D.. Dr. Cox confesses to newbie that his anger stemmed from his fear of being a rotten father. J.D. tells Dr. Cox that he shows great paternal instincts and that if Elliot was his daughter he'd know exactly how to help her in the face of Dr. Kelso's increasingly vicious bullying. Dr. Cox realizes that J.D. is right. He punches Dr. Kelso in the nose (much to Ted's ecstasy) and tells Elliot that she's doing a fine job.
- J.D. signs papers as they fly through the air.
- J.D. imagines himself as "John Dorian - Chocolate King", and eats Turk's chocolate hand.
- J.D. fantasizes about pulling Turk's chocolate ear off his head and eating it.
- Spence helps J.D. figure out how he will style his hair - moussing the crap out of it.
The Janitor claims to make more money than J.D., and tricks J.D. into revealing his PIN number. Later he taunts J.D., calling him "Food Stamps" and offering to make a donation. J.D. responds angrily hurting The Janitor's feelings. The next day, J.D. apologizes and then compliments The Janitor on the cleanliness of the floor. He says it's clean enough to eat off of it. The Janitor drops some turkey from his sandwich on to the floor and J.D. reluctantly eats it, not realizing until later that the floor cleaning solution the Janitor uses is a powerful diuretic.
J.D.'s Girls Names
- Wilma (or Betty. it appears he looks at Turk first then J.D. so Turk was Betty and J.D. was Wilma) These names reference the wives of "The Flintstones" animated cartoon series of 1960 - 66, Wilma Flintstone (wife of Fred) and Betty Rubble (wife of Barney).
- “Betty. Hey Wilma. What the hell, you're only forty minutes late.”— Dr. Cox
- Ryan Reynolds as Spence
- Richard Voigts as Mr. Weinberg
- Steve Susskind as Mr. Groff
- Sarah Lilly as Wife
- James Henriksen as Husband
- "Pinch Me" by the Barenaked Ladies
- "Candy Man" performed by Sammy Davis Jr.
- "Sunday" by Keren DeBerg
- "My Brilliant Feat" by Colin Hay
- “Ronk!”— Mr. Weinberg
- “Newbie, if the next two words out of your mouth aren't 'See ya', then the third will be 'Oh my god, my crotch. You punched me in the crotch'.”— Dr. Cox
- This is the first episode directed by Scrubs creator Bill Lawrence.
- According to this episode, J.D.'s social security number is 987-65-4320 (which is not a valid Social Security number. )
- J.D.'s PIN Number (3674) represents DORI on a dial pad, the first four letters of his last name.
- Ted is revealed to have stress-induced dyslexia. He calls Dr. Kelso "Dr. Oslek" which is his character's name in Season Seven's "My Princess". Both are derived by spelling Kelso's real name backwards.
- When Ted's talking to Elliot about Dr. Kelso, there's a keyboard on his desk, even though there's no computer on the desk. Earlier in Season Two we learn Ted's phone also does not dial out. ("My Philosophy")
- The ventriloquist dummy J.D. plays with in "My Kingdom" is visible in the college flashback in the background.
- Spence calls J.D. and Turk, "Crockett and Tubbs", respectively. This is a reference to James "Sonny" Crockett and Ricardo "Rico" Tubbs, who were a mixed-race cop duo in Miami Vice, a 1980s police drama.
- Dr. Cox calling J.D., Turk and Spence "angels" (by saying "Good morning, angels") is a reference to the 1976-81 TV show Charlie's Angels.