The 21-year-old took his tally to 13 goals in his last 15 games for his country with a superb left-footed volley early in the first-half, and then produced a brilliant shimmy between two Mexican defenders in second-half stoppage time to set up Jo for the second goal.

Brazil's Neymar after scoring against Mexico during their FIFA Confederations Cup Brazil 2013 Group A football match, at the Castelao Stadium in Fortaleza. Pic/AFP

While Brazil progress to the semis, Mexico's hopes hang by a thread after two defeats as Japan, who lost 3-0 to Brazil in their opener, must beat Euro 2012 finalists Italy later on Wednesday to give them any hope of reaching the last four.

Brazil play Italy in their final group match in Salvador on Saturday.