
How I Met Your Mother is an American sitcom that aired on September 19, 2005. The show ran for 9 years and went off air on March 31, 2014. HIMYM has 9 seasons and 208 episodes and is created by Carter Bays and Craig Thomas. It is majorly directed by Pamela Fryman, and a few episodes are directed by Rob Greenberg, Michael Shea, and Nick Patrick Harris.
The story revolves around Ted Mosby, a man living in New York City. The show begins with Ted telling the story to his kids about how he met their mother. The life of Ted unfolds through flashbacks as he narrates about his life. Ted has four best friends: Marshall, Lily, Barney, and Robin. The show became famous for its unique storytelling, humor, and emotional moments. The show has received many nominations including 2 Golden Globe nominations, a Critics Choice Television nomination, 19 People’s Choice nominations, 30 Primetime Emmy nominations, and more. Below is a list of the main cast members and the characters they played.
Josh Radnor as Ted Mosby

Ted Mosby is the main character of the show. He is an architect living in New York, searching for true love. Ted is romantic, intelligent, and sometimes dramatic. He believes in destiny and is always looking for "The One." His journey through relationships and friendships makes up most of the story.
Josh Radnor is an American actor, director, musician and writer. He was born on July 29, 1974, in Ohio, USA. Before How I Met Your Mother, he appeared in theater and small TV roles. Playing Ted Mosby made him famous. After the show, he worked in films and TV shows like Mercy Street (2016-2017), Rise (2018), Centaurworld (2021), etc.
Read more: Ted Mosby in How I Met Your Mother
Jason Segel as Marshall Eriksen

Marshall Eriksen is Ted’s best friend and Lily’s husband. He is a kind, funny, and loyal person who loves telling silly jokes. Marshall is a lawyer and he has a dream to work in environmental law. His relationship with Lily is one of the strongest in the show.
Jason Segel is an American actor, comedian, and writer. He was born on January 18, 1980, in California, USA. Before How I Met Your Mother, he acted in TV shows like Freaks and Geeks (1999_2000). After the show, he worked in films like Forgetting Sarah Marshall (2008), Despicable Me (2010), The Muppets (2011), and Sex Tape (2014).
Read more: Marshall in How I Met Your Mother
Cobie Smulders as Robin Scherbatsky

Robin Scherbatsky is a news reporter and one of Ted’s love interests. She is a strong, independent, and career-focused woman. Ted and Robin dated on and off on the show. She does not believe in marriage at first, but later falls in love with Barney. They got married but their relationship didn’t last long. She has a funny past as a teen pop star in Canada, which her friends often tease her about.
Cobie Smulders is a Canadian actress and model. She was born on April 3, 1982, in Vancouver, Canada. After How I Met Your Mother, she became popular for playing Maria Hill in the Marvel Cinematic Universe films like The Avengers. Her notable works include Safe Haven (2013), The Intervention (2016), Friends from college (2017-2019), etc.
Read more: Robin in How I Met Your Mother
Neil Patrick Harris as Barney Stinson

Barney Stinson is played by Neil Patrick Harris. He is Ted’s friend and he is rich, stylish, and loves dating different women. He is considered a playboy and often says “Legendary!” He follows his own rules of dating, called The Bro Code. Though he seems unserious, he later falls in love with Robin and also becomes a father.
Neil Patrick Harris is an American actor, singer, writer, TV host and producer. He was born on June 15, 1973, in New Mexico, USA. Before How I Met Your Mother, he was known for his role as a child actor in Doogie Howser, M.D. (1989-1993). He worked in Broadway, films, and TV. His other notable works are Starship Troopers (1997), The Smurfs (2011), and Gone Girl (2014).
Read more: Barney in How I Met Your Mother
Alyson Hannigan as Lily Aldrin

Lily Aldrin is played by Alyson Hannigan. She is Marshall’s wife and Ted’s close friend. She is funny, caring, and sometimes mischievous. Lily went to the same college as Marshall and Ted. Lily works as a kindergarten teacher but later follows her dream of becoming an artist. She often gives relationship advice to her friends.
Alyson Hannigan is an American actress. She was born on March 24, 1974, in Washington, D.C., USA. She made her debut in Impure Thought (1986). She started working at a very young age; she was just 12 when she got her first role. She is known for her roles in Buffy the Vampire Slayer (1997-2003), and the American Pie film series.
Read more: Lily Aldrin in How I Met Your Mother
FAQs about How I Met Your Mother
A. Yes, Barney and Robin get divorced in How I Met Your Mother.
A. No, How I Met Your Mother only has 9 seasons.
A. Yes, How I Met Your Mother is available on Disney+.