The former Barcelona, Paris St Germain and AC Milan midfielder, who won the World Cup with Brazil in 2002, was arrested on March 6 with his brother and business manager Roberto Assis.
They were accused of possessing adulterated Paraguayan passports. The brothers' lawyer has called their detention "arbitrary, abusive and illegal."
The pair had been previously denied bail but the judge on Tuesday said the investigation carried out in the days since favoured the detainees.
Judge Gustavo Amarilla gave no further details but said there was no reason to keep the pair in custody given their huge bail payment and on the condition they do not leave the country.
The judge relayed his decision to the brothers in a video call and granted them permission to move into the four-star Palmaroga hotel in Asuncion while they awaited their trial.
They are expected to leave prison on Tuesday and they will be allowed to receive visits in the hotel.
The two men deposited $800,000 each as bail into a local bank account on Tuesday.
"It’s a significant bail in cash to guarantee they will not flee," Amarilla said.
Although he last played professionally in 2015, Ronaldinho, who also represented Brazilian clubs Gremio, Atletico Mineiro, Flamengo and Fluminense, is still hugely popular with global football fans.
He also won the Champions League with Barcelona in 2006 and was named FIFA world player of the year in 2004 and 2005.
More about: Ronaldinho