As someone who has lived in Spain for several years, friends often ask me how far Morocco really is from Spain. Today I’ll discuss this topic in detail, hoping to help those planning to travel to Morocco or those interested in geography.
Shortest Distance at Gibraltar Strait
Many people may not realize that Morocco and Spain are actually very close neighbors. The shortest distance between the two countries is at the famous Gibraltar Strait, where the narrowest point is only 14 kilometers. Specifically, this is the straight-line distance from Tarifa Point in Spain to Spartel Cape in Morocco.

On clear weather days, standing on Spain’s southern coastline, you can even see the silhouette of Morocco’s mountain ranges with the naked eye. This feeling is truly magical, as if the African continent is within reach right before your eyes.
Distance Comparison Between Major Cities
While the closest distance between the two countries is only 14 kilometers, what we care more about in actual travel are the distances between major cities. Here are some useful distance references:
| Spanish City | Moroccan City | Approximate Distance |
| Algeciras | Tangier | 35 kilometers |
| Malaga | Casablanca | 320 kilometers |
| Seville | Rabat | 380 kilometers |
| Madrid | Marrakech | 850 kilometers |
From this table, you can see that if you live in Andalusia in southern Spain, traveling to Morocco is really very convenient. I have several friends who often take weekend ferry trips to Tangier for shopping or to taste authentic Moroccan cuisine, as detailed in this Morocco Spain distance guide.
Transportation Methods Across the Strait
To travel from Spain to Morocco, there are several main options. The most common is taking a ferry from Algeciras port to Tangier, which takes about 1.5 to 2 hours. There are also fast boats from Tarifa to Tangier, which take slightly less time.
Although the straight-line distance is very short, there are currently no cross-sea bridges or tunnels connecting the two countries. However, it’s said that both governments have been discussing the possibility of building a cross-sea passage, which would be incredibly convenient if it becomes reality.
Historical Significance of Geographic Location
The close geographic proximity between Morocco and Spain has important historical significance. The Gibraltar Strait is not only the boundary between the Atlantic Ocean and Mediterranean Sea, but also the natural boundary between Europe and Africa. In ancient times, this was called the “Pillars of Hercules,” symbolizing the boundary of the known world.
Living in Spain now, I deeply appreciate this geographic convenience. Many Spanish people treat going to Morocco as a short trip, as natural as visiting neighboring provinces. This kind of cross-continental neighboring relationship is indeed quite rare in the world.