The cast of How I Met Your Mother is five series regulars: Josh Radnor as Ted Mosby, Alyson Hannigan as Lily Aldrin, Jason Segel as Marshall Eriksen, Cobie Smulders as Robin Scherbatsky, and Neil Patrick Harris as Barney Stinson. The ensemble carried all nine seasons, from the CBS premiere on September 19, 2005, to the one-hour finale on March 31, 2014 β€” a run of 208 episodes. Two additions matter to the roster: Cristin Milioti plays the title character, Tracy McConnell, and is credited as a series regular only in the final season. Every other name you'll see attached to the show is a guest or recurring player.

Who Plays Ted Mosby? Josh Radnor's Nine-Season Run

Josh Radnor was born on July 29, 1974, in Columbus, Ohio, and trained at Kenyon College and NYU's Tisch graduate acting program before landing the role that made him a household name. He appeared in all 208 episodes as Ted Mosby, the architect and hopeless romantic whose search for "the one" frames the entire series. Ted narrates the story from 2030, which means Radnor's most frequent scene partner for the final season was the voice of Bob Saget, recorded separately from the on-screen action.

Radnor was a relative unknown when cast, and the show became his defining credit. He directed three episodes across the run β€” "Ted Mosby: Architect" in season five, "The Rebound Girl" in season seven, and "The Lighthouse" in season eight β€” and wrote the season nine episode "Bedtime Stories," a rhyming installment that told three stories in verse. That's a useful reference point if you're mapping how much creative control the leads had behind the camera.

After the finale, Radnor leaned into independent film and theater rather than another network sitcom. He wrote, directed, and starred in Liberal Arts (2012) and Happythankyoumoreplease (2010), both of which premiered at Sundance, and he played the title role in the 2016–17 PBS series Mercy Street. His post-HIMYM career is the quietest of the five leads, and that's a deliberate read.

One detail the overviews tend to skip: Radnor's Ted is the only character whose post-2030 life the finale locks down. The show's closing scene puts Ted and Robin together at MacLaren's, not Ted and the Mother, which remains the single most argued-about decision in the series. If you came to this cast page after finishing the show, that's usually the question underneath it.

Alyson Hannigan as Lily Aldrin: The Glue of the Group

Alyson Hannigan was born on March 24, 1974, in Washington, D.C., and was already famous to two overlapping audiences before HIMYM β€” as Willow Rosenberg across seven seasons of Buffy the Vampire Slayer, and as Michelle Flaherty in the American Pie films. She played Lily Aldrin, a kindergarten teacher turned art consultant, for all 208 episodes and directed the season nine episode "The Lighthouse" alongside Radnor's acting turn.

Lily functions as the group's emotional historian. She knows everyone's secrets, she's the reason Ted and Robin stay in each other's orbit, and she's the character most often used to puncture Ted's romanticism. Hannigan's comedy is built on the sideways glance rather than the punchline, which is why Lily's biggest moments β€” the Marshall-and-Lily breakup in season two, the debt revelation in season four β€” land harder than the joke count suggests.

Casting trivia worth knowing: Hannigan was pregnant during production of seasons three and four, and the show hid it behind oversized coats, laundry baskets, and blocked camera angles. That production constraint shaped Lily's wardrobe and staging for roughly 48 episodes. It's the kind of detail that explains why she seems to vanish behind furniture in that stretch.

Post-finale, Hannigan returned to ensemble comedy with The McCarthys, the Disney Junior series Fancy Nancy as the voice of Claire Clancy, and the Fox sitcom Outmatched. She also competed on season 24 of Dancing with the Stars. If you want to track her full arc, the Hannigan-to-HIMYM pipeline runs through the Buffy writers who later overlapped with Carter Bays and Craig Thomas's team.

Jason Segel's Marshall Eriksen: From Comedy Sidekick to Leading Man

Jason Segel was born on January 18, 1980, in Los Angeles, and came to HIMYM from two seasons of Freaks and Geeks and a stint on Undeclared. As Marshall Eriksen, the Minnesota-born lawyer who marries Lily, he was the show's most reliable comedic engine: the slap-count running gag, the "Lawyered!" catchphrase, and the season-long depression arc after his father's death in season six all sit with him. He appeared in all 208 episodes.

Segel's film career ran parallel to the series, not after it. He wrote and starred in Forgetting Sarah Marshall (2008), co-wrote The Muppets (2011) with Nicholas Stoller, and starred in The Five-Year Engagement (2012) and The End of the Tour (2015). That overlap is why Marshall's screen time drops in some mid-run episodes β€” Segel was often shooting a movie during breaks that the other leads used for hiatus.

