David Villa ensured Spain will begin their FIFA World Cup defence on the back of a win - scoring twice in a 2-0 victory over El Salvador.
Spain's record goalscorer and recent New York City acquisition was required to spare his country's blushes as they were forced to work hard at FedEx Field in Maryland on Saturday.
Cesc Fabregas' penalty woes at international level continued as he spurned a spot-kick early on in what proved to be a frustrating goalless first half for the world and European champions.
However, substitute Villa opened the scoring 15 minutes into the second half when he fired home Sergio Ramos' headed knockdown into an empty net.
He then added a second two minutes from time to cap off a positive outing for Spain, who were given a stern test of their offensive capabilities.
Despite recent injury problems, Diego Costa came through 74 minutes unscathed to boost Vicente Del Bosque's side of their World Cup opener against the Netherlands on Friday.
Fabregas wasted a glorious opportunity to open the scoring from the penalty spot after just four minutes following a foul on Costa by goalkeeper Derby Carrillo inside the area.
However, the Barcelona man sidefooted his penalty over the crossbar as he missed a third spot-kick in normal time for his country.
Carrillo was busy early on - first thwarting Pedro with a good save one-on-one before keeping a speculative long-range drive from Ramos out.
Del Bosque's men continued to probe but, for all their dominance, they were frustrated by a resilient El Salvador back line.
Spain were given a scare when Jordi Alba went off for treatment following a strong challenge, although he was able to return to action soon afterwards.
Alexander Larin then had El Salvador's first attempt on goal - a free-kick from well outside Spain's penalty area that went high and wide - before Spain resumed their near-complete control of possession.
Despite plenty of intent, Spain's deft lobbed passes and slick movement failed to yield a breakthrough before the interval, with Del Bosque opting to replace Fabregas, Andres Iniesta and Pedro with Villa, Santi Cazorla and David Silva.
The latter produced a strong run shortly after the break but saw his shot blocked, before Villa was denied by Carrillo at close range.
However, the experienced forward was on hand just before the hour to capitalise on Ramos' knockdown and finish well into an open goal.
Sergio Busquets was unfortunate not to add to Spain's tally when his long-range strike hit the crossbar, but Villa did finally add gloss to a hard-fought win when he slotted home Silva's cross following a clever turn late on.
|Coach: Albert Roca|
for K. Santamaría 57'
for A. Álvarez 65'
for A. Flores 75'
for R. Menjívar 83'
for J. Barrios 87'
|Hareide lauds Malmo support|
|Simeone delighted with Atletico|
|Hasi: Anderlecht not good enough|
|San Lorenzo 2 Olimpo 0: Hosts bounce back|
|Sousa: ´It was glorious´|
|Terry moved to tears after Chelsea failure|
|Prandelli defiant over tactics despite loss|
|Salvio - We´ll keep fighting|
|Bender thrilled with ´backs to the wall´ win|
|Dermendzhiev hails courageous Ludogorets|
|Championship Review: Fulham crush Bolton|
|Klopp hails Kagawa, expresses Kehl concern|
|Wenger pleased with wonderful Welbeck|
|Juanfran warns Atleti after Juve win|
|Ronaldo injury not serious, says Ancelotti|
|Rodgers left to rue another Liverpool set-piece slip-up|
|Chiellini holds regrets over Atletico defeat|
|Atletico Madrid 1 Juventus 0: Turan winner ends Juve streak|
|Malmo 2 Olympiacos 0: Rosenberg´s brace creates history for hosts|
|La Liga Preview: Bilbao face uphill task at Real, Valencia host Atletico|
|Arsenal 4 Galatasaray 1: Welbeck treble ensures happy anniversary for Wenger|
|Bayer Leverkusen 3 Benfica 1: Son inspires dominant Leverkusen|
|Ludogorets 1 Real Madrid 2: Benzema spares blushes for visitors|
|Basel 1 Liverpool 0: Streller strike gives Swiss side victory|
|Anderlecht 0 Borussia Dortmund 3: Immobile, Ramos help Germans cruise|
|Berbatov could miss PSG clash|
|Hamsik looking forward to ´special´ Slovan homecoming|
|League Two Preview:Debt-free Portsmouth in party mood|
|Villas-Boas critical of Zenit performance|
|Eredivisie Preview: Amsterdam giants out to avenge humiliation|
|Ligue 1 Preview: Stuttering title favourites face off in Paris|
|Martinez does homework on Krasnodar|
|Zenit 0 Monaco 0: Hosts held to dour draw|
|Pochettino backs Adebayor to find form|
|Pazzini relaxed over Milan progress|
|Ramsey and Allen to miss Wales qualifiers|
|Icardi open to new Inter contract|
|Mazzarri wants Inter perspective|
|Ideye close to Albion return|
|Ogunode doubles up in Incheon|
|K. League Review: Jeonbuk extend lead as Pohang lose|
|Western Sydney Wanderers 2-0 Seoul (agg 2-0): Poljak and Cole fire Australians to final|
|Zamora impressed by Vargas|
|Benteke return has boosted Villa – Weimann|
|Muniesa determined to keep starting spot|
|Diaby prepared to adapt|
|Players to blame, not Pardew - Williamson|
|Dyche looking for squad to step up|
|Havenaar and Kagawa earn Japan recalls|
|Relieved Terry glad to bounce back|
|Martinez backs Besic to shine|
|We paid dearly - Iniesta|
|Blanc hails PSG spirit|
|Tempo not good enough for Milner|
|Rodgers: Sturridge not fit for England|
|Prandelli urges daring approach|
|Jesus bullish ahead of Leverkusen match|
|Bundesliga Preview: Hamburg´s task gets no easier, Bayern battle Hannover|
|Hummels committed to Dortmund|
|Sao Paulo 1 Huachipato 0: Brazilians claim first-leg honours|
|Premier League superior to Serie A - Isla|
|Ferdinand taunts stay-away City fans|
|Simundza hails Maribor effort|
|Yermakovich overjoyed with BATE win|
|We targeted Ajax in the air - Donis|
|Gago among three Argentina inclusions|
|Pellegrini rues poor City showing|
|Aduriz admits Bilbao not good enough|
|Lucescu can´t hide Shakhtar despair|
|De Boer frustrated at ´nothing´ penalty|
|Winning margin not important - Mourinho|
|Maicon disappointed at dropping points|
|Luis Enrique upbeat despite defeat|
|Draw would have been fair - Silva|
|Record-breaker Totti rues Manchester misses|
|Keller: My Schalke players are shattered|
|Championship Review: Norwich beaten, McKinlay off to winning start|
|Champions League centurion Terry proud of achievement|
|Luiz hopes Barca win can kickstart PSG season|
|Crewe Alexandra 0 Notts County 3: Cassidy brace sinks basement boys|
|Aberdeen 2 St Mirren 2: Struggling visitors fight back|
|Shakhtar Donetsk 2 Porto 2: Martinez´s late double salvages dramatic draw|
|Slutsky shrugs off possession statistic|
|Manchester City 1 Roma 1: Evergreen Totti pegs back City|
|APOEL 1 Ajax 1: Manduca rescues point for hosts|
|Schalke 1 Maribor 1: Slovenian underdogs hold firm in Germany|
|BATE 2 Athletic Bilbao 1: Hosts secure first victory over Spanish side|
|Paris Saint-Germain 3 Barcelona 2: Luis Enrique tastes defeat as Xavi makes history|
|Sporting Lisbon 0 Chelsea 1: Matic returns to haunt old rivals|
|K. League Preview: Jeonbuk´s leadership under threat|
|Inter v Qarabag: Mazzarri looking for response|
|Guardiola unimpressed by empty Arena Khimki|
|Krasnodar v Everton: Martinez´s men may be handed triple boost|
|Arabian Gulf League Review: Al Wahda held, Al Shabab win again|
|Schmidt: Leverkusen must match Benfica aggression|
|CSKA Moscow 0 Bayern Munich 1: Century up for German giants|
|Al Ain 2 Al Hilal 1 (agg 2-4): Saudis make final as Gyan sees red|
|Romulo sidelined following hernia surgery|
|Sturridge to miss Basle clash|
|Everton pessimistic over Mirallas injury|
|UEFA Europa League Preview: Mazzarri demands Inter fight, Hecking eyes improvement|
|Ancelotti: Ronaldo an example for everyone|
|Evans returns to Northern Ireland squad|
|Simeone earmarks ´extraordinary´ Tevez as Juve´s dangerman|
|Kitchee 1 Erbil 2 (agg 2-3): Early goals see visitors through|
|Herrera sustains fractured rib|
|Tottenham v Besiktas: Kaboul calling for more of the same|
|Scotland call up debutants Gauld and May|
|Ramsey out for up to four weeks|
|Giroud deal done - Wenger|
|Hull City challenge FA over name change ruling|
|Rooney impressed with McNair|
|Luiz: I nearly joined Barca|
|Persipura 0 Al Qadsia 6 (agg 2-10): Visitors coast into final|
|Blanc wary of ´exceptional´ Messi|
|Dawson extends Albion deal|
|Mourinho open to move within Premier League|
|Top four the priority - Van Persie|
|Liga MX Preview: Queretaro braced for Atlas challenge|
|Copa Sudamericana Preview: Sao Paulo out to arrest slump|
|MLS Preview: DC United ready to grind, Revolution host Crew|
|Argentine Primera Division Review: Newell´s unbeaten run ends|
|Mignolet shrugs Valdes, Liverpool link|
|Neville blames transfers for Newcastle form|
|Mathieu applauds Messi, Neymar partnership|
|Mignolet must improve - Carragher|
|Cole hails Lampard|
|Villa may miss opener in Australia|
|Hughes thrilled with ´deserved´ home win|
|Pardew fears for future|