Which Is Closer to Morocco: Madrid or Barcelona? Madrid.
Madrid is significantly closer to Morocco than Barcelona.
Distances to Tangier (Morocco's nearest major city to Spain)
- Madrid → Tangier: **~630 km (391 mi)** — *straight line*.
- Barcelona → Tangier: **~1,260 km (783 mi)** — *straight line*.
Madrid is **almost exactly half the distance**.
Why?
- Madrid sits near the **geographic center of the Iberian Peninsula** (~40.4°N, 3.7°W).
- Barcelona is on the **northeast Mediterranean coast** (~41.4°N, 2.2°E).
- Tangier sits at the **Strait of Gibraltar** (~35.8°N, 5.8°W) — directly south of Spain's southern tip.
Travel Implications
- Flight: Madrid (MAD) → Tangier (TNG) = **1h 15m**. Barcelona (BCN) → TNG = **1h 50m** (but fewer direct flights).
- Ferry: **Algeciras/Tarifa (near Gibraltar) → Tangier Med/Ville** = **30 min – 1 hr**. Drive Madrid → Algeciras = **~6 hrs (630 km)**. Drive Barcelona → Algeciras = **~11 hrs (1,100 km)**.
- High-Speed Rail (AVE): Madrid → Algeciras (via Antequera) ~4.5 hrs. No direct HSR from Barcelona to south coast.
For any Morocco trip (Tangier, Tetouan, Chefchaouen, Fez, Rabat, Casablanca), **Madrid is the vastly superior Spanish gateway**.