How far are Spain's cities from the sea?
Of the 6 cities in Spain MapGO measured, Madrid is the farthest from the sea (306 km (190 miles)) and Málaga the closest (0.4 km (0.2 miles)).
Farthest from the sea first
| City | Region | To the coast | Setting |
|---|---|---|---|
| Madrid | Comunidad de Madrid | 306 km (190 miles) | Far inland |
| Zaragoza | Aragón | 163 km (101 miles) | Inland |
| Seville | Andalucía | 66 km (41 miles) | Inland |
| Valencia | Comunidad Valenciana | 4.4 km (2.8 miles) | On the coast |
| Barcelona | Cataluña | 2.2 km (1.4 miles) | On the coast |
| Málaga | Andalucía | 0.4 km (0.2 miles) | On the coast |
Straight-line distance from each city centre to the nearest point on the coast, measured October 8, 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.
Questions
Which city in Spain is farthest from the sea?
Of the 6 cities measured, Madrid is the farthest from the coast: 306 km (190 miles) in a straight line.
Which city in Spain is closest to the sea?
Málaga, 0.4 km (0.2 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.
Other countries
ArgentinaAustraliaAustriaBelgiumBrazilCanadaChileChinaColombiaCzechiaDenmarkEgyptFinlandFranceGermanyGreeceHungaryIndiaIndonesiaIrelandIsraelItalyJapanKenyaMalaysiaMexicoNew ZealandNigeriaNorwayPakistanPeruPhilippinesPolandPortugalRomaniaRussiaSaudi ArabiaSouth AfricaSouth KoreaSwedenSwitzerlandThailandThe NetherlandsTurkeyUkraineUnited Arab EmiratesUnited KingdomUnited StatesVietnam