La Roja entered the match three points clear of second-placed Italy, and with the Azzurri being held to a 1-1 draw by Macedonia, Julen Lopetegui's side have secured their position in the finals with one match to spare.
Valencia forward Rodrigo Moreno marked his first worldwide start by opening the scoring in the 16th minute, chesting down an outrageously stylish pass from Isco to swivel and fire into the top corner.
Real Madrid midfielder Isco then fired home a second in the 23rd to complete an impressive move of short passes between David Silva and Koke.
Azdren Llullaku nearly hit back for the visitors, hitting the crossbar with a great header that had David De Gea beat, but any hopes of an unlikely comeback were crushed when Thiago made it 3-0 with a smart header, taking advantage of some terrible defending and a great assist from Alvaro Odriozola.
The chaos has spilled onto the football pitch and the national team, with Gerard Pique being booed at training sessions throughout the week after voting in the banned referendum, while the Barcelona defender received a mixture of support and boos from supporters in the game against Albania.
The Barcelona defender was substituted by Lopetegui after an hour was up. Italy will have to try and make it into the World Cup via the playoffs.
Giorgio Chiellini put Italy ahead five minutes before half-time at the matchday 9 game played in Turin on Friday night. The brilliant 19-year-old scored one and made another to cap a sensational 19-minute burst. If they win against Kosovo on Monday, they will become the smallest nation ever to be part of World Cup.
But Louis Schaub struck in the 89th minute to give Austria victory.
The Irish brushed Moldova aside 2-0 in Dublin through a first-half brace from Daryl Murphy and now face Wales at home in a final-round showdown with first place in the group still in play. Brilliant performances of the Spanish team brought them an easy 3 points for the victory with a score of 3: 0, as well as the opportunity to grab a single line.
In the team Spain, the player Alvaro Morata is lost due to injury, The team has no help from the political side and they are offering to quit the national team.
A stoppage-time equaliser from Pyry Soiri left qualification out of the hands of Croatia, who led through Mario Mandzukic's 57th-minute tap-in.
An own goal from Leart Paqarada on the hour set Ukraine on their way before Andriy Yarmolenko sealed their win. The host team Russian Federation has automatically qualified for the tournament.