Bayern Munich, winners of the UEFA Super Cup against Sevilla after extra time on Thursday, had not lost since Dec. 7, 2019.
They had gone 21 consecutive Bundesliga matches without defeat, winning their last 15.
The European champions conceded two goals in eight minutes as their usually solid defence collapsed under Hoffenheim pressure.
Ermin Bicackcic put them ahead in the 16th minute and Manus Dabbur doubled the lead.
Joshua Kimmich cut the deficit with a superbly curled shot into the top corner in the 36th minute and Bayern Munich missed several good chances to level early in the second half.

Cameroon friendly to shape WAFCON squad — Madugu
Fury sends Joshua support, turns down bout after tragedy
Wolves secure rare win to dent Villa’s bid for Champions League place
Solaja re-emerges BFN South East rep
Usman makes welterweight title claim
I cried day I got Super Eagles call-up – Fago
Osimhen strikes down stubborn Juve to book round 16 spot
Ogazi wins SEC Scholar-Athlete of the Year
Falcons begin training ahead Lionesses clash
Newcastle cruise 9-3 into UCL last 16, Leverkusen dump out Olympiacos
Finidi wary of difficult Barau test
Pillars coach optimistic of NPFL survival
Rangers International going, going . . . (63,584 views)
Amaju Pinnick: A cat with nine lives (54,891 views)
Second Term: Amaju Pinnick, Other NFF Heavyweights Home to Roost •How Pinnick Broke the Jinx (52,812 views)
Current issues in Nigerian sports: Matters arising (52,435 views)
Sports Development: Zenith Bank on the zenith (52,350 views)
Missing $150,000 IAAF Grant: Solomon Dalung’s Hide and Seek game (52,265 views)
Gov. Abdullahi Ganduje’s solid footprints, commitment to sports development in Kano State (52,141 views)
NFF Presidency: Pinnick, Maigari, Ogunjobi, Okoye in Battle for Supremacy (51,685 views)
Olopade, BET9A wave of revolution in NNL (50,856 views)
Commonwealth Games 2018: Shame of Muhammadu Buhari, Solomon Dalung (49,381 views)
Ibrahimovic’s Man U exit: Whose decision is it? And in whose interest? (47,770 views)
John Mikel Obi: Segun Odegbami’s Outrageous Call! (47,247 views)