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'
|Williams rules out Swansea exit|
|UEFA Europa League Preview: Southampton, Vojvodina poised to advance|
|Mitrovic up for a battle|
|Pochettino in the market for a striker|
|Beware of Leverkusen, says Kiessling|
|CONCACAF Champions League Review: Rimando, Plata stand tall for RSL|
|Jardim: Monaco worked on defending lead|
|Deila uninterested in pitch excuses against Qarabag|
|City won´t make top four, says James|
|Clyne eyes Premier League title with Liverpool|
|Dos Santos key to Galaxy´s bid for continental dominance|
|Brazil to play Costa Rica in New Jersey|
|Ajax loss ´sad for Dutch football´ - De Boer|
|United target Bale happy at Real|
|Guardiola furious but Mihajlovic defends De Jong: ´Football isn´t dancing´|
|Champions League top priority at PSG - Di Maria|
|UEFA Champions League Review: Ajax crash out after home defeat|
|Blackpool handed suspended deduction|
|Bayern Munich 3 Milan 0: Guardiola and De Jong lock horns in tunnel|
|Akpom, Ojo and Solanke on the move|
|McClaren: No Newcastle bid for Austin|
|Real Madrid 2 Tottenham 0: Bale on target against former club|
|Mangala vows to improve on debut campaign|
|Tomlin completes Bournemouth switch|
|Astra v West Ham: Page hungry for first-team action|
|Di Maria arrives in Qatar for PSG medical|
|Vitesse v Southampton: Caulker prepared to wait for his chance|
|UEFA rejects Fenerbahce´s Fred appeal|
|Watford show support for assaulted fan as police charge six|
|Ibrahimovic to miss PSG opener|
|Klopp suited to Bayern job - Watzke|
|Eredivisie season-opener postponed due to police strike|
|Dortmund v Wolfsberger: Tuchel set for home bow|
|Griezmann at the double in Atletico win|
|Japan v South Korea: Halilhodzic calls for ´pride´|
|Mourinho enjoying improved relationship with Abramovich|
|Gradel agrees Bournemouth return|
|Inter switch an ´easy decision´ for Miranda|
|Bojan eyes early comeback|
|Vitesse hopeful over Solanke loan deal|
|Pedro will decide his own future - Luis Enrique|
|Iniesta handed Barcelona armband|
|Kukesi punished after Europa League abandonment|
|Leno hints at Leverkusen exit|
|Benitez explains Ronaldo absence|
|Pochettino backs Kane to be among world´s best|
|Messi not ruled out of Mexico friendly - Martino|
|China v North Korea: Kim´s side look for another win|
|River Plate v Tigres UANL: Copa Libertadores final evenly poised|
|Real target Ceballos focused on Betis - Mel|
|Torres: I´d give my life to win La Liga with Atletico|
|Platini can lead FIFA change - Fernandez|
|Mel: Betis won´t be signing Osvaldo|
|Ferrero defends Samp boss Zenga|
|Pochettino expects Spurs improvement|
|Bale ideal for United - Robson|
|Ferdinand: Di Maria will regret United failure|
|Benitez pleased with goalkeepers as De Gea transfer saga continues|
|Guardiola tips fit Schweinsteiger to shine|
|Confident Oxlade-Chamberlain hits back at Keane|
|Ferdinand: Stones would be ´a lunatic´ to join Chelsea|
|Qarabag v Celtic: Gordon wants positivity from Scottish champions|
|Higuain rejects extension from Napoli|
|Zamora returns to Brighton|
|West Ham can cope without Valencia - Gold|
|Wickham loses on Palace debut|
|Guardiola: No problem with Matthaus and Effenberg comments|
|Cartabia excited by Deportivo loan|
|Lyon confirm Rafael deal|
|Hysaj agrees deal to follow Sarri to Napoli|
|Rafael says his goodbyes to Manchester United|
|Dos Santos ready to get going with Galaxy|
|Pochettino rejects Soldado exit talk|
|Metatarsal misery for Mulumbu|
|Benitez: Benzema and Bale going nowhere|
|Mihajlovic: Ibrahimovic would make Milan title contenders|
|Hughes not taking any risks with Bojan|
|Guardiola relishing Audi Cup test|
|Di Maria ´taking a step up´ - Silva|
|Leicester bring in defender Benalouane|
|Deulofeu doubtful for Premier League opener|
|West Ham striker Valencia out for three months|
|UEFA: Qarabag-Celtic to go ahead|
|Palace seal Wickham swoop|
|Ronaldo and Benzema to miss Audi Cup|
|Marotta: Juventus could lose Pogba|
|Kante completes Leicester switch|
|Khedira ruled out for two months|
|FA accepts Mourinho criticism of Wembley surface|
|Robben rubbishes injury talk|
|Marchisio expects Milan title challenge|
|Rafael set for Lyon move|
|Celtic ´seeking reassurances´ over Qarabag pitch|
|Wenger beating Mourinho does not affect Chelsea - Zouma|
|Rooney moved by Everton welcome|
|Mancini not worried by lack of Inter goals|
|Coloccini wants to finish career at Newcastle - McClaren|
|Ramsey: Pressure to win trophies is nothing new|
|Terry: Wembley defeat could be a ´blessing in disguise´|
|Blatter not running for IOC re-election|
|Bendtner: Wolfsburg can challenge Bayern for Bundesliga honours|
|Liverpool relishing Britannia return, says Henderson|
|Everton big enough to keep Stones - Martinez|
|MLS Review: Fire stun Dallas as goals dry up|
|New Atletico signings excite Raul Garcia|
|Cahill expects Arsenal title challenge|
|Jovetic happy with Inter debut|
|Luis Enrique: Barca defence must improve|
|Yanev calls for calm after ugly scenes in friendly|
|Coppa Italia Review: Cittadella romp to victory, Brescia rely on penalties|