The ex-Barcelona ace paved the way for his release after stumping up the £850,000 bail he needed and should be back in the comfort of his Spanish home in the coming hours.
Alves was silent as he walked out alongside his lawyer Ines Guardiola at around 4:25pm local time.
The disgraced ex footballer hopped straight into a car wearing jeans, and a black jacket over a white roll-neck jumper.
Despite only spending a few weeks in jail he was seen sporting a moustache as he left.
The footballer is also understood to have complied with the other orders of the three judges who said he could leave jail despite his recent rape conviction by handing in his Spanish and Brazilian passports.
READ MORE IN DANI ALVES
He was told he could leave Brians 2 Prison near Barcelona last Wednesday after winning his bid to appeal his four-and-a-half year jail sentence from the comfort of his own home rather than a cell.
But the 40-year-old spent the weekend still locked up as he failed to find the cash to get free from the Spanish jail.
Brazilian teammate Neymar’s dad had been expected to help Alves pay the money to secure his freedom, but he issued a statement denying he would hand over any cash after coming under political pressure in his homeland.
The Brazilian had made several attempts before his conviction to get bail, but they were turned down partly on the basis he was a flight risk.