The Marshall role is also where the show does its clearest emotional work. The season six episode "Bad News" and its follow-up "Last Words" are built on Segel's ability to play grief under a comedy beat, and they're the episodes most often cited when people argue the show deserved more awards attention than it got. He was nominated for a Golden Globe in 2012, though the show itself never won a Primetime Emmy for acting.

Since the finale, Segel has moved steadily toward drama and writing. He starred in Winning Time: The Rise of the Lakers Dynasty as Paul Westhead and wrote the 2023 memoir The Book of Love. One misstep worth flagging: he reportedly walked away from a planned Muppets sequel, which is a useful reminder that HIMYM salary negotiations didn't make the leads automatically sign on to anything after.

Cobie Smulders as Robin Scherbatsky β€” The Canadian Who Wasn't First Choice

Cobie Smulders was born on April 3, 1982, in Vancouver, British Columbia, and played Robin Scherbatsky, the former Canadian pop star turned TV journalist, across all 208 episodes. Smulders nearly didn't get the role: she was cast, recast, and recast again during pilot season, and the version of Robin you see in the series is the third attempt at the character. That's a known production fact, not a rumor β€” it's documented in interviews about the pilot.

Robin's arc is the show's most structurally interesting. She's the "other woman" from episode one, the ex-girlfriend who never quite leaves, and the finale's decision to pair her with Ted is the reason the last scene is divisive. Smulders also has the strongest post-HIMYM franchise resume of the five leads: she played Maria Hill in the Marvel Cinematic Universe across The Avengers (2012), Captain America: The Winter Soldier (2014), Avengers: Age of Ultron (2015), Spider-Man: Far From Home (2019), and the Disney+ series Secret Invasion (2023).

The Robin character also carries the show's most quoted running joke β€” "But um," the Canadian pop anthem she wrote as Robin Sparkles, resurfaces in multiple seasons after debuting in season two's "Slap Bet." That gag is a good example of the show's long-game structure: a throwaway line in season two becomes a full episode in season four.

If you're mapping the cast's awards history, Smulders is the lead who has been most visibly nominated outside HIMYM β€” she earned a Critics' Choice nomination for How I Met Your Mother in 2013 and has spoken publicly about the show's difficult work environment in interviews from 2023 onward. That context doesn't change the performance, but it's part of how the cast is now read.

Neil Patrick Harris as Barney Stinson: The Breakout Role That Changed His Career

Neil Patrick Harris was born on June 15, 1973, in Albuquerque, New Mexico, and had been famous since his teens as the star of Doogie Howser, M.D. By the time he was cast as Barney Stinson β€” the suit-wearing, womanizing, "legendary" serial dater β€” his career had slowed. HIMYM reversed that. He appeared in all 208 episodes and won a Primetime Emmy for Outstanding Supporting Actor in a Comedy Series in 2010 for the season five episode "Girls Versus Suits."

Barney is the role the audience quotes. "Suit up," "Legen β€” wait for it β€” dary," "Challenge accepted," and the Playbook episodes all belong to him, and the character's elaborate schemes are the show's most viral export. Harris played Barney as a cartoon on the surface and a very lonely man underneath, which is why the season nine wedding arc β€” Barney marrying Robin after years of commitment-phobia β€” works as well as it does.

The Barney episodes are also where the show aged least gracefully. The "how I met your mother" framing gives the series a retroactive permission structure for Barney's behavior, and a 2020s rewatch tends to land differently than the original broadcast did. That's a fair thing to know before recommending the show to someone who hasn't seen it.

Harris's post-HIMYM output is the busiest of the five: he hosted the Tony Awards four times, the Academy Awards twice (2009 and 2015), headlined A Series of Unfortunate Events on Netflix as Count Olaf, and returned to Broadway in Hedwig and the Angry Inch (2014) and Company (2022). He also directed a stage production of The Expert and has done extensive voice work, including Dolly Parton's Heartstrings. If you're tracking the "who did the most after HIMYM" question, that's your answer.

Cristin Milioti as the Mother β€” One Season, One Emmy-Eligible Arc

Cristin Milioti was born on August 16, 1985, in Cherry Hill, New Jersey, and played Tracy McConnell β€” the Mother β€” in season nine. She was credited as a series regular for that final season and appeared in roughly 18 episodes, with her identity kept secret until the season nine premiere, "The Locket," in September 2013. Before HIMYM she was known for Once on Broadway, which earned her a Tony nomination, and for a small role in The Wolf of Wall Street (2013), released weeks after her HIMYM reveal.

Milioti had the hardest job in the cast: play a character the audience has been promised for eight years and make her worth the wait. She did it with a small handful of scenes, and the episode "How Your Mother Met Me" β€” a mid-season showcase told entirely from her point of view β€” is the single strongest argument that the show should have spent more time with her. The Mother's death, revealed in the finale, is the emotional pivot the last scene depends on.

