Spain dominated possession in the first half but could not find a way past a resolute Morocco defence. The best chance of the half came when Morocco defender Nayef Aguerd headed over from close range.
The 2010 World Cup champions remained dominant but could not find a breakthrough inside 90 minutes, sending the game to extra time. Morocco enjoyed the better chances as they squandered a pair of one-on-ones and, with the scores still level, a penalty shootout was required.
The times were divided in experience — it was Morocco’s first shootout at a World Cup finals and Spain’s fifth — but Morocco goalkeeper Yassine Bounou turned hero, watching Spain first spot kick hit the post before saving their next two efforts to help the North Africa side to a 3-0 victory on penalties.