Autonomous communities of Spain by median age

Asturias had the highest median age of 19 autonomous communities in 2023, at 51.1 years. Melilla had the lowest, at 35.9 years. The median was 45.2 years and the figure for Spain was 45.3 years. Source: Eurostat, European Commission.

Highest51.1Asturias
Lowest35.9Melilla
Median45.219 autonomous communities
Spain45.3History

All autonomous communities, 2023

CSVChart (SVG)

AsturiasAsturias: 51.1 years51.1Castile and LeónCastile and León: 50.1 years50.1GaliciaGalicia: 49.4 years49.4CantabriaCantabria: 48.1 years48.1Basque CountryBasque Country: 47.8 years47.8ExtremaduraExtremadura: 46.9 years46.9AragonAragon: 46.5 years46.5La RiojaLa Rioja: 46.4 years46.4Valencian CommunityValencian Community: 45.3 years45.3NavarreNavarre: 45.2 years45.2Canary IslandsCanary Islands: 45 years45Castilla-La ManchaCastilla-La Mancha: 44.8 years44.8CataloniaCatalonia: 44.2 years44.2AndalusiaAndalusia: 44 years44Community of MadridCommunity of Madrid: 43.9 years43.9Balearic IslandsBalearic Islands: 42.8 years42.8Region of MurciaRegion of Murcia: 42.2 years42.2CeutaCeuta: 38.3 years38.3MelillaMelilla: 35.9 years35.9
years. Source: Eurostat. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2023
years
Change on 2022
1Asturias51.1+0.3
2Castile and León50.1+0.2
3Galicia49.4+0.3
4Cantabria48.1+0.3
5Basque Country47.8+0.3
6Extremadura46.9+0.4
7Aragon46.5+0.1
8La Rioja46.4+0.3
9Valencian Community45.3+0.1
10Navarre45.2+0.3
11Canary Islands45+0.4
12Castilla-La Mancha44.8+0.3
13Catalonia44.2+0.1
14Andalusia44+0.3
15Community of Madrid43.9+0.1
16Balearic Islands42.8+0.2
17Region of Murcia42.2+0.2
18Ceuta38.3+0.2
19Melilla35.9+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.1 years in 2023, according to Eurostat, European Commission.

Which autonomous community has the lowest median age?

Melilla, with 35.9 years in 2023.

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