Just call Bradley Cooper the "Commando in Chief."

The 41-year-old actor made an unscheduled appearance Tuesday afternoon on the The Ellen DeGeneres Show, surprising the host and her guest, Michelle Obama.

After snapping a group selfie, Cooper again surprised the First Lady with a confession: When he met the Obamas at the White House state dinner in 2014, he said, he wasn't wearing underwear under his tuxedo pants.

The Jenkintown native — and onetime Daily News intern — explained that he had just finished filming American Sniper, "and I only had one tuxedo and it didn't fit."

"I was so nervous that it would rip," Cooper added, "and so I decided at the last minute to 86 the underwear."

To which Obama responded: "It's good for us, right ladies?"

Cooper's cameo marked his first public appearance alongside a top Democrat since July.

Republicans had celebrated Cooper's Oscar-nominated portrayal of former Navy SEAL and conservative icon Chris Kyle in 2014's Sniper. But the praise proved short-lived, and Cooper drew the GOP's ire in July after cameras spotted him and his mother in the crowd for President Obama's speech at the Democratic National Convention in Philadelphia.

During an appearance on "The Late, Late Show" in August, Cooper said he wasn't expecting backlash for attending the event.

"The Republicans were up in arms that I was there listening to the president speak," he said. "It was just unbelievable."