The Good Morning America host had a bone marrow transplant last month and was later put into isolation to avoid getting an infection.
However, Roberts has now announced on her Twitter page that she has been allowed to go home.
"There's no place like home," she wrote. "After 30 days in the hospital I'm home. Praise God from whom all blessings flow. Thank YOU and bless YOU. XO"
Roberts also updated fans on her condition in a blog post, in which she admitted that her journey is "far from" over as it is only 21 days since she has had her transplant.
"I will still be resting away from GMA until I'm given the all clear, but sleeping in my own bed again feels like a big victory," she said. "My doctors will be monitoring me closely and I will still be at the hospital regularly to make sure we're on the right track."
> 'GMA' Robin Roberts postpones bone marrow operation
Roberts paid tribute to her doctors and thanked her fans for their "prayers and warm thoughts", saying: "I truly feel them each and every day. I humbly ask that you please continue to send them until you see me back at the GMA anchor desk and I promise to send them right back at ya."
She added: "Each day I get stronger and stronger. I am fond of saying, 'This too shall pass'. And even in some dark moments, of which there are still a few, I now see that light at the end of the tunnel. This too really shall pass."
New! Digital Spy breakfast show - watch Alex Fletcher discuss the day's biggest stories including the Rooneys' baby joy, Cheryl Cole's long-awaited autobiography, what's next on Doctor Who and more: