The Brazilian joined Barca for the second time last January with former teammate Xavi instrumental in bringing the back defender after his time at Sao Paulo came to an acrimonious end.
But the right-back who made 14 La Liga appearances for the Blaugrana, has now revealed that he will not continue in the club as he has not been offered fresh terms in Nou Camp.
In an emotional Instagram post on Wednesday night, the 39-year-old confirmed that he will be leaving this summer.
“Now it’s time for our farewell,” he wrote to fans.
“They were more than 8 years dedicated to that club, those colours and that house… but like everything in life, the years go by, the paths diverge and the stories are written for some time in different places – and that’s how it was.
“They tried to fire me but they couldn’t. because you can’t imagine, can you, how resilient and resilient I am.
“Many more years passed until football and life, which as always, are very grateful to those who respect them, decided to give me the opportunity to come back here to say goodbye.
“But not a goodbye without first thanking all those who are behind the spotlight, all those who make ours perfect, all of them; THANK YOU.
“I would also like to thank all the staff for the opportunity they gave me to return to this club and to be able to wear that wonderful shirt again. You don’t know how happy I am…
“I hope they don’t miss my craziness and my daily happiness. I hope also those who, if they remain, change the history of that beautiful club. I wish it from my heart.
“There were 23 titles won: 2 triplets, 1 sextet and a great golden book written! It closes a very beautiful cycle and opens another even more challenging one. May the world never forget: A LION EVEN IF HE IS 39 YEARS OLD IS STILL A GOOD CRAZY LION. Forever VISCA AL BARÇA!”
Alves is keen to play for Brazil at the 2022 World Cup this winter and is reportedly the transfer target of several European clubs.