Autonomous communities of Spain by population density, 2024
Melilla had the highest population density of 19 autonomous communities in 2024, at 6,180.4 inhabitants per km². Castile and León had the lowest, at 25.5 inhabitants per km². The median was 112.4 inhabitants per km² and the figure for Spain was 97.2 inhabitants per km². Source: Eurostat, European Commission.
All autonomous communities, 2024
Full ranking
| Rank | Autonomous communities | 2024 | Change on 2023 |
|---|---|---|---|
| 1 | Melilla | 6,180.4 | +0.9% |
| 2 | Ceuta | 4,168.7 | +0.3% |
| 3 | Community of Madrid | 885.8 | +1.7% |
| 4 | Basque Country | 310.9 | +0.6% |
| 5 | Canary Islands | 303 | +1% |
| 6 | Catalonia | 252.4 | +1.4% |
| 7 | Balearic Islands | 249.5 | +1.6% |
| 8 | Valencian Community | 232.2 | +2% |
| 9 | Region of Murcia | 139.6 | +1.2% |
| 10 | Cantabria | 112.4 | +0.4% |
| 11 | Andalusia | 99.7 | +0.5% |
| 12 | Asturias | 95.8 | +0.4% |
| 13 | Galicia | 92.3 | +0.3% |
| 14 | Navarre | 65.8 | +0.8% |
| 15 | La Rioja | 64.7 | +0.8% |
| 16 | Aragon | 28.6 | +0.7% |
| 17 | Castilla-La Mancha | 26.7 | +0.8% |
| 18 | Extremadura | 25.8 | 0% |
| 19 | Castile and León | 25.5 | 0% |
Other periods
About this ranking
Resident population divided by land area in km². World Bank figures use mid-year population and land area excluding inland water.
United States: Census Bureau population estimates for 1 July divided by land area (water excluded) from the latest Census Gazetteer files. US tables often give people per square mile; multiply persons per km² by 2.59 to compare.
Every value in the ranking comes from the same publisher and the same period, so the autonomous communities are compared on one definition. Equal values share a rank.
How to cite
Eurostat. Population density by NUTS 3 region (demo_r_d3dens). https://ec.europa.eu/eurostat/databrowser/view/demo_r_d3dens/default/table. Retrieved 2026-10-07.
Use this data in your AI agent
Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:
Rank Autonomous communities of Spain by population density using official data, and cite the source.
rank_places {"indicator":"population_density","level":"region","within":"Spain","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=population_density&level=region&within=Spain&limit=10
Questions
Which autonomous community has the highest population density?
Melilla, with 6,180.4 inhabitants per km² in 2024, according to Eurostat, European Commission.
Which autonomous community has the lowest population density?
Castile and León, with 25.5 inhabitants per km² in 2024.
Where does this ranking come from?
Every value comes from one source and one period, so the places are comparable: Eurostat, European Commission, Population density by NUTS 3 region (demo_r_d3dens). Retrieved 2026-10-07.
Population density: other rankings
- Countries
- EU countries
- US states
- EU regions (NUTS 2)
- US counties
- Provinces of Spain
- Municipalities of Spain
- Regions of Germany (NUTS 2)
- Regions of France (NUTS 2)
- Regions of Italy (NUTS 2)
- Regions of Poland (NUTS 2)
- Regions of Greece (NUTS 2)
Autonomous communities of Spain: more rankings
- Active companies
- Activity rate
- At-risk-of-poverty rate
- Average age
- Average home mortgage amount
- Live births
- New companies created
- Inflation (CPI annual change)
- Consumer price index (CPI)
- Crude birth rate
- Crude death rate
- Deaths
- Dependency ratio
- Age dependency ratio (ages 15 to 64 base)
- Employment rate
- Enterprises using artificial intelligence