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.
18. Dezember 2018
|BREAKING NEWS: Ibrahimovic re-signs with LA Galaxy for 2019|
|Mourinho sacked: Solari not worried for Real Madrid job|
|Mourinho sacked: 895 days and more than £700,000 in five-star luxury|
|ES Tunis 1 Guadalajara 1 (6-5 on penalties): Dhaouadi holds nerve to settle ill-tempered affair|
|Murphy lands permanent Tigers role|
|Mourinho sacked: Real Madrid´s Marcelo lauds ´great coach´ after United exit|
|Unadkat, Varun the top buys at IPL auction|
|Emery prepared to give youth a chance in north London derby|
|Tottenham extend Vertonghen contract until 2020|
|Panthers safety Reid receives seventh random drug test of 2018|
|Kovac relishing Klopp challenge in Champions League|
|Bancroft to return, teenager Lamichhane to fly the flag for Nepal in Big Bash|
|Liverpool still have plenty of work to do - Klopp|
|Messi ´never imagined´ his success after winning record fifth Golden Shoe|
|WATCH: Timberwolves´ Gibson tries to block shot with his trainer|
|Mourinho sacked: Klopp praises departed Manchester United boss|
|Mourinho sacked: Jose the best Manchester United manager since Ferguson - Gerrard|
|Mourinho sacked: Ferdinand calls for ´fresh ideas´ at Man United|
|Mourinho sacked: The mystique has gone as United spell ends in divorce|
|´He´s an interest not only for us but for many´ - Zola praises rumoured Chelsea target Wilson|
|Mourinho sacked: Pochettino focused on Spurs amid Manchester United rumours|
|Mendis eyes double-century for departing Samaraweera|
|Mourinho sacked: Zola expects Jose to be in another job ´soon´|
|Mourinho sacked: Five reasons it went wrong at Manchester United|
|Mourinho sacked: Jose´s Manchester United record in Opta stats|
|Mourinho sacked: Pogba, Ronaldo and Jose´s biggest bust-ups|
|Mourinho sacked: Blanc, Solskjaer - the men who could steady the United ship short-term|
|Mourinho sacked: The football world reacts|
|Mourinho sacked: What former United stars said after Liverpool loss|
|Mourinho sacked: Where next for the axed Manchester United boss?|
|UEFA to investigate alleged racist incidents at Vidi-Chelsea|
|Australia unchanged for rest of India series|
|Mourinho sacked: Pogba´s tweet a dig at departing Man United boss?|
|Newton left frustrated by shoulder injury as Panthers lose again|
|Mourinho sacked: Pochettino & Zidane lead potential Man Utd replacements|
|Mourinho sacked: Neville urges Man United to go for Pochettino|
|Boylen pleased to see Bulls react to red rag in Thunder fracas|
|Icardi and Inter ´very far´ apart in contract negotiations|
|Mourinho leaves Manchester United|
|Curry humbled by latest milestone|
|Robertson: ´Unbelievable´ Alisson will bounce back from error|
|Curry scores 15,000th regular-season point in Warriors win|
|Rams star Gurley ´day-to-day´ with knee inflammation|
|Saints poised to clinch NFC top seed after topping Panthers|
|Mathews, Mendis centuries frustrate New Zealand|
|Kohli: Relentless Australia deserved victory|
|Relief for Paine and Australia after ending Test drought|
|Australia level series with dominant win over India|
|Libertadores holders River learn group as CONMEBOL boss calls for end to violence|
|Chargers RB Gordon planning to return against Ravens|
|Kobe Bryant visit motivated Browns´ Jabrill Peppers|
|De Bruyne: Fatigue not behind injury woes|
|´That´s not my concern´ - Broncos coach Joseph on job security|
|Lowry on Leonard´s free agency: I just want him to be happy|
|Yankees give Sabathia $500K bonus despite ejection|
|Ronaldo confirmed Juventus interest in January – Mendes|
|Lakers guard Rondo to begin rehab stint in G League|
|Saiz to leave Leeds United for Getafe|
17. Dezember 2018
|Whyte thinks Joshua rematch is ´only a matter of time´|
|Greenwood stars as Man United end Chelsea´s FA Youth Cup dominance|
|Panthers tight end Olsen expects ´full recovery´ after surgery|
|Derby County 0 Nottingham Forest 0: Lampard´s men fourth after tense stalemate|
|Clermont lose former All Black Toeava for six months|
|MLS unveils revamped playoff format for 2019 season|
|Ferrari to celebrate Schumacher´s 50th birthday with museum exhibition|
|Rabiot set for PSG exit after cancelling contract talks|
|Pepe departs financially troubled Besiktas|
|Philadelphia Flyers fire coach Dave Hakstol|
|Eagles to start Foles v Texans|
|PSG matches against Montpellier and Dijon rearranged|