Mats Hummels will rejoin Borussia Dortmund, subject to a medical.
Both BVB and Bayern Munich confirmed the transfer on Wednesday morning while multiple sources confirm a €38 million transfer fee which includes performance related bonuses.
The 30-year-old has agreed a three-year deal with Borussia Dortmund.