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.
Map of autonomous communities, 2024
- Under 50
- 50 to 100
- 100 to 210
- 210 to 310
- 310 and over
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 and UN World Population Prospects figures use the population on 1 July and land area excluding inland water.
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.
Citation styles
APA 7
Eurostat, European Commission. (2026). Population density by NUTS 3 region (demo_r_d3dens) (Autonomous communities of Spain by population density, 2024) [Data set]. Retrieved October 7, 2026, from https://ec.europa.eu/eurostat/databrowser/view/demo_r_d3dens/default/table
MLA 9
Population density by NUTS 3 region (demo_r_d3dens), Autonomous communities of Spain by population density, 2024. Eurostat, European Commission, 25 Feb. 2026, https://ec.europa.eu/eurostat/databrowser/view/demo_r_d3dens/default/table. Invokely, https://invokely.ai/rankings/population-density/spain-regions. Accessed 7 Oct. 2026.
Chicago (author-date)
Eurostat, European Commission. 2026. Population density by NUTS 3 region (demo_r_d3dens). Autonomous communities of Spain by population density, 2024. Dataset. Accessed October 7, 2026. https://ec.europa.eu/eurostat/databrowser/view/demo_r_d3dens/default/table. Also distributed by Invokely, https://invokely.ai/rankings/population-density/spain-regions.
Harvard
Eurostat, European Commission (2026) Population density by NUTS 3 region (demo_r_d3dens), Autonomous communities of Spain by population density, 2024 [Dataset]. Available at: https://ec.europa.eu/eurostat/databrowser/view/demo_r_d3dens/default/table, via Invokely: https://invokely.ai/rankings/population-density/spain-regions (Accessed: 7 October 2026).
BibTeX
@misc{eurostat_autonomous_communities_of_spain_2024,
author = {{Eurostat, European Commission}},
title = {{Population density by NUTS 3 region (demo\_r\_d3dens): Autonomous communities of Spain by population density, 2024}},
year = {2026},
howpublished = {Data set},
url = {https://ec.europa.eu/eurostat/databrowser/view/demo_r_d3dens/default/table},
urldate = {2026-10-07},
note = {Accessed via Invokely, https://invokely.ai/rankings/population-density/spain-regions. Publisher attribution: 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.},
}
RIS
TY - DATA
AU - Eurostat, European Commission
TI - Population density by NUTS 3 region (demo_r_d3dens): Autonomous communities of Spain by population density, 2024
PY - 2026
DA - 2026/02/25
PB - Eurostat, European Commission
DB - Invokely
UR - https://ec.europa.eu/eurostat/databrowser/view/demo_r_d3dens/default/table
L2 - https://invokely.ai/rankings/population-density/spain-regions
Y2 - 2026/10/07
N1 - Accessed via Invokely, https://invokely.ai/rankings/population-density/spain-regions.
N1 - Publisher attribution: 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.
ER -
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
- Regions of Czechia (NUTS 2)
- Regions of Portugal (NUTS 2)
- Regions of Austria (NUTS 2)
- Counties in Ohio
- Municipalities of Spain
- Counties in North Carolina