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.
23 de febrero 2019
|Sri Lanka make history with series win in South Africa|
|Mane: Putting pressure on ourselves won´t help Liverpool|
|Thunder´s George: That was a statement|
|Leclerc ready to battle for top Ferrari billing|
|Man United outing was a learning experience – Alexander-Arnold|
|Redknapp expects more twists as under-pressure Liverpool seek to end title drought|
|Chelsea v Manchester City: Myopic Blues should show Sarri faith regardless of Wembley result|
|Westbrook´s streak ends in Thunder win, Raptors best DeRozan in return|
|Johnson happy with patient approach in Mexico|
|Italy, Poland secure World Cup spots|
|Del Potro stunned, Isner through at Delray Beach|
|Klopp: Man United clash not decisive|
|Mbappe, Di Maria partnership pleases Tuchel|
|WATCH: Raptors pay tribute to DeRozan in return to Toronto|
|Trahan in three-way tie for lead in Puerto Rico|
|Trump on Kraft charge: He´s proclaimed his innocence totally|
|Van Uytvanck battles back to stay on course in Budapest|
|Johnson moves into lead, McIlroy two shots back|
|Arsenal must show intensity to get fans on side - Emery|
|Impressive Tsitsipas through to last four in Marseille|
|England fall in line to Cottrell as West Indies level ODI series|
|Fulham ´scared´ after Hernandez handball - Ranieri|
|Gattuso encouraged by AC Milan´s rampant second-half showing|
|City respond to allegations relating to Sancho deal|
|Wenger will not be new sporting director, insists PSG president|
|´You shouldn´t be refereeing´ - Warnock blasts official after heavy defeat|
|Neymar and Mbappe ´2,000 per cent´ staying at PSG|
22 de febrero 2019
|Saints rally to see off Rhinos but Warrington lead the way|
|Gloucester hand Saracens rare Premiership defeat|
|Munster keep the Ospreys grounded as Warriors demolish Connacht|
|I don´t know the meaning of Sarriball - Chelsea boss focused on results|
|Who is Robert Kraft? The New England Patriots owner who helped build an NFL dynasty|
|Cardiff City 1 Watford 5: Deulofeu and Deeney down Bluebirds|
|West Ham 3 Fulham 1: Hernandez´s handling sparks Hammers recovery|
|Three team members treated following McLaren garage fire|
|AC Milan 3 Empoli 0: Piatek´s hot streak continues as Rossoneri roll on|
|Controversy mars Hernandez´s milestone goal|
|Laporte 2025: New deal earned through winning habit from Man City´s pass master|
|Watford and Everton reach agreement over Silva|
|Hodgson inspired by Attenborough ahead of Premier League record|
|Chelsea will challenge Manchester City in EFL Cup final - Laporte|
|Wolff compares Ferrari new recruit Leclerc to young Hamilton|
|Messi not Sevilla´s only worry with Navas in doubt|
|Kvitova outlasts Hsieh, Bencic dumps out champion Svitolina|
|Patriots owner Kraft charged with soliciting prostitution|
|Laporte signs long-term extension with Manchester City|
|Ellis set for Super League comeback with Hull FC|
|Ill Hummels out of Hertha game|
|Halfpenny to make Scarlets comeback against Cheetahs|
|Sri Lanka sense historic win after dramatic day two|
|Lacazette banned for both Europa League last-16 legs|
|Vidic: I wouldn´t take Van Dijk over United´s defenders|
|Widnes Vikings face uncertain future after going into administration|
|Valverde confident Barcelona´s dry spell is a blip|
|Manchester derby: United v City at Old Trafford set for April 24|
|Sane the best in the world out wide, says Manchester City boss Guardiola|
|Cronin handed rare start, Italy make five changes|
|Inter director Zanetti hopes for swift Icardi return|
|BCCI urges cricket community to ´sever ties´ with terrorism-emanating countries|
|Reus and Piszczek still out for Borussia Dortmund|
|I wish it wasn´t 6-0 - Guardiola fears fuelling Chelsea fire|
|Tuchel hopeful of new Alves deal at PSG|
|Klopp ponders PSG´s Manchester United blueprint|
|AEK Athens handed suspended European competition ban|
|Toronto Wolfpack ´will pay whatever it takes´ to sign Sonny Bill Williams|
|Welcome to the club! Chelsea earn sympathy from non-league Gateshead|
|Hazard, Hudson-Odoi, Higuain and Sarri - how does Chelsea´s transfer ban affect them?|
|Europa League last-16 draw: Chelsea face Kiev trip, Arsenal meet Rennes|
|No doubt Solskjaer will get United job - Klopp|
|Gatland: Time-bomb Sinckler could go off in Cardiff|