Ginsburg has been sidelined with injuries and hospital visits over the last year, including a year ago when she fell in her office at the Court.
The oldest justice on the court, Ginsburg was appointed in 1993 by Democratic President Bill Clinton.
"She is home and doing well", the court said in a statement.
As one of the four justices on the Supreme Court's liberal wing - the others include associate justices Sonia Sotomayor, Elena Kagan and Stephen Breyer - the possibility of Ginsburg retiring or passing away has many liberals concerned about the future of America's most powerful bench. Initially Ginsburg had gone to Sibley Memorial Hospital in Washington, D.C., but she was later transferred to the famous hospital in Baltimore, Maryland so she could be more extensively evaluated and receive any necessary treatment for potential infections.
With IV antibiotics and fluids, the court said Ginsburg's symptoms have abated, and she expects to be released from the hospital as early as Sunday morning.
Ginsburg also said that she'd be "prepared" for the start of the next Supreme Court session. Trump has already appointed two judges, Justices Brett Kavanaugh and Neil Gorsuch.
Earlier this year, she told an audience that she was on her way to "being very well", Reuters reported.
Her hospitalization comes three months after it was revealed that she had been treated for pancreatic cancer. In December 2018 she had surgery to remove two cancerous nodules from her lung.
Supreme court appointments are for life, although justices can retire.
"She canceled her annual summer visit to Santa Fe, but has otherwise maintained an active schedule. I will be prepared when the time comes", she said.
'It's a necessity to get up and go, it's stimulating, and somehow all these appearances that I've had since the end of August whatever my temporary disability is, it stops and I'm OK for the time of the event'.