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, the BBC reports.
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.