Spain planted one foot in Brazil thanks to second-half strikes from Xavi and Alvaro Negredo to win 2-1 at home to Belarus on Friday.
The world and European champions were made to work for the Group I victory, which came thanks to second-half strikes from Xavi and Alvaro Negredo; a result that leaves them on the verge of booking their place at next year's World Cup in Brazil.
Spain struggled to break down their opponents in the first half but took the lead in the 61st minute thanks to a superb Xavi strike.
Negredo, introduced as a second-half substitute for debutant Michu, then doubled Spain's lead with a terrific header, meaning Sergey Kornilenko's late effort was merely a consolation.
Vicente del Bosque's side now need just one point against Georgia in Albacete on Tuesday to confirm their place at the World Cup.
In the absence of the injured Fernando Torres and David Villa, Spain coach Del Bosque selected Swansea City's Michu from the start, while goalkeeper Iker Casillas and midfielder Andres Iniesta were named among the substitutes.
Belarus, who were without former Barcelona and Arsenal midfielder Alexander Hleb due to suspension, opted for a 3-5-2 formation as they sought to end their qualifying campaign on a good note.
Spain's top scorer in qualifying, Pedro, ran at the Belarus defence and caused problems early, while Michu failed to make the most of a David Silva ball before the latter nodded wide.
As expected, Spain controlled possession, but they struggled to create clear chances as Belarus were happy to sit back and soak up pressure.
The closest the hosts came in the first half was a curling Silva effort, but Belarus goalkeeper Aleksandr Gutor was equal to the task, while Michu headed a Nacho Monreal cross wide.
Belarus had claims for a spot kick on the verge of half-time, with Stanislav Dragun's cross appearing to strike the hand of Gerard Pique - who had already been booked - but no penalty was given as both sides entered the break goalless.
A frustrated Del Bosque replaced Monreal with Iniesta at the break, before Michu's uninspiring debut came to a close in the 57th minute.
Spain took the lead just moments later, with Pique's effort in keeping an aimless ball alive at the byline crucial.
The Barcelona defender's hooked ball back in was not cleared properly, as Yegor Filipenko's header fell perfectly to Xavi,
and the midfielder hit a bullet strike that left Gutor with no chance as Spain finally took the lead.
Negredo then added to Spain's lead with 12 minutes to play as he netted a superb diving header. Pedro's flick freed Sergio Ramos down the right, and his inch-perfect cross was powerfully nodded home by the Manchester City forward.
A late Belarus attack saw Sergei Kislyak force Victor Valdes into a rare save, while Kornilenko bagged a late left-footed strike to cap a swift counter, but Spain did just enough to post an important victory.
|Coach: Del Bosque|
for Nacho Monreal 46'
for Michu 57'
for Fàbregas 84'
|Ashley not leaving Newcastle until club wins something|
|Klopp urges fans not to draw comparisons with Tuchel|
|Dortmund complete Castro capture|
|Stevens leaves Stuttgart after securing safety|
|Alves ruled out of Copa with serious knee injury|
|Drogba to leave Chelsea|
|Ashley is from another planet - Keegan|
|Sydney withdraw Janko offer amid talk of Toni|
|Cameron pens Stoke extension|
|Wimmer: I´m going to Tottenham|
|Returning Grabban ready for play-off final - Neil|
|Ferdinand ´overwhelmed´ by support following wife´s death|
|Odegaard enjoys ´nervous´ Real Madrid debut|
|Bamford fit but may be overlooked for play-off final|
|Barcelona´s best better than Real´s - Luis Enrique|
|Ancelotti laments key injuries in title failure|
|AFC Champions League Preview: Evergrande, Al Hilal desperate for wins|
|MLS Review: DC United deny nine-man Revolution, Rapids break drought|
|Bielsa hints at Marseille departure, congratulates Ligue 1|
|Silva, Matuidi eye fourth trophy|
|Jonas deserved golden boot - Jorge Jesus|
|Primeira Liga Review: Benfica celebrate title with home win|
|Ligue 1 Review: Monaco seal final Champions League spot, Marseille take fourth|
|Ancelotti to take sabbatical if sacked by Real|
|Mancini annoyed by ´absurd´ Inter mistakes|
|Simeone hails ´incredible season´|
|Replacing Xavi will be impossible - Luis Enrique|
|Ronaldo hopes Ancelotti will stay|
|Guardiola: We´ll be back stronger|
|Paris Saint-Germain 3 Reims 2: Cavani double sees champions celebrate title with routine win|
|Garitano stands down following Eibar relegation|
|Genoa 3 Inter 2: Kucka strikes blow to visitors´ Europa quest|
|Real Madrid 7 Getafe 3: Ronaldo nets treble and Odegaard makes history|
|Southend United 1 Wycombe Wanderers 1 (aet, 7-6 on penalties): Last-gasp Pigott and Bentley the hero|
|Odegaard becomes Real´s youngest player|
|Gargano omitted from Uruguay Copa America squad|
|La Liga Review: Depor save themselves with stunning comeback at Barca|
|Barcelona 2 Deportivo La Coruna 2: Salomao saves visitors as Xavi bids Camp Nou farewell|
|Granada 0 Atletico Madrid 0: Atleti secure third as hosts survive|
|Juventus 3 Napoli 1: Champions turn on the style|
|Tearful Klopp struggled to say goodbye|
|Scottish Premiership Review: Rangers to meet Motherwell in play-off final|
|Bundesliga Review: Freiburg and Paderborn relegated|
|Borussia Dortmund 3 Werder Bremen 2: Dortmund seal European spot as Klopp says farewell|
|Bayern Munich 2 Mainz 0: Schweinsteiger nets as champions celebrate title|
|Championship play-off final Preview: Karanka and Neil eye swift ascent to Premier League|
|Volland commits to Hoffenheim|
|Monk: Michu likely to move on|
|Allardyce not interested in Newcastle revenge|
|Sherwood confident of Benteke Villa stay|
|Rodgers calls on Liverpool fans to support Sterling|
|Khedira ´frozen out´ by Real|
|Hamstring injury rules Suarez out of Deportivo clash|
|Former Southampton managers hail ´excellent season´|
|Mourinho wants to remain in England after Chelsea|
|Rodgers ´150 per cent sure´ his job is safe|
|Maldini would ´love´ to help Milan|
|Doyle set for Rapids debut versus Whitecaps|
|MLS Review: Champions end winless run on day of late drama|
|Jemez doubted Rayo future|
|Zenga could replace Mihajlovic - Osti|
|Blanc wants to avoid Chelsea-like finish|
|Menez happy in Milan|
|Sherwood: Vlaar wants to stay|
|Arsenal v West Brom: Wenger calls for focus|
|Porto 2 Penafiel 0: Danilo scores in farewell game|
|La Liga Preview: Eibar, Almeria hoping for final-day salvation|
|Eredivisie play-offs: Go Ahead suffer surprise defeat, NAC win|
|South Africa warm up for COSAFA Cup with victory|
|Rodriguez will be like a new signing - Adkins|
|Renard leaves Ivory Coast role amid Lille speculation|
|Howedes doubtful for start of next Bundesliga campaign|
|Deschamps: Pogba and Evra will be happy to face Albania|
|Everton v Tottenham: Pochettino eyeing fifth spot|
|Crystal Palace v Swansea City: Pardew admits to talent envy|
|Van Gaal confident of keeping De Gea|
|Spurs to support Adebayor over family issues|
|Manchester City v Southampton: Koeman expects no favours from hosts|
|Chelsea v Sunderland: Champions set to finally lift trophy|
|Mancini: Inter need quality|
|Van Gaal: No favours for ex-United captain Bruce|
|Leicester City v QPR: Ramsey expects doomed Rangers to show pride|
|Koeman expecting quieter close season|
|Hughes delivers positive update on Bojan|
|Advocaat considering Sunderland offer|
|Hull City v Manchester United: Bruce accepts survival is tall order|
|Stoke City v Liverpool: Rodgers keen to move focus away from Sterling|
|Allardyce won´t let us down, says Bruce|
|Berahino can leave for top-four club - Pulis|
|Aston Villa v Burnley: Sherwood wanting win ahead of cup final|
|Big clubs would be making a ´mistake´ signing Bolasie|
|Peterborough announce Robertson as new manager|
|Relieved Sherwood eager to kick on|
|Newcastle United v West Ham: Carver dreading ´unbearable´ drop|
|Pellegrini unsure over Milner future|
|I am not good enough to win treble every year - Guardiola|
|Luis Enrique refuses to be drawn on Barca future|
|Ntep handed France call-up|
|Allegri compares Juve to class of 2003|
|My future to be decided on Monday - Allardyce|
|Ancelotti expects to stay at Real despite speculation|
|Play-off finals to go ahead despite discovery of World War II bomb|
|Mourinho lauds ´legend´ Lampard|
|Milan v Torino: Shadow of Ancelotti hangs over Inzaghi|
|Speroni extends Palace contract|
|Ramsey issues QPR warning|
|Valverde signs new Bilbao contract|
|Welbeck could miss FA Cup final and England double header|
|League One play-off final Preview: Preston hoping to end hoodoo|
|Rodgers expects Sterling talks to resume|
|Martinez dismisses Oviedo exit talk|
|Neil hoping to draw on previous play-off success|
|Cisse weighing up offers from USA, India and Poland|
|Hazard announced as Premier League´s Player of the Season|
|United should sign Cech if De Gea leaves - Scholes|
|Copa Libertadores Review: Cruzeiro draw first blood away from home|
|MLS Preview: Wondolowski poised for 100-goal club|
|Ligue 1 Preview: Monaco, Marseille, Saint-Etienne battle for Champions League spot|
|Bundesliga Preview: Relegation battle set for dramatic end, Dortmund to farewell Klopp|
|Serie A Preview: Radu in doubt for crucial Rome derby|
|Stankovic denies talk of Inter return|
|Benitez would be ´happy´ to manage Real - agent|
|Newcastle not expecting favours from Allardyce - Carver|
|Lacazette can be ´world class´ - Houllier|
|Hodgson defends Sterling|