The casting process itself is a trivia goldmine. The show auditioned dozens of actresses for the role and kept the identity secret for the entire eighth season, telling even some of the main cast only weeks before the reveal. That's why fan theories about the Mother β€” that she was the daughter from the pilot, that she was Victoria, that she was Robin β€” ran wild online for years.

Since the finale, Milioti has built a genuinely strong character-actor career: Fargo season two, Black Mirror's "USS Callister," Palm Springs (2020) opposite Andy Samberg, Made for Love on HBO Max, and the 2024 DC series The Penguin as Sofia Falcone, which earned her a Golden Globe nomination. She's the cast member whose post-show trajectory most resembles a prestige-TV leading actress, and that's the arc worth following if the show made you a Milioti fan.

The Supporting and Recurring Cast You Keep Recognizing

The five leads get the headlines, but How I Met Your Mother ran on a deep bench. Bob Saget voiced future Ted for all nine seasons without ever appearing on camera β€” an unusual arrangement where the narrator is a separate, credited actor. Lyndsy Fonseca and David Henrie played Ted's daughter Penny and son Luke in the framing scenes, shot largely in a single 2005 session that the show reused for nine years.

Recurring players include Sarah Chalke as Stella Zinman, Ted's almost-wife in season four; Ashley Williams as Victoria, the baker from season one who returns in season eight; Wayne Brady as James Stinson, Barney's gay brother; and Cristine Rose as Virginia Mosby, Ted's mother. Marshall's family is a who's-who of character actors: Beau Bridges as his father, Marvin Eriksen Sr.; Bill Fagerbakke as his brother, Marvin Jr.; and Suzy Nakamura as his sister-in-law. The show's reliance on deep-cut casting β€” including Britney Spears as Abby in season three and Jennifer Lopez as Anita in season six β€” is part of why it still turns up in "guess the guest star" lists.

Two recurring figures deserve a specific note. Bryan Cranston played Hammond Druthers, Ted's obnoxious former boss, across three episodes in 2006–07 β€” before Breaking Bad made him a lead β€” and the casting was a favor to the show's producers from his Malcolm in the Middle years. And Chris Elliott played Lily's father, Mickey Aldrin, a failed magician, in a recurring role that stretches from season four to the finale. Both are the kind of names that make a rewatch feel deeper than the first pass.

How the Five Leads Were Cast, and What That Tells You

The casting story is more instructive than it looks. Carter Bays and Craig Thomas built the show around Radnor and Segel first, then filled in the women. Smulders was the third actor cast as Robin after the pilot's first two attempts were replaced, and Hannigan joined once the Buffy schedule allowed it. Barney was the last piece, and Harris was initially resistant to returning to weekly television after Doogie Howser β€” the role was written assuming a broader comic type, and Harris's interpretation is why he became the show's breakout.

A useful comparison point: the ensemble wage structure shifted across the run. The five leads renegotiated their contracts at the start of season eight, in 2012, reportedly reaching deals that paid each of them substantially more than their original 2005 contracts. If you want exact figures, the trades reported them at the time, but the direction is undisputed β€” the leads re-upped together rather than individually, which is why the final two seasons kept the full cast intact.

What separates this cast from other long-running sitcom ensembles is how much of the show's voice came from the actors' instincts. Harris invented Barney's suit obsession in the pilot. Segel's improvisation produced the slap bet. Hannigan and Segel's chemistry sold the Marshall-Lily marriage as a real relationship rather than a sitcom gimmick. When you rewatch the pilot, that's already visible.

The one thing casting didn't fix was the Mother problem. The show spent nine years promising a character it introduced in the last season, and Milioti's performance makes that structural gamble look better than it should. It's the clearest example of a cast carrying material that was structurally harder than it looked.

Where Each Cast Member Is Now: A Side-by-Side

If you came to this page looking for a quick read on the cast's post-show careers, the table below is the summary. Dates and credits are drawn from the actors' own filmographies and network announcements; for anything still in production, confirm on the actor's official page or the project's own listings.

Actor Character HIMYM tenure Notable post-show credit Award note
Josh Radnor Ted Mosby Seasons 1–9 (208 episodes) Mercy Street (PBS, 2016–17) Sundance premieres for Happythankyoumoreplease and Liberal Arts
Alyson Hannigan Lily Aldrin Seasons 1–9 (208 episodes) Fancy Nancy voice role; Outmatched Prior Buffy fame; Dancing with the Stars season 24 contestant
Jason Segel Marshall Eriksen Seasons 1–9 (208 episodes) Winning Time (HBO, 2022) Golden Globe nomination for HIMYM; wrote Forgetting Sarah Marshall
Cobie Smulders Robin Scherbatsky Seasons 1–9 (208 episodes) Marvel's Maria Hill across five films and Secret Invasion Nominations for HIMYM and Secret Invasion
Neil Patrick Harris Barney Stinson Seasons 1–9 (208 episodes) A Series of Unfortunate Events (Netflix, 2017–19); Company (2022) Emmy, 2010, for "Girls Versus Suits"
Cristin Milioti Tracy McConnell (the Mother) Season 9 (credited regular; ~18 episodes) The Penguin (HBO, 2024) Tony nomination for Once; Golden Globe nomination for The Penguin

