'How I Met Your Mother' Unforgettable Celebrity Cameos That Stole the Show, Ranked

Published 08/20/2026, 12:51 AM EDT

via Imago

At its core, How I Met Your Mother was always about Ted Mosby’s relentless quest to find "the one," but as nine seasons proved, the real magic lived in the chaos of the journey. Packed with legendary running gags and unforgettable quotes, from Barney Stinson’s high-energy "It’s gonna be legen—wait for it—dary!" to Robin’s "But um...", the show turned everyday life, heartbreak, and lifelong friendship into prime-time gold. Beyond the core gang sitting in MacLaren’s Pub, HIMYM established a reputation for surprising fans with top-tier celebrity appearances. 

These guest spots were not just simple background walks; they were internet-shattering events that hijacked entire episodes and created timeless pop-culture lore. Whether fixing Barney’s mojo or delivering pep talks from a magazine cover, these special entries brought unmatched humor to Ted’s long road to love. So, these are the top ten celebrity cameos in How I Met Your Mother, ranked by sheer fan craze.

10. Heidi Klum (The Yips - Season 3, Episode 10)

ADVERTISEMENT

Article continues below this ad

Imagine losing your signature pickup game only to have international supermodel Heidi Klum hand you the exact psychological cure you need. When Barney suddenly develops "the yips" and loses his confidence with women, the gang ends up at the Victoria’s Secret After Party, setting the stage for a quintessential late-2000s TV moment.

Victoria s Secret Hair & Make-Up Model Heidi Klum shows off a family photo of herself during an interview backstage at the Victoria s Secret fashion show during hair & make-up at the Renaissance Hotel, Thursday, Nov. 15, 2007 in Hollywood, CA. The show will air Tuesday, Dec. 4th on the CBS Television Network. (Evan Agostini iPhoto) Hollywood CA USA EDITORIAL USE ONLY Copyright: x2007xEvanxAostinix EvanxAgostinix iphotos130092

Seeing Klum play a serene, highly self-aware version of herself gave the episode an elevated, glamorous charm that felt like a massive pop-culture event for viewers at home. Fans loved the utter absurdity of Barney seeking romantic advice from a runway icon, especially when she casually validates his ridiculous antics.

Is ‘How I Met Your Mother’ (2005) on Netflix? Where to Watch the Hit Sitcom in 2025

Her appearance was brief, but it captured the absolute peak era of HIMYM’s ability to weave massive real-world stars seamlessly into the gang's daily chaos. It stands as a nostalgic, glossy time capsule that fans still look back on with a grin.

9. Lucy Hale (Katie Scherbatsky) (First Time in New York - Season 2, Episode 12 & Vesuvius - Season 9, Episode 19)

Bringing in Robin’s younger sister could have easily felt like a generic sitcom trope, but Lucy Hale’s performance as Katie Scherbatsky immediately won over the hearts of the fandom. Arriving in New York wide-eyed and ready to experience the big city, Katie instantly triggers Robin's hyper-protective big-sister mode, resulting in hilarious panic from the gang over how to handle her teenage antics.

BIONIC WOMAN, Lucy Kate Hale, Birds , (Season 1, 2007), 2007. Photo: Mitchell Haaseth NBC courtesy everett collection NBC Courtesy Everett Collection !ACHTUNG AUFNAHMEDATUM GESCHÄTZT! PUBLICATIONXNOTxINxCANxCHNxFRAxITAxJPNxNORxPOLxRUSxESPxUKxUSA Copyright: xNBC CourtesyxEverettxCollectionx TCDBIWO EC032

Fans adored the natural chemistry between Hale and Cobie Smulders, as it unlocked a whole new layer of Robin’s carefully guarded family lore. Rather than relying on a shock-value gimmick, Hale brought genuine warmth, sharp comedic timing, and an endearing teenage rebellion that fit effortlessly into the show’s universe. Her return in Season 9 for Robin’s wedding felt like a sweet, satisfying payoff for long-time viewers. She was not just a guest star; she truly felt like part of the Scherbatsky family tree.

8. Martin Short (Garrison Cootes) (The Naked Truth - Season 7, Episode 1 & Recurring)

The moment comedy royalty Martin Short stepped onto the screen as Garrison Cootes, Marshall’s intensely passionate, apocalyptic-minded environmental law boss, the energy of Season 7 instantly leveled up. Short brought an explosive, unpredictable physical comedy to the Natural Resources Defense Council, constantly oscillating between dramatic eco-gloom and frantic cheerfulness. Hardcore fans fell in love with his chaotic workplace rants and his hilarious mentorship dynamic with Marshall, which gave the legal storyline a fresh spark of ridiculousness.

