Harry Kane scored two first-half goals as Bayern Munich beat promoted Heidenheim 4-2 on Saturday, sending the Bavarians to the top of the Bundesliga table.
Heidenheim replied with two goals in three second-half minutes to equalise and Bayern needed late goals from Raphael Guerreiro and Eric Maxim Choupo-Moting to secure victory.
Bayern finish Saturday at the top of the table but Bayer Leverkusen – who have won 15 and drawn one of their 16 matches in all competitions this season – can return to the summit with a win on Sunday over Union Berlin.
"It was a changing match," said Thomas Muller. "At one point we had it in our grip, then we didn't, then we did again.
"What was nice is that we were able to react, that we managed to switch to a higher gear.
"It brought us to the top of the table and I hope that Leverkusen drop points sometime."
Kane now has 17 goals in 11 league games since joining the German champions from boyhood club Tottenham in the summer.
"I'm enjoying it," said Kane after the match, calling the result "an important victory that probably not many people are going to remember in a few weeks but these are the games you have to make sure you win."
Kane wasted no time in getting on the scoresheet, collecting the ball with his back to goal and scoring on the turn for the opener after 14 minutes.
Kane doubled up shortly before half-time, heading in unmarked from a corner.
With Bayern cruising, manager Thomas Tuchel made three changes shortly after half-time and within 10 minutes the visitors were level.
Tim Kleindienst and Jan-Niklas Beste scored in a three-minute period, the latter after a mistake from Kim Min-jae, bringing the score to 2-2 with 20 minutes remaining.
With Bayern wobbling, former Dortmund defender Guerreiro struck his first goal for the German champions, before Choupo-Moting scored with five minutes remaining to seal the win.
"Today I'm extremely happy about the three points," Tuchel said ahead of the international break. "The feeling of waking up after a win, you can't top it."
Borussia Dortmund lost 2-1 at Stuttgart, the returning Serhou Guirassy giving the home side victory with a late penalty, his 15th goal of the season to stay hot on Kane's heels.
The visitors opened the scoring with their first shot on target, Niclas Fuellkrug tapping in a ball which former Dortmund defender Dan-Axel Zagadou allowed to run through his legs.
Stuttgart struck back shortly before half-time, Jamie Leweling threading the ball perfectly for Brighton loanee Deniz Undav to score.
Guirassy, who missed two league games with a hamstring complaint, came off the bench late and converted the penalty for the win.