"She is resting comfortably and remains in high spirits," the first lady's communications director Stephanie Grisham said in a statement.
Trump underwent a medical procedure on Monday for what her office said was a "benign" kidney condition. The White House has declined to offer additional details about the specifics of the condition.
Grisham also expressed thanks for the thousands of calls and emails she said the first lady's office received during Trump's stay in the hospital.
The president, too, tweeted Saturday afternoon, saying: "Great to have our incredible First Lady back home in the White House."
"Melania is feeling and doing really well," President Trump tweeted. "Thank you for all of your prayers and best wishes."
He initially misspelled his wife's name but quickly deleted and replaced the tweet with the misspelling.