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.

Keep it in a collection in your library.
Highest51.4Asturias
Lowest36.3Melilla
Median45.419 autonomous communities
Spain45.6History

Map of autonomous communities, 2024

Andalusia: 44.5 yearsAragon: 46.8 yearsAsturias: 51.4 yearsBalearic Islands: 42.9 yearsCanary Islands: 45.4 yearsCantabria: 48.5 yearsCastile and León: 50.4 yearsCastilla-La Mancha: 45.2 yearsCatalonia: 44.4 yearsValencian Community: 45.5 yearsExtremadura: 47.3 yearsGalicia: 49.7 yearsCommunity of Madrid: 44 yearsRegion of Murcia: 42.5 yearsNavarre: 45.4 yearsBasque Country: 48 yearsLa Rioja: 46.7 yearsCeuta: 38.8 yearsMelilla: 36.3 years
  • Under 44
  • 44 to 45
  • 45 to 46
  • 46 to 48
  • 48 and over
years, 2024. Source: Eurostat, Population structure indicators by NUTS 3 region (demo_r_pjanind3). Boundaries: Natural Earth (public domain).

All autonomous communities, 2024

Asturias: 51.4 yearsAsturias51.4Castile and León: 50.4 yearsCastile and León50.4Galicia: 49.7 yearsGalicia49.7Cantabria: 48.5 yearsCantabria48.5Basque Country: 48 yearsBasque Country48Extremadura: 47.3 yearsExtremadura47.3Aragon: 46.8 yearsAragon46.8La Rioja: 46.7 yearsLa Rioja46.7Valencian Community: 45.5 yearsValencian Community45.5Canary Islands: 45.4 yearsCanary Islands45.4Navarre: 45.4 yearsNavarre45.4Castilla-La Mancha: 45.2 yearsCastilla-La Mancha45.2Andalusia: 44.5 yearsAndalusia44.5Catalonia: 44.4 yearsCatalonia44.4Community of Madrid: 44 yearsCommunity of Madrid44Balearic Islands: 42.9 yearsBalearic Islands42.9Region of Murcia: 42.5 yearsRegion of Murcia42.5Ceuta: 38.8 yearsCeuta38.8Melilla: 36.3 yearsMelilla36.3Asturias: 51.4 yearsAsturias51.4Castile and León: 50.4 yearsCastile and León50.4Galicia: 49.7 yearsGalicia49.7Cantabria: 48.5 yearsCantabria48.5Basque Country: 48 yearsBasque Country48Extremadura: 47.3 yearsExtremadura47.3Aragon: 46.8 yearsAragon46.8La Rioja: 46.7 yearsLa Rioja46.7Valencian Community: 45.5 yearsValencian Community45.5Canary Islands: 45.4 yearsCanary Islands45.4Navarre: 45.4 yearsNavarre45.4Castilla-La Mancha: 45.2 yearsCastilla-La Mancha45.2Andalusia: 44.5 yearsAndalusia44.5Catalonia: 44.4 yearsCatalonia44.4Community of Madrid: 44 yearsCommunity of Madrid44Balearic Islands: 42.9 yearsBalearic Islands42.9Region of Murcia: 42.5 yearsRegion of Murcia42.5Ceuta: 38.8 yearsCeuta38.8Melilla: 36.3 yearsMelilla36.3
years. Source: Eurostat, Population structure indicators by NUTS 3 region (demo_r_pjanind3). 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. Canada: on 1 July, Statistics Canada population estimates.

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.

Citation styles

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

APA 7

Eurostat, European Commission. (2026). Population structure indicators by NUTS 3 region (demo_r_pjanind3) (Autonomous communities of Spain by median age, 2024) [Data set]. Retrieved October 7, 2026, from https://ec.europa.eu/eurostat/databrowser/view/demo_r_pjanind3/default/table

MLA 9

Population structure indicators by NUTS 3 region (demo_r_pjanind3), Autonomous communities of Spain by median age, 2024. Eurostat, European Commission, 10 July 2026, https://ec.europa.eu/eurostat/databrowser/view/demo_r_pjanind3/default/table. Invokely, https://invokely.ai/rankings/median-age/spain-regions?period=2024. Accessed 7 Oct. 2026.

Chicago (author-date)

Eurostat, European Commission. 2026. Population structure indicators by NUTS 3 region (demo_r_pjanind3). Autonomous communities of Spain by median age, 2024. Dataset. Accessed October 7, 2026. https://ec.europa.eu/eurostat/databrowser/view/demo_r_pjanind3/default/table. Also distributed by Invokely, https://invokely.ai/rankings/median-age/spain-regions?period=2024.

Harvard

Eurostat, European Commission (2026) Population structure indicators by NUTS 3 region (demo_r_pjanind3), Autonomous communities of Spain by median age, 2024 [Dataset]. Available at: https://ec.europa.eu/eurostat/databrowser/view/demo_r_pjanind3/default/table, via Invokely: https://invokely.ai/rankings/median-age/spain-regions?period=2024 (Accessed: 7 October 2026).

BibTeX
@misc{eurostat_autonomous_communities_of_spain_2024,
  author = {{Eurostat, European Commission}},
  title = {{Population structure indicators by NUTS 3 region (demo\_r\_pjanind3): Autonomous communities of Spain by median age, 2024}},
  year = {2026},
  howpublished = {Data set},
  url = {https://ec.europa.eu/eurostat/databrowser/view/demo_r_pjanind3/default/table},
  urldate = {2026-10-07},
  note = {Accessed via Invokely, https://invokely.ai/rankings/median-age/spain-regions?period=2024. Publisher attribution: 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.},
}
RIS
TY  - DATA
AU  - Eurostat, European Commission
TI  - Population structure indicators by NUTS 3 region (demo_r_pjanind3): Autonomous communities of Spain by median age, 2024
PY  - 2026
DA  - 2026/07/10
PB  - Eurostat, European Commission
DB  - Invokely
UR  - https://ec.europa.eu/eurostat/databrowser/view/demo_r_pjanind3/default/table
L2  - https://invokely.ai/rankings/median-age/spain-regions?period=2024
Y2  - 2026/10/07
N1  - Accessed via Invokely, https://invokely.ai/rankings/median-age/spain-regions?period=2024.
N1  - Publisher attribution: 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.
ER  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

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