Neymar scored one goal and played a key role as Brazil edged out Mexico to reach the World Cup quarter-finals for a seventh consecutive time not long ago.
Brazil did not have it all their own way, especially in an opening period dominated by the Central Americans, but the five-time winners grew into what became a controlled performance.
It means Mexico are once again eliminated at the last-16 stage – as they have been at every World Cup since 1994.
Neymar on the field of play was phenomenal, had many chances but his delivery made Brazil scored first goal in the game.
His run across goal and clever backheel won Willian space, and the Chelsea midfielder only needed two touches to drive into box and lay the ball across for the world’s most expensive player to slide home.
It was Brazil’s 227th goal at the World Cup, meaning they overtake Germany as the all-time top scorers.
As the match getting to the closing stages, team Mexico rallied once more, but Brazil defended stoically before doubling their lead on the break through a Roberto Firmino tap-in after Neymar’s effort was diverted by the toe of Mexico goalkeeper Guillermo Ochoa.
Brazil will face Belgium or Japan – who meet in Rostov-on-Don in the day’s second match – in their last-eight tie in Kazan today July 2, 2018.