Autonomous communities of Spain by median age
Asturias had the highest median age of 19 autonomous communities in 2020, at 50 years. Melilla had the lowest, at 34.9 years. The median was 44.2 years and the figure for Spain was 44.2 years. Source: Eurostat, European Commission.
All autonomous communities, 2020
Full ranking
| Rank | Autonomous communities | 2020 | Change on 2019 |
|---|---|---|---|
| 1 | Asturias | 50 | +0.4 |
| 2 | Castile and León | 49.2 | +0.4 |
| 3 | Galicia | 48.3 | +0.4 |
| 4 | Cantabria | 46.9 | +0.4 |
| 5 | Basque Country | 46.8 | +0.3 |
| 6 | Aragon | 45.7 | +0.3 |
| 6 | Extremadura | 45.7 | +0.5 |
| 8 | La Rioja | 45.4 | +0.3 |
| 9 | Valencian Community | 44.3 | +0.3 |
| 10 | Navarre | 44.2 | +0.3 |
| 11 | Castilla-La Mancha | 43.8 | +0.3 |
| 12 | Canary Islands | 43.5 | +0.4 |
| 13 | Catalonia | 43.4 | +0.2 |
| 14 | Community of Madrid | 43 | +0.2 |
| 15 | Andalusia | 42.8 | +0.4 |
| 16 | Balearic Islands | 41.8 | +0.3 |
| 17 | Region of Murcia | 41.2 | +0.3 |
| 18 | Ceuta | 37.4 | +0.4 |
| 19 | Melilla | 34.9 | +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
Questions
Which autonomous community has the highest median age?
Asturias, with 50 years in 2020, according to Eurostat, European Commission.
Which autonomous community has the lowest median age?
Melilla, with 34.9 years in 2020.
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
- EU countries
- US states
- EU regions (NUTS 2)
- US counties
- Provinces of Spain
- Regions of Germany (NUTS 2)
- Regions of France (NUTS 2)
- Regions of Italy (NUTS 2)
- Regions of Poland (NUTS 2)
- Regions of Greece (NUTS 2)
- Regions of Netherlands (NUTS 2)
- Regions of Belgium (NUTS 2)
Autonomous communities of Spain: more rankings
- Active companies
- Activity rate
- At-risk-of-poverty rate
- Average age
- Average home mortgage amount
- Live births
- New companies created
- Inflation (CPI annual change)
- Consumer price index (CPI)
- Crude birth rate
- Crude death rate
- Deaths
- Dependency ratio
- Age dependency ratio (ages 15 to 64 base)
- Employment rate
- Enterprises using artificial intelligence