Pep Guardiola’s first game in charge will see him return to his former club as the Blues travel to the Allianz Arena on Wednesday 20 July, kick off 7pm (GMT).
Bayern will have new manager Carlo Ancelotti at the helm and the friendly is seen as ideal preparation for both clubs as they look to challenge for silverware domestically and in Europe.
The German outfit completed a league and cup double last season and add to City’s already competitive pre-season schedule, which also includes fixtures against Manchester United and Arsenal.
A successful spell saw Guardiola lift the Bundesliga trophy three times in three years and City chief executive Ferrran Soriano is pleased to have been able to secure a valuable pre-season test.
He said: “Playing Bayern Munich is always a great occasion and this match has the added excitement of our new head coach Pep Guardiola returning to play with Manchester City against his former club.
“Bayern will provide fitting opposition as our team continues its pre-season preparations and we will be able to connect with our fans in Germany.”
The Bavarians have been a familiar foe in recent seasons, having faced City in the 2013/14 and 2014/15 Champions League, with the last friendly between the two sides coming in summer 2013.
That day, the home side had the edge as a Thomas Muller penalty and one from Mario Mandzukic cancelled out Alvaro Negredo’s opener.
Tickets for this game are priced from 15€ and are on sale now from the Bayern Munich website.