INJURY TIMEpublished at 105 mins
Morocco 0-0 Spain
One minute added on. Time for another 50 Spain passes probably.
Sarabia, Soler and Busquets all miss penalties for Spain
Bono the hero for Morocco with two saves in the shootout
Hakimi sealed victory with chipped Panenka penalty
Game of few clear chances ended goalless after 120 minutes
Morocco will face Portugal or Switzerland in quarter-finals on Saturday
Emlyn Begley
Morocco 0-0 Spain
One minute added on. Time for another 50 Spain passes probably.
Morocco 0-0 Spain
Morocco's best chance of the whole game as Azzedine Ounahi feeds Walid Cheddira in the box and the Bari striker's shot from about 10 yards out is straight at the legs of Unai Simon. What an escape for Spain.
Morocco 0-0 Spain
Spain defender/Manchester City midfielder Rodri slips as he shoots from 35 yards out and it sails over the bar.
Morocco 0-0 Spain
Look at that graphic!
Morocco 0-0 Spain
Here's another graphic which tells the story of the match... Spain's passes.
Luis Enrique's men are fully embracing their manager's possession-based philosophy, having now made 862 passes after 100 or so minutes of this match.
The green arrows signify the successful ones and Spain's passing accuracy stands at 91.5%.
In contrast, Morocco have made 276 passes.
Morocco 0-0 Spain
The ball is lifted into Ansu Fati in the box and a Moroccan defender heads the ball out of the hands of his goalkeeper Bono. Poor communication but they get away with it.
Morocco 0-0 Spain
Actually maybe that's the end of the Spanish flurry of pressure. Back to passing.
Morocco 0-0 Spain
Pat Nevin
Former Scotland winger on BBC Radio 5 Live
At the moment, I don’t think you can call it about who is more likely to score.
Because of the breaking capabilities of the Moroccans and because you wonder if the Spanish are ever going to get desperate or whether they are that comfortable with penalty kicks.
Morocco 0-0 Spain
Alex Balde, who came on for his fellow Barcelona left-back Jordi Alba a few moments ago, has a shot blocked.
I'll tell you what though - it's all Spain now.
Morocco 0-0 Spain
Good feet by Alvaro Morata in the box but then his cross is headed away by a Moroccan to stop a big Spain chance.
Morocco 0-0 Spain
Good defending by Morocco's Achraf Hakimi to stop Ansu Fati getting the ball in the box.
Tweet using #bbcfootball or text 81111 (UK only - standard message rates apply)
This Spain side make me yearn for Big Sam's hoofball football. I'm getting sick of seeing teams try and tippy tap the ball around. It's boring to watch. Mix it up!
Nas, Blackburn
Spain: other than the Netherlands the most boring side to watch of the so called elite nations.
Alan, West Sussex.
Morocco 0-0 Spain
I'm always happy to see Ansu Fati, one of the best young players in the world without a doubt.
Morocco 0-0 Spain
Spain bring on Barcelona youngsters Ansu Fati and Alex Balde for Dani Olmo and Jordi Alba.
Morocco 0-0 Spain
Nice skill from Nico Williams on the right wing but his cross is just over Alvaro Morata.
Morocco 0-0 Spain
The flag eventually goes up so it wouldn't have counted but what a waste from Walid Cheddira.
The Morocco sub runs through from the halfway line and just as he's about to shoot Aymeric Laporte nicks the ball off his foot. He was offside as it turns out.
Morocco 0-0 Spain
Pat Nevin
Former Scotland winger on BBC Radio 5 Live
Alvaro Morata is capable of scoring, you know he will make the right runs.
If you put it into the right area he will get there.
He has been the only player willing to get into the dangerous areas and hurt the Morocco defence.
Morocco 0-0 Spain
Spain have only used three subs so I think that means they can bring on three more. Morocco just have the one bonus extra-time sub left.
Morocco 0-0 Spain
Imagine how bad Costa Rica's defence must have been to concede seven goals to this Spanish team.
Morocco 0-0 Spain
Chris Bevan
BBC Sport at Education City, Qatar
Morocco were dropping deeper and deeper towards the end of the 90+ minutes, but they held on, with the help of their fans who kept on whistling and drumming to the end.
Remember that the Atlas Lions are in the last 16 of the World Cup for the first time since 1986, and they have got here by the same way they are playing today - organisation and numbers at the back, and hitting teams on the break.
The question is, have they got anything left in the tank for any more rapid raids forward, or is extra-time going to be one-way traffic (even if that direction is sideways a lot of the time with this Spanish team)?