Arsenal have terminated Willian's contract as the Brazil midfielder prepares to join Corinthians.
The north London club said they reached a mutual agreement to end his deal two years early "following positive and constructive recent discussions".
Willian, 33, arrived on a free transfer in August 2020 after leaving Chelsea, signing a three-year deal reportedly worth more than £200,000 a week.
He made 25 league appearances for Arsenal last season, scoring one goal.
The midfielder, capped 70 times by Brazil, had not featured for the club this season. Gunners boss Mikel Arteta said before Saturday's 5-0 defeat at Manchester City that he "didn't know" why Willian's time at the club had not been more successful.