The "How I Met Your Mother" star will make a guest appearance on FOX's "Glee" during the upcoming run of new episodes, a rep for the network confirmed to Access Hollywood.
According to E! Online, it will only be a one-episode appearance.
"[He will be] much more of the Dr. Horrible variety than Doogie Howser, M.D.," a source told E!, referring to Neil's popular online blog character.
Neil is the latest star the hit FOX show has lined up for a cameo when new episodes begin on April 13.
In other NPH news, the actor will make his musical directorial debut this summer when "Rent" visits the Hollywood Bowl in Los Angeles in August.
Neil played "Rent" lead Mark Cohen in 1997.
Related Content from AccessHollywood.com:
VIEW THE PHOTOS: 'Glee' Stars Rock Out In NYC With Antlers, Teddy Bears & Toy Guitars
PLAY IT NOW: Preview: 'Glee' Returns In April!
PLAY IT NOW: Behind The Scenes: The Cast Of 'Glee' Strikes A Pose For ELLE