Match ends, FC Bayern München 3, FC Ingolstadt 04 1.
Bayern Munich continued their 100% winning start under Carlo Ancelotti by coming from behind to beat Ingolstadt in the Bundesliga's Bavarian derby.
Dario Lezcano became the first player to score against Bayern in competitive football this season, slotting Mathew Leckie's pass under Manuel Neuer.
But Robert Lewandowski equalised quickly with a chip, and Xabi Alonso drilled a second after half-time.
Rafinha sealed the win when he drove in his first goal since 2013.
Ancelotti is the first Bayern coach to start his reign with six straight wins since Otto Rehhagel in 1995.
His team have won their first three Bundesliga matches, in addition to one game each in the German Cup and the Champions League - and they beat Borussia Dortmund to secure the German Super Cup.
But this was arguably the most difficult of the matches that Ancelotti has faced at Bayern, with Neuer making two vital saves from Leckie and substitute Lukas Hinterseer missing a great second-half chance for the visitors before the win was finally ensured.
Oktoberfest slog for Bayern
This match between Bavarian rivals took place on the first day of Munich's Oktoberfest, a time of year when Bayern traditionally do well.
Germany's defending champions had won 15 of their previous 18 Bundesliga matches played during the autumn beer festival - but they laboured here.
Their preparations were not helped by a bout of gastroenteritis that struck Thomas Muller, Philipp Lahm and David Alaba in the days before the game.
Ancelotti's side were vulnerable at times against opponents who, despite being happy to soak up pressure, were dangerous on the counter-attack.
Ingolstadt, widely expected to be fighting relegation this season, broke effectively to score from their first attack when Paraguay international Lezcano, without a goal in his previous 15 matches for club and country, ran in behind Bayern's defence to slot Leckie's through pass underneath Neuer.
Even as Bayern recovered, there were still difficult moments for them at the back, with Leckie involved in most of them.
With the visitors trailing 2-1 early in the second half, the Australia forward ended a terrific run by wriggling past Alonso and hitting a rising drive from 12 yards, but Neuer thrust up a strong arm to turn the ball over.
It was the best of four fine saves produced by the Germany goalkeeper, who was nonetheless relieved moments later to see Hinterseer roll the ball wide when played through by Lezcano.
Lewandowski gets some surprise help
The consistently impressive Neuer's brilliance was no surprise, and neither was Lewandowski's appearance on the scoresheet.
Bayern's main striker scored his fifth Bundesliga goal of the season - to go top of the domestic scoring charts - by dinking the ball over keeper Orjan Nyland from a tricky angle after Arturo Vidal had dispossessed Leckie.
The identity of Bayern's other two scorers, though, was a shock. Midfielder Alonso scored just one Bundesliga goal last season, but now already has two for this campaign, driving in from just outside the penalty area after being teed up by Franck Ribery.
Brazilian right-back Rafinha scores even less frequently, but his finish was every bit as clinical, with a low strike across the goalkeeper and into the far corner.
- 13Ferreira de Souza
- 8Martínez Aguinaga
- 35Renato SanchesSubstituted forThiago Alcántaraat 61'minutesBooked at 81mins
- 29ComanSubstituted forDouglas Costaat 45'minutesSubstituted forBoatengat 83'minutes
- 6Thiago Alcántara
- 11Douglas Costa
- 32TisserandBooked at 59mins
- 8de Oliveira Bernardo
- 7LeckieSubstituted forCohenat 81'minutes
- 9HartmannSubstituted forLexat 71'minutesBooked at 72mins
- 6MoralesSubstituted forHinterseerat 63'minutes
- Patrick Ittrich
- Shots on Target
Second Half ends, FC Bayern München 3, FC Ingolstadt 04 1.
Attempt missed. Thiago Alcántara (FC Bayern München) right footed shot from outside the box is high and wide to the right. Assisted by Joshua Kimmich.
Robert Lewandowski (FC Bayern München) wins a free kick in the defensive half.
Foul by Lukas Hinterseer (FC Ingolstadt 04).
Attempt saved. Stefan Lex (FC Ingolstadt 04) left footed shot from the centre of the box is saved in the centre of the goal. Assisted by Lukas Hinterseer.
Foul by Rafinha (FC Bayern München).
Darío Lezcano (FC Ingolstadt 04) wins a free kick in the defensive half.
Juan Bernat (FC Bayern München) wins a free kick in the defensive half.
Foul by Marvin Matip (FC Ingolstadt 04).
Foul by Jérôme Boateng (FC Bayern München).
Darío Lezcano (FC Ingolstadt 04) wins a free kick in the attacking half.
Attempt missed. Lukas Hinterseer (FC Ingolstadt 04) right footed shot from the left side of the box misses to the right. Assisted by Markus Suttner.
Foul by Franck Ribéry (FC Bayern München).
Tobias Levels (FC Ingolstadt 04) wins a free kick in the defensive half.
Goal! FC Bayern München 3, FC Ingolstadt 04 1. Rafinha (FC Bayern München) right footed shot from outside the box to the bottom left corner. Assisted by Franck Ribéry following a fast break.
Substitution, FC Bayern München. Jérôme Boateng replaces Douglas Costa.
Substitution, FC Ingolstadt 04. Almog Cohen replaces Mathew Leckie.
Thiago Alcántara (FC Bayern München) is shown the yellow card for a bad foul.
Foul by Thiago Alcántara (FC Bayern München).