Meet the best celeb appearances on the sitcom.
James Van Der Beek
James Van Der Beekfirst dropped byHow I Met Your Motherin 2008.
Regis Philbin
Regis PhilbingracedHow I Met Your Motherwith his presence for one episode in 2008.
Monty Brinton/CBS
The star played himself, brushing shoulders with Marshall as he hunted for a perfect cheeseburger.
Joe Manganiello
Joe Manganiellodid a seven-episode stint onHow I Met Your Motheras Brad Morris.
Appearing over the course of six years, the actor played Marshall’s friend from law school.
Cliff Lipson/CBS
Alan Thicke
TheGrowing Painsalum dropped byHow I Met Your Motherfive times during the show’s run.
John Lithgow
John LithgowjoinedHow I Met Your Motherin 2011 as Jerry Whitaker, Barney’s long-absent father.
The actor returned to the show for 2013 and 2014 episodes, reuniting with his onscreen son.
Sonja Flemming/CBS via Getty Images
Laura Prepon
Laura Preponpopped up in threeHow I Met Your Motherepisodes between 2009 and 2010.
TheThat ’70s Showalum played Karen, Ted’s polarizing college girlfriend.
Martin Short
Martin Shortplayed Garrison Cootes onHow I Met Your Motherfor three episodes in 2011 and 2012.
Eric McCandless/CBS
His character is Marshall’s boss at Honeywell & Cootes.
Danica McKellar
The former child star found her spot onHow I Met Your Motheras Trudy.
She played one of Ted’s love interests in two episodes.
Monty Brinton/CBS via Getty Images
Enrique Iglesias
The singer flexed his acting muscles in 2007 as Gael onHow I Met Your Mother.
His character was Robin’s rebound guy, a significant shift from Ted.
Named Naomi, the character was played byKatie Holmes.
Richard Cartwright/CBS
Jennifer Lopez
Jennifer Lopezmade an appearance inHow I Met Your Mother’s fifth season.
The star played Anita Appleby, a relationship expert whom Barney attempts to woo.
Bob Barker
Bob Barkershowed up onHow I Met Your Motherin 2007, playing himself.
Monty Brinton/CBS via Getty Images
He found his way into the narrative after Barney became convinced that the game show host was his father.
Nicole Scherzinger
Nicole Scherzingerlent her pop star chops toHow I Met Your Motherin 2010.
The performer played Jessica Glitter, Robin’s estranged best friend from Canada.
Richard Cartwright/CBS via Getty Images
Carrie Underwood
Carrie Underwoodlanded an acting role in 2010 thanks toHow I Met Your Mother.
Cliff Lipson/CBS
Sonja Flemmming/CBS
Sonja Flemming/CBS
Ron P. Jaffe/Fox
CBS
CBS
Cliff Lipson/CBS
CBS
Monty Brinton/CBS
Monty Brinton/CBS
Cliff Lipson/CBS
Ron P. Jaffe/CBS
Richard Foreman/CBS