Harris is a fan of magic, like his character on "How I Met Your Mother". His character in ' was also a magician. Harris's "Glee" character performed magic as well. He previously served as the President of the Board of Directors of Hollywood's Magic Castle. Harris won the Tannen's Magic Louis Award in 2006 and hosted the 2008 World Magic Awards on October 11, 2008. Additionally, Harris and partner David Burtka were guests of honor for a ' episode which took place at the Magic Castle.