On the show "How I Met Your Mother", who played Ted's best friend, Marshall? on Jan 22, 2024 Published in TV Trivia Jason Segal. "How I Met Your Mother" is a situation comedy show which premiered in 2005.