The takeaway from the table is that the show produced two distinct post-show trajectories: the Marvel-and-prestige route (Smulders, Milioti) and the network-and-stage route (Harris, Hannigan, Segel). Radnor is the outlier, and that's a career choice rather than a career decline.

Which Episodes Best Showcase Each Cast Member

If you're introducing someone to the show, or you want the fastest route to understanding what each actor brings, this is the shortcut list. Each pick is a single episode where that performer gets the A-story.

1: Josh Radnor β€” "The Pineapple Incident" (season one, episode 10). Ted's hungover detective work is Radnor's best physical comedy, and the episode's structure lets him play drunk, confused, and sincere in the same 22 minutes. 2: Alyson Hannigan β€” "Lucky Penny" (season two, episode 15). Lily's obsessive hunt for a penny is a masterclass in escalating frustration, and Hannigan sells the payoff at the airport without a line of dialogue. 3: Jason Segel β€” "Bad News" (season six, episode 13). The countdown to Marshall's father's death is the show's most disciplined emotional episode, and Segel plays the final scene with almost no dialogue. 4: Cobie Smulders β€” "Slap Bet" (season two, episode nine). Smulders has to be embarrassed about Robin Sparkles and then haunted by it, and the episode is the show's most-quoted for a reason. 5: Neil Patrick Harris β€” "Girls Versus Suits" (season five, episode 12). The Emmy-winning episode, built around a single musical number, is Harris's showcase from start to finish. 6: Cristin Milioti β€” "How Your Mother Met Me" (season nine, episode 16). The only episode told from the Mother's point of view, and Milioti carries it without the rest of the cast.

Use this as a rewatch order if you want to see each actor at their best, rather than watching the show in broadcast order.

FAQ

Is the Mother in How I Met Your Mother in every season?

No. Cristin Milioti, who plays Tracy McConnell, appears in person only in season nine and is credited as a series regular for that season alone. Before the reveal in the season nine premiere, the Mother appears only in silhouette or from behind in brief season eight scenes. The final season is the only place to see her as a fully written character.

Did the cast get along during filming?

The on-screen chemistry wasn't always mirrored behind the camera. Cobie Smulders said publicly in 2023 that the work environment was difficult, and her account has been reported widely since. The leads have spoken warmly about each other individually, so the fair summary is that the ensemble was professional and the show's group dynamic was a performance, not a documentary.

Did any cast member leave the show before the finale?

None of the five leads missed an episode. All five appear in all 208 episodes, which is unusual for a nine-season sitcom and reflects how the contracts were structured. The recurring players cycled in and out, but the core cast stayed intact through the March 31, 2014 finale.

How many Emmy Awards did the show win?

The series won ten Primetime Emmy Awards in total, including two for Neil Patrick Harris β€” one for Outstanding Supporting Actor in a Comedy Series in 2010 and one for Outstanding Guest Actor in a Comedy Series for A Series of Unfortunate Events in 2018, which is a different show. For HIMYM specifically, Harris's 2010 win is the cast's only acting Emmy; the rest went to technical and creative categories.

Who is the most famous cast member now?

By volume of high-profile work since 2014, Cobie Smulders has the strongest case β€” five Marvel films plus a Disney+ series. Neil Patrick Harris is close behind on the strength of his hosting and Broadway career. Neither claim is a judgment on the others; it's a measure of roles, not talent.

Why was the Mother's identity kept secret for so long?

The show's producers withheld the reveal across seasons eight and nine to keep the mystery alive, and the actress was cast without a public announcement. Some of the main cast learned the identity only shortly before filming. The secrecy is why fan theories ran for years, including a widely circulated one that the Mother was actually the daughter from the pilot.

Did the cast reunite after the show ended?

There hasn't been a full-cast reunion special. Individual pairings have appeared together β€” Segel and Hannigan at events, Radnor and Smulders in interviews β€” but no scripted revival exists as of late 2026. If a reunion is announced, confirm it on CBS's official channels rather than social posts.

What is the show's total episode count and runtime?

How I Met Your Mother ran for 208 episodes across nine seasons on CBS. With commercials, each episode occupied a 30-minute slot; the finale, "Last Forever," aired as a one-hour event on March 31, 2014. Streaming versions run roughly 22 minutes per episode without ads, so a full binge is about 76 hours of content before ad breaks.