Spain booked a date with Brazil in the Confederations Cup final with an 7-6 penalty shoot-out victory over Italy at the Castelao.
Although the World Cup holders stormed to a 4-0 win over the Azzurri in the Euro 2012 final, this encounter proved far more evenly-contested.
Vicente del Bosque's men monopolised possession but lacked a cutting edge in attack, while Italy missed numerous chances throughout as the match ended goalless.
With nothing to separate the two nations the game went to penalties, where Jesus Navas proved to be the hero as he scored the crucial spot kick as the shoot-out finished 7-6 to Spain.
Cesare Prandelli switched to a three-man defence and his side began impressively, despite letting the Spaniards control possession of the ball.
The Azzurri, though, with the Fortaleza crowd backing them, looked superb on the counter-attack. After Alberto Gilardino had failed to pick out the bottom corner from Antonio Candreva's cross, they became increasingly confident and forged yet more chances to find the net.
Christian Maggio was unable to guide a header from Andrea Pirlo's exquisite pass past Iker Casillas in the 17th minute and Daniele De Rossi's glancing header missed the target 60 seconds later.
In the 19th minute Claudio Marchisio missed the best of the bunch, though, as he nodded the ball well wide of the target from Candreva's cushion despite finding plenty of space between the two centre-backs.
That flurry of activity encouraged Spain to reduce the tempo and steady themselves, but the Azzurri were again next to test the opposing goalkeeper.
Jordi Alba was being nullified by the adventurous combination of Candreva and Maggio, and the latter was only denied a goal when a brilliant Casillas save kept his 36th-minute header out of the net.
Spain almost immediately punished Prandelli's side for their profligacy in front of goal one minute later, but after turning Andrea Barzagli in wonderful fashion Fernando Torres could not find a finish to match as he pulled his shot wide of the target.
With La Roja failing to show an increased threat immediately after the restart Del Bosque introduced Jesus Navas in the 50th minute. The new Manchester City signing had a positive impact, calling Gianluigi Buffon into action with a driven shot from 20 yards shortly before the hour mark.
The conditions began to sap the life from the game as Italy lost the intent on the break and Spain continued to lack creativity. Andres Iniesta attempted to take matters into his own hands, yet after a mazy run from the half-way line he sliced an attempt wide of the goal.
There were chances for both sides to win the game in normal time, though neither team could break the deadlock. Marchisio's attempt from a Candreva cutback was blocked by Gerard Pique before Pedro and the Barcelona centre-back wasted two great opportunities to work Buffon, and extra time ensued.
After three minutes of the additional period Italy had their best chance of the night. Maggio's cross rolled through to Emanuele Giaccherini at the back post, whose attempted shot crashed back off of Casillas' post.
The tempo to the game quickly picked up again and Iniesta's beautiful lifted pass over Leonardo Bonucci was volleyed over by Alba in the 99th minute as La Roja got nearer to breaking the deadlock.
With five minutes left to play Xavi was denied an absolutely magnificent winner when his long-range shot was turned onto the post by Buffon. The Juventus keeper was forced to make another save from Navas one minute later to ensure the game went to penalties.
Candreva got Italy off to the perfect start by dinking the first penalty straight down the middle and all subsequent spot kicks were scored until Bonucci skied from 12 yards with the score level at 6-6. Responsibility fell to Navas who slotted the ball home to send Spain into the final.
Spain will now take place in Sunday's final against Brazil at the Maracana, while Italy will contest the third-place play-off against Uruguay in Salvador on the same day.
|Coach: Del Bosque|
for David Silva 53'
for Pedro 79'
for Fernando Torres 94'
|UEFA Champions League Review: Steaua ease through as Legia Warsaw hit five|
|Youngsters inspire Sunderland to win at Hartlepool|
|Aluko and Sagbo net as Hull City beat York|
|PSG loan Aurier from Toulouse|
|Emotional Davies thanks Swansea fans|
|Mandzukic makes debut as Atletico win|
|Filipe makes bow in Chelsea draw|
|Bahebeck stars again as PSG beat Nice|
|Conte rubbishes PSG talk|
|Tottenham sign Davies and Vorm as Sigurdsson joins Swansea|
|De Laurentiis vows Napoli will fight for Scudetto|
|Lyon sign Jallet from PSG|
|Rijeka deny racism allegations|
|Suarez has been treated ´like a murderer´, says Aspas|
|Basel secure Samuel swoop|
|Thai Premier League Review: Buriram go top as Muang Thong slip up|
|Dnipro-Copenhagen clash moved to Kiev|
|Tevez never considered Juve exit|
|Djuricic joins Mainz on loan|
|Cavani keen on PSG stay|
|Shaqiri flattered by Juventus link|
|Johnson, Sommer arrive at Monchengladbach|
|J.League Review: Kawasaki close gap on Sagan, Urawa move clear at top|
|Coleman to miss Everton´s Thailand trip|
|Thankful Rueda bids farewell to Ecuador|
|Liga MX Preview: Peralta set for home debut, Leon seek recovery|
|K.League Review: Top two draw blanks, Jeju United close in|
|CAF Champions League Preview: Zamalek primed for crucial game, CS Sfaxien meet ES Tunis|
|Low quashes Germany exit rumours|
|Getafe agree Michel loan|
|Porto bring in Brahimi from Granada|
|Pardew satisfied with attacking signings|
|Pellegrini targets further City signings|
|Sevilla complete Krychowiak deal|
|Eisfeld makes Fulham move|
|Zarate opens account as West Ham stumble|
|I have nothing to prove, says Ince|
|Barcelona seal Mathieu deal|
|United prepared to spend big, claims Woodward|
|Shakhtar to play in Lviv|
|Pereyra poised for Juve switch|
|Fabregas eyes trophies at Chelsea|
|Vorm confirms Tottenham transfer|
|Deila: Forster will leave Celtic eventually|
|No pressure for Shaw|
|Van Gaal happy with preparations|
|Diarra aiming for Bordeaux return after West Ham frustration|
|Last season for Montpellier owner Nicollin|
|Monaco: Rodriguez deal too good to ignore|
|Nacional Asuncion 2 Defensor Sporting 0: Hosts surge towards Libertadores final|
|Garcia eyeing Serie A title|
|Father against Vlasic´s move abroad|
|Rodgers welcomes Gerrard´s international retirement|
|Cruzeiro, Atletico Mineiro bid for Robinho|
|Inzaghi not drawn into Balotelli speculation|
|Dunga ´not going to sell a dream´|
|City´s Fofana allegedly racially abused|
|Carroll ruled out of NZ friendlies|
|Rodgers excited by new arrivals|
|Zeljeznicar 2 Metalurg Skopje 2 (agg 2-2): Visitors advance on away goals|
|Gibson returns as Tranmere hold Everton|
|UEFA Champions League Review: Celtic coast through, BATE given scare|
|Gomez and Jones feature in Sunderland win|
|Leicester hit Ilkeston for six|
|Austin fires QPR to narrow victory|
|Guardiola: No trophies and I may be sacked|
|Dortmund held as Immobile makes debut|
|Rodriguez´s dream becomes Real|
|Garcia: Benatia and Ljajic going nowhere|
|Stoke secure Bojan on four-year deal|
|FA: No World Cup bids for England|
|Kroos commits to Bremen|
|Caulker makes QPR move|
|Forest agree Hunt loan deal with Palace|
|Bartra ready to prove himself at Barca|
|Southampton looking to sell Osvaldo|
|Marveaux loaned to Guingamp|
|Mourinho eyes success on two fronts|
|Sammer encouraged by Lewandowski start|
|PSG punished for abuse of Chelsea fans|
|Dunga unveiled as Brazil coach|
|Shakhtar CEO: Focus is on players´ safety|
|Foster agrees new West Brom deal|
|Real Madrid sign Rodriguez|
|Mustafi eyes Bundesliga switch|
|Klopp laughs off Hummels, Reus speculation|
|Campana makes Sampdoria switch|
|Leicester seal Ulloa deal|
|Morata sidelined for seven weeks with knee injury|
|Riviere on target in comfortable Newcastle win|
|Advocaat set for Serbia role|
|Wisdom joins West Brom on loan|
|Bundesliga to consider vanishing foam|
|Five-man shortlist for Ivory Coast|
|´Personal issues´ keep Gervinho away from Roma tour|
|Jedinak raring to go|
|Borini set for Liverpool stay, claims agent|
|Koeman: No bids for Lovren|
|Livermore: England hopes shouldn´t hinge on club side|
|MLS Preview: Tough tests for Conference leaders, Revolution still struggling|
|Mathieu not Barca material, says Marquez|
|West Brom claim unimpressive win in Sacramento|
|Neymar: Brazil behind Germany, Spain|
|Vietnamese police confirm match-fixing players|
|Lucescu blames Joorabchian for AWOL players|
|Robinho undecided on future|
|Rush: Still years left in Gerrard|
|Tiago re-signs with Atletico|
|Puyol against Spain overhaul|
|Agger considering his Liverpool future|
|Peruvian Primera Division Review: Juan Aurich bounce back, Melgar draw with Inti Gas|
|Bayern deny interest in Cuadrado|