Neil Patrick Harris on GLEE (PHOTOS)

Neil Patrick Harris on GLEE

Neil Patrick Harris on GLEE

Check out the first photos of Neil Patrick Harris (How I Met Your Mother) guest starring on an upcoming episode of GLEE titled “Bad Reputation” Episode 17 which airs Tuesday May 4 (9:00-10:00 PM ET/PT) on FOX. Harris will play the role of Bryan Ryan, Will Schuester’s former high school nemesis.

Synopsis: Glee “Bad Reputation” Episode 17 – In an episode directed by Emmy Award winner Joss Whedon, Mr. Schuester’s former high school nemesis, Bryan Ryan (guest star Harris), causes trouble for the glee club. Meanwhile, Rachel struggles with a life-long personal issue, and Artie’s dreams take him on an adventure in the all-new “Dream On” episode of GLEE airing Tuesday, May 18 (9:00-10:00 PM ET/PT) on FOX.

Cast: Matthew Morrison as Will Schuester; Jessalyn Gilsig as Terri Schuester; Jane Lynch as Sue Sylvester; Lea Michele as Rachel Berry; Cory Monteith as Finn Hudson; Jayma Mays as Emma Pillsbury; Dianna Agron as Quinn; Chris Colfer as Kurt; Kevin McHale as Artie; Amber Riley as Mercedes; Mark Salling as Puck; Jenna Ushkowitz as Tina

Guest Cast: Naya Rivera as Santana Lopez; Heather Morris as Brittany; Dijon Talton as Matt Rutherford; Harry Shum as Mike Chang; Neil Patrick Harris as Bryan Ryan; Molly Shannon as Brenda Castle; Jonathan Groff as Jesse St. James; Idina Menzel as Shelby; Stephen Tobolowski as Sandy Ryerson

Also watch any Glee episodes that you may have missed here.

(Photos: Courtesy of Fox)