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'
|Guardiola pays tribute to battling Mainz|
|Orlando City sign Shea|
|Porto 4 Vitoria Setubal 0: Brahimi inspires late drama|
|League Two Review: Burton held, Cambridge snatch late point|
|Millwall 0 Bolton Wanderers 1: Pratley nets winner for visitors|
|Lens 2 Nice 0: Cyprien and Coulibaly lift hosts|
|Celta Vigo 0 Almeria 1: Nolito miss proves costly|
|Heerenveen 0 ADO Den Haag 0: Visitors´ winless streak extended|
|Mainz 1 Bayern Munich 2: Guardiola´s men break Christmas points record|
|Blanc unconcerned by league placing|
|United targeting title - Carrick|
|Soldado ´ashamed´ at not performing for Spurs|
|Ramos to wait and see on fitness for final|
|Garcia wins appeal against two-match ban|
|Hart signs new City contract|
|Hereford United wound up|
|Pearson given touchline ban for fan row|
|FIFA confirms third-party ownership ban|
|Inter v Lazio: Ranocchia wants to build momentum|
|Rodgers hits out at Sterling criticism|
|Pardew backs Colback to shine against Sunderland|
|Minimal recovery time a concern for Bauza|
|Liverpool v Arsenal: Wenger out to avoid repeat performance|
|Newcastle United v Sunderland: Pardew calls for a derby day show|
|Adebayor available for Burnley clash|
|Athletic Bilbao v Atletico Madrid: Simeone´s men eye fitting response|
|Targett commits to Southampton|
|Garcia vows to attack Milan|
|City still without strike trio for Palace test|
|Courtois set for return at Stoke|
|Di Maria set for possible United return at Villa|
|Neymar in frame for Cordoba match|
|FIFA to publish Garcia report|
|Liverpool will not appeal Balotelli ban|
|A-League: Newcastle Jets 2 Adelaide United 1|
|Fournier eyes Fekir stay and attacking reinforcements|
|Abidal announces retirement ahead of potential Barca return|
|Redknapp: Crouch deal not possible|
|Klaassen laments Ajax ´off-day´|
|Wenger not fearful of another Anfield nightmare|
|Whelan wants to extend Stoke stay|
|Kalou eyes Hertha exit|
|Fellaini: Belief growing of title tilt at United|
|Benteke: Villa transfer request was a mistake|
|Gerrard urges Sterling to stay put|
|Pardew calls for calm ahead of derby clash|
|Kerala Blasters v Atletico de Kolkata: Luis Garcia talks up team ahead of final|
|Monk wants three new Swansea signings|
|Koeman plays down Sneijder link|
|Howard targets another World Cup|
|Inzaghi prepared for Stadio Olimpico atmosphere|
|Toronto expect Defoe to return|
|Rodriguez suffers injury setback|
|Klopp denies Dortmund departure plans|
|Copa del Rey Review: Bilbao and Elche edge through, Madrid derby beckons|
|Simeone refuses to criticise Atleti display|
|Serie A Review: Juventus and Napoli brush aside lowly opponents|
|Allegri and Juve ride through unusual Cagliari approach|
|Agent - Hernandez not giving up at Real|
|Atletico Madrid 2 L´Hospitalet 2 (5-2 agg): Spectacular Alcaraz double seals draw for minnows|
|Bruce: Ben Arfa has played his last game for Hull|
|Cagliari 1 Juventus 3: Juve ease into mid-season lead|
|Howard: Mignolet fighting for his Anfield career|
|Aston Villa v Manchester United: Visitors aim to stretch impressive run|
|QPR v West Brom: Irvine enjoying fruits of his labour|
|Balotelli banned for one match over controversial image|
|West Ham v Leicester City: Allardyce wary of fatigue|
|Hull City v Swansea City: Monk dismisses one-man-team tag|
|Dawson set to miss up to five weeks|
|De Boer coy on Ajax exit rumours|
|Hughes keen for Crouch stay|
|Lambert reiterates no issue with Keane|
|Inzaghi confident of ´great things´ for Milan|
|Barcelona v Cordoba: Catalans aim to end year in style|
|Koeman rules out Sneijder move|
|Southampton v Everton: Martinez ignoring hosts´ slump|
|Roma v Milan: Mexes targeting greater consistency|
|Jardim wary of Monaco fatigue|
|Tottenham v Burnley: Bentaleb sets sights on top four|
|Manchester City v Crystal Palace: Warnock has no fear|
|Wenger hopeful on duo for Liverpool clash|
|Alonso and Lewandowski out of Mainz clash|
|Cruz Azul v Auckland City: Tena wants Real reaction|
|Warnock: Palace have no chance of signing Cole|
|Allardyce in no rush for contract talks|
|Uche signs Villarreal extension|
|League One Preview: Sheffield United and Yeovil back in league action after cup exploits|
|Real Madrid v San Lorenzo: Casillas set for landmark appearance in final|
|Ronaldo more impressive than Messi, says Carlos|
|Poyet desperate for recruitments|
|Palace suffer Chamakh blow|
|Germany end year at top of FIFA rankings|
|Martinez calms Mirallas injury fears|
|Clayton ruled out for the season|
|Cabaye pleased to play full game|
|Klopp upbeat despite late equaliser|
|Cech: We can be best ever Chelsea side|
|Newcastle face goalkeeper crisis ahead of derby|
|Werder Bremen v Borussia Dortmund: Bundesliga stugglers targeting morale-boosting win|
|Medellin 1 Santa Fe 2: Visitors fight back to win|
|Barcelona 1 Emelec 1: Ecuadorian Primera A Third Stage play-off evenly poised|
|Sporting Cristal 0 Juan Aurich 0: Third leg required to decide Peruvian champions|
|Bauza ´delighted´ after San Lorenzo reach final|
|Paris Saint-Germain v Montpellier: PSG look to build|
|Bundesliga Preview: Bayern seeking to extend unbeaten start before winter break|
|Contra, Michel join Guangzhou R&F|
|Naismith signs Everton extension|
|Palestino 3 Santiago Wanderers 1: Title drought almost over for hosts|
|Copa del Rey Review: Finnbogason breaks drought in Sociedad win|
|Coupe de la Ligue Review: PSG scrape into quarters, Lille, Monaco win on penalties|
|Worcester City 1 Scunthorpe United 1 (aet, 13-14 on pens): League side narrowly avoid shock|
|Stambouli hails ´perfect´ Tottenham|