CANNES, FRANCE - MAY 18: Martin Short attends the 'Madagascar 3' Premiere during the 65th Cannes Film Festival on May 18, 2012 in Cannes, France.

Every scene featuring Cootes felt completely unhinged in the best way possible, proving that a veteran comedian could take a minor recurring character and make every single line delivery unforgettable. Fans still quote his wild speeches about environmental collapse, proving that his short-lived stint at the firm left a massive, permanent imprint on the show's comedy legacy.

7. Kim Kardashian (Benefits - Season 4, Episode 12)

Of all the surreal cutaway gags in HIMYM history, few blew fans' minds quite like Kim Kardashian talking straight out of a magazine cover to give Marshall a pep talk. Struggling with severe workplace bathroom anxiety at GNB, Marshall finds himself staring at a copy of Weekly Style, only for Kim to break the fourth wall and deliver an unexpectedly profound speech about self-worth and bodily functions.

Kim Kardashian, Reality tv star Kim Kardashian appears before the media as she attends the screening of `Wonderful World` at the 8th Annual Tribeca Film Festival in New York City on April 27, 2009.

The fanbase went wild over the pure absurdity of the setup; it was weird, self-deprecating, and perfectly leaned into the late-2000s celebrity media obsession. Viewers loved that Kim was completely in on the joke, willing to poke fun at her own reality-TV image for a bizarrely wholesome comedic payoff. Love it or roast it, this cameo remains one of the most talked-about cutaways in the entire series, perfectly exemplifying the show’s fearlessly bizarre humor.

6. Mike Tyson (Bad Crazy - Season 8, Episode 16)

Nobody saw it coming when former heavyweight boxing champion Mike Tyson casually appeared in a convenience store to help Robin take care of baby Marvin during a chaotic night out. Watching one of the most feared boxers in sports history hold an infant on the streets of West Side Manhattan, while getting deeply invested in Lily and Marshall's parenting dynamics, was absolute comedy gold for the audience.

Mike Tyson promotes the Blu-ray and DVD 'Tyson' held at the Borders in Hollywood, USA on August 18, 2009. xkwx actor, actress, celebrity, talent, actors, actresses, director, entertainment, film, cinema, music, musician, singer, artist, red carpet, photo, dress, venue, gala, event, premiere, movie, star, celebrities, celebration, fashion, success, hollywood, california, fame, awards, filmmaking, box office, handsome, sexy, beautiful, beauty, successful, dreams, hit, elegant, news, trends, movies, popular, model, money, rich, famous

The contrast between Tyson's intimidating real-life persona and his extraordinarily gentle, baby-obsessed character sent fan forums into a frenzy. Viewers were endlessly entertained by Robin treating him like an ordinary, slightly eccentric babysitter while the sheer absurdity of the situation unfolded around them. It was a completely random, out-of-left-field appearance that paid off brilliantly, solidifying itself as one of the show’s most hilariously surreal late-season highlights that fans still laugh about today.

5. Jennifer Lopez (Anita Appleby) (Of Course - Season 5, Episode 17)

When Jennifer Lopez stepped onto the set as Anita Appleby, a tough-as-nails relationship author, fans knew Barney Stinson had finally met his match. Armed with her psychological playbook, Of Course You're Still Single, Anita systematically dismantles Barney's predatory tricks, training him like a dog and leaving him completely helpless. Pop-culture hype was at an all-time high when the episode aired, and viewers reveled in every second of Barney getting a much-needed taste of his own medicine.

Jennifer Lopez performs live during the 60th Sanremo Song Festival at the Ariston Theatre on February 19, 2010 in SanRemo, Italy.

Lopez brought incredible star power, sharp comedic authority, and effortless charm, turning the battle of wits into an absolute masterclass of sitcom banter. The satisfaction fans felt watching Barney break down and agree to a real date was unmatched, making Anita’s single-episode arc one of the most gratifying character confrontations in the series. J.Lo completely ruled the narrative as a guest star.

4. Will Forte (Randy Wharmphtess) (Rebuttal - Season 3, Episode 18 & Natural History - Season 6, Episode 8)

Few guest characters have achieved the legendary cult status that Will Forte earned as Randy Wharmphtess, Barney’s absurdly incompetent, wildly nervous co-worker at GNB. From his instant nosebleeds whenever he gets slightly intimidated by women to his bizarre passion for brewing his own beer ("Wharmphtess!"), Forte turned secondary character work into absolute comedic perfection.

MacGruber - filmstill WILL FORTE in MacGruber EDITORIAL USE ONLY Copyright: xCAP FBx

