His first-half penalty drew him level with Gerd Müller’s tally set in the 1971/72 season, and the striker paid tribute to Müller by revealing a shirt that read “4EVER GERD” as he celebrated the goal.
He reached the 40-goal landmark when he converted a penalty after Thomas Müller was fouled at a corner — a goal that also saw Bayern become the first side to score in 34 consecutive away games in the Bundesliga.
The away side’s lead was short-lived, however, as Manuel Gulde equalized three minutes later when he headed in from a corner.
Serge Gnabry had a goal ruled out for offside at the start of the second half, but Leroy Sane restored Bayern’s lead shortly afterward when he converted Müller’s cross.
Bayern looked to be on course for victory, but Christian Günter’s goal 10 minutes from full-time leveled the scores.
Lewandowski had several second-half chances to score a record-breaking 41st league goal of the season, but was denied by goalkeeper Mark Flekken. He could still beat Müller’s record next week when Bayern faces Augsburg in its final game of the season on May 22.