James Rodriguez will leave Bayern Munich on June 30, after asking the German club to not take up the option to sign him permanently from Real Madrid.
Bayern will not exercise their option to buy him on a €42m (£36.6m) permanent deal in the summer, after accepting the Colombia international’s request.
“[Rodriguez] asked Bayern not to take up the contractually agreed purchase option with Real. This wish was met the Bayern,” Bayern confirmed in a statement.
Rodriguez played 67 competitive games for Bayern Munich across two seasons, scoring 15 goals and registering 20 assists on his way to claiming two Bundesliga titles and a German Cup.
The 27-year-old will return to his parent club Real Madrid, where he spent three seasons after a £71m move from Monaco following a successful 2014 World Cup in which he finished top scorer with six goals.
Rodriguez’s future at Real will be in doubt as Zinedine Zidane made it clear when he loaned out the attacking midfielder in 2017 that he would not be part of his plans.