Spain left Johannesburg with their tails between their legs after falling to a stunning 1-0 loss to South Africa.
The home side were deserving winners at Soccer City, with Vicente del Bosque's side disjointed throughout.
After a first half of few chances, Bernard Parker struck the only goal of the game after latching on to a through ball and finishing well.
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 was 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 see both efforts ruled out 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, with his shot deflecting off Sergio Ramos and striking 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 past 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.
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, as he appeared to injure his knee under no pressure from an opponent.
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, with 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 Confederations Cup final defeat to Brazil.
for D. Claasen 46'
for B. Khumalo 46'
for A. Jali 50'
for O. Manyisa 63'
for B. Parker 90+3'
|Atletico announce Velazquez capture|
|Giroud set for lengthy absence - Wenger|
|Holders City handed home clash with Wednesday|
|La Liga Preview: Saul not worried by Simeone absence, Barca face tough Villarreal test|
|Eto´o retires from Cameroon duty|
|Aston Villa 0 Leyton Orient 1: Late Vincelot winner sends underdogs through|
|Birmingham City 0 Sunderland 3: Late strikes stun hosts|
|Arsenal 1 Besiktas 0 (1-0 agg): Alexis strike takes Wenger´s men through|
|Stoke City 3 Portsmouth 0: Walters brace sees hosts into League Cup third round|
|Burton Albion 1 QPR 0: Late strike seals upset for fourth-tier hosts|
|Ligue 1 Preview: Bordeaux look to maintain 100 per cent start|
|Dunga: No one guaranteed a place in Brazil squad|
|Serie A Preview: Juve´s Allegri era starts at Chievo|
|Mazzarri calls for professional Inter|
|Utrecht swoop for Peterson|
|Deeney extends Watford stay|
|Alonso calls time on international career|
|Bundesliga Preview: Schalke captain Howedes issues rallying cry, Leverkusen face Hertha|
|Fazio joins Spurs from Sevilla|
|Warnock will control transfers - Parish|
|Pochettino wants Soldado and Townsend to stay at Spurs|
|Augsburg v Borussia Dortmund: Weidenfeller returns for wobbling visitors|
|Celtic complete Wakaso deal|
|Seoul 0 Pohang Steelers 0 (aet, 3-0 on penalties): Yu heroics send Seoul through|
|Guangzhou Evergrande 2 Western Sydney Wanderers 1: Wanderers squeeze through on away goals|
|I´m the future, Benatia´s the past - Manolas|
|Osotspa 3 Chiangrai United 3: Visitors secure point with late rally|
|Israel versus Belgium fixture postponed|
|Fernandes reveals Redknapp contract talks|
|Warnock makes Palace return|
|Eto´o grateful to Mourinho|
|Maiga loaned to Metz|
|Pearson rues ´poor´ Leicester display|
|Bruce: Rhodes deal dead and buried|
|Balotelli set to face Tottenham|
|Di Maria wanted Real stay|
|Dyche wary of inflated transfer market|
|Celtic didn´t deserve Champions League, concedes Deila|
|Game of two halves for Koeman|
|Allardyce hails ´inspired´ Howard|
|CONCACAF Champions League Review: Red Bulls up and running, Rodriguez stars for Saprissa|
|Copa Sudamericana Review: Gimenez double helps Emelec through|
|Eredivisie Preview: Guardado set for PSV bow, Ajax eye recovery|
|Van Gaal ´not shocked´ by Dons defeat|
|Deila: Celtic deserved Champions League exit|
|Barca agree deal for Pereira|
|Lopetegui lauds Porto progression|
|League Cup Review: United hammered by MK Dons, West Ham lose on penalties|
|West Brom 1 Oxford United 1 (aet, 7-6 on penalties): Hosts avoid cup shock|
|Manchester United win ´something dreams are made of´ - Robinson|
|UEFA Champions League Review: Celtic out again, Porto safely through|
|United rebuild will take time - Van Gaal|
|Erbil 2 Ha Noi T&T 0 (agg 3-0): Iraqi side comfortably into the AFC Cup semis|
|West Ham 1 Sheffield United 1 (aet, 4-5 on penalties): Valencia miss proves crucial in shootout defe|
|Millwall 0 Southampton 2: Koeman claims first win|
|MK Dons 4 Manchester United 0: Humiliation for Van Gaal|
|Swansea City 1 Rotherham United 0: Gomis off the mark in League Cup clash|
|Leicester City 0 Shrewsbury Town 1: Mangan seals shock win for Shrewsbury|
|Burnley 0 Sheffield Wednesday 1: Visitors dump Dyche´s men out of League Cup|
|Walsall 0 Crystal Palace 3: Gayle treble lifts Palace gloom|
|Gillingham 0 Newcastle United 1: Egan own goal secures Newcastle triumph|
|Coupe de la Ligue Review: Auxerre, Ajaccio secure big wins|
|Al Ittihad 1 Al Ain 3: Gyan helps visitors secure semi-final spot|
|Hull City v Lokeren: Elmohamady calls for vocal support|
|Al Sadd 0 Al Hilal 0 (agg 0-1): Visitors hang on to progress|
|Tottenham v AEL: Pochettino eyes continuation of good form|
|Benitez: The pressure is on Athletic|
|Eto´o completes Goodison Park move|
|Reus nets in Dortmund friendly win|
|Roma secure Manolas signing|
|Aduriz: We can´t play for a draw|
|Al Hadd 2 Al Qadsia 2 (agg 3-3): Last-gasp leveller seals away-goal victory for visitors|
|United break transfer record for Di Maria|
|Hull announce Dawson signing|
|Moses set for Stoke debut|
|Hodgson pays tribute to Lampard|
|UEFA Europa League Play-Off Preview: Lyon look to reverse upset, Inter defend three-goal lead|
|Lukimya pens new Bremen deal|
|Bayern complete Benatia swoop|
|Bayern complete Benatia swoop|
|M´Bia replaces Eto´o as Cameroon captain|
|Palermo complete double defensive deal|
|Bakambu claims Swansea and Freiburg interest|
|Inter v Stjarnan: Mazzarri may tinker for Europa League test|
|Kitchee 0 Ninh Binh 1 (agg 4-3): Hosts hold off strong challenge to reach last four|
|Guardado pens PSV loan deal|
|Lampard announces international retirement|
|Wenger unsure on severity of Giroud injury|
|Mascherano signs new Barca contract|
|Basanta seized Europe chance with Fiorentina|
|Marchisio: Allegri´s philosophy will boost Juve´s Europe hopes|
|Persipura 6 Al Kuwait 1 (agg 8-4): Hosts romp holders to make history|
|Cahill thrilled with Chelsea start|
|Gardner completes Brighton loan|
|Pienaar out of Chelsea clash, Lukaku faces assessment|
|Seoul v Pohang Steelers: Korean rivals battle for AFC Champions League semi spot|
|Lamela keen to add goals|
|Jovetic refuses to take plaudits|
|Henderson tips Balotelli for success|
|Moya takes positives from defensive showing|
|Pepe unperturbed by scrappy showing|
|New youngsters will adapt, says Rodgers|
|Girard confident of Lille progression|
|Riise fears for Fulham under Magath|
|Balotelli: ´It was a mistake´ to leave England|
|Simeone: My suspension made no difference|
|Guangzhou Evergrande v Western Sydney Wanderers: Aussies braced for hostile reception|
|Bayern need time - Alaba|
|Ancelotti: Fatigue behind lacklustre display|
|Pellegrini delighted with Premier League start|
|Moreirense 0 Sporting Braga 0: Conceicao´s men held in Moreira|
|Liverpool will bounce back - Rodgers|