The Brazilian spent eight successful years with the Bundesliga champions but has now taken the decision to return to his roots in his homeland
Rafinha has returned to his native Brazil with Flamengo after eight years at Bayern Munich.
The right-back, 33, has signed a two-year contract with the Rio de Janeiro-based club.
Rafinha won seven Bundesliga titles while at Bayern after joining from Genoa, as well as eight domestic cups and the 2013 Champions League.
He began his professional career with Brazilian side Coritiba before joining Schalke in 2005 and spending five years in Gelsenkirchen.
Flamengo announced the signing on their website, stating Rafinha would have his presentation at the club on June 24.
His first-team opportunities were limited with Bayern last season, leading to his departure after their domestic double triumph.
He was joined by veteran wingers Arjen Robben and Franck Ribery in bidding farewell to Bayern at the end of the campaign.
The departure of three long-serving figures at the Allianz Arena proved to be an emotional occasion for all concerned.
Rafinha said of severing ties with the German giants: "The eight years have been wonderful, I've had some great moments here.
"The treble in 2013 was special. All things come to an end eventually.
"We are together every day and know each other so well - we are a family. The friendship we all have is the greatest thing."
eyebrower
88
Thanks for everything Rafa, will love you forever
goodnessj
61
Question for Brazilians, do players like Rafinha enjoy coming back to Brazil or do some prefer to stay in Europe?
Footballlimr
59
So bayern now without a single backup fullback?
Spencerer
50
Goodbye, and thank you for all these years of services. You quitely served us, and you were reliable when you were needed.
languid
44
Two hugely important players for the dressing room leaving this year with ribery and rafinha. Let's hope there's people to fill the gap