Neil Patrick Harris says his upcoming transgender role in the rock musical Hedwig and the Angry Inch is making him feel insecure.

Harris, who is openly gay, will return to Broadway this spring in the show's starring role.

In a cover interview for gay glossy Out, Harris said that playing the character is bringing up “a lot of homophobic insecurities within myself.”

“Hedwig is bringing up a lot of super insecure things within me,” Harris said. “I have never thought drag was intoxicating. I've never had a fun drunken Halloween in drag. Never been in heels, really. I've lived my whole life being attracted by masculinity – it's why I like guys. I'm not a super effete person, and I have to turn into that. And in doing so, it brings up a lot of homophobic insecurities within myself.”

Harris played womanizing Barney Stinson for 9 seasons on CBS' How I Met Your Mother.