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.

Highest6,041.5Melilla
Median110.519 autonomous communities
Spain93.8History

All autonomous communities, 2019

CSVChart (SVG)

MelillaMelilla: 6,041.5 inhabitants per km²6,041.5CeutaCeuta: 4,222.9 inhabitants per km²4,222.9Community of MadridCommunity of Madrid: 839.7 inhabitants per km²839.7Basque CountryBasque Country: 303.7 inhabitants per km²303.7Canary IslandsCanary Islands: 299.4 inhabitants per km²299.4Balearic IslandsBalearic Islands: 241.2 inhabitants per km²241.2CataloniaCatalonia: 238.1 inhabitants per km²238.1Valencian CommunityValencian Community: 216.2 inhabitants per km²216.2Region of MurciaRegion of Murcia: 132.4 inhabitants per km²132.4CantabriaCantabria: 110.5 inhabitants per km²110.5AndalusiaAndalusia: 97.4 inhabitants per km²97.4AsturiasAsturias: 96.6 inhabitants per km²96.6GaliciaGalicia: 92 inhabitants per km²92NavarreNavarre: 63.1 inhabitants per km²63.1La RiojaLa Rioja: 62.6 inhabitants per km²62.6AragonAragon: 27.9 inhabitants per km²27.9ExtremaduraExtremadura: 26 inhabitants per km²26Castilla-La ManchaCastilla-La Mancha: 25.8 inhabitants per km²25.8Castile and LeónCastile and León: 25.6 inhabitants per km²25.6
inhabitants per km². Source: Eurostat. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2019
inhabitants per km²
Change on 2018
1Melilla6,041.5-0.1%
2Ceuta4,222.9-0.7%
3Community of Madrid839.7+1.5%
4Basque Country303.7+0.4%
5Canary Islands299.4+1.4%
6Balearic Islands241.2+1.9%
7Catalonia238.1+1.1%
8Valencian Community216.2+0.8%
9Region of Murcia132.4+1%
10Cantabria110.5+0.1%
11Andalusia97.4+0.4%
12Asturias96.6-0.4%
13Galicia920%
14Navarre63.1+1%
15La Rioja62.6+0.5%
16Aragon27.9+0.7%
17Extremadura26-0.4%
18Castilla-La Mancha25.8+0.4%
19Castile and León25.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

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

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

Autonomous communities of Spain: more rankings