Marcelo is the most decorated player in Real Madrid’s history.
The veteran defender will end his 16-year spell after winning 25 trophies with the Galacticos.
He won’t be retiring at the moment and is yet to know the whereabouts of his new club.
He will be a free agent next month and has been linked with Fenerbahce and Marseille.
View this post on Instagram
“Today is the happiest day since I’ve been in Madrid because as I leave I realise I’ve left a legacy,” Marcelo said.
He added: “I did not want to stay for another year or two out of pity.
“I’m always going to support Real Madrid and together we’ve decided to leave it well, and through the front door.
“I don’t feel like a legend. Life doesn’t end here. I’m going to continue playing. I believe I can continue but I’m not thinking much about the future.
“The most difficult thing is to say goodbye. To put on this shirt has been the most beautiful.”