Frankfurt were unable to put up some resistance in the dying minutes of the game therefore Mandzukic marked his 11th goal of the season with one minute remaining. Consequently Bayern remain unbeaten at their 44 Bundesliga game in row.
"I am really satisfied. That was our best game of the season. We controlled the match and created a lot of chances," Bayern coach Pep Guardiola said.
Elsewhere, Nuremberg came from behind to secure a 3-1 win at Berlin. Adrian Ramos gave the hosts the lead but Markus Feulner and Josip Drmic's brace wrapped up Nuremberg's second consecutive win.
Nonetheless, it was a controversial win as referee Michal Weiner denied Berlin a penalty and a straight red card for Nuremberg in the closing period.
"Our victory was lucky regarding the controversial decisions towards the end of the game. Based on our fighting spirit we have earned us three points," Nuremberg coach Gertjan Verbeek.