How far are Morocco's cities from the sea?
Of the 4 cities in Morocco MapGO measured, Fes is the farthest from the sea (133 km (83 miles)) and Tangier the closest (1.3 km (0.8 miles)).
Farthest from the sea first
| City | Region | To the coast | Setting |
|---|---|---|---|
| Fes | Fès - Boulemane | 133 km (83 miles) | Inland |
| Rabat | Rabat - Salé - Zemmour - Zaer | 1.6 km (1 mile) | On the coast |
| Casablanca | Chaouia - Ouardigha | 1.5 km (0.9 miles) | On the coast |
| Tangier | Tanger - Tétouan | 1.3 km (0.8 miles) | On the coast |
Straight-line distance from each city centre to the nearest point on the coast, measured October 19, 2026.
How far are you from the sea?
Measure from where you are standing. On a phone this uses GPS, so the answer is for your exact spot.
Tools for Morocco
Straight-line distance to the nearest border.
Open in workspaceMarkers, lines, shapes and labels. Free, no sign-up.
Open in workspaceTrace a field or plot and read its area in acres or hectares.
Open in workspaceExplore Morocco
Questions
Which city in Morocco is farthest from the sea?
Of the 4 cities measured, Fes is the farthest from the coast: 133 km (83 miles) in a straight line.
Which city in Morocco is closest to the sea?
Tangier, 1.3 km (0.8 miles) from the nearest shoreline in a straight line.
Are these driving distances?
No. Each figure is the straight-line distance from the city centre to the nearest point on the coast. The drive to a beach is longer and depends on the roads.