DOHA: Spain's bid to reach their first World Cup quarter-final since 2010 ended in frustration and failure on Tuesday as they missed all of their spot-kicks in a penalty shoot-out defeat to Morocco.

After 120 minutes of goalless domination, in which they racked up 1,019 passes, Luis Enrique's side capitulated in the shoot-out with Pablo Sarabia, Carlos Soler and Sergio Busquets all missing, the latter two efforts saved by goalkeeper Yassine Bounou.

It left Madrid-born Achraf Hakimi with the chance to win it which he did with a Panenka to send Morocco through to the last eight for the first time.

Morocco will play Portugal in the last eight.