Autonomous communities of Spain by population density
Melilla had the highest population density of 19 autonomous communities in 2019, at 6,041.5 inhabitants per km². Castile and León had the lowest, at 25.6 inhabitants per km². The median was 110.5 inhabitants per km² and the figure for Spain was 93.8 inhabitants per km². Source: Eurostat, European Commission.
All autonomous communities, 2019
Full ranking
| Rank | Autonomous communities | 2019 | Change on 2018 |
|---|---|---|---|
| 1 | Melilla | 6,041.5 | -0.1% |
| 2 | Ceuta | 4,222.9 | -0.7% |
| 3 | Community of Madrid | 839.7 | +1.5% |
| 4 | Basque Country | 303.7 | +0.4% |
| 5 | Canary Islands | 299.4 | +1.4% |
| 6 | Balearic Islands | 241.2 | +1.9% |
| 7 | Catalonia | 238.1 | +1.1% |
| 8 | Valencian Community | 216.2 | +0.8% |
| 9 | Region of Murcia | 132.4 | +1% |
| 10 | Cantabria | 110.5 | +0.1% |
| 11 | Andalusia | 97.4 | +0.4% |
| 12 | Asturias | 96.6 | -0.4% |
| 13 | Galicia | 92 | 0% |
| 14 | Navarre | 63.1 | +1% |
| 15 | La Rioja | 62.6 | +0.5% |
| 16 | Aragon | 27.9 | +0.7% |
| 17 | Extremadura | 26 | -0.4% |
| 18 | Castilla-La Mancha | 25.8 | +0.4% |
| 19 | Castile and León | 25.6 | -0.4% |
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,041.5 inhabitants per km² in 2019, according to Eurostat, European Commission.
Which autonomous community has the lowest population density?
Castile and León, with 25.6 inhabitants per km² in 2019.
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