‘How I Met Your Mother’: Neil Patrick Harris’ Real-Life Husband Had a Recurring Role in the Series

In 2017, Netflix released an adaptation of A Series of Unfortunate Events. The show was well-received, and it starred Neil Patrick Harris. He played the infamous Count Olaf and had gotten a tattoo to memorialize his time on the show. 

Over a decade ago, Harris had another famous role in How I Met Your Mother. He played the most memorable and well-liked characters of the series. The actor’s real-life husband also joined the show as a small recurring part. 

Who is Neil Patrick Harris?

RELATED: Mayim Bialik’s Friendship with Neil Patrick Harris Ended Because of Something She Said

Harris was born and raised in New Mexico on June 15, 1973. He started his path to stardom as a child actor.

One of his first roles was in Clara’s Heart in 1988. At the age of 15, he earned a Golden Globe nomination for his performance. 

In the same year, Harris landed a part in the children’s fantasy movie Purple People Eater. It was not long until the actor got cast as the leading role in Doogie Howser, M.D. Harris portrayed a teenage prodigy doctor. His popularity rose, and the star earned another Golden Globe nomination. 

In 1995, Harris had his first movie role in Animal Room. Besides film and television, he also has performed on stage. The actor was in dramatic and musical plays. Harris lent his voice for web series and video games as well. 

Neil Patrick Harris was in ‘How I Met Your Mother’

Neil Patrick Harris and David Burtka posing together
Neil Patrick Harris and David Burtka | David Livingston/Getty Images

How I Met Your Mother started airing in 2005 and ran for nine seasons. The show follows Ted Mosby as he recounts how he met the mother of his children. Some of the cast members included Harris, Josh Radnor, and Alyson Hannigan. 

In the sitcom, Harris played a serial playboy named Barney Stinson. Barney has a bit of wealth and comes up with various strategies to seduce women. One of the character’s most iconic catchphrases is ‘Legen-wait-for-it-Dary.’ Eventually, Barney gets into a relationship with Robin, and they tie the knot only to divorce later. 

Some viewers were likely surprised by the development of Barney and Robin’s relationship. Other people were probably sad to see the characters break up. While Barney and Robin are friends, their time together romantically remained memorable among fans. 

Harris received critical acclaim for his role in How I Met Your Mother. He received numerous award nominations, including ones for four Primetime Emmy Awards. He won a few, such as a People’s Choice Award. 

Neil Patrick Harris’ Husband appeared in the show

RELATED: Neil Patrick Harris Admits This 1 Thing About His Kids Makes His ‘Heart Swell’

Since 2014, Harris has been married to actor and chef David Burtka. They met through a mutual friend and started to date in 2004. Not only are the couple happily married, but they are fathers. The two have a daughter and a son. 

There have been plenty of times when an actor has had a relative appear briefly on a TV show for an episode. As mentioned before, Burtka is an actor. He has done some work for films like Army Guy and Open House

Rewatching the show, fans may spot Burtka appear several times in How I Met Your Mother. According to Insider, some leading cast members had their significant others play a small role on the series. Burtka was one of them, and he portrayed Scooter. 

Scooter is Lily’s old boyfriend from high school. Even though they had broken up, he is still obsessed with her. He even began working at the cafeteria of the school Lily teaches at to try and win her affections. In the end, Scooter marries Lily’s doppelgänger. Burtka would appear for seven episodes over the course of multiple seasons.