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'
|Tevez never considered Juve exit|
|Djuricic joins Mainz on loan|
|Cavani keen on PSG stay|
|Shaqiri flattered by Juventus link|
|Johnson, Sommer arrive at Monchengladbach|
|J.League Review: Kawasaki close gap on Sagan, Urawa move clear at top|
|Coleman to miss Everton´s Thailand trip|
|Thankful Rueda bids farewell to Ecuador|
|Liga MX Preview: Peralta set for home debut, Leon seek recovery|
|K.League Review: Top two draw blanks, Jeju United close in|
|CAF Champions League Preview: Zamalek primed for crucial game, CS Sfaxien meet ES Tunis|
|Low quashes Germany exit rumours|
|Getafe agree Michel loan|
|Porto bring in Brahimi from Granada|
|Pardew satisfied with attacking signings|
|Pellegrini targets further City signings|
|Sevilla complete Krychowiak deal|
|Eisfeld makes Fulham move|
|Zarate opens account as West Ham stumble|
|I have nothing to prove, says Ince|
|Barcelona seal Mathieu deal|
|United prepared to spend big, claims Woodward|
|Shakhtar to play in Lviv|
|Pereyra poised for Juve switch|
|Fabregas eyes trophies at Chelsea|
|Vorm confirms Tottenham transfer|
|Deila: Forster will leave Celtic eventually|
|No pressure for Shaw|
|Van Gaal happy with preparations|
|Diarra aiming for Bordeaux return after West Ham frustration|
|Last season for Montpellier owner Nicollin|
|Monaco: Rodriguez deal too good to ignore|
|Nacional Asuncion 2 Defensor Sporting 0: Hosts surge towards Libertadores final|
|Garcia eyeing Serie A title|
|Father against Vlasic´s move abroad|
|Rodgers welcomes Gerrard´s international retirement|
|Cruzeiro, Atletico Mineiro bid for Robinho|
|Inzaghi not drawn into Balotelli speculation|
|Dunga ´not going to sell a dream´|
|City´s Fofana allegedly racially abused|
|Carroll ruled out of NZ friendlies|
|Rodgers excited by new arrivals|
|Zeljeznicar 2 Metalurg Skopje 2 (agg 2-2): Visitors advance on away goals|
|Gibson returns as Tranmere hold Everton|
|UEFA Champions League Review: Celtic coast through, BATE given scare|
|Gomez and Jones feature in Sunderland win|
|Leicester hit Ilkeston for six|
|Austin fires QPR to narrow victory|
|Guardiola: No trophies and I may be sacked|
|Dortmund held as Immobile makes debut|
|Rodriguez´s dream becomes Real|
|Garcia: Benatia and Ljajic going nowhere|
|Stoke secure Bojan on four-year deal|
|FA: No World Cup bids for England|
|Kroos commits to Bremen|
|Caulker makes QPR move|
|Forest agree Hunt loan deal with Palace|
|Bartra ready to prove himself at Barca|
|Southampton looking to sell Osvaldo|
|Marveaux loaned to Guingamp|
|Mourinho eyes success on two fronts|
|Sammer encouraged by Lewandowski start|
|PSG punished for abuse of Chelsea fans|
|Dunga unveiled as Brazil coach|
|Shakhtar CEO: Focus is on players´ safety|
|Foster agrees new West Brom deal|
|Real Madrid sign Rodriguez|
|Mustafi eyes Bundesliga switch|
|Klopp laughs off Hummels, Reus speculation|
|Campana makes Sampdoria switch|
|Leicester seal Ulloa deal|
|Morata sidelined for seven weeks with knee injury|
|Riviere on target in comfortable Newcastle win|
|Advocaat set for Serbia role|
|Wisdom joins West Brom on loan|
|Bundesliga to consider vanishing foam|
|Five-man shortlist for Ivory Coast|
|´Personal issues´ keep Gervinho away from Roma tour|
|Jedinak raring to go|
|Borini set for Liverpool stay, claims agent|
|Koeman: No bids for Lovren|
|Livermore: England hopes shouldn´t hinge on club side|
|MLS Preview: Tough tests for Conference leaders, Revolution still struggling|
|Mathieu not Barca material, says Marquez|
|West Brom claim unimpressive win in Sacramento|
|Neymar: Brazil behind Germany, Spain|
|Vietnamese police confirm match-fixing players|
|Lucescu blames Joorabchian for AWOL players|
|Robinho undecided on future|
|Rush: Still years left in Gerrard|
|Tiago re-signs with Atletico|
|Puyol against Spain overhaul|
|Agger considering his Liverpool future|
|Peruvian Primera Division Review: Juan Aurich bounce back, Melgar draw with Inti Gas|
|Bayern deny interest in Cuadrado|
|New signings on show in Hull double-header|
|Hooiveld strike sinks Swindon|
|Costa departs Valencia|
|Morata suffers knee injury in training|
|K.League Preview: Seoul, Sangju aim to close gap to sixth, Ulsan host Jeonbuk|
|Lewandowski off the mark on Bayern bow|
|Gerrard retirement will boost Liverpool - Carragher|
|World Cup bidding report due in September|
|Evra bids emotional farewell to United fans|
|J.League Preview: Ventforet Kofu look to escape drop zone, Sagan Tosu battle Kawasaki Frontale|
|Salah spared military service|
|Garcia would welcome Torres return|
|Livermore understands Ince decision|
|Cole happy to get away from English press|
|Evra seals Juve switch|
|Bayern stay was Kroos´ ´priority´|
|Scuffet: Udinese right place to continue developing|
|Gerrard retires from England duty|
|Ambitious Pochettino targets title|
|Aspas eager to put ´bad season´ behind him|
|Atletico Mineiro v Lanus: Visitors out to recover from first-leg loss|
|UEFA Europa League Preview: Sligo, Inter Baku out to finish shocks|
|Hughes expects Bojan decision soon|
|Cech on the mend - Holland|
|Pardew eager to honour crash victims|
|Prandelli hits back at critics|
|Negredo breaks metatarsal|
|Rooney eager to impress Van Gaal|
|Palacios´ Qatar move falls through|
|Wenger rules out striker signing|
|Six Shakhtar players refuse to return|
|Six Vietnamese footballers arrested for match fixing|
|Copa Libertadores Preview: Nacional Asuncion, San Lorenzo to host first legs|
|Mata hopeful of title|
|Napoli bullish about Scudetto chances|
|Colombian Primera A Review: Patriotas Boyaca, Deportes Tolima start with wins|
|Subotic thrilled to be back|
|Germain: Monaco can replace Rodriguez|
|Sullivan confident of Carroll improvement|
|Callejon staying put|
|DC United 3 Chivas USA 1: DC end Chivas´ winning run|
|Liga MX Review: Goalkeeping howler costs champions Leon, Monterrey move top|
|Chilean Primera Division Review: Huachipato, Santiago Wanderers opening-day winners|
|Brazilian Serie A Review: Internacional rout Flamengo, Cruzeiro win again|
|Prosinecki keen on South Korea job|