Joe Biden joked about “coming out” — and later recalled how decades ago, gays were all about “round-the-clock sex” — during CNN’s LGBTQ town hall Thursday night.

The 2020 Democratic front-runner’s slip-up came as he was answering a question about how to ease racial disparities when it comes to health issues.

“It’s really important that we in fact begin to educate people about what’s going on because, for example, when I came out –” the former vice president started before catching himself mid-sentence.

“When I publicly stated –” he continued, as the crowd cheered and host Anderson Cooper chimed in, “That would be news!”

Smiling, Biden quipped, “I got something to tell you,” to which Cooper cracked, “I kind of figured it out a while ago.”

Later, Biden noted how far gay rights have come.

“Remember, Anderson? Back 15, 20 years ago when we talked about this in San Francisco. It was all about, well, gay bath houses,” Biden said. “It was all about round-the-clock sex. Come on, man. Gay couples are more likely to stay together longer than heterosexual couples.”

Anderson wrapped up Biden’s time by replying, “We’re going to leave it there.”