Autonomous communities of Spain by median age

Asturias had the highest median age of 19 autonomous communities in 2018, at 49.2 years. Melilla had the lowest, at 34.3 years. The median was 43.6 years and the figure for Spain was 43.6 years. Source: Eurostat, European Commission.

Highest49.2Asturias
Lowest34.3Melilla
Median43.619 autonomous communities
Spain43.6History

All autonomous communities, 2018

CSVChart (SVG)

AsturiasAsturias: 49.2 years49.2Castile and LeónCastile and León: 48.4 years48.4GaliciaGalicia: 47.5 years47.5Basque CountryBasque Country: 46.2 years46.2CantabriaCantabria: 46.1 years46.1AragonAragon: 45.2 years45.2ExtremaduraExtremadura: 44.7 years44.7La RiojaLa Rioja: 44.7 years44.7NavarreNavarre: 43.7 years43.7Valencian CommunityValencian Community: 43.6 years43.6Castilla-La ManchaCastilla-La Mancha: 43 years43CataloniaCatalonia: 43 years43Canary IslandsCanary Islands: 42.7 years42.7Community of MadridCommunity of Madrid: 42.5 years42.5AndalusiaAndalusia: 42 years42Balearic IslandsBalearic Islands: 41.3 years41.3Region of MurciaRegion of Murcia: 40.6 years40.6CeutaCeuta: 36.6 years36.6MelillaMelilla: 34.3 years34.3
years. Source: Eurostat. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2018
years
Change on 2017
1Asturias49.2+0.4
2Castile and León48.4+0.5
3Galicia47.5+0.4
4Basque Country46.2+0.3
5Cantabria46.1+0.5
6Aragon45.2+0.4
7Extremadura44.7+0.5
7La Rioja44.7+0.4
9Navarre43.7+0.3
10Valencian Community43.6+0.4
11Castilla-La Mancha43+0.4
11Catalonia43+0.3
13Canary Islands42.7+0.5
14Community of Madrid42.5+0.3
15Andalusia42+0.5
16Balearic Islands41.3+0.3
17Region of Murcia40.6+0.4
18Ceuta36.6+0.2
19Melilla34.3+0.2

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

Which autonomous community has the lowest median age?

Melilla, with 34.3 years in 2018.

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