The mysterious third client of President Trump’s embattled personal lawyer Michael Cohen was revealed Monday as Fox News host Sean Hannity.

Cohen was ordered to appear in court by Judge Kimba Wood and cough up Hannity’s name as part of the investigation into $130,000 in hush money Cohen paid to porn star Stormy Daniels, who allegedly had an affair with Trump in 2006.

Cohen fought against having to reveal the confidential list — all of three clients — as part of a bid to block the feds from reviewing documents that could be protected under attorney-client privilege.

His lawyer Steve Ryan argued — in vain — that the unnamed third client is a “publicly prominent individual” who didn’t want to be associated with the ongoing investigation into Cohen’s business dealings.

“Mr. Cohen has asserted that he has more attorneys of his own than he has clients,” said prosecutor Thomas McKay.

McKay reiterated that feds are probing Cohen’s personal and financial dealings going back to 2011 — not his legal work.

“Michael Cohen might have a legal degree,” McKay said. But the government’s probe “is largely formed on his financial dealings and personal dealings.”

On Twitter, Hannity denied he was ever Cohen’s client.

“Michael Cohen has never represented me in any matter. I never retained him, received an invoice, or paid legal fees,” the pundit wrote. “I have occasionally had brief discussions with him about legal questions about which I wanted his input and perspective.”

“I assumed those conversations were confidential, but to be absolutely clear they never involved any matter between me and a third-party,” he added in another tweet.

On his daily afternoon radio show, Hannity said that he’s known “Michael a very long time.”

“Michael would very generously give me his time,” Hannity explained. “How did this blow up to be such a big deal?”

Last week, the FBI raided Cohen’s law office and home related to the payment he made to Daniels.

Cohen’s lawyers argued for a “special master” to determine which of the documents seized might be protected by attorney-client privilege.

“Yes, I believe obviously the issues of greatest importance relate to the president of the United States,” said Ryan.

Meanwhile, Trump attorney Joanna Hendon said the president is “objecting to anyone but himself making the initial determination of [attorney-client] privilege.”

“How much time can your client devote to this matter?” Wood asked dryly, prompting chuckles from the gallery.

Last week, it was also revealed that Cohen represented Republican National Committee fundraiser Elliott Broidy — who resigned from his post after admitting that the lawyer had arranged a $1.6 million payment to a former Playboy model whom he had impregnated.