A fortuitous Diego Costa goal helped Spain overcome a dogged Iran to secure a 1-0 win in their World Cup Group B clash in Kazan.
Carlos Queiroz's side produced a defensive masterclass to reduce Spain to nothing more than half-chances during a hugely frustrating opening 53 minutes for the 2010 champions.
Costa - who scored twice in Friday's pulsating 3-3 draw with Portugal - eventually found the breakthrough, though, when Ramin Rezaeian's attempted clearance cannoned off his leg and into the bottom-left corner.
Iran had the ball in the back of the net just eight minutes later courtesy of Saeid Ezatolahi, but their wild celebrations were cut short after referee Andres Cunha was advised by VAR that Rezaeian's vital intervention had been made from an offside position.
Iran's approach was far more positive following Costa's strike, Mehdi Taremi heading just over from close range in what was their clearest opportunity to find an unlikely leveller.
The win moves Spain level on points with Portugal at the top of Group B and they know a draw against Morocco on Monday will be enough to secure qualification for the knockout stages. Iran, meanwhile, face Portugal on the same day needing a win to progress at the expense of Cristiano Ronaldo and Co.
Spain handed a 100th cap to Gerard Pique, with Dani Carvajal and Lucas Vazquez the only new faces from the side that drew against Portugal.
Any thoughts that Iran would be blown away by their more illustrious opponents soon dissipated as their expertly drilled defence comfortably rebuffed wave after wave of Spanish attack in the opening stages.
Fernando Hierro's side had to wait until the 25th minute for their first attempt on goal, David Silva's long-range free-kick comfortably held by Alireza Beiranvand.
The Manchester City midfielder came closer to breaking the deadlock five minutes later, but his hooked volley sailed narrowly over the crossbar from six yards out.
Spain's frustration was in danger of boiling over shortly before the interval when Costa got involved in an unnecessary spat with Beiranvand, although referee Cunha opted not to punish the combative striker.
Iran's resistance was nearly broken twice in quick succession at the start of the second period.
First, Pique's close-range effort was blocked and then Beiranvand palmed away Sergio Busquets' curled effort from the edge of the penalty area.
The Asian side almost scored the most unlikely of openers when Karim Ansarifard's instinctive effort from a corner flashed into David De Gea's side netting.
That near-miss was brought into sharp focus less than 60 seconds later when Costa picked up Andres Iniesta's pass inside the area and saw Rezaeian's attempted clearance ricochet off his leg and past the helpless Beiranvand.
Ezatolahi thought he had pulled Iran level shortly after the hour but his close-range finish after a scramble was ruled out courtesy of VAR after Rezaeian had strayed into an offside position.
Taremi's back-post header fizzed over De Gea's crossbar seven minutes from time as Iran pushed for an equaliser, but Spain held on for a 1-0 win they certainly deserved.
Key Opta Stats:
- Iran are winless against European opposition at the World Cup, having lost six of their seven fixtures (W0 D1 L6).
- There have been no 0-0 draws in any of the 20 games at the 2018 World Cup so far - the last time that this happened was in 1954 (no 0-0 scorelines in the 26-game tournament).
- Spain have won each of their last five World Cup matches when they have been drawing 0-0 at half time, all by a 1-0 scoreline.
- This result means all three matches on Wednesday ended 1-0. The only other days in World Cup history to see three 1-0 wins in a single day were June 25th 1982 and June 23rd 2010.
|Thierry Henry quits pundit role to focus on coaching|
|France´s World Cup winners given heroes´ welcome in Paris|
|At the end we will see who is best - Ronaldo sidesteps Messi rivalry|
|Qatar? China? Ronaldo only has eyes for glory at Juventus|
|Proud Kane praises team-mates after Golden Boot win|
|The Open 2018 diary: Is that Tiger Woods? Harrington feels the Burn...|
|Porte targeting Vuelta after Tour de France anguish|
|Maradona madness, #WaistcoatWednesday, bruised Batshuayi - Alternative World Cup awards|
|It could be the best time - Martinez hints at Hazard Chelsea exit|
|England call up Billings as cover for injury doubt Roy|
|McIlroy on track for fitting major haul - Harrington|
|Froome plays down Thomas battle for Sky supremacy|
|Carnoustie record counts for little at The Open, says Fleetwood|
|I don´t see it - Napoli chief De Laurentiis plays down talk of Callejon-Suso swap|
|One or two changes required at Chelsea, says Sarri|
|Monaco confirm Golovin approach|
|Let´s keep making noise! - Serena dedicates Wimbledon run to fellow mothers|
|Full list of Open tee times|
|Fakhar inspires another big Pakistan ODI win|
|Spieth ´annoyed´ by re-watch of 13th hole|
|Kaka claims Ronaldo arrival will boost all Italian clubs|
|Spieth vows to be more artist than tactician in Open defence|
|Conte thanks Chelsea players, staff and fans|
|Rodgers: I´d love to play with the Packers to 40|
|Sevilla insist N´Zonzi will cost €40m|
|Hugill shows mystic powers with accurate World Cup predictions|
|World Cup 2018: FARE ready for post-tournament challenges in Russia|
|Woods grouped with Matsuyama and Knox at Open|
|Matthaus questions idea of French dynasty|
|Chandimal, Sri Lanka coach and manager banned for two Tests and four ODIs|
|Sassuolo demand at least €30m for Berardi|
|French media revels in ´crazy´ triumph|
|Mafi released on bail after alleged assault|
|Bierhoff must go! Berthold calls for Germany changes|
|Joshua to fight Povetkin in September|
|World Cup 2018: Goal-laden final adds to staggering World Cup stats|
|Runners and Ryders: Molinari impresses again as stars prepare for The Open|
|Macron to greet France team after Champs Elysees parade|
|Casillas and Suarez critical of VAR after World Cup final|
|TMO protocol clearly not working, says SANZAAR|
|Americans seek joy of six at Carnoustie, Rose out to end wretched run - The Open in Opta facts|
|Ronaldo arrives in Turin for Juventus medical|
|Stone: I had no idea what my score was!|
|The Open: A look back at Van de Velde´s Carnoustie calamity|
|Rakitic proud of ´brother´ Modric´s Golden Ball award|
|Serena can surpass Court, but Graf was the real target - Krajicek|
|Ronaldo moved to remain motivated - Kaka|
|Silva confident on Everton transfer targets|
|Golden Boot winner Kane aims to break August hoodoo|
|NFL training camp 2018: Contract holdouts and where they stand|
|Guardiola took me to another level - Alaba|
|Madrid selling Ronaldo a ´historic error´ - Calderon|
|MLS Review: LAFC, Atlanta held at home|
|Stones will watch re-runs of England´s World Cup matches|
|Ferdinand challenges Mourinho to unleash Pogba at United|
|Mbappe: I´m staying at PSG|
|Former NHL goalie Ray Emery found dead|
|Pirates secure five-game sweep of Brewers with walk-off win|
|WATCH: LeBron receives standing ovation at Lakers´ summer league game|
|Tony Romo wins celebrity-filled American Century Championship|
|McGregor praises Putin after attending World Cup final|
|Open-bound Kim claims maiden title with eight-shot triumph|
|Eagles running back Sproles plans to retire after next season|
|World Cup winner Rami retires from international football|
|Wimbledon champion Djokovic did not expect grand slam glory so soon|
|Ibrahimovic praises Pogba after World Cup final display|
|Wimbledon diary: Avengers too late for an Infinity War as Djokovic triumphs|
|Deschamp-agne – France´s 2018 vintage interrupt news conference to drench coach|
|I may have to dust my boots off! - Pele threatened by Mbappe exploits|
|WATCH: Mendy and Pogba dab with president Macron after World Cup win|