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.

Keep it in a collection in your library.
Highest6,180.4Melilla
Median112.419 autonomous communities
Spain97.2History

Map of autonomous communities, 2024

Andalusia: 99.7 inhabitants per km²Aragon: 28.6 inhabitants per km²Asturias: 95.8 inhabitants per km²Balearic Islands: 249.5 inhabitants per km²Canary Islands: 303 inhabitants per km²Cantabria: 112.4 inhabitants per km²Castile and León: 25.5 inhabitants per km²Castilla-La Mancha: 26.7 inhabitants per km²Catalonia: 252.4 inhabitants per km²Valencian Community: 232.2 inhabitants per km²Extremadura: 25.8 inhabitants per km²Galicia: 92.3 inhabitants per km²Community of Madrid: 885.8 inhabitants per km²Region of Murcia: 139.6 inhabitants per km²Navarre: 65.8 inhabitants per km²Basque Country: 310.9 inhabitants per km²La Rioja: 64.7 inhabitants per km²Ceuta: 4,168.7 inhabitants per km²Melilla: 6,180.4 inhabitants per km²
  • Under 50
  • 50 to 100
  • 100 to 210
  • 210 to 310
  • 310 and over
inhabitants per km², 2024. Source: Eurostat, Population density by NUTS 3 region (demo_r_d3dens). Boundaries: Natural Earth (public domain).

All autonomous communities, 2024

Melilla: 6,180.4 inhabitants per km²Melilla6,180.4Ceuta: 4,168.7 inhabitants per km²Ceuta4,168.7Community of Madrid: 885.8 inhabitants per km²Community of Madrid885.8Basque Country: 310.9 inhabitants per km²Basque Country310.9Canary Islands: 303 inhabitants per km²Canary Islands303Catalonia: 252.4 inhabitants per km²Catalonia252.4Balearic Islands: 249.5 inhabitants per km²Balearic Islands249.5Valencian Community: 232.2 inhabitants per km²Valencian Community232.2Region of Murcia: 139.6 inhabitants per km²Region of Murcia139.6Cantabria: 112.4 inhabitants per km²Cantabria112.4Andalusia: 99.7 inhabitants per km²Andalusia99.7Asturias: 95.8 inhabitants per km²Asturias95.8Galicia: 92.3 inhabitants per km²Galicia92.3Navarre: 65.8 inhabitants per km²Navarre65.8La Rioja: 64.7 inhabitants per km²La Rioja64.7Aragon: 28.6 inhabitants per km²Aragon28.6Castilla-La Mancha: 26.7 inhabitants per km²Castilla-La Mancha26.7Extremadura: 25.8 inhabitants per km²Extremadura25.8Castile and León: 25.5 inhabitants per km²Castile and León25.5Melilla: 6,180.4 inhabitants per km²Melilla6,180.4Ceuta: 4,168.7 inhabitants per km²Ceuta4,168.7Community of Madrid: 885.8 inhabitants per km²Community of Madrid885.8Basque Country: 310.9 inhabitants per km²Basque Country310.9Canary Islands: 303 inhabitants per km²Canary Islands303Catalonia: 252.4 inhabitants per km²Catalonia252.4Balearic Islands: 249.5 inhabitants per km²Balearic Islands249.5Valencian Community: 232.2 inhabitants per km²Valencian Community232.2Region of Murcia: 139.6 inhabitants per km²Region of Murcia139.6Cantabria: 112.4 inhabitants per km²Cantabria112.4Andalusia: 99.7 inhabitants per km²Andalusia99.7Asturias: 95.8 inhabitants per km²Asturias95.8Galicia: 92.3 inhabitants per km²Galicia92.3Navarre: 65.8 inhabitants per km²Navarre65.8La Rioja: 64.7 inhabitants per km²La Rioja64.7Aragon: 28.6 inhabitants per km²Aragon28.6Castilla-La Mancha: 26.7 inhabitants per km²Castilla-La Mancha26.7Extremadura: 25.8 inhabitants per km²Extremadura25.8Castile and León: 25.5 inhabitants per km²Castile and León25.5
inhabitants per km². Source: Eurostat, Population density by NUTS 3 region (demo_r_d3dens). Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2024
inhabitants per km²
Change on 2023
1Melilla6,180.4+0.9%
2Ceuta4,168.7+0.3%
3Community of Madrid885.8+1.7%
4Basque Country310.9+0.6%
5Canary Islands303+1%
6Catalonia252.4+1.4%
7Balearic Islands249.5+1.6%
8Valencian Community232.2+2%
9Region of Murcia139.6+1.2%
10Cantabria112.4+0.4%
11Andalusia99.7+0.5%
12Asturias95.8+0.4%
13Galicia92.3+0.3%
14Navarre65.8+0.8%
15La Rioja64.7+0.8%
16Aragon28.6+0.7%
17Castilla-La Mancha26.7+0.8%
18Extremadura25.80%
19Castile and León25.50%

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

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

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  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

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,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

Autonomous communities of Spain: more rankings