Xavi Hernandez and Alvaro Negredo scored second-half goals to give Spain a 2-1 win over Belarus on Friday, leaving the world and European champions one point away from sealing their place in the 2014 World Cup.
Belarus' disciplined defence held Spain to one shot on target in the first half, but Spain's insistence led to Xavi scoring the 61st-minute opener before substitute Negredo added a second goal in the 78th.
Substitute Sergei Kornilenko snatched a consolation goal for last-place Belarus on the break in the 89th.
The victory gave Spain 17 points in Europe Group I. France has 14 before both play on Tuesday.
Spain hosts Georgia and France hosts Finland in their final group matches. The winner of the group qualifies for the 2014 tournament in Brazil, while the runner-up faces a playoff.
Spain, which had drawn its previous two qualifiers played at home, is now undefeated in 29 straight games on home soil.
"It wasn't easy. We weren't very crisp with our final passes, but we got the win and took an important step toward the World Cup," said Xavi.
Xavi wore the captain's armband after Spain coach Vicente del Bosque started Victor Valdes over regular skipper Iker Casillas.
Del Bosque also gave Swansea forward Miguel "Michu" Perez his first intentional start even though he had been a late replacement in the squad for the injured David Villa.
After Spain struggled to create scoring chances in the first 45 minutes, Del Bosque took off defender Nacho Monreal for another playmaker in Andres Iniesta and later sent on Negredo for Michu.
Spain continued to probe and the breakthrough came when Pique blindly lobbed the ball backward from near the end line. After Belarus' Egor Filipenko grazed it, the ball fell perfectly for Xavi to drive in a low right-footed strike.
Negredo secured the result with a header from a cross by Sergio Ramos after Pedro Rodriguez had played the defender free with a deft back-heeled flick.
The game went ahead despite an explosion in the power supply at Iberostar Stadium on Thursday night that injured three people— two seriously— and led to several power outages.