Brazil dominated the first half with more possession and applied pressure mostly from the left through Marcelo, Oscar and Neymar trying to break dowm the Mexico defence.
The first chance for Brazil came in the 14th minute with Marcelo breaking down and trying to get the ball across the Mexican box. Fred and Paulinho had half-chances, but neither could find the target.
Mexico sat back defending for most part of the first half but 24th minute saw Hector Herrera finding space to smash the ball towards the Brazil goal only to be tipped over by goalkeeper Julio Cesar.
Neymar was denied a goal in the 26th minute as his header off a Dani Alves cross was palmed away by Ochoa diving to his right in one of the most fabulous saves in the World Cup so far.