Hertha Berlin held on to halt third-placed Borussia Dortmund's four-game winning run in all competitions and consolidated fifth place with a typically gritty performance.
Captain Vedad Ibisevic crossed for Salomon Kalou to score early, and Dortmund was grateful to Raphael Guerreiro for clearing off the line from Kalou afterward as the home side maintained its good start. Kalou missed another good chance before the break.
Seconds after Lewandowski matched his 21-goal tally in Munich, Pierre-Emerick Aubameyang equalised, first playing the ball to Guerreiro with his heel, then running to accept Shinji Kagawa's through ball to score his league-leading 22nd of the season. It was his eighth goal in four games in all competitions.
But Marvin Plattenhardt scored what proved to be the winner with a brilliant free kick inside the top corner with 20 minutes remaining.