Goals from Neymar and Roberto Firmino were enough to put Brazil through to the quarter-finals of the World Cup as Mexico were dumped out of the last 16 for the seventh consecutive tournament.
Mexico came out looking extremely up for their first knockout match, setting up with the feared forward trio of Hirving Lozano, Javier Hernandez and Carlos Vela keen to play on the counter.
Despite a couple of good opportunities for the underdogs, they couldn’t take advantage before the break and Brazil grew into the game.
Shortly after the break Willian delivered a killer ball across the six-yard box, which was met timely by the main man Neymar who could make no mistake from close range.
Mexico were reduced to pot shots as heads began to drop, few of which troubled Brazilian keeper Alisson.
With only minutes to go, Firmino was subbed on for the lacklustre Gabby Jesus, and he turned the ball into the back of the net moments later after Neymar prodded past Ochoa.
The result sets Brazil up for a quarter final tie with either Belgium or Japan.