Antoine Griezmann rescued a point for France and denied Hungary one of the big European Championship shocks in front of a raucous 60,000 crowd in Budapest.
Attila Fiola fired Hungary into the lead just before the break as he held off the French defence to slot home after a one-two with Roland Sallai.
The goal was met by one of the loudest celebrations football has heard since March 2020 - or even before then - as the Puskas Arena went wild.
Fiola banged a pitchside reporter's table and knocked items off before he and his team-mates embraced some of the fans in the front row.
World champions France, tipped by many as the tournament favourites, had dominated the first half, with Kylian Mbappe in lively form again, before that goal.