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'
|Mourinho hints at United future for Mata and Fellaini|
|Real Madrid 3 Chelsea 2: Hazard show too late for Blues|
|Penalty woes for Everton, Gray treble inspires Burnley at Ibrox|
|Atleti to present Gameiro on Sunday|
|Ibrahimovic nets debut goal as United put five past Galatasaray|
|Barcelona 3 Celtic 1: Messi, Suarez in action as Catalans cruise to victory|
|WATCH: Zlatan open his Man Utd account with acrobatic goal|
|Alba: It would be foolish not to respect Ronaldo, but Messi on another level|
|Lahm hails ´sensational guy´ Schweinsteiger following Germany retirement|
|Stones´ professionalism praised amid City reports|
|Roma suffer Rui blow|
|Inter complete Ansaldi move|
|Nainggolan confident of Roma challenge despite Juve investment|
|Rummenigge tells off Ribery over Guardiola dig|
|Meli makes Sporting loan switch|
|No repeat of slow start, vows Allegri|
|Mourinho desperately wanted Embolo at Manchester United, claims Heidel|
|Dembele can do anything - Tuchel|
|Pogba arrival would boost Rooney - Yorke|
|Ben Yedder makes Sevilla move|
|De Jong signs PSV renewal until 2020|
|Kovacic to fight for his place at Real Madrid|
|Sturridge out to improve goals-per-game ratio|
|Mourinho hails ´humble´ Ibrahimovic ahead of United debut|
|Schweinsteiger will not leave Manchester United for Bundesliga return - Rummenigge|
|Benatia on target again in Juve win|
|Atletico set to sign Gameiro|
|Zenga appointed Wolves boss|
|Flattered Verratti not seeking Madrid move|
|Ancelotti: Growing transfer fees nothing special|
|Eriksson: Ibrahimovic and Mourinho combo enough to win Premier League|
|Meunier: I could not reject PSG|
|Klopp: I didn´t want Mkhitaryan|
|Anything could happen before transfer window shuts - Zidane|
|Montoya leaves Barca base, nears Valencia switch|
|Wijnaldum: I´m happy to play anywhere|
|Klopp backs Mignolet after Karius injury|
|Liverpool suffer Karius injury blow|
|Ranieri confident Mahrez will stay as contract talks continue|
|Emery confirms interest in Jese|
|Higuain´s Juventus move not about money - agent|
|Wolves sack head coach Jackett|
|Zidane: Ronaldo unlikely to play Madrid La Liga opener|
|Ibrahimovic: United fans are waiting for me|
|Deulofeu shines for Everton, Cook opens Bournemouth account|
|Higuain out to emulate Del Piero|
|Kante does his talking on the pitch - Conte|
|Mourinho explains Fosu-Mensah snub|
|Klopp: No more unwanted players at Liverpool|
|Inter want more than €60m for Icardi - Thohir|
|Leicester can replace Kante - Ranieri|
|Lazio complete Wallace signing|
|Gueye set to join Everton, confirms Di Matteo|
|Tuchel: Transfer market has gone cash crazy|
|Leicester hand King new four-year deal|
|No deal done for Pogba, says Raiola|
|Rooney: Mourinho impact already huge|
|Lafferty hit with FA betting charge|
|Top-four finish never enough for Arsenal, insists Wenger|
|Partey hoping to make his mark on Atletico squad|
|Ibrahimovic in, Schweinsteiger out as United head for Galatasaray friendly|
|Vietto set for Sevilla after completing medical|
|I rejected Besiktas to fight for Barcelona spot, reveals Mathieu|
|De Laurentiis fumes at Higuain´s ´lack of respect´|
|Promising Janssen boosts Tottenham´s title hopes|
|Besiktas sign Adriano on three-year contract|
|Tottenham 0 Atletico Madrid 1: Godin grabs the winner|
|Gomis completes Marseille loan move|
|Iniesta surprised at Casillas-Del Bosque spat|
|New Juve signings do not guarantee success - Allegri|
|New Juve signings do not guarantee success - Allegri|
|Middlesbrough snap up goalkeeper Guzan|
|Guardiola still loves Ribery despite jibes|
|West Ham worry over Tore injury|
|Serie A could be another one-horse race, says Eriksson|
|Schweinsteiger retires from Germany duty|
|Iniesta welcomes Barca´s midfield competition|
|Drogba: No luck in Arsenal scoring record|
|Wenger seeks ´experienced´ striker to bolster Arsenal attack|
|Eriksson and Shanghai SIPG still fighting|
|MLS All-Stars 1 Arsenal 2: Premier League giants win late as Xhaka makes debut|
|Conte: I want aggression and intensity|
|Wimmer backs physical Janssen for Tottenham success|
|Klopp: I wouldn´t spend £100m on one player|