Autonomous communities of Spain by median age

Asturias had the highest median age of 19 autonomous communities in 2024, at 51.4 years. Melilla had the lowest, at 36.3 years. The median was 45.4 years and the figure for Spain was 45.6 years. Source: Eurostat, European Commission.

Highest51.4Asturias
Lowest36.3Melilla
Median45.419 autonomous communities
Spain45.6History

All autonomous communities, 2024

CSVChart (SVG)

AsturiasAsturias: 51.4 years51.4Castile and LeónCastile and León: 50.4 years50.4GaliciaGalicia: 49.7 years49.7CantabriaCantabria: 48.5 years48.5Basque CountryBasque Country: 48 years48ExtremaduraExtremadura: 47.3 years47.3AragonAragon: 46.8 years46.8La RiojaLa Rioja: 46.7 years46.7Valencian CommunityValencian Community: 45.5 years45.5Canary IslandsCanary Islands: 45.4 years45.4NavarreNavarre: 45.4 years45.4Castilla-La ManchaCastilla-La Mancha: 45.2 years45.2AndalusiaAndalusia: 44.5 years44.5CataloniaCatalonia: 44.4 years44.4Community of MadridCommunity of Madrid: 44 years44Balearic IslandsBalearic Islands: 42.9 years42.9Region of MurciaRegion of Murcia: 42.5 years42.5CeutaCeuta: 38.8 years38.8MelillaMelilla: 36.3 years36.3
years. Source: Eurostat. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2024
years
Change on 2023
1Asturias51.4+0.3
2Castile and León50.4+0.3
3Galicia49.7+0.3
4Cantabria48.5+0.4
5Basque Country48+0.2
6Extremadura47.3+0.4
7Aragon46.8+0.3
8La Rioja46.7+0.3
9Valencian Community45.5+0.2
10Canary Islands45.4+0.4
10Navarre45.4+0.2
12Castilla-La Mancha45.2+0.4
13Andalusia44.5+0.5
14Catalonia44.4+0.2
15Community of Madrid44+0.1
16Balearic Islands42.9+0.1
17Region of Murcia42.5+0.3
18Ceuta38.8+0.5
19Melilla36.3+0.4

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 51.4 years in 2024, according to Eurostat, European Commission.

Which autonomous community has the lowest median age?

Melilla, with 36.3 years 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 structure indicators by NUTS 3 region (demo_r_pjanind3). Retrieved 2026-10-07.

Median age: other rankings

Autonomous communities of Spain: more rankings