Neymar scored one goal and played a key role in the second as Brazil edged out Mexico in Samara to reach the World Cup quarter-finals for a seventh consecutive time.
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.
They did have plenty of chances early on, and it was only after a largely frustrating first half for Brazil that Neymar started the move to put his side ahead.
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.
Just moments earlier, Mexico's Jesus Gallardo wasted a brilliant chance when he shot wildly over the crossbar instead of playing in Hirving Lozano.
For much of the second half, Mexico's bright start was just a memory, but Carlos Vela forced a save from Brazil goalkeeper Alisson with his side's first shot on target not long after going behind.
In the match's closing stages they 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 on Friday.
Latest Stories
-
Let’s prioritize research quality in higher education institutions for industrial growth-Prof. Nathaniel Boso
6 hours -
Herman Suede is set to release ‘How Dare You’ on April 24
10 hours -
Heal KATH: Kuapa Kokoo, Association of Garages donate 120k to support project
10 hours -
KNUST signs MOU with Valco Trust Fund, Bekwai Municipal Hospital to build student hostel
10 hours -
The influence Ronaldo has on people, Cadman Yamoah will have same on the next generation – Coach Goodwin
11 hours -
Gender Advocate Emelia Naa Ayeley Aryee Wins prestigious Merck Foundation Awards
12 hours -
South Africa bursary scandal suspects granted bail
12 hours -
Ecobank successfully repays $500m Eurobond due April 18
12 hours -
Re: Doe Adjaho, Torgbui Samlafo IV, call for Unity among Paramountcies in Anlo
12 hours -
Extortion and kidnap – a deadly journey across Mexico into the US
12 hours -
Rihanna says fashion has helped her personal ‘rediscovery’ after having children
12 hours -
Development Bank Ghana targets GH¢1bn funding for commercial banks in 2024
13 hours -
Shatta Movement apologises to Ghana Society of the Physically Disabled after backlash
13 hours -
Sammy Gyamfi writes: Tema-Mpakadan Railway Project; A railway line to nowhere
14 hours -
Bright Simons: Is the World Bank saving or harming Ghana?
14 hours