Beginning in 1989, Harris played the title role of a child prodigy doctor in Doogie Howser, M.D., for which he was nominated for a Golden Globe.
After the show's four-season run ended in 1993, Harris played a number of guest roles on television series, including Murder She Wrote.
From 1999 to 2000, he starred with Tony Shalhoub in the NBC sitcom Stark Raving Mad, which lasted 22 episodes.
He has played lead roles in a number of made-for-television features including Snowbound: The Jim and Jennifer Stolpa Story in 1994, My Ántonia in 1995, The Christmas Wish in 1998, Joan of Arc in 1999, The Wedding Dress in 2001, and The Christmas Blessing in 2005.

From 2005 to 2014, Harris played Barney Stinson, a serial womanizer, in the CBS ensemble sitcom How I Met Your Mother.
The role earned him Emmy nominations every year from 2007 to 2010.

In 2008, Harris guest-starred on Sesame Street as the Sesame Street Fairy Shoe Person.
In 2009, he hosted the 7th Annual TV Land Awards and appeared as a guest judge on Season 9 of American Idol.

Harris hosted the 61st Primetime Emmy Awards on September 20, 2009.
On August 21, 2010, he won two Emmy Awards at the Creative Arts Emmy Awards ceremony, one of which was for his guest performance in the television series Glee.
Harris hosted the 65th Primetime Emmy Awards on September 22, 2013, marking his second time hosting the event.

After a preview at the San Diego Comic-Con, a musical episode of Batman: The Brave and the Bold featuring Harris as the villainous Music Meister premiered on October 23, 2009, on Cartoon Network.
As a character who could make anyone do his bidding by singing, he spent most of the episode singing several original songs.

In 2010, Harris filmed a pilot episode for an American adaptation of the British game show The Cube as host, though it was not picked up to series.

In 2014, Harris turned down the chance to replace David Letterman as host of the Late Show on CBS, stating that he feared he would get bored of the repetition that hosting a nightly talk show would entail.
He also rejected the suggestion of replacing Craig Ferguson as host of The Late Late Show on the same grounds, although he claims he was never actually offered either job.

On September 15, 2015, Best Time Ever with Neil Patrick Harris, a live variety series hosted by Harris on NBC, made its debut but was cancelled after an eight-episode run.

On January 15, 2016, Netflix cast Harris in the television adaptation of A Series of Unfortunate Events, in which he stars as Count Olaf, the main antagonist.
It ran for 3 seasons and 25 episodes before ending on January 1, 2019.

On March 31, 2017, NBC picked up Harris' game show titled Genius Junior, the format would test the smarts of the most brilliant children in the country.
Harris would serve as host and executive producer.
The series received a 10-episode order and debuted on March 18, 2018.
Beginning in 1989, Harris played the title role of a child prodigy doctor in Doogie Howser, M.D., for which he was nominated for a Golden Globe. After the show's four-season run ended in 1993, Harris played a number of guest roles on television series, including Murder She Wrote. From 1999 to 2000, he starred with Tony Shalhoub in the NBC sitcom Stark Raving Mad, which lasted 22 episodes. He has played lead roles in a number of made-for-television features including Snowbound: The Jim and Jennifer Stolpa Story in 1994, My Ántonia in 1995, The Christmas Wish in 1998, Joan of Arc in 1999, The Wedding Dress in 2001, and The Christmas Blessing in 2005.
From 2005 to 2014, Harris played Barney Stinson, a serial womanizer, in the CBS ensemble sitcom How I Met Your Mother. The role earned him Emmy nominations every year from 2007 to 2010.
In 2008, Harris guest-starred on Sesame Street as the Sesame Street Fairy Shoe Person. In 2009, he hosted the 7th Annual TV Land Awards and appeared as a guest judge on Season 9 of American Idol.
Harris hosted the 61st Primetime Emmy Awards on September 20, 2009. On August 21, 2010, he won two Emmy Awards at the Creative Arts Emmy Awards ceremony, one of which was for his guest performance in the television series Glee. Harris hosted the 65th Primetime Emmy Awards on September 22, 2013, marking his second time hosting the event.
After a preview at the San Diego Comic-Con, a musical episode of Batman: The Brave and the Bold featuring Harris as the villainous Music Meister premiered on October 23, 2009, on Cartoon Network. As a character who could make anyone do his bidding by singing, he spent most of the episode singing several original songs.
In 2010, Harris filmed a pilot episode for an American adaptation of the British game show The Cube as host, though it was not picked up to series.
In 2014, Harris turned down the chance to replace David Letterman as host of the Late Show on CBS, stating that he feared he would get bored of the repetition that hosting a nightly talk show would entail. He also rejected the suggestion of replacing Craig Ferguson as host of The Late Late Show on the same grounds, although he claims he was never actually offered either job.
On September 15, 2015, Best Time Ever with Neil Patrick Harris, a live variety series hosted by Harris on NBC, made its debut but was cancelled after an eight-episode run.
On January 15, 2016, Netflix cast Harris in the television adaptation of A Series of Unfortunate Events, in which he stars as Count Olaf, the main antagonist. It ran for 3 seasons and 25 episodes before ending on January 1, 2019.
On March 31, 2017, NBC picked up Harris' game show titled Genius Junior, the format would test the smarts of the most brilliant children in the country. Harris would serve as host and executive producer. The series received a 10-episode order and debuted on March 18, 2018.
Neil Patrick Harris