Lionel Messi was once again Argentina's saviour with the breakthrough goal in a 2-0 win over Mexico at Lusail Stadium to ignite his side's World Cup campaign.
Poland's 2-0 victory over Saudi Arabia earlier on Saturday left Argentina needing to avoid defeat against Mexico if they were not to exit the competition after just two games.
Argentina put their shock 2-1 loss against Saudi Arabia behind them thanks to Messi's long-range opener after 64 minutes and Enzo Fernandez's equally-as-impressive late strike.
Lionel Scaloni's men join Saudi Arabia on three points and are one point behind Group C leaders Poland, who they face in their final match, while Mexico are bottom on one point.
Argentina made five changes on the back of their opening loss, three of those in defence, and they failed to register a meaningful attempt in the first half.
Mexico went closest to opening the scoring before the interval through an Alexis Vega free-kick that called Emiliano Martinez into action.
The quality only marginally improved in the second half, but out of nowhere Messi controlled Angel Di Maria's pass and fired a low shot past Guillermo Ochoa from 25 yards.
That strike took Messi level with fellow great Diego Maradona on eight World Cup goals for Argentina, who added a second through substitute Fernandez.
With three minutes left, the Benfica midfielder received a pass from Messi following a short corner, worked his way into the box and then curled away from Ochoa into the top corner.