The Democrat who is unchallenged for re-election appeared on Colbert's Comedy Central show and was asked to say a few things that would "really lose the election for you if you were contested."
Colbert asked the congressman to complete this sentence: "I enjoy cocaine because ... "
A bemused Wexler looked into the camera and said, "I enjoy cocaine because it's a fun thing to do."
A follow-up in the complete-the-sentence questioning led to this comment: "I enjoy the company of prostitutes for the following reasons ... because it's a fun thing to do. If you combine the two together, it's probably even more fun."
Wexler told The Palm Beach Post after his interview aired last week that he had never seen the show before and only agreed to appear at the urging of his younger staffers.
Asked what his teenage children thought of his performance, he said: "They thought I was foolish."
Wexler told The Associated Press on Monday that he was fully aware of what was happening in the interview and had no regrets.
"I think it's an important thing for members of Congress to be able to participate in a good-natured joke," he said. "Everyone who watches the show knows that what is being said is a joke and that it's about silly topics. I thought it was funny."
Wexler is not the only congressional member to be caught off guard on Colbert's show. When U.S. Rep. John Mica, a Republican, appeared, Colbert asked whether it was difficult getting his rumored toupee through airport security. Democratic Rep. Barney Frank, who is gay, was asked what it's like to be "an openly left-handed" American.