Szoboszlai wrapped up a place at next summers tournament with two assists against Bulgaria earlier in the week, but he turned from provider to scorer in the final match of Group G.
His side surprisingly fell behind in the first half as Slobodan Rubezic opened the scoring for the visitors shortly before the break.
Liverpools 60 million summer signing then took it upon himself to single-handedly turn the game on its head with two goals in almost as many minutes midway through the second period.
His equaliser was an exquisite solo effort as he beat several Montenegro defenders before firing the ball into the far corner to level the scoring in the 66th minute.
Hungarys captain didnt have to wait long to put his side in front, either, as Szoboszlai scored an equally well-worked goal following a one-two with forward Martin Adam.
The win was capped by a late rebound from Adam Nagy, after Liverpools No. 8 was denied a hat-trick by goalkeeper Predrag Mijatovic from a free-kick in injury time.
It mathematically ensured Montenegro couldnt qualify for Euro 2024 and saw Hungary end their qualifying campaign unbeaten with five wins and three draws.
?? Dominik Szoboszlai taking a shot of plinka and celebrating with Hungarian fans in the stands after qualifying for Euro 2024.
Love to see it. pic.twitter.com/WoSRGZcW04
Bence Bocsk (@BenBocsak) November 19, 2023