Autonomous communities of Spain by median age

Asturias had the highest median age of 19 autonomous communities in 2022, at 50.8 years. Melilla had the lowest, at 35.5 years. The median was 44.9 years and the figure for Spain was 45.1 years. Source: Eurostat, European Commission.

Highest50.8Asturias
Lowest35.5Melilla
Median44.919 autonomous communities
Spain45.1History

All autonomous communities, 2022

CSVChart (SVG)

AsturiasAsturias: 50.8 years50.8Castile and LeónCastile and León: 49.9 years49.9GaliciaGalicia: 49.1 years49.1CantabriaCantabria: 47.8 years47.8Basque CountryBasque Country: 47.5 years47.5ExtremaduraExtremadura: 46.5 years46.5AragonAragon: 46.4 years46.4La RiojaLa Rioja: 46.1 years46.1Valencian CommunityValencian Community: 45.2 years45.2NavarreNavarre: 44.9 years44.9Canary IslandsCanary Islands: 44.6 years44.6Castilla-La ManchaCastilla-La Mancha: 44.5 years44.5CataloniaCatalonia: 44.1 years44.1Community of MadridCommunity of Madrid: 43.8 years43.8AndalusiaAndalusia: 43.7 years43.7Balearic IslandsBalearic Islands: 42.6 years42.6Region of MurciaRegion of Murcia: 42 years42CeutaCeuta: 38.1 years38.1MelillaMelilla: 35.5 years35.5
years. Source: Eurostat. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2022
years
Change on 2021
1Asturias50.8+0.4
2Castile and León49.9+0.4
3Galicia49.1+0.4
4Cantabria47.8+0.5
5Basque Country47.5+0.4
6Extremadura46.5+0.5
7Aragon46.4+0.4
8La Rioja46.1+0.4
9Valencian Community45.2+0.5
10Navarre44.9+0.4
11Canary Islands44.6+0.5
12Castilla-La Mancha44.5+0.4
13Catalonia44.1+0.4
14Community of Madrid43.8+0.5
15Andalusia43.7+0.4
16Balearic Islands42.6+0.4
17Region of Murcia42+0.4
18Ceuta38.1+0.3
19Melilla35.5+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.8 years in 2022, according to Eurostat, European Commission.

Which autonomous community has the lowest median age?

Melilla, with 35.5 years in 2022.

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