Hot tub time machine, I think not!

Jesse Tyler Ferguson is spilling the tea on how his steamy “Modern Family” hot tub moment with David Beckham and Courteney Cox came to fruition.

“I’ve been naked a lot this season. I’ve been a hot tub, they’ve had me in shower scenes,” Ferguson, 44, told guest host “Will & Grace” star Sean Hayes on the Friday during an appearance on the Ellen DeGeneres Show. “The hot tub scene was really intense.”

'MODERN FAMILY' STAR ARIEL WINTER ADMITS GROWING UP IN FRONT OF 'MILLIONS OF PEOPLE IS DIFFICULT'

“Wow, that’s just another Tuesday,” Hayes, 49, said of the scene that also featured Ferguson’s TV husband Eric Stonestreet.

The scene appears in the episode titled “Prescott” and sees Ferguson's and Stonestreet’s characters enjoying a dip in the hotel hot tub with Beckham, 44, and "Friends" alum Cox, 55, who portray a married couple.

Ferguson, 44, detailed to Hayes how the international soccer icon ended up on the show to begin with, explaining that it was Beckham’s wife and Spice Girls member, Victoria, who initiated the play.

‘FRIENDS’ STAR COURTENEY COX SUGGESTS THE YOUNG ACTOR SHE WOULD CAST AS JOEY IN A REBOOT

“I kind of knew David Beckham a little bit earlier. I ran into him and his wife, Victoria Beckham – ever heard of her? -- outside of a Soul Cycle class,” he said of the singer and fashion designer, adding that pair are massive fans of the show.

“I was texting with Victoria Beckham later that day,” he said, which prompted the It couple to bring their kids behind the scenes to see how the sausage is made. It was this set visit that ultimately landed the tattooed hunk a guest-starring role.

“Everyone was like, ‘The Beckhams are here. Did you hear the Beckhams are here?' And I was like, ‘Ya, they’re my guests!’” he said. “So, I was already kind of comfortable around David in the hot tub.”

With “Modern Family” drawing to a close -- the sitcom will air its series finale on April 8 -- fans are already hoping for a cast reunion down the line. Ferguson lobbied that the crew should get it done sooner rather than later.

SARAH HYLAND ON FIGHTING BODY-SHAMERS WITH COSTAR ARIEL WINTER: 'PEOPLE LOVE TO ATTACK WOMEN ESPECIALLY'

“Oh God, I don’t know. We’re all going to be really old when they do a reboot if we don’t do it now!” he said, before admitting, “I’m really not dealing with it in a great way. I’m repressing my feelings about it and it sneaks up in weird ways.”

Earlier this month, his co-star Sofia Vergara shared a photo from the cast's final table read as the cast and crew gathered around a long table in a packed room.

“Our last table read😪 sad because its ending but so gratefull and happy to have been able to be part of this family,” she captioned the post. “It has being More than I ever dreamed of or deserved❤️ Gracias my Modern Family.”

CLICK HERE TO GET THE FOX NEWS APP

When “Modern Family” bows out in April, it will have run since 2009, marking 11 seasons, 22 Emmy awards and 75 nominations since its inception.