Rafael da Silva will join French club Lyon from Manchester United on a four-year contract for an undisclosed fee.
The defender was told he could leave United earlier this summer after being left out of the squad for the club’s pre-season tour of the United States.
The Ligue 1 club announced the 25-year-old defender will sign a four-year deal, until June 2019.
Rafael joined United along with his twin brother Fabio from Fluminense in 2008.
Rafael went on to establish himself as a first-team regular under Sir Alex Ferguson and David Moyes, but new manager Louis van Gaal often overlooked the defender, choosing Antonio Valencia ahead of him.
Rafael started just six Premier League games in the 2014-15 season, the last of which came on October 26 against Chelsea.
And when Van Gaal signed right-back Matteo Darmian from Torino this summer, it was clear Rafael was surplus to requirements at Old Trafford.
“I want to thank Manchester United fans for all the love during those 8 years,” Rafael, 25, said on his official twitter account.
He won three Premier League titles, the Club World Cup and the League Cup during his seven years at United.