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'
|Hamstrung Clasie in doubt for Southampton league opener|
|West Ham goalscorer Zarate bemoans Astra comeback|
|Negredo quashes Valencia exit rumours|
|´This is not my Sampdoria´ - president Ferrero|
|Criscito could join Inter - agent|
|CBF endorse Zico´s FIFA presidency campaign|
|Hawit to handle CONCACAF´s referee review|
|Falcao is a ´top, top player´ - Terry|
|Tuchel pleased by Dortmund fighting qualities|
|Premier League rules out schedule changes for Champions League clubs|
|UEFA Europa League Review: Southampton stroll as Sampdoria are humiliated|
|Koeman confident of Southampton progress|
|Bilic frustrated with Collins´ red card, Valencia injury|
|Bamford hits hat-trick in Bromley friendly|
|Southampton 3 Vitesse 0: Play-offs in sight for Koeman’s men|
|Wolfsberger 0 Borussia Dortmund 1: Tuchel begins tenure with narrow win|
|West Ham 2 Astra 2: Collins red allows visitors back in|
|Kukesi - Legia match abandoned|
|Joining Roma an ´easy decision´ - Szczesny|
|Chiriches joins Napoli from Spurs|
|Mihajlovic pleased with Milan improvements|
|Injured Chiellini to miss Supercoppa|
|Newcastle complete Mbemba swoop|
|Blackpool protest incurs FA fine|
|Scottish Premiership Preview: Dons seek to run Celtic closer|
|Paris Saint-Germain v Lyon: Ibrahimovic ready for season opener|
|Wolfsburg v Bayern Munich: De Bruyne centre of attention|
|Real Madrid 0 Milan 0 (10-9 on pens): Real lift second International Champions Cup|
|De Bruyne a doubt for Supercup clash|
|Reine-Adelaide needs time to blossom, says Walcott|
|Rodgers will not rush Ibe development|
|Napoli not interested in selling Higuain - De Laurentiis|
|Wilson agrees Bournemouth extension|
|Messi makes early Barcelona return|
|Ibrahimovic: My next move will be a very big surprise|
|Van Aanholt backs Lens to shine|
|Besiktas complete loan move for Gomez|
|McClaren: No decision on Coloccini future|
|Kane, Kaka hail goalkeeper Rimando|
|Chung eager to become FIFA president|
|Yedlin open to loan move|
|Tigres not scared of River trip - Ferretti|
|MLS Preview: Wright-Phillips, Lampard set to debut|
|´A draw is good for us´ - River´s Gallardo confident of Libertadores success|
|Di Maria poised for PSG switch - Blanc|
|Franjic: Bring on Bangladesh, Tajikistan|
|Van Gaal bemoans De Gea situation|
|MLS All-Stars 2 Tottenham 1: Kane stunner can´t spare Spurs|
|Manchester United 0 Paris Saint-Germain 2: Van Gaal´s defensive frailties exposed|
|Tigres UANL 0 River Plate 0: Visitors lose Gallardo in Copa Libertadores final first leg|
|Penedo parts ways with Galaxy|
|Benitez backs Mihajlovic, Milan to succeed|
|Barnetta joins Union in MLS|
|Allegri critical of Morata´s attitude|
|Franjic targets more A-League glory with City|
|Beto undaunted by Super Cup clash against Barca|
|Advocaat upbeat despite another Sunderland flop|
|McClaren praises Newcastle recruit Mitrovic|
|Payet will improve West Ham - Bilic|
|Pulis confirms interest in Lambert|
|Deila expects tough test in Baku|
|Drogba mobbed by Montreal Impact fans|
|UEFA Champions League Review: Ajax spurn two-goal lead at 10-man Rapid|
|Sunderland´s struggles continue as Doncaster cruise to win|
|Mahrez and Nugent on target in Leicester win|
|Mitrovic tastes debut defeat for Newcastle|
|Celtic 1 Qarabag 0: Boyata snatches crucial win|
|Jablonec 0 Copenhagen 1: Verbic cracker gives Danes the edge|
|Norwich sign Wisdom on loan from Liverpool|
|UEFA Europa League Preview: Koeman plays down importance of Vitesse links|
|Schneiderlin keen to learn from experienced duo|
|Mandzukic´s maiden Juventus goal seals win in Poland|
|Fofana completes Bastia loan|
|Deila delighted that Gordon pledges future to Celtic|
|Grenier ruled out for four months|
|Rooney: United squad ready for title challenge|
|Messi and Neymar available for start of season|
|Szczesny seals Roma switch|
|Benitez cools Mourinho war of words|
|Filipe Luis vows to win back Atletico fans|
|Besiktas in negotiations over Gomez switch|
|Kishna seals Lazio switch|
|Diaby completes Marseille move|
|Platini is bad for FIFA - Prince Ali|
|Bilic keen to make further additions|
|Brady makes Norwich move|
|Southampton complete Caulker loan|
|Rummenigge feels Muller ´will never leave´ Bayern|
|Platini to stand in FIFA presidential election|
|Howedes to remain Schalke skipper|
|Albion sign Hull defender Chester|
|Lucescu defends Fred selection amid doping allegations|
|Fabregas still in love with Arsenal|
|Luis Enrique ´happy´ with Barca´s US trip|
|Mourinho optimistic over Cahill and Costa|
|River owe Tigres´ Esqueda - Mercado|
|Van Gaal expecting big season from Shaw|
|Begovic keen to challenge Courtois|
|Mourinho launches attack on Benitez|
|CONMEBOL ´knocked on a lot of doors´ to keep half-spot - president|
|America 0 Benfica 0 (3-4 on penalties): Primeira Liga champions finally win|
|Napoli striker Higuain ´untouchable´ - Gabbiadini|
|Arsenal´s friendly form will boost confidence - Wenger|
|Nagatomo-Melo swap possible, says agent|
|Chelsea 2 Barcelona 2 (4-2 on penalties): Courtois stars for Premier League champions|
|Eriksen calls for ruthless Spurs|
|Pulis praises Berahino attitude|
|Alderweireld confident of top-four finish|
|Villa ready for tough Spurs clash|
|West Ham edge win on Carrow Road anniversary|
|Kozak scores twice as Villa draw at Wolves|