Autonomous communities of Spain by median age

Asturias had the highest median age of 19 autonomous communities in 2020, at 50 years. Melilla had the lowest, at 34.9 years. The median was 44.2 years and the figure for Spain was 44.2 years. Source: Eurostat, European Commission.

Highest50Asturias
Lowest34.9Melilla
Median44.219 autonomous communities
Spain44.2History

All autonomous communities, 2020

CSVChart (SVG)

AsturiasAsturias: 50 years50Castile and LeónCastile and León: 49.2 years49.2GaliciaGalicia: 48.3 years48.3CantabriaCantabria: 46.9 years46.9Basque CountryBasque Country: 46.8 years46.8AragonAragon: 45.7 years45.7ExtremaduraExtremadura: 45.7 years45.7La RiojaLa Rioja: 45.4 years45.4Valencian CommunityValencian Community: 44.3 years44.3NavarreNavarre: 44.2 years44.2Castilla-La ManchaCastilla-La Mancha: 43.8 years43.8Canary IslandsCanary Islands: 43.5 years43.5CataloniaCatalonia: 43.4 years43.4Community of MadridCommunity of Madrid: 43 years43AndalusiaAndalusia: 42.8 years42.8Balearic IslandsBalearic Islands: 41.8 years41.8Region of MurciaRegion of Murcia: 41.2 years41.2CeutaCeuta: 37.4 years37.4MelillaMelilla: 34.9 years34.9
years. Source: Eurostat. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2020
years
Change on 2019
1Asturias50+0.4
2Castile and León49.2+0.4
3Galicia48.3+0.4
4Cantabria46.9+0.4
5Basque Country46.8+0.3
6Aragon45.7+0.3
6Extremadura45.7+0.5
8La Rioja45.4+0.3
9Valencian Community44.3+0.3
10Navarre44.2+0.3
11Castilla-La Mancha43.8+0.3
12Canary Islands43.5+0.4
13Catalonia43.4+0.2
14Community of Madrid43+0.2
15Andalusia42.8+0.4
16Balearic Islands41.8+0.3
17Region of Murcia41.2+0.3
18Ceuta37.4+0.4
19Melilla34.9+0.3

Other periods

About this ranking

Age that divides the resident population into two halves of equal size. Spain and the EU: on 1 January. United States: American Community Survey five-year estimate, where the period shown is the last year of the five-year span.

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 structure indicators by NUTS 3 region (demo_r_pjanind3). https://ec.europa.eu/eurostat/databrowser/view/demo_r_pjanind3/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 median age using official data, and cite the source.
rank_places {"indicator":"median_age","level":"region","within":"Spain","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=median_age&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 median age?

Asturias, with 50 years in 2020, according to Eurostat, European Commission.

Which autonomous community has the lowest median age?

Melilla, with 34.9 years in 2020.

Where does this ranking come from?

Every value comes from one source and one period, so the places are comparable: Eurostat, European Commission, Population structure indicators by NUTS 3 region (demo_r_pjanind3). Retrieved 2026-10-07.

Median age: other rankings

Autonomous communities of Spain: more rankings