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'
|Injured Rafael returning to Manchester|
|Schmidt demands more from Leverkusen|
|Copa Libertadores Preview: Defensor Sporting banking on home record|
|Remy´s Liverpool move off, confirms Rodgers|
|Inzaghi demands nastiness from Milan|
|MLS Review: Timbers triumph in Montreal, Dallas thwart Vancouver|
|Jovetic ready to lead City line - Pellegrini|
|Lewandowski impresses Ribery, Alaba|
|Colombian Primera A Review: Three clubs remain perfect, Atletico Nacional get off the mark|
|Rodgers: ´We can score goals´ without Suarez|
|Chilean Primera Division Review: Canales brace powers Universidad Chile|
|Atletico Madrid need penalties to edge past Earthquakes|
|Liga MX Review: Monterrey, America stay perfect|
|Paraguayan Primera Division Review: Capiata set pace|
|Brazilian Serie A Review: Cruzeiro win again, Kaka scores|
|Sterling goal sees Liverpool past Olympiacos|
|Peruvian Primera Division Review: Los Caimanes notch maiden win, Inti Gas claim top spot|
|CAF Champions League Review: Zamalek held, Vita Club leave it late|
|Jovetic at the double as Manchester City thrash Milan|
|Monk thrilled by Sigurdsson contribution|
|Lovren signs for Liverpool|
|Mourinho pleased with Olimpija test|
|Vertonghen eager to remain at Spurs|
|Sigurdsson marks Swansea return with a brace|
|Lewandowski, Rode help Bayern retain Telekom Cup|
|Immobile scores and suffers injury in Dortmund win|
|Costa scores on Chelsea debut|
|CAF Confederation Cup Review: Leopards de Dolisie 1 Real Bamako 2|
|Thai Premier League Review: Buriram pull clear, Police edge away from danger|
|Falcao nears Monaco return|
|CSL Review: Harbin Yiteng produce another upset, Evergrande stretch lead|
|Britton and Emnes to miss season-opener|
|Taylor-Fletcher strike sinks Everton|
|J.League Review: Chasing pack close on Urawa Reds, Tokushima Vortis secure rare win|
|Ancelotti expects fresh Bale to be even better|
|Simeone keen on Griezmann|
|Mazzarri refuses to set Inter targets|
|Lazio director targeted by fans|
|Dyche rules out Deeney move|
|Rummenigge: Bayern will never sack Guardiola|
|BREAKING NEWS: Arsenal to bring in Ospina|
|Pochettino quiet on Schneiderlin link|
|Vidic settling into Inter life|
|Van Gaal hints at Zaha United future|
|Di Maria will report for training - Ancelotti|
|Wilshere vows to answer critics|
|Rodgers expecting titles|
|Deila demands Celtic cutting edge|
|Rodgers: We won´t rush Lallana|
|Wenger: We have to be better against top-level teams|
|FIGC presidential candidate uses racist slur|
|MLS Review: Columbus claim second straight win, Toronto falter|
|Villa battle past Dynamo in Houston|
|United more efficient, says Garcia|
|Pedestrian Tottenham edge past Chicago Fire|
|Van Gaal bemoans display|
|CS Sfaxien 1 ES Tunis 0: Troussier era opens with a win|
|Icardi stars from the spot as Inter overcome Real Madrid|
|Arsenal upstaged by Red Bulls|
|Pre-Season Friendly Review: Rooney stars for United, Bayern reach Telekom final|
|In-form Rooney inspires Manchester United win|
|CAF Confederation Cup Review: Cotonsport on verge of progress|
|Ribery helps Bayern to penalty victory on return|
|Balzaretti suffers another injury blow|
|Puel confirms Ospina departure|
|Beckham backs Rodriguez to be Real hit|
|Bojan fails to inspire Stoke|
|Long on target as Hull held by Barnsley|
|Cardiff issue Medel warning|
|Ferreyra sorry for late Shakhtar return|
|Payet rules out Swansea move|
|Gilchrist nets winner as Burnley edge Accrington|
|Cazorla optimistic for new season|
|Celtic suffer St Pauli defeat|
|QPR lose on Ferdinand debut|
|Mashaba handed Bafana Bafana role|
|Van Aanholt eager to prove himself|
|Areola completes Bastia loan switch|
|Ospina imminent, but Szczesny gets Wenger´s backing|
|Reus happy with progress|
|Alleged spot-fixers released|
|Giuly: Mathieu can be the next Abidal|
|Allardyce hoping to keep hold of Morrison|
|Monk hails quality of Swansea additions|
|Van Gaal orders United players to speak English|
|Allardyce: We must improve|
|Campbell thrilled by Palace switch|
|Bojan drawn by Stoke style|
|Palace were wasteful, says Pulis|
|Van Gaal suits me - Cleverley|
|Newcastle stay perfect in NZ|
|Van Gaal prepared to wait for Strootman|
|West Brom overcome Sacramento|
|Colorado Rapids 3 Chivas USA 0: Hosts rise to third in the West|
|Gameiro brace adds to West Ham woes|
|Villas-Boas: Rodriguez best suited to no.10 role|
|Cazorla: I´m happy at Arsenal|
|Reina respects Liverpool contract|
|Lampard could move to Melbourne on loan|
|Galliani: Balotelli ´99.9 per cent´ staying|
|Own goal helps Palace win in Philadelphia|
|Mourinho: Shaw deal would have ´killed´ Chelsea|
|Al Ahli Benghazi 0 ES Setif 2: Visitors on verge of semi-final spot|
|Julio Cesar returns to QPR|
|Rooney wants to lead United|