The question is ambiguous.
It is approximately 9 miles from North Africa to Europe across the Straits of Gibraltar.
Spain has two Autonomous Cities, Melilla and Ceuta on the Mediterranean coast of North Africa surrounded by Morocco. The distance between Spain and Morocco there is one step to cross the border.
You need to specify from where you are starting.
5115miles somethin like that i don't know figure it out your self
the strait of Gibraltar is 14.3 km wide at its narrowest point. Morocco to Spain.
466 miles
Morocco, Spain, and France.
The Strait of Gibraltar is about 7-8 miles wide. However, Spain actually controls Ceuta, which is the African peninsula on the Strait of Gibraltar. So, Spain actually borders Morocco directly at the Strait of Gibraltar (although there is a no-man's land of roughly 100-200 feet that separates them).
Morocco is south of Spain in Africa.
The Strait of Gibraltar separates Spain from Morocco.
Spain and Morocco
Morocco was split between France and Spain.
Morocco
Driving distance: 341.32 miles / 549.31 kilometers - Time: ~6:27 h
Jordan, Morocco and Spain.
Morocco, Spain, and France.