Jesus Navas climbed off the bench to rescue a 2-2 draw for Spain against Chile in Geneva on Tuesday.
The Manchester City winger salvaged a scarcely deserved draw in Vicente del Bosque's 80th game in charge, sliding home the leveller from close range in injury time.
Eduardo Vargas twice gave Chile the lead, sandwiching Roberto Soldado's close-range header in a first half dominated by the South Americans.
The performance underlined the threat that Jorge Sampaoli's men could carry at the 2014 FIFA World Cup, which they are on the brink of qualifying for following their 3-0 victory over Venezuela on Saturday.
But they really should have claimed the win, having controlled large parts of the contest.
Del Bosque made a host of changes from the side that beat Finland 2-0 in a World Cup qualifier on Friday.
He was without Isco (ankle) and David Silva (thigh), while Victor Valdes was given the nod in goal ahead of Iker Casillas, who earned his 150th cap in Helsinki.
Nacho Monreal, Santi Cazorla and Soldado were also brought in to the starting line-up.
Chile named all three goalscorers from the Venezuela match as Vargas, Marcos Gonzalez and Arturo Vidal lined up in a strong starting XI.
The visitors seized the early initiative when Vargas latched onto Mauricio Isla's flicked pass before slotting the ball past Valdes from 12 yards.
Spain were exposed at the back again midway through the half, when Valdes had to scramble Alexis Sanchez's cross-cum-shot behind for a corner.
Claudio Bravo almost cost his side at the other end when the goalkeeper allowed a tame backpass to roll under his foot and out for a corner, from which Spain failed to threaten.
Despite struggling to find their rhythm, Spain did manage to conjure a leveller nine minutes before the break.
Tottenham striker Soldado was the beneficiary of Alvaro Arbeloa's pinpoint delivery, heading home from six yards for a barely deserved equaliser.
But after Cesc Fabregas' cross hit the post, Spain were cut open again on the stroke of half-time.
Vargas turned Raul Albiol and finished into the bottom corner to send Sampaoli's men into the break with the lead.
Andres Iniesta and Navas were brought on for Fabregas and Xavi as Spain looked to turn things around, having looked nothing like the side that had managed five clean sheets in their past six matches.
They began to grow into the game, enjoying long spells of possession as Chile seemed content to try to contain them.
Cazorla fed Pedro down the down the left but his cross deflected off Gary Medel, giving Soldado no chance to capitalise.
Valdes was replaced around the hour mark, making way for Pepe Reina, who was called into action when Isla raced through and the Napoli loanee had to sprint out to deny him.
Del Bosque introduced Alvaro Negredo to the action in place of Soldado and the Spaniards pressed again, winning a free-kick on the edge of the box as Cazorla was sent tumbling, resulting in a yellow card for Vidal.
But Iniesta's strike was straight at the wall and when Navas could only sting Bravo's palms with a close-range strike, Spain's frustration was evident.
With their illustrious opponents failing to fire on all cylinders, Chile looked set to record their first win over Spain, but Navas had other ideas, poking Pedro's cross home from close range to ensure that the world and European champions have lost only one of their last 30 matches.
for Fàbregas 46'
for Xavi 46'
for Sergio Ramos 59'
for Víctor Valdés 59'
for Soldado 66'
for Javi García 79'
|Klose lauds Ronaldo after scooping record|
|Iran refute Susic claims|
|Fernandez named Deportivo boss|
|Argentina have no chance, says Robben|
|Hierro to replace Zidane as Real first-team coach|
|Rhodes signs new Rovers deal|
|Arsenal complete Sanchez swoop|
|Inzaghi backs under-fire Balotelli|
|Defeat has overshadowed display - Vlaar|
|Maradona: Germany full of themselves|
|Barry hoping for England recall|
|Green extends QPR stay|
|Shanghai Shenhua 1 Guangzhou Evergrande 2: Rong leaves it late in dramatic win|
|Germany hope for Brazilian support|
|Torino striker Cerci in demand|
|FIFA critcised following Mascherano incident|
|Bernat happy at Bayern despite bad memories|
|Giggs backs Van Gaal to thrive at Old Trafford|
|Tadic can fill Lallana void - Koeman|
|New five-year deal for Nasri|
|Barcelona release injury-hit Cuenca|
|Suarez appeal rejected|
|La Decima a reflection of Di Stefano - Perez|
|Buoyant Mazzarri eager for Inter success|
|Mandzukic joins Atletico|
|Van Gaal criticises third-place play-off|
|Halilhodzic yet to decide future|
|Mandzukic eager for Simeone link-up|
|Davies hoping for Hull deal|
|Poyet hopeful over Altidore fitness|
|Diego close to ´dream´ Fenerbahce move|
|Inter loan out youngsters|
|Fired-up Cole can inspire Villa, claims Lambert|
|Hughes hailed for winning over Brit doubters|
|Hajrovic signs for Bremen|
|Hull can buck Europa League trend, says Meyler|
|Mertesacker talks up German chances|
|Swansea reveal Tottenham contact over Davies, Sigurdsson|
|Lloris pens five-year deal at Tottenham|
|Fernandinho: ´The pain is big´|
|MLS Preview: Portland aim for swift revenge against Seattle|
|Sabella: Germany have an advantage|
|Second Argentine journalist dies in Brazil|
|Aguero: Argentina defied critics|
|Impressive Mascherano thrilled with final´s berth|
|Zuniga offered protection by Colombia|
|Germany vowed not to ´humiliate´ Brazil|
|Hong resigns from South Korea post|
|Third-choice Vlaar ´wasn´t nervous´|
|Van Gaal: I wanted Krul in the shootout|
|Argentina: Key factors in reaching the final|
|Sabella revels in semi-final win|
|Proud Robben feels pain of World Cup exit|
|FIFA World Cup: Netherlands 0 Argentina 0 (after extra time, 2-4 on penalties)|
|Susic signs two-year extension with Bosnia-Herzegovina|
|Hummels in race to make World Cup final|
|Scolari still baffled by Brazil collapse|
|Spendlhofer and Benedetti leave Inter|
|Neymar ´recovering well´ from injury|
|Villarreal sign Jonathan dos Santos|
|Arteta happy at Arsenal, insists agent|
|Birsa makes Chievo loan switch|
|FIFA suspends Nigeria over political interference|
|Di Stefano funeral held in Madrid|
|Hangeland scathing of ´difficult´ Magath|
|Thiago Silva in fan plea|
|Isgrove earns fresh one-year deal at Southampton|
|Morata edges closer to Juve switch|
|Nugent pens two-year extension at Leicester|
|Gomez delight with ´perfect´ Germany|
|Costa Rica to discuss Pinto future|
|Arfield agrees Burnley extension|
|Allardyce targets four more signings|
|K.League Review: Jeonnam close gap on Pohang, Jeonbuk|
|Maradona: Thrashing damages Brazil´s image|
|Kasami makes Olympiacos move|
|Chelsea complete Pasalic signing|
|Helenius makes temporary Aalborg return|
|Higuain set for Napoli stay|
|Basta targets return to Europe with Lazio|
|Lewandowski willing to adapt for Bayern|
|New Hull deal for Jakupovic|
|Atletico agree Mandzukic deal, claims Sammer|
|Fulham seal Stafylidis loan|
|Alves pens new Valencia deal|
|Ochoa to take time over future|
|Brown could miss three months|
|Adams: Norwich will not overspend|
|Gundogan unsure when rehab can step up|
|Stoke chairman wants long Begovic stay|
|Brazilian media reacts to semi-final exit|
|Icardi vows to remain at Inter|
|Robben is player of the World Cup, says Kluivert|
|Klose focused on final after breaking record|
|Prandelli takes aim at Balotelli, Rossi|
|Schweinsteiger sorry for Brazil battering|
|Brazil scarred for life, says Fred|
|Sabella: Argentina ´have already won´|
|Muller stunned by rout|
|Low lauds ice-cool Germany|
|Tearful Luiz apologizes for semi-final loss|
|Scolari sorry for ´catastrophic´ Brazil hammering|
|Brazil join sport´s biggest chokers|
|Reality kills Brazilian dream on a surreal night|
|FIFA World Cup: Brazil 1 Germany 7|
|Linfield 1 B36 Torshavn 1 (agg 3-2): Feeney´s dream start continues as Linfield progress|
|Clinical Klose smashes World Cup record|
|Klose breaks World Cup goal record|
|UEFA Champions League Review: Goalkeeper Casals provides late Santa gift|
|Demichelis ready to get under Robben´s skin|
|Pukki hits three as Celtic rout Linz|
|Everton complete Barry deal|
|Lucas stars as PSG ease to friendly win|
|Netherlands sweat on Van Persie and Janmaat|
|Nike to end United sponsorship|
|Roma let Dodo go to Inter|
|Juninho backs Brazil despite Neymar blow|
|West Ham confirm Poyet deal|
|Mascherano calls for calm ahead of semi-final|
|Palermo chief looks to emulate Atletico|
|Southampton snap up Tadic|
|Pioli calls for dedication|
|Cocu: Depay should stay at PSV|
|No fears for Irvine over Morrison and Brunt|
|Miranda quashes Atletico exit rumours|
|Aurier keeping options open|
|Samuel set for Sampdoria switch|
|Dudgeon pens new Hull City deal|
|Serero extends Ajax deal|
|Napoli come out in support of Zuniga|
|Prandelli: Mancini helped sell Galatasaray to me|
|Deportivo sack Vazquez|
|FIFA World Cup Preview: Netherlands v Argentina|
|Valverde issues challenge to midfield after Herrera exit|
|Yattara pens Lyon extension|
|M´Vila set for Inter move|
|Fletcher relishing testing pre-season|
|Enrique raring to get started|
|Caballero seals City switch|
|Villa chief executive steps down|
|McCormack completes Fulham switch|
|Monk hoping to make Swansea additions|
|Low: Mertesacker was not ill versus France|
|Mancini: Italy job would be an honour|
|Hughes anticipates Stoke sales|
|Garcia returns home to Perth|
|Luis Garcia heads to India|
|Langerak staying at Dortmund|
|Sakho delighted with support|
|Liverpool, Roma target Yedlin focused on Seattle|
|No Arsenal commitment from Vermaelen|
|Guidolin deserves Italy job, says Di Natale|
|Scolari giving nothing away|
|Ferguson pays tribute to Di Stefano|
|Drulovic backs Markovic´s Liverpool move|
|Brazil to report doctors over Neymar final claims|
|Luis Alberto takes lessons from Liverpool experience|
|Thiago Silva slams Zuniga´s ´coward´s tackle´|
|Low warns referee of Brazil´s brutality|
|Amarildo: Neymar absence could be a blessing|