Coastline of Spain (2025)
The coastline of Spain is 4,964 km long (as of 2025, CIA World Factbook).
Spain has the 26th longest coastline of 150 ranked countries (as of 2025, CIA World Factbook).
Key figures
- Coastline
- 4,964 kmas of 2025, CIA World Factbook
- World rank
- 26 of 150as of 2025, CIA World Factbook
Spain through history
Spain became independent in 1492.
Map quizzes that include Spain
- Spain: Autonomous Communities
- Spain: Community Flags
- European Union Members
- European Union: Flags
- Europe: Countries
Spain in context
| Country | Value | Year | Rank | Relation |
|---|---|---|---|---|
| Argentina | 4,989 km | 2025 | 24 of 150 | similar size |
| Iceland | 4,970 km | 2025 | 25 of 150 | similar size |
| Spain | 4,964 km | 2025 | 26 of 150 | this country |
| France | 4,853 km | 2025 | 27 of 150 | land neighbour |
| Madagascar | 4,828 km | 2025 | 28 of 150 | similar size |
| Malaysia | 4,675 km | 2025 | 29 of 150 | similar size |
| Morocco | 2,945 km | 2025 | 38 of 150 | land neighbour |
| Portugal | 1,793 km | 2025 | 57 of 150 | land neighbour |
| Gibraltar | 12 km | 2025 | not ranked | land neighbour |
Frequently asked questions
How long is the coastline of Spain?
The coastline of Spain is 4,964 km long (as of 2025, CIA World Factbook).
How does Spain rank in the world by coastline?
Spain has the 26th longest coastline of 150 ranked countries (as of 2025, CIA World Factbook).
What it measures
The coastline is the length of the boundary between land and sea, in kilometres.
Sources and method
- CIA World Factbook (final snapshot), Licence: Public domain
Ranks count the independent states that have a value for the indicator and are listed in the Geographic History country data; territories and dependencies are shown with their data but are not ranked. Rank 1 is the highest value.
A year given as "as of" is when the figure was read from the source, not the year it describes.
Last updated:
More about Spain
More statistics for Spain
- Population
- Population density
- Population growth
- Urban population
- Life expectancy
- Fertility rate
- Median age
- Adult literacy
- Internet users
- GDP
- GDP per capita
- GDP per capita, PPP
- GDP growth
- Inflation
- Unemployment
- Human Development Index
- Income inequality (Gini)
- Area
- Forest area
- Arable land
- CO2 emissions per person
Every year has a map
Drag a timeline across 2,500 years in the free Geographic History app - every province, ruler and battle, also offline.

