Debutant Brais Mendez got Spain back to winning ways with a late strike in an unconvincing 1-0 friendly victory over Bosnia-Herzegovina in Gran Canaria.
Celta Vigo midfielder Mendez came off the bench in the second half and needed just 19 minutes to find the back of the net on Sunday, his strike coming after Ibrahim Sehic could only parry Isco's low drive.
Spain's margin of victory should have been wider but Alvaro Morata's toils for La Roja continued as he skewed wide prior to Mendez's winning goal.
Victory ensures Spain finish 2018 on a positive note after successive defeats in the Nations League, England's 2-1 win over Croatia earlier in the day ending Luis Enrique's side's hopes of reaching next year's Finals.
Spain's inexperienced side survived an early scare when Edin Visca broke through in the opening minute, but the forward was denied by Kepa Arrizabalaga.
It was a rare moment in the attacking third for Bosnia as Spain dominated possession, although they were unable to turn it into clear-cut chances.
Suso, Marco Asensio and Isco all blazed over before the latter finally brought a save out of Sehic five minutes before the break, the goalkeeper comfortably holding onto the Real Madrid midfielder's low shot.
Chances continued to be at a premium until the hour when Asensio fired low towards goal and the rebound should have been put into the unguarded net by Morata but he somehow managed to fire wide.
It was his final action as Rodrigo Moreno replaced him soon afterwards, but it was another substitute who settled the clash as Mendez did what Morata could not with 12 minutes to play.
What does it mean? Still work to do for Luis Enrique
Spain made nine changes, with eight of Luis Enrique's starting line-up holding less than 10 caps, and their inexperience showed at times in what proved to be a low-key affair.
Isco leads from the front
In a team lacking senior figures it was 26-year-old Isco who led from the front with a strong display in midfield, his surging runs bringing rare moments of quality for the hosts.
Morata's problems show no sign of ending
Morata's troubles in front of goal have been well documented and his failure to score on Sunday means he has gone over a year without finding the net for Spain.
With their Nations League campaigns over, both teams will turn their attention to the draw for the 2020 European Championship qualifiers in December.
|Icardi: Inter deserved to qualify|
|Team Sky future unclear as Sky opt to end involvement in cycling|
|PSG had to change mentality - Thiago Silva|
|Rockets make change, pick up win over Trail Blazers|
|Everything´s easier when you´ve got Messi – Miranda|
|From George Cross to Arsenal – Montemurro´s rise to make Gunners great again|
|Koulibaly challenges Napoli to win Europa League|
|Raptors star Leonard out against Clippers, may miss matchup with Warriors|
|Butler opens up about heated Timberwolves practice|
|Spurs achieved ´mission impossible´, says Pochettino|
|Dembele stunner pleases Barca boss Valverde|
|Van Dijk lauds ´fantastic´ Alisson|
|Van Dijk´s tackle on Mertens worthy of red card – Ancelotti|
|Klopp ´would have paid double´ for Alisson|
|Klopp: I don´t care about Madrid revenge mission|
|Tension and anxiety got to Inter, laments Spalletti|
|Tuchel hails magnificent PSG as Red Star win seals last-16 spot|
|Mbappe admits frank discussions inspired PSG´s Champions League progress|
|Klopp: Napoli had no answers to outstanding Liverpool|
|Pochettino proud of ´massive, massive achievement´ for Spurs|
|Barcelona equal Champions League record|
|Composed and controlled Liverpool see off Napoli to progress|
|Tenerife back to winning ways, AEK beat Hapoel|
|Howedes ´hurt´ after emotional Schalke return ends in defeat|
|Kane ´buzzing´ over ´not bad´ draw at Barcelona|
|Robertson hails Alisson´s ´unbelievable´ save as Liverpool progress|
|Red Star Belgrade 1 Paris Saint-Germain 4: Neymar brilliance helps secure Group C top spot|
|Inter 1 PSV 1: Icardi header not enough for the Nerazzurri|
|Liverpool 1 Napoli 0: Superb Salah sends Reds through|
|Club Brugge 0 Atletico Madrid 0: Simeone´s men miss out on top spot|
|Barcelona 1 Tottenham 1: Lucas rescues Spurs late on to secure progress|
|Monaco 0 Borussia Dortmund 2: Guerreiro double snatches top spot from Atletico|
|Butler´s groin strain ´nothing significant´ – 76ers coach Brown|
|Woakes, Curran among leading lights at IPL auction|
|Blue Jays release five-time All-Star Tulowitzki|
|Mourinho: Professionals care more than the fans|
|Casillas reaches 100 Champions League wins|
|Expansion franchise Cincinnati sign Garza, send Kamara to Rapids|
|Manchester City sign United States goalkeeper Steffen for reported £7m|
|Schalke 1 Lokomotiv Moscow 0: Russians miss chance for Europa League reprieve|
|Galatasaray 2 Porto 3: Terim´s men into Europa League after penalty drama|
|Jackman leaves Dragons role|
|Tottenham boosted as Barcelona bench Messi|
|Mane and Henderson in Liverpool XI to face Napoli|
|Mourinho shoots down question over how to get the best from Pogba|
|Ronaldo to start as Allegri aims to avoid Champions League big guns|
|Odriozola: I´m in love with Benzema, he´s the best number nine in the world|
|Vikings fire OC DeFilippo after loss to Seahawks|
|Marcelino suggests Valencia open to Batshuayi departure|
|Bottas to make rally debut in title-winning M-Sport Ford Fiesta|
|Kovac dismisses Pavard speculation|
|Yaya Toure leaves Olympiacos after just five appearances|
|Riise challenges Liverpool to banish Champions League disappointment against Napoli|
|We rallied around it - Durant on Green confrontation aftermath|
|Valencia ´p****d off´ with Fellaini´s controversial Young Boys winner - Soler|
|More must be done to combat racism at Premier League grounds – Chalobah|
|Napoli will not sack ´big signing´ Ancelotti if they miss Champions League qualification, says De La|
|Guardiola not interested in ´exceptional´ Saul|
|Shai gives Windies hope with thrilling ODI run chase|
|Ten Hag unsure whether to risk Ajax stars against Bayern|
|Erasmus to work with Bulls as Springboks assist Super Rugby sides|
|Paul Gascoigne pleads not guilty to sexual assault|
|Joshua is ´begging´ for unification fight, claims Wilder|
|Silva, Fernandinho add to Guardiola´s injury woes|
|Hosszu storms to 14th gold, Seto smashes Le Clos´ world record|
|Raheem is an incredible human being - Guardiola rallies behind City star Sterling|
|Sexton pens IRFU extension until 2021|
|Ajax boss Ten Hag can do big things, says Bayern chief Rummenigge|
|He´s good at basketball – Kerr running out of superlatives for Curry|
|Green thrilled to make Warriors return in victory over Timberwolves|