Fortortaleza - Jesus Navas settled a nail-biting penalty shoot-out 7-6 for Spain as the world and European champions edged Italy on a sultry evening in Fortaleza on Thursday to set up a Confederations Cup final meeting with Brazil.
After the semi-final finished goalless following extra time, Leonardo Bonucci proved the fall guy for the Italians, blazing the 13th kick of the shoot-out over the bar before Manchester City new boy Navas calmly tucked his penalty home.
Spain will now seek to complete the set of senior international titles, having also won Olympic gold in Barcelona in 1992, but hosts Brazil were spared a 120-minute semi-final and will have had 24 extra hours to recover.
Italy were left to curse their luck after initially shackling Spain in the first half, and coach Cesare Prandelli must now galvanise minds and bodies for Sunday's meeting with Uruguay in the third-place play-off.
He will nonetheless draw solace from the way his side matched Spain, having seen Italy crushed 4-0 when the sides last met in last year's one-sided Euro 2012 final in Kiev.
Chastened by the memory of that game, Prandelli reverted to the formula he had successfully used in the 1-1 draw between the sides earlier in that tournament.
Italy lined up with a three-man defence and no fewer than six midfielders at Estadio Castelao, Claudio Marchisio and Antonio Candreva providing support for lone striker Alberto Gilardino.
As a result, Spain's intricate passing exchanges foundered far from the Italian goal, and Prandelli's men were bold in their exploitation of the space behind the Spanish defence.
Right wing-back Christian Maggio was particularly prominent, heading over from a corner and then drawing a fine save from Iker Casillas with a header after Andrea Pirlo picked him out with a raking 60-yard pass.
The Napoli man seemed destined to break the deadlock in the 36th minute when Emanuele Giaccherini's inviting cross found him steaming in on Casillas' goal, but his header was straight at the goalkeeper.
Within seconds, Fernando Torres almost punished Italy, but after neatly outfoxing Andrea Barzagli, he drilled his left-foot shot across goal and wide.
Amid cloying humidity, the intensity dropped in the second half, and Spain occasionally found themselves in the unfamiliar position of hearing their opponents' passing combinations celebrated with chants of 'Ole!'
Spain centre-back Gerard Pique, watched by celebrity girlfriend Shakira, could have settled the tie in the 85th minute, but he blazed over from Navas' low pass and the game went to extra time.
Italy almost broke through in the third minute of the extra period when Emanuele Giaccherini rattled the post with a rising left-foot drive.
Del Bosque elected to swap Torres for holding midfielder Javi Martinez, but it gave Spain momentum, with Pique and Jordi Alba both going close.
Substitute Juan Mata also curled wide, before Italy goalkeeper Gianluigi Buffon unconvincingly palmed a shot from Xavi onto the post and Martinez's follow-up effort evaded Mata's toes by inches.
Buffon also had to touch away a low effort from Navas as Spain threatened to snatch victory at the death, but thanks to Bonucci's misfortune, the Spain substitute would still have the final say.