A few fans were philosophical about the loss, which came after Spain had overwhelmed ownership yet neglected to break the tight Moroccan protection.
Individuals had stuffed into bars decked out in the red and yellow Spanish banner to watch the group, yet it was Morocco allies who claimed the night as their side beat Spain 3-0 on punishments and booked their pass to the quarter-finals.
Morocco's Achraf Hakimi, who was brought into the world in Madrid, got the conclusive spot kick in the shootout.
Spain and Morocco have a long history of competition and shared social impacts tracing all the way back to the Muslim victory of Iberia in the eighth hundred years and the Spanish Reconquista that followed, with rough political relations in the previous many years, frequently resentful about movement issues.
Spain fans were disheartened to see their group crash out of the competition.
"We return to Spain crying and we should reflect," said Julia Calvet, 21, in a Barcelona bar.
Top state leader Pedro Sanchez was fast with an encouragement message, tweeting: "You have excited us and done right by us."
The Spanish Imperial Family tweeted "Nothing closes here… We should continue pushing ahead, continue contending and continue to battle."
A few fans were philosophical about the loss, which came after Spain had overwhelmed ownership yet neglected to break the tight Moroccan guard.
"They have not disheartened me, since they have played well indeed, however I'm a piece miserable. Against Morocco, a group that isn't areas of strength for extremely, might have won… they have played protecting constantly," said Rafael Gomez, 27, who was watching the match in a Barcelona bar enveloped by a Spanish banner.
Yet, it was an altogether different night for Spain's Moroccan populace - the biggest unfamiliar local area making up 16% of all unfamiliar occupants as indicated by true information.
In Barcelona, Morocco fans pressed into the focal Raval neighborhood to celebrate, lighting flares and singing.
"We expected to win with the goal that Moroccans really believe in themselves in Spain," Anass, a 22-year-old Moroccan cook told Reuters in midtown Barcelona. "Also, we desire to go to the last!"
Individuals rampaged in Melilla, Spain's north African territory that borders Morocco, cheering, moving and sounding their horns in festival, public telecaster TVE showed.