His delay in telling colleagues and the White House about his illness sparked criticism and three investigations.
The 70-year-old was admitted to an intensive care unit on 1 January due to complications from surgery in December.
He is expected to make a full recovery, his doctors said in a statement.
"Secretary Austin progressed well throughout his stay and his strength is rebounding," said Dr John Maddox and Dr Gregory Chesnut from the Walter Reed National Military Medical Center.
His prostate cancer was treated early and effectively, and "his prognosis is excellent", they said, adding that he has no further treatment planned.
https://www.bbc.com/news/world-us-canada-67985051https://www.bbc.com/news/world-us-canada-67985051
Newer articles
<p>A US judge has ruled against Donald Trump getting his hush money conviction thrown out on immunity grounds.</p>