Countries Bordering Spain: Portugal, France, Andorra, and Gibraltar
Spain's Land Borders
Spain shares land borders with four entities:
- Portugal – to the west (1,214 km / 754 mi)
- France – to the northeast (623 km / 387 mi)
- Andorra – microstate in the Pyrenees, northeast (63.7 km / 39.6 mi)
- Gibraltar – British Overseas Territory, south (1.2 km / 0.75 mi)
Maritime Borders
Spain also has maritime boundaries with:
- Mediterranean Sea (east and southeast)
- Atlantic Ocean (north, west, southwest)
- Algeria (maritime, across the Alboran Sea)
- Morocco (maritime, Strait of Gibraltar; also land borders at Ceuta and Melilla)
Geopolitical Notes
Ceuta and Melilla are Spanish enclaves in North Africa, bordering Morocco. Gibraltar's status is disputed by Spain but remains under UK administration.