Angel di Maria made up for a poor display by firing Argentina into the FIFA World Cup last eight with a 1-0 extra-time win over Switzerland.
Not for the first time this tournament, Alejandro Sabella's men struggled to make their presence felt in attack for large spells, with the Real Madrid midfielder guilty of conceding possession on a number of occasions.
However, Di Maria popped up with just two minutes of extra time remaining to sweep home after some good work by Lionel Messi.
Substitute Blerim Dzemaili headed against the post for Switzerland before time was up, and should have done better with the rebound.
The result sets up a last-eight meeting for Argentina with Belgium or the United States in Brasilia, and was ultimately harsh on a Switzerland side who defended resolutely in what will now prove to have been Ottmar Hitzfeld's final game in charge before retiring.
Argentina were forced into one change, with Ezequiel Lavezzi coming in for injured striker Sergio Aguero, while Switzerland stuck with the same XI that triumphed 3-0 over Honduras in their closing Group E fixture.
Xherdan Shaqiri ran riot with three goals in that convincing victory, but chances were few and far between for both sides in the opening stages in Sao Paulo - a Gonzalo Higuain header that comfortably cleared the crossbar was as close as either came to hitting the target inside the first 25 minutes.
Switzerland injected some life into an otherwise dormant half in the 28th minute when Granit Xhaka and Stephan Lichsteiner were both denied by Sergio Romero in the Argentina goal, before Lavezzi called Diego Benaglio into action at the other end with his team's first accurate effort moments later.
Germany's Manuel Neuer produced a superb goalkeeping display in their last-16 clash on Monday, effectively acting as sweeper at times when his defence was breached by Algeria, but Argentine counterpart Romero was statuesque when Josip Drmic found himself clean through on goal in the 39th minute.
However, the Bayer Leverkusen striker's attempted chip was tame, and Romero gratefully clutched the ball to his chest.
Romero was far from convincing in keeping out a Shaqiri free-kick from 25 yards five minutes into the second half, and Argentina looked short of ideas going forward, evoking memories of their last-gasp 1-0 victory over Iran in the group stage.
Benaglio denied Marcos Rojo from a tight angle as Argentina got a rare sight of goal, before Di Maria attempted a flamboyant cross.
Trying to be pleasing on the eye, he left his team-mates far from pleased as his showboating resulted in a Swiss goal-kick and an opportunity wasted.
Benaglio's reflexes were put to the test shortly after the hour mark as he tipped away a powerful Higuain header, and Messi shot narrowly over soon after as the Argentinian pressure started to build.
Messi went close again with a drilled effort that Benaglio got down well to meet, but both nets remained untroubled as a last-16 clash entered extra-time for the fourth time this tournament.
Having disappointed for much of the game, Di Maria ultimately emerged as the hero for Argentina.
The 26-year-old, who had earlier forced Benaglio into a fine save at his near post in the second half of extra time, received the ball following a probing run from Messi and calmly slotted a left-footed finish across Benaglio and into the far corner.
Dzemaili remarkably had a chance to equalise in injury time, but headed against the post from close range before failing to convert the rebound.
|7||Á. di María||118' 120'|
|Coach: A. Sabella|
for E. Lavezzi 74'
for M. Rojo 105+1'
for F. Gago 106'
|UEFA Europa League Preview: Brondby and Slovan to protect handsome leads|
|Bentaleb pens new long-term deal at Tottenham|
|Barca agree Turan deal|
|FIFA bans Mayne-Nicholls|
|United States v Honduras: Klinsmann demands improvement ahead of Gold Cup opener|
|CONCACAF institutes extensive reforms in wake of FIFA corruption scandal|
|Mauri completes Milan move|
|City sign Turkey striker|
|Women´s World Cup final draws huge US TV ratings|
|My first Chelsea team better than current crop - Drogba|
|Bertrand set for lay-off after knee surgery|
|New five-year Juve deal for Marchisio|
|Allegri extends Juve contract|
|Koeman reiterates Alderweireld interest|
|Valencia bag Bakkali|
|New York City FC complete Pirlo capture|
|Panama v Haiti: Collat ready to challenge the best of CONCACAF|
|UEFA Champions League Preview: Harrison eyes TNS progression|
|FIFA sanctions Yemen for fielding ineligible player|
|Toulouse rubbish Ben Yedder exit reports|
|Mourinho ´knows what he´s doing´ with Falcao signing|
|Watford shell out club-record fee for Capoue|
|Braafheid signs Lazio extension|
|Nani finalises Fenerbahce move|
|Liverpool confirm O´Driscoll appointment|
|Liverpool have to start better - Lucas|
|USA simply too good - Sasaki|
|Portland Timbers 1 San Jose Earthquakes 0: Jewsbury wins it in stoppage time|
|No move yet for Van Persie|
|Lloyd wins Golden Ball, Silver Boot awards|
|Mascherano: I never grabbed Banega|
|Dunga requested Brazil not appeal Neymar´s suspension|
|United States 5 Japan 2: Lloyd stars with hat-trick|
|Fiorentina deny Inter criticism|
|Nani relishing Fenerbahce opportunity|
|Newcastle hold talks over Northampton youngster|
|Cuadrado´s agent plays down Chelsea exit rumours|
|Liverpool´s Alberto set for Deportivo loan|
|Leverkusen suffer surprise defeat, Stuttgart hit six|
|Inter ´dismayed´ at Fiorentina vice-president´s Salah Twitter outburst|
|Blaszczykowski ruled out of Dortmund´s Asia tour|
|Gerrard gets the beers in for LA Galaxy fans|
|De Gea coy over Real links|
|Former Brazil star Carlos handed Delhi reins|
|Ciftci will not push through Celtic switch – agent|
|In-demand Mitrovic considering Roma offer|
|Lehmann calls on Cech to ´get over´ Chelsea|
|Marlos double sinks Monaco|
|Mauritius 0 South Africa 2 (agg 0-5): Bafana set up Angola qualifier|
|Keane relishing Gerrard arrival|
|Palace confirm Cabaye interest|
|Hamburg bring in Spahic after head-butt ban|
|Blatter hits out at France and Germany over World Cup votes|
|Sanchez: World Cup exit spurred Chile to Copa glory|
|Jojic makes Cologne switch, Santana move falls through|
|Carrillo keen to get going at Monaco|
|Micronesia thrashed 38-0 as Fiji triumph in Olympic qualifier|
|Schalke stunned by ´machine´ Caicara|
|MLS Review: Keane shines at Gerrard´s Galaxy unveiling|
|Counter-attacking the key for Japan|
|Jimenez happy at Atletico|
|Gerrard predicts ´successful future´ with Galaxy|
|Iniesta can´t see Real selling Ramos|
|Keshi sacked as Nigeria coach|
|Three finals, three defeats for Messi, Mascherano|
|Nani close to Fenerbahce move|
|Sampaoli revels in ´unbelievable joy´|
|Bravo: Copa victory a dream|
|Martino: Argentina should have won|
|Chile 0 Argentina 0 (4-1 on penalties): Hosts end trophy drought|
|Germany 0 England 1 (after extra time): England make World Cup history|