Ronaldinho, 37, was part of the triumphant Brazil 2002 World Cup squad, won the Champions League in 2006 with Barcelona and won the Balon d’Or in 2005.
His brother and agent Roberto Assis confirmed the retirement on Tuesday and announced a series of tribute events.
“He has stopped, it is ended,” Assis said.
“We will do various events in Brazil, Europe and Asia and, of course, we are arranging something with the Brazilian team as well.”
Ronaldinho started his career with Gremio in Brazil before moving to Paris St-Germain in 2001. After five years at Barcelona and two La Liga titles, he also had a spell at AC Milan where he won the Serie A title in 2010-11.
AC Milan posted a tribute tweet to him
#Ronaldinho, the man who enchanted San Siro and every football fan has officially retired ??
Obrigado, Dinho: G.O.A.T. ?@10Ronaldinho si ritira, dopo aver illuminato i campi di tutto il mondo con le sue magie! ??
Grazie di tutto, Dinho ?? pic.twitter.com/vc04uBtU3i
— AC Milan (@acmilan) January 16, 2018
He moved to Brazilian side Flamengo in 2011 before spells at Atletico Mineiro, Queretaro in Mexico and Fluminense.