Lionel Messi has rekindled Argentina’s hope in the group stages of the FIFA World Cup in Qatar.
The keenly contested match was separated by two goals at the Lusail Stadium.
A defeat would have sent Argentina out of the tournament in the group stages.
Saudi Arabia lost to Poland who are on top of Group C with five points, but chances in the group are still open.
Mexico could not secure their chances on Matchday 2.
Argentina lost their opener against Saudi Arabia in a stunning 2-1 upset.
But Argentina who have a historical record against Mexico sealed a narrow win courtesy of a 64th-minute strike by Messi.
Another strike by Fernandez after a pass from Messi doubled Argentina’s lead in the 87th minute.
Argentina have never lost a World Cup game against Mexico.
With the win, Lionel Scaloni’s men have widened their chances as a draw will see them through to the knockout stages.
Mexico will scale through if they beat Saudi Arabia and Argentina is beaten by Poland.