Brazil needed a stoppage-time winner from substitute Gabriel Martinelli to avoid a major World Cup upset as the five-time champions fought back to beat Japan 2-1 and reach the Round of 16 on Monday.
Japan stunned the South Americans in the 29th minute when Kaishu Sano intercepted a misplaced pass from Danilo before driving forward and firing a low shot beyond goalkeeper Alisson Becker.
The Samurai Blue then produced a disciplined defensive display to frustrate Brazil for much of the first half, closing down space and denying Carlo Ancelotti’s side clear opportunities.
Brazil emerged with greater urgency after the break and restored parity in the 56th minute when veteran midfielder Casemiro headed home Gabriel Magalhaes’ cross from close range.
The equaliser sparked relentless pressure from the South Americans, with Vinicius Junior striking the post after an excellent save from Japan goalkeeper Zion Suzuki, who produced a string of impressive stops to keep his side in the contest.
With extra time looming, Martinelli delivered the decisive blow in the fifth minute of added time, arriving at the far post to squeeze home Bruno Guimaraes’ cross and send Brazil into the quarter-finals.
The dramatic winner was the latest goal scored in normal time in a World Cup knockout match since 1966 and preserved Brazil’s record of reaching at least the quarter-finals at every World Cup since 1990.
Japan’s hopes of claiming a first-ever World Cup knockout victory ended in heartbreak despite an outstanding display against one of the tournament favourites.
Brazil will now face either Norway or Ivory Coast in the quarter-finals as they continue their pursuit of a record-extending sixth World Cup title, while Japan exit the competition having once again shown they can compete with the world’s elite.