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'
|USA will win a World Cup, says Donovan|
|Pumas UNAM 2 Independiente del Valle 1 (3-3 agg, 3-5 on penalties): Hosts suffer shoot-out heartbrea|
|Gracia leaves Malaga as Rubin Kazan loom|
|Messi: Argentina deserve to be Copa America champions|
|Dybala included in Argentina´s preliminary Olympics squad|
|Mourinho and United a ´good wedding´ - Ancelotti|
|Klinsmann: Copa America better than Euros|
|Messi: Joining Barcelona not an easy decision|
|Carrico receives four-game ban for homophobic slur|
|Dani Alves wants Atletico to win Champions League|
|McNair out to impress ´world-class´ Mourinho|
|Ranieri: Premier League survival is Leicester´s priority next season|
|Argentina forward Lavezzi suffers hamstring scare|
|Koeman talks ´very positive´, say Southampton|
|Rami replaces injured Varane in France´s Euro 2016 squad|
|Matthaus applauds Gotze for rejecting ´easy solution´ of Liverpool|
|Suarez silenced his doubters - De Boer|
|AFC Champions League Review: Jeonbuk, Shanghai SIPG progress|
|Klopp can take Liverpool right to the top, says McAllister|
|Lindelof happy at Benfica amid Real Madrid, Barcelona links|
|Zidane is perfect on and off the pitch - Lippi|
|Bale: Zidane has brought the best out of Real Madrid|
|Favre takes over as Puel and Nice part ways|
|Liverpool complete Karius deal|
|Van Gaal was treated poorly by United, but Mourinho will be a success - De Boer|
|Dani Alves: I have won more titles than Pele|
|I know who I´m taking - Conte sure on Euro 2016 selection|
|Xavi backs Guardiola to ´change the face of English football´|
|Lucescu appointed Zenit boss|
|Manchester United and Liverpool hit with €40,000 fines|
|Weinzierl: I have nothing to lose at Schalke|
|Rangers complete Barton signing|
|Italy better placed as underdogs ahead of Euro´s - Motta|
|Cantona: I love Mourinho, but he is not Manchester United|
|Ben Arfa wants Lyon move - Aulas|
|David Silva praises Iniesta´s Copa del Rey heroics|
|´It was a little scare´ - Ronaldo plays down injury fears|
|Eder the real deal for Lille|
|Van Gaal treated unfairly during Manchester United spell - Daley Blind|
|Ginola doing ´very well´ after heart surgery|
|Depay rules out Manchester United exit following Van Gaal departure|
|Hojbjerg confirms desire to leave Bayern|
|Ronaldo leaves Madrid training early after knock|
|Abbiati unimpressed with Milan players´ attitude|
|Pepe calls on Madrid to continue making history|
|Ayestaran signs two-year deal with Valencia|
|Montolivo, Antonelli sign new AC Milan contracts|
|Ronaldo ready for UCL final after being rested from practice match|
|Hummels, Sanches deals will not stop Bayern spending - Rummenigge|
|Oblak´s penalty heroics, Griezmann´s Barcelona brace - Atletico Madrid´s route to the Champions Leag|
|Salvio all but confirms Gaitan will join Atletico Madrid|
|Motta warns PSG over Ronaldo, Neymar interest|
|Europa League Mourinho´s best hope for United trophy - Sheringham|
|Injustice if Iniesta never wins a Ballon d´Or - Del Bosque|
|Van Gaal didn´t deserve United sacking - Blind|
|I´ll be happy if we make Euro 2016 semi-finals - Del Bosque|
|Koke: Why would I want to leave Atletico?|
|Fofana could retire aged 25 - Lyon president|
|Sandro set to leave Barcelona|
|Silva plays down injury worries ahead of Euro 2016|
|United would be brave to appoint Mourinho, says Schmeichel|
|Neymar adamant he is happy at Barcelona|
|Wilshere: Arsenal play me out of position|
|Ryan backs former coach Neville|
|Keane talks up Galaxy move for Ronaldo|
|´Free agent´ Diarra wants Mourinho reunion|
|Eintracht Frankfurt beat Nuremberg to secure Bundesliga status|
|Manchester United to turn to Mourinho, the man who most resembles Ferguson|
|Manchester United kids are Van Gaal´s legacy - Ferdinand|
|´Sex-masochism´, ´fat man´ and ´Mr Mike Smalling´ - Van Gaal´s best quotes as Manchester United mana|
|I have fulfilled a long-held ambition - ´Very disappointed´ Van Gaal´s statement in full|
|Van Gaal should call time on career after Manchester United sacking|
|Better than Busby? - The stats behind Van Gaal´s United exit|
|Van Gaal sacked by Manchester United|
|Suarez expected to miss Copa America group stage|
|Herrera wants more trophies with Manchester United|
|FIFA sacks deputy secretary general Kattner|
|Asensio wants to fight for his chance at Real Madrid|
|SFA to investigate Rangers-Hibernian disorder|
|Van der Wiel takes aim at Blanc after PSG exit|
|Halilovic: Missing Euro 2016 would not be a tragedy|
|Van Gaal leaves United training ground as Mourinho speculation goes on|
|Zanetti rules out Inter move for Simeone|
|Rodgers adamant Celtic is not a step down|
|Sanches chose Bayern Munich over Manchester United|
|Rosicky was the perfect player for Arsenal - Wenger|
|Tonelli becomes Napoli´s first close-season signing|
|Thigh injury rules Steffen out of Euro 2016|
|Gotze is a perfect fit for Liverpool - Hitzfeld|
|Hummels completes Bayern move after passing medical|
|Guardiola era has been sensational - Neuer|
|Bayern will never sign a Messi or Ronaldo - Hitzfeld|
|Wilkins backs Mourinho appointment|
|Suarez´s Copa America hopes alive despite hamstring injury|
|Delneri exits Verona following relegation|
|Ireland´s Wilson ruled out of Euro 2016|
|Gotze looking forward to new season with Bayern|
|Pirlo, Giovinco out of Italy Euro 2016 squad|
|Coleman signs new Wales contract|
|Gotze talk intensifies as Bayern Munich forward leaves agent|
|Rami called up by France following Varane injury|
|United States v Ecuador: Klinsmann pins hopes on Yedlin as Copa preparations continue|
|Gabriel, Lucas Lima unsure on Santos futures|
|AC Milan to terminate Mihajlovic deal in June|
|Emery confirms Banega will leave Sevilla|
|Neville still unsure over Valencia future|
|Van Gaal arrives at United training ground amid Mourinho talk|
|Messi: We suffered but we won together|
|Evra confirms two-year Juventus deal|
|Son unfazed by Tottenham exit rumours|
|Argentine footballer dead after being struck in head|
|Arnautovic refuses to commit to Stoke|
|Sirigu: PSG wanted me out|
|MLS Review: Galaxy held by Earthquakes, Timbers end skid|
|Alba: Messi deserves credit for my goal|
|Pique: Barca deserved Copa del Rey title|
|Smalling admits relief after Lingard winner|
|Suarez, Barca unsure on extent of injury|
|Luis Enrique revels in Barca´s spectacular end to season|
|Emery proud in Copa del Rey defeat|
|Rooney hopes FA Cup lifts United - with or without Van Gaal|
|Iniesta: Copa del Rey win caps magnificent season|
|Barcelona 2 Sevilla 0 (AET): Alba and Neymar decide heated Copa del Rey final|