The US President tweeted: “I will be leaving the great Walter Reed Medical Center today at 6:30 pm. (11:30 p.m. UK time).
“I feel really good! Don’t be afraid of Covid. Don’t let him rule your life, ”he added.
“We have developed very good medicine and knowledge under the Trump administration. I feel better than 20 years ago! ”
Mr Trump’s doctors are now taking stock of his condition.
They said he was doing well enough to go home but was “not completely out of the woods yet”.
The president has not had a fever for over 72 hours and his oxygen levels are normal, they added.
Dr Sean Conley, the president’s personal physician, said Mr Trump was “back”.
Live coverage of the latest coronavirus news and updates
The president was admitted to Walter Reed Medical Center on Friday after suffering from a fever and being given oxygen at the White House following a positive test the night before.
Officials said it was a precaution, and Mr. Trump then posted several videos of inside the hospital.
However, his decision to do a drive by supporters on Sunday was criticized for potentially endangering Secret Service agents in the car with him.
A White House spokesman said it “had been cleared by the medical team as safe to do” and that precautions had been taken.
Mr. Trump earlier sent a flurry of campaign tweets in all caps, as he encouraged people to vote in next month’s election.
:: You can watch the Vice Presidential Debate between Mike Pence and Kamala Harris on Thursday at 2 a.m. live on Sky News and Sky News online