Fans obsessively quoted his panicked meltdowns, and his desperate attempts to learn Barney’s pick-up moves quickly became fan-favorite moments across online communities. Forte brought a signature, unhinged energy that matched the gang's madness while creating a character so uniquely pathetic you could not help but root for him. The fanbase loved him so much that his return in Season 6 was met with widespread celebration. Randy was not just a gimmick cameo, he became an immortalized figure within the HIMYM meme culture forever.

3. Boyz II Men (Slapsgiving 3: Slappointment in Slapmarra - Season 9, Episode 14)

When it came to resolving the iconic Slap Bet, fans expected something grand, but nobody anticipated legendary R&B group Boyz II Men stepping out of the shadows to serenade Barney’s pain. After Marshall delivers an epic, slow-motion slap in the middle of a Sunday afternoon, the group appears out of nowhere in full white suits to sing a soulful, heartbreakingly beautiful slow-jam rendition of 'You Just Got Slapped.'

Wanya Morris, Nathan Morris und Shawn Stockman von Boyz II Men live in der Großen Freiheit 36. Hamburg, 17.12.2014 Foto:xI.xSchifflerx xFuturexImage

The internet collectively exploded during this scene; it was the ultimate payoff to a running gag that had spanned almost a decade. Viewers were in tears, laughing at the contrast between the soulful, velvety vocals and the utterly ridiculous lyrics about slapping a friend in the face. It remains one of the absolute highest peaks of fan service in television history, perfectly capping off a legendary show's running joke.

2. Katy Perry (Honey) (Oh Honey - Season 6, Episode 15)

At the absolute peak of her global pop dominance, Katy Perry dropped into MacLaren's world and delivered a character so instantly iconic that her catchphrase defined an entire era of the show. Playing Zoey’s tragically naive cousin, whom the gang pityingly dubs "Honey" because everything she says makes you sigh "Oh, Honey...", Perry threw herself into the role with incredible comedic commitment. Fans were obsessed with her over-the-top gullibility, from believing her landlord was a sweet guy to giving away her personal info without a second thought.

RIO DE JANEIRO, September 14, 2011 - Singer KATY PERRY the show, during the Rock in Rio. in Rio de Janeiro

The episode ignited a massive wave of fan reactions, with "Oh, Honey" immediately entering the real-world vocabulary of viewers everywhere. It was a rare instance where a massive music superstar completely shed her glamour to play an utterly oblivious goofball, resulting in one of the highest-rated and most universally loved cameos in the series.

1. Britney Spears (Abby) (Ten Sessions - Season 3, Episode 13 & Everything Must Go - Season 3, Episode 19)

There is no overstating the cultural impact of Britney Spears appearing as Abby, the sweet, wildly unhinged receptionist at Stella’s dermatology clinic. Beyond her brilliant line delivery ("I'm Abby!") and her chaotic revenge pairing with Barney to spite Ted, Britney’s appearance quite literally saved How I Met Your Mother from early cancellation by drawing in millions of curious viewers and giving Season 3 massive ratings momentum.

LOS ANGELES, CA - DECEMBER 04: Singer Britney Spears lights the tree on stage at the Light of the Angels Holiday Tree Lighting Ceremony at LA Live on December 4, 2008 in Los Angeles, California..People: Britney Spears Los Angeles United States Of America - ZUMAs214 20081204_zba_s214_011 Copyright: xSMGx

ADVERTISEMENT

Article continues below this ad

The fanbase adored her willingness to play an intensely awkward, obsessively romantic character who completely stole every scene she shared with the main cast. Watching her chase Ted, fall for Barney, and frantically drop sweaters created pure comedic gold that fans still talk about decades later. Britney didn't just deliver an unforgettable performance; she cemented the show's place in television history, earning her the undisputed number-one spot as the greatest HIMYM cameo of all time.

How I Met Your Mother delivered countless iconic guest stars that made Ted's journey truly legendary and one of those shows that became way too successful, but everyone has that one surprise guest who stole the entire show for them. 

Ted vs Chandler: Who Is the Better Lead From ‘How I Met Your Mother’ and ‘Friends’?

ADVERTISEMENT

Article continues below this ad

Did your personal favorite guest star make our top rankings? Let us know in the comments!

SHARE THIS ARTICLE :

ADVERTISEMENT

Monika Khatai

224 articles

Monika Khatai is an entertainment journalist at Netflix Junkie. She completed her Computer Science degree in 2024 and spent a year working in digital marketing, but deep down, she never truly felt like she fit in. Just like Maddy Perez, she knew who she was from a very young age, and that certainty led her to pursue a career in writing.

Edited By: Aliza Siddiqui

ADVERTISEMENT

EDITORS' PICK