Santi Cazorla and Juanfran were on target as Spain laboured to a 2-1 friendly victory over Equatorial Guinea.
The world champions dominated the majority of the game in Malabo on Saturday but were wasteful in front of goal, with substitute Fernando Llorente particularly guilty.
Andoni Goikoetxea's charges briefly threatened a shock draw when Jimmy Bermudez cancelled out Arsenal midfielder Cazorla's opener, but Juanfran's winner spared Spain's blushes.
Spain produced the best openings of the first half and Jesus Navas' lob almost put the visitors ahead efore Cazorla capitalised on a mistake from Danilo.
Equatorial Guinea equalised through Bermudez's header, but the sides were level for just seven minutes as Juanfran thrashed home from close range.
Spain had several opportunities to increase the lead and Llorente thought he had added a third, only for Andres Iniesta to be ruled offside in the build-up.
Vicente del Bosque took the opportunity to rest several of his star players and handed a debut to Marc Bartra, while Ivan Bolado was given the role as Equatorial Guinea's lone striker.
The visitors dominated first-half possession and were nearly ahead as early as the seventh minute when Navas' inventive chip almost dipped over Danilo.
Spain were duly rewarded for their pressure six minutes later, when Danilo dropped a straight-forward cross from Juan Mata and Cazorla profiting from the gaffe as he tapped into the empty net.
Equatorial Guinea had their first sight of goal after 35 minutes when Rodolfo Bodipo met Javier Balboa's centre, but his strike was deflected over the crossbar.
And from the resulting corner the home fans were sent into delirium when Bermudez levelled by rising highest to head home Juvenal Edjogo's delivery.
However, their joy was short-lived as three minutes before the break Cazorla's cross deflected into the path of Juanfran and he rifled home from close range.
Llorente was introduced as a second-half substitute and will feel he could have done better after 54 minutes when he shot tamely at Danilo from Navas' cushioned header.
The Juventus striker did have the ball in the back of the net on the hour-mark when he tapped home Iniesta's centre, but the Barcelona midfielder was harshly adjudged to be offside in the build-up.
Spain's dominance continued and Llorente missed another clear opportunity with a weak back-post header from Navas' deft cross with 20 minutes remaining.
Several substitutions in the close stages stemmed the flow of the match, as Spain comfortably saw out the victory.
|Coach: Andoni Goikoetxea|
for Iván Bolado 46'
for Thierry Fidjeu 61'
for Doualla 82'
for Javier Balboa 86'
for Juvenal 89'
|Ligue 1 Wrap: Lille pull clear of Saint-Etienne, Lyon stage dramatic fightback|
|Thohir hints at Zanetti retirement|
|Serie A Wrap: Callejon sinks Roma, Juventus equal record|
|Ancelotti urges Real focus|
|Lazio fans boycott match in protest|
|CAF Confederation Cup Wrap: Djoliba, Petro de Luanda progress|
|CAF Champions League Wrap: Al Ahly survive after shootout, Cotonsport hammer Flambeau|
|League One Preview: Sheffield United out to build on cup exploits|
|UEFA Champions League Preview: Atletico Madrid v Milan|
|UEFA Champions League Preview: Bayern Munich v Arsenal|
|La Liga: Real Madrid 3 Levante 0|
|Pellegrini wants reaction in Barcelona|
|Championship Preview: Derby aim to bounce back, QPR face Brighton|
|Bundesliga Wrap: Dortmund edge Freiburg, Mainz rescue point|
|Rosler revels in Wigan success|
|Eredivisie Wrap: Ajax held, Twente beaten|
|Kehl is Dortmund´s man with a plan|
|Poyet eager to forget cup exploits|
|Thai Premier League Wrap: Muang Thong United, Buriram United with perfect starts|
|FA Cup: Manchester City 1 Wigan Athletic 2|
|Mazzarri warns Inter after narrow win|
|Bruce excited by ´great´ FA Cup draw|
|Mata optimistic ahead of key games|
|Mata optimistic ahead of key games|
|League Two Preview: Chesterfield eye riposte, Scunthorpe meet Southend|
|Bundesliga: Freiburg 0 Borussia Dortmund 1|
|Hull to face Sheffield United in FA Cup semis|
|Powell switches attention to league after Cup exit|
|Montella bemoans slow Fiorentina start|
|Serie A: Inter 1 Torino 0|
|FA Cup: Hull City 3 Sunderland 0|
|Conte declares Juve ´50 per cent champions´|
|Clough aiming for more glory days|
|Championship: Blackburn Rovers 1 Burnley 2|
|CSL Wrap: Guangzhou Evergrande, Shandong Luneng make winning starts|
|Etherington set to leave Stoke|
|FA Cup: Sheffield United 2 Charlton Athletic 0|
|Leverkusen´s Hegeler set to miss rest of season|
|Hodgson wants to see out England contract|
|Serie A: Juventus 1 Fiorentina 0|
|Garcia does not fear Getafe sack|
|Gourcuff: Blanc is not a coach|
|Martinez delighted with ´fresh´ Barkley|
|Calderon believes Betis can survive|
|K-League Wrap: Ulsan gain Pohang revenge, Jeonbuk beat Busan|
|Abbas lodges complaint over alleged racist abuse|
|A-League Wrap: Brisbane extend lead, Perth hold Wellington|
|Solskjaer praises ´leader´ Caulker|
|Defeat to Fiorentina was a ´wake-up call´, says Conte|
|Wenger confident ahead of Bayern challenge|
|Hughton frustrated at missed opportunities|
|Mourinho insists title in City´s hands|
|Stuttgart replace Schneider with Stevens|
|MLS Wrap: Vancouver thrash Red Bulls, Sporting fails in Seattle|
|Ranieri hails Berbatov´s performance after maiden goal|
|Schneider refuses to ´run away´ from Stuttgart|
|´Loyalty´ means nothing to Hodgson|
|CONCACAF Champions League Preview: Cruz Azul next for Sporting|
|Hoddle: Sherwood should have kept complaints in-house|
|Penalty hero Leno worried about Leverkusen´s ´uncertainty´|
|Keller praises Schalke´s ´right response´|
|AFC Champions League Preview: Evergrande face tricky trip|
|Ancelotti hails Isco as ´the new Seedorf´|
|La Liga Wrap: Barcelona lose again, Atletico go top|
|Simeone applauds ´specialist´ Villa|
|Serie A Wrap: Di Natale condemns Milan to defeat, Catania held by Cagliari|
|Eredivisie Wrap: Vitesse leapfrog Twente, six on the spin for PSV|
|Primeira Liga: Braga 2 Nacional 1|
|Terry rules out England return|
|CAF Champions League Wrap: Raja Casablanca crash out on penalties, Nkana progress|
|Ligue 1 Wrap: Evian, Valenciennes boost survival chances, Ibrahimovic stars for PSG|
|Mourinho: Spurs didn´t scare us|
|CAF Confederation Cup Wrap: Bayelsa United, Zesco advance|
|Bundesliga Wrap: Augsburg win again, Schalke move level with Leverkusen|
|Sherwood slams sorry Spurs|
|Rapids legend Mastroeni hired as coach|
|La Liga: Celta Vigo 0 Atletico Madrid 2|
|Seedorf rues tired Milan performance|
|Di Natale hails ´important´ Udinese win|
|Susic angered by Dzeko criticism|
|Premier League: Chelsea 4 Tottenham 0|
|Hughton bemoans ´soft´ penalty decision|
|Blanc hails Ibrahimovic after Bastia win|
|Hughes laments ´harsh´ Walters red|
|Serie A: Udinese 1 Milan 0|
|Pulis calls for ruthlessness|
|Solskjaer delights in ´big result´|
|League Two Wrap: Accrington stun Chesterfield, Northampton hold Scunthorpe|
|Scottish Premiership Wrap: Motherwell, Hibs play out thriller, Kilmarnock overcome lowly Hearts|
|Guardiola not satisfied despite Bayern rout|
|Pochettino talks up Southampton World Cup credentials|
|Magath defends Mitroglou|
|Title race not over, claims defiant Martino|
|League One Wrap: Orient held at bottom club Notts County, Wolves go top|
|Championship Wrap: Derby´s promotion bid dented, Barnsley surprise Forest|
|Mel: Van Persie should have seen red|
|Van Persie substitution was planned, claims Moyes|
|Ligue 1: Bastia 0 Paris Saint-Germain 3|
|Premier League: Norwich City 1 Stoke City 1|
|Premier League: Crystal Palace 0 Southampton 1|
|Premier League: Cardiff City 3 Fulham 1|
|La Liga: Real Valladolid 1 Barcelona 0|
|Bundesliga: Wolfsburg 1 Bayern Munich 6|
|Wenger delighted with Ozil showing|
|Martinez questions ´soft´ Arsenal penalty|
|J.League Wrap: Sanfrecce fight back as top four win again|
|Premier League: West Brom 0 Manchester United 3|
|FA Cup: Arsenal 4 Everton 1|
|Garcia piles pressure on Napoli|
|Barca are not in decline, Xavi insists|
|Arbeloa out of Levante clash|
|Montolivo agent rules out Milan exit|
|A-League Wrap: Sydney FC seal first derby win, Jets end Heart run|
|Pellegrini backs Aguero and Negredo|
|Lucas benefiting from first-team run, says Blanc|
|Moyes: Players are behind me|
|Marchisio not motivated by revenge|
|Magath: Must-win game for Cardiff|
|Sherwood: I´m the right man for Tottenham|
|Colombia Primera A Wrap: Double joy for Atletico Nacional|
|Davids: Del Piero should delay coaching plans|
|Copa Libertadores Preview: Atletico Mineiro, Velez Sarsfield near progression|