Spain's return to the scene of their 2010 FIFA World Cup triumph was soured by a 1-0 defeat to South Africa on Tuesday.
South Africa deserved to win at Soccer City in Johannesburg, with Vicente del Bosque's side disjointed throughout, rarely testing Itumeleng Khune in the home goal.
After a first half of few chances, Bernard Parker struck the only goal of the game, latching on to a throughball and finishing well, Nacho Monreal unable to save his side, despite an acrobatic attempted clearance.
Goalkeeper Victor Valdes had entered the game at half-time, but was forced from the pitch with a painful looking knee injury that forced him from the field.
Del Bosque made 10 changes to the side that edged past Equatorial Guinea 2-1 on Saturday, Xabi Alonso the only man retained, while four of South Africa's XI from their 3-0 triumph over Swaziland were again picked by Gordon Igesund.
Spain looked to exploit the hosts' high defensive line with David Villa finding the net twice in the opening seven minutes, only to be denied by the offside flag.
South Africa grew in confidence after their shaky start and almost took the lead through Oupa Manyisa in the 17th minute.
The Orlando Pirates midfielder picked the ball up 30 yards out and crashed an effort at goal that deflected off Sergio Ramos and looped over a stranded Iker Casillas but bounced over via the crossbar.
After a promising start, the half fizzled out into a scrappy affair with Alonso whipping a low free-kick wide and Bongani Khumalo crashing a header wide of the near post with the last action of the opening period.
Tokelo Rantie blazed a gilt-edged chance over two minutes into the second period, while Andres Iniesta brought a smart save from Khune, but it was the hosts who took a shock lead in the 56th minute.
Thabo Matlaba burst up the left wing before neatly finding Parker, who dinked over substitute goalkeeper Valdes with Monreal unable to prevent the goal.
A raft of substitutions seemed to have only further dented Spain's fluidity and there was further cause for concern as Valdes was forced off with 15 minutes to go, appearing to injure his knee in innocuous circumstances.
Pepe Reina became Spain's third keeper of the night, after a lengthy delay as South Africa fumed over the visitors' attempts to use a seventh change of the game - the most permitted for a friendly is six.
Del Bosque could only watch on as his side failed to draw level, Khune denying Raul Albiol's toe-poked effort in the last minute of stoppage time as Spain slipped to their first loss since July's 3-0 FIFA Confederations Cup final loss to Brazil.
for D. Claasen 46'
for B. Khumalo 46'
for A. Jali 50'
for O. Manyisa 63'
for B. Parker 90+3'
|FIFA World Cup Final Preview: Germany´s route to the final|
|FIFA World Cup Final Preview: Brazil 2014 produces moments to remember|
|SJ Earthquakes 1 DC United 2: Johnson, Silva score as Eastern Conference leaders extend advantage|
|Otamendi unfazed by price tag|
|Sam targeting top three with Schalke|
|Rodriguez out for revenge|
|Bruno Alves could leave Fenerbahce|
|Thiago Silva endured sleepless nights|
|Final on enemy soil ´special´, says Zabaleta|
|Arteta: Sanchez signing highlights Arsenal´s ambition|
|Mertesacker demands repeat performance|
|Scolari gets federation backing|
|Balotelli poses with shotgun|
|Lizarazu lauds Argentina´s craftiness|
|New deals for Moore, Schlupp|
|Litex Lovech 3 Veris 0 (3-0 agg): Bulgarians through to second round|
|Valencia loan Fede to Cordoba|
|Stoke closing in on Bojan|
|Inter still hopeful of Jovetic capture|
|Finalists dominate Golden Ball nominees|
|Celtic end Austria tour unbeaten|
|Rizzoli appointed World Cup final referee|
|Oier joins Granada|
|Escriba extends Elche agreement|
|Newcastle have agreement for Cabella, says Nicollin|
|Scolari: We have to move on|
|Roma complete Emanuelson deal|
|Alex pledges to improve Milan|
|Di Maria doing everything he can, says agent|
|Villa give Richardson a Premier League return|
|Sabella ´to step down´ after World Cup final|
|Van Gaal eyes ´unbeaten´ campaign|
|Suarez to take case to CAS|
|Germany have same spirit as in 1990, says Beckenbauer|
|´Quite clear Suarez wanted to leave´ - Liverpool fanzine|
|Southampton closing in on Pelle deal - Koeman|
|Suarez, Ronaldo, Bale and more: The Premier League talent drain|
|Augsburg capture Caiuby|
|Gerrard lauds departing Suarez|
|Andrade delighted at Benfica return|
|No Bony talks with Liverpool - Swansea|
|Lahm: Experience will be key|
|FIFA World Cup Preview: Brazil v Netherlands|
|Suarez departs Liverpool with ´heavy heart´|
|Liverpool did everything to keep Suarez - Rodgers|
|Suarez to sign for Barca|
|Boyce: Referees not told to be lenient|
|Sanchez reveals Wenger admiration|
|Flick staying secretive on Messi plans|
|Determined Dyche aims to complete more deals|
|Matri joins Genoa on loan|
|Valderrama talks up James potential|
|Aguero: Argentina are World Cup underdogs|
|Everton in talks over Traore return|
|Lambert tipped to prise open defences|
|Thauvin hails Bielsa impact at Marseille|
|Zico: Time for Scolari to go|
|Klopp eager for defensive improvement|
|Arsenal to run the rule over Fathi|
|Chamakh signs news Palace deal|
|Neville set to learn United fate|
|Fiorentina swoop for Brillante|
|Navas set to join Bayern|
|Neymar rejects agent´s anti-Scolari Twitter tirade|
|Allegri undecided on Italy job|
|Fernando idolises City team-mate Toure|
|Arteta: FA Cup will inspire Arsenal´s Premier League tilt|
|Evergrande confirm Gilardino signing|
|Howedes calls for team effort to stop Messi|
|Kuyt: Van Gaal can succeed at United|
|Argentina fined for player no-show|
|Neymar: ´I could be in a wheelchair´|
|Mascherano: I tackled doubts to block Robben|
|Zaccheroni: I leave Japan in a good spot|
|Aguero: Argentina ready to give everything|
|UEFA Europa League Review: Gothenburg leave it late, Sillamae stun Honka|
|Klose lauds Ronaldo after scooping record|
|Iran refute Susic claims|
|Fernandez named Deportivo boss|
|Argentina have no chance, says Robben|
|Hierro to replace Zidane as Real first-team coach|
|Rhodes signs new Rovers deal|
|Arsenal complete Sanchez swoop|
|Inzaghi backs under-fire Balotelli|
|Defeat has overshadowed display - Vlaar|
|Maradona: Germany full of themselves|
|Barry hoping for England recall|
|Green extends QPR stay|
|Shanghai Shenhua 1 Guangzhou Evergrande 2: Rong leaves it late in dramatic win|
|Germany hope for Brazilian support|
|Torino striker Cerci in demand|
|FIFA critcised following Mascherano incident|
|Bernat happy at Bayern despite bad memories|
|Giggs backs Van Gaal to thrive at Old Trafford|
|Tadic can fill Lallana void - Koeman|
|New five-year deal for Nasri|
|Barcelona release injury-hit Cuenca|
|Suarez appeal rejected|
|La Decima a reflection of Di Stefano - Perez|
|Buoyant Mazzarri eager for Inter success|
|Mandzukic joins Atletico|
|Van Gaal criticises third-place play-off|
|Halilhodzic yet to decide future|
|Mandzukic eager for Simeone link-up|
|Davies hoping for Hull deal|
|Poyet hopeful over Altidore fitness|
|Diego close to ´dream´ Fenerbahce move|
|Inter loan out youngsters|
|Fired-up Cole can inspire Villa, claims Lambert|
|Hughes hailed for winning over Brit doubters|
|Hajrovic signs for Bremen|
|Hull can buck Europa League trend, says Meyler|
|Mertesacker talks up German chances|
|Swansea reveal Tottenham contact over Davies, Sigurdsson|
|Lloris pens five-year deal at Tottenham|
|Fernandinho: ´The pain is big´|
|MLS Preview: Portland aim for swift revenge against Seattle|
|Sabella: Germany have an advantage|
|Second Argentine journalist dies in Brazil|
|Aguero: Argentina defied critics|
|Impressive Mascherano thrilled with final´s berth|
|Zuniga offered protection by Colombia|
|Germany vowed not to ´humiliate´ Brazil|
|Hong resigns from South Korea post|
|Third-choice Vlaar ´wasn´t nervous´|
|Van Gaal: I wanted Krul in the shootout|
|Argentina: Key factors in reaching the final|
|Sabella revels in semi-final win|
|Proud Robben feels pain of World Cup exit|
|FIFA World Cup: Netherlands 0 Argentina 0 (after extra time, 2-4 on penalties)|
|Susic signs two-year extension with Bosnia-Herzegovina|