Trump volunteered the disclosure during a Q&A session with reporters at the White House.
“I’m taking hydroxychloroquine,” Trump said. “I’ve been taking it for the last week and a half. A pill every day.”
The Food and Drug Administration has issued a warning about its use.
In April, the FDA said it was “aware of reports of serious heart rhythm problems” in patients with Covid-19 treated with hydroxychloroquine or an older drug, chloroquine.
Trump, 73, is tested daily for the virus.