Cristiano Ronaldo set a new record for World Cup qualifying goals but Hungary grabbed a late 2-2 draw to stop Portugal from reaching next summer’s tournament with two games to spare.
After Attila Szalai netted for the visitors, Ronaldo’s first-half brace put Roberto Martinez’s side on the verge of qualification for the 2026 World Cup.
However, Dominik Szoboszlai struck in stoppage time to make Portugal wait and boost his nation’s hopes of making it to the tournament in the United States, Mexico and Canada.
Martinez’s side top Group F with 10 points, five clear of Hungary.
Portugal snatched a late victory from a five-goal thriller when the teams met in Hungary in September, as Marco Rossi’s side showed their steel.
Hoping to qualify for the World Cup for the first time since 1986, Hungary again proved a tough nut to crack.
They took an early lead through Szalai, when the tall defender headed home from Szoboszlai’s corner after eight minutes.
Ronaldo, still leading the line for his country at 40, soon levelled, tucking home after Nelson Semedo crossed for the five-time Ballon d’Or winner.