In 2010 he told The Advocate, 'When I play a gay character I want to be as believable as possible.
And when I’m playing a straight character I also want to be as believable as possible.
The same year, he was cast as Jack Mc Farland, a flamboyantly gay and frequently unemployed actor, in the NBC comedy series Will & Grace.
The show became a long-running hit and Hayes' performance earned him seven consecutive Emmy Award nominations as Outstanding Supporting Actor in a Comedy Series. He was also nominated for six Golden Globe Awards for his performance.
"They are not yet married but they have been engaged for quite some time.”Hayes publicly came out as gay four years ago, more than a decade after landing the role of gay character Jack Mc Farland on the hit comedy "Will & Grace" in 1998.