Autonomous communities of Spain by median age

Asturias had the highest median age of 19 autonomous communities in 2017, at 48.8 years. Melilla had the lowest, at 34.1 years. The median was 43.2 years and the figure for Spain was 43.2 years. Source: Eurostat, European Commission.

Highest48.8Asturias
Lowest34.1Melilla
Median43.219 autonomous communities
Spain43.2History

All autonomous communities, 2017

CSVChart (SVG)

AsturiasAsturias: 48.8 years48.8Castile and LeónCastile and León: 47.9 years47.9GaliciaGalicia: 47.1 years47.1Basque CountryBasque Country: 45.9 years45.9CantabriaCantabria: 45.6 years45.6AragonAragon: 44.8 years44.8La RiojaLa Rioja: 44.3 years44.3ExtremaduraExtremadura: 44.2 years44.2NavarreNavarre: 43.4 years43.4Valencian CommunityValencian Community: 43.2 years43.2CataloniaCatalonia: 42.7 years42.7Castilla-La ManchaCastilla-La Mancha: 42.6 years42.6Canary IslandsCanary Islands: 42.2 years42.2Community of MadridCommunity of Madrid: 42.2 years42.2AndalusiaAndalusia: 41.5 years41.5Balearic IslandsBalearic Islands: 41 years41Region of MurciaRegion of Murcia: 40.2 years40.2CeutaCeuta: 36.4 years36.4MelillaMelilla: 34.1 years34.1
years. Source: Eurostat. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2017
years
Change on 2016
1Asturias48.8+0.5
2Castile and León47.9+0.5
3Galicia47.1+0.4
4Basque Country45.9+0.4
5Cantabria45.6+0.5
6Aragon44.8+0.4
7La Rioja44.3+0.4
8Extremadura44.2+0.5
9Navarre43.4+0.3
10Valencian Community43.2+0.4
11Catalonia42.7+0.4
12Castilla-La Mancha42.6+0.6
13Canary Islands42.2+0.4
13Community of Madrid42.2+0.4
15Andalusia41.5+0.5
16Balearic Islands41+0.3
17Region of Murcia40.2+0.5
18Ceuta36.4+0.2
19Melilla34.1+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 48.8 years in 2017, according to Eurostat, European Commission.

Which autonomous community has the lowest median age?

Melilla, with 34.1 years in 2017.

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