Manchester United have agreed a deal for Bastian Schweinsteiger subject to a medical and personal terms, the club authorities have confirmed.
Bayern Munich's chief executive Karl-Heinz Rumminigge said: "We have reached an agreement with Manchester United over a transfer.
"It's regrettable because Bastian meant a great deal to the club.
"He has achieved great things but he wants to do something new at the end of his career. He asked that we meet his wishes.
"We tried to convince him to stay with Bayern Munich. But I also understand that a player who has spent 17 years at Bayern Munich still wants to gain a new experience."
Schweinsteiger made 536 appearances for the current German champions but struggling to play alongside Xabi Alonso meant lack of playing time and hence his decision to move. At Manchester United, the German international is expected to play in a deeper role, with Michael Carrick.
The Reds are also expected to announce the signing of Italian defender Matteo Darmian subject to a medical on a £13M move.