Spain held their nerve to edge past Italy on penalties and book a final showdown against Brazil in the FIFA Confederations Cup.
The world champions were given a stern examination in Fortaleza on Thursday but they stood up to the test and extended their record-breaking unbeaten run in all competitions to 29 matches.
Both sides had chances to win the tie in normal time and in the 30 minutes of extra time that followed but it came down to spot-kicks and after six successful attempts each, it was Leonardo Bonucci who blinked first and substitute Jesus Navas capitalised to plunder the winning penalty.
In a game that saw the two sides meet for the first time since Spain won 4-0 in the final of Euro 2012, Vicente del Bosque kept faith with the competition's top scorer Fernando Torres up front.
Italy, however, were forced into a change in attack due to an injury suffered by Mario Balotelli, with the Milan striker having flown home with a thigh injury. Alberto Gilardino was the man to replace him.
Manager Cesare Prandelli was able to call on the services of midfielder Andrea Pirlo, who missed the 4-2 defeat to Brazil after suffering a calf injury.
Italy started much the brighter and had the first chance of the match, with Christian Maggio heading narrowly over from a corner after seven minutes. The full-back then forced the first save of the game from Iker Casillas following a quick break shortly after.
The pressure continued as Daniele De Rossi glanced a header just wide from a Pirlo cross, but Del Bosque's men soon began to show some composure and calm the game down.
Still it was the Italians who should have led heading into the break as Maggio directed a close-range header straight at Casillas 10 minutes before the interval.
The game slowed down in the second half, with the first effort coming after 57 minutes when Navas forced a good save from Gianluigi Buffon.
Gerard Pique spurned a good opportunity to break the deadlock late on as he fired a shot over the bar, before good link-up play between Torres and Navas saw the new Manchester City signing sting the palms of Buffon with a powerful strike.
Spain continued to pile on the pressure right into stoppage time at the end of the second half but to no avail.
It took until the third minute of extra time for the best chance of the match arrive as Italy substitute Sebastian Giovinco crashed an effort off the post with Casillas stranded.
With both Torres and Gilardino now substituted, both sides were playing without a recognised striker and the goal drought continued, although Juan Mata went close with a curling effort in the second half of extra time.
Xavi Hernandez saw his long-range effort hit the post in the closing stages and penalties beckoned.
The first 12 efforts were textbook examples of how to keep your cool under pressure but after Sergio Busquets had cancelled out Riccardo Montolivo's assured strike to make it 6-6, Bonucci ballooned his effort well over the bar and Navas stepped up to fire a low effort into the corner and seal victory for the Spaniards.
Spain will play Brazil in the final on Sunday, while Italy will meet Uruguay in the third-place play-off on the same day.
|Coach: Del Bosque|
for David Silva 53'
for Pedro 79'
for Fernando Torres 94'
|Berisha extends Victory stay|
|Arnold backs fans amid A-League boycott|
|Perez happy at Newcastle|
|Klopp can´t forget ´f***ing´ Palace loss|
|Mihajlovic: Milan didn´t expect extra time|
|Carvalhal hopes cup run spurs Wednesday to league success|
|Coppa Italia Review: AC Milan survive scare, Torino thrash Cesena|
|Hughes happy with rotation policy after League Cup win|
|Football League Review: Burton win to go top of League One|
|Atletico still uncomfortable - Simeone|
|AC Milan 3 Crotone 1 (aet): Bonaventura and Niang extra-time strikes send hosts through|
|Leganes 2 Granada 1: Segunda Division side threaten upset|
|Ligue 1 Review: Leaders Paris Saint-Germain held on the road|
|City thrashing cruel on Hull - Bruce|
|City thrashing cruel on Hull - Bruce|
|Pellegrini: Silva brings style back to City|
|Reaching last four is ´terrific´ - Martinez|
|Lukaku urges Everton to push on|
|FIFA sponsors call for ´independent oversight´ of reforms|
|Stoke City 2 Sheffield Wednesday 0: Potters end visitors´ League Cup run|
|Manchester City 4 Hull City 1: De Bruyne double books semi-final spot|
|Middlesbrough 0 Everton 2: Deulofeu and Lukaku on target in routine win|
|Reus Deportiu 1 Atletico Madrid 2: Third-tier hosts make life difficult for Atleti|
|Amnesty International critical of Qatar, FIFA|
|Angers 0 Paris Saint-Germain 0: Cavani fails to make his mark|
|Ramos: Madrid fight for Undecima every day|
|Silver screen awaits for Vardy?|
|Del Bosque noncommittal on Aduritz form|
|Dybala: Juventus´ slow start normal|
|Koeman confident Southampton can match Liverpool|
|Venezuela stars issue quit threat to FA|
|Moreno agent opens door to Real Madrid offer|
|Herrera: I´m very happy at Manchester United|
|Lars Bender undergoes ankle surgery|
|Delneri takes over at Verona|
|Bellerin: I did not know how to defend until I joined Arsenal|
|Panathinaikos hit with three-point penalty after violence|
|Martial and Depay unhappy under ´selfish´ Van Gaal - Parker|
|Injured Carvajal set to miss Cadiz tie|
|Klopp vows to play strongest Liverpool team against Southampton|
|Ronaldo rested for Copa clash|
|Sanchis implies Neymar provoked Isco kick|
|Benitez: I have no problem with James|
|Luis Enrique plays down Suarez Ballon d´Or omission|
|Sergio Ramos is right - football is cyclical, says Luis Enrique|
|Klopp defends Mignolet amid Ter Stegen rumours|
|Boksic backs Mandzukic to get 20 goals for Juve|
|Neymar hails ´great friends´ Messi and Suarez|
|Chelsea submit planning application for new stadium|
|French sports people need to be exemplary - Valls|
|Moyes: Valencia job has come too soon for Neville|
|Napoli loss ´doesn´t change anything´ for Mancini|
|Ronaldo ´uncomfortable´ as a number nine, claims Madrid great Sanchez|
|Manchester City receive $400m Chinese investment|
|Messi: Ronaldo deserves Ballon d´Or nomination, but I´d prefer Suarez|
|Moyes open to another European gig|
|Everton welcome cup pressure - Martinez|
|Casillas open to MLS move|
|Hughes: Butland going nowhere|
|Milner eyes trophies at ´exciting´ Liverpool|
|Napoli became anxious - Sarri|
|Inter did not deserve to lose - Mancini|
|Messi beats Ronaldo to top prize at La Liga awards|
|Bolton Wanderers 1 Brentford 1: Smith watches on as strugglers snatch point|
|Napoli 2 Inter 1: Higuain at the double as hosts go top|
|Lewandowski: Less pressure on me than Aubameyang|
|Defoe, Larsson to miss Arsenal match|
|Sassuolo 1 Fiorentina 1: Di Francesco´s side extend unbeaten home run|
|Barcelona took ´a step forward´ without Messi - Busquets|
|Unfair to blame Garcia for Roma form - Zanetti|
|Southampton v Liverpool: Returning stars have Ibe in buoyant mood|
|Lewandowski´s five-goal haul recognised for four records|
|Barcelona v Villanovense: Holders get second crack at minnows|
|Verona sack Mandorlini|
|Valencia confirm Nuno departure|
|Premier League clubs reveal agent fees|
|Stoke will not underestimate Sheffield Wednesday – Hughes|
|Robben wants Guardiola to stay at Bayern|
|Aguero allays foot injury concerns|
|Cadiz v Real Madrid: Pepe calls for hard work in Andalusia|
|Bolton confirm players have not been paid for November|
|Neville takes Valencia training following Nuno resignation|
|Mihajlovic targets Coppa Italia triumph|
|Garde confident Villa will survive|
|Everton to make late call on Barry and McCarthy|
|Davids: Messi is an anomaly but Ronaldo just an athlete|
|Simeone open to January signings following Tiago injury|
|Messi leads nominees for Puskas Award|
|Hummels defends himself after media criticism|
|Messi, Ronaldo and Neymar nominated for Ballon d´Or|
|Luis Enrique, Guardiola and Sampaoli up for World Coach of the Year|
|Chelsea about the team, not just Costa - Ivanovic|
|Kuyt open to Feyenoord extension|
|Barcelona lodge complaint over ex-Madrid duo´s Neymar comments|
|Davies wants Manchester City quarter-final to get crazy|
|Ribery ordeal is over – Rummenigge|
|Smalling: Vardy run opens door to non-League hopefuls|
|Bender relieved to end Dortmund losing streak|
|Mata: Manchester United have six finals in December|
|Vardy reveals painful road to Premier League record|
|Pardew urges Newcastle to back McClaren|
|Russian clubs banned from signing Turkish players|
|Klopp expects Coutinho to face Southampton|
|Valverde: Let´s hope Barcelona don´t sign Aduriz|
|De Bruyne relishing link-up with Silva|
|´Crazy´ Munich could convince Guardiola to stay|
|Defiant Garcia refuses to resign despite Roma slump|
|Monk confident Swansea can turn the corner|
|Bellerin: Arsenal can cope without Sanchez|
|McClaren: Newcastle not panicking|
|Klopp delighted with Sturridge, Henderson returns|
|I wouldn´t swap Lukaku for Vardy - Martinez|
|MLS Review: Timbers, Crew to meet in final|
|Nuno saddened by Valencia departure|
|Morata will become a key player - Allegri|