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.

Keep it in a collection in your library.
Highest51.1Asturias
Lowest35.9Melilla
Median45.219 autonomous communities
Spain45.3History

Map of autonomous communities, 2023

Andalusia: 44 yearsAragon: 46.5 yearsAsturias: 51.1 yearsBalearic Islands: 42.8 yearsCanary Islands: 45 yearsCantabria: 48.1 yearsCastile and León: 50.1 yearsCastilla-La Mancha: 44.8 yearsCatalonia: 44.2 yearsValencian Community: 45.3 yearsExtremadura: 46.9 yearsGalicia: 49.4 yearsCommunity of Madrid: 43.9 yearsRegion of Murcia: 42.2 yearsNavarre: 45.2 yearsBasque Country: 47.8 yearsLa Rioja: 46.4 yearsCeuta: 38.3 yearsMelilla: 35.9 years
  • Under 43
  • 43 to 45
  • 45 to 46
  • 46 to 48
  • 48 and over
years, 2023. Source: Eurostat, Population structure indicators by NUTS 3 region (demo_r_pjanind3). Boundaries: Natural Earth (public domain).

All autonomous communities, 2023

Asturias: 51.1 yearsAsturias51.1Castile and León: 50.1 yearsCastile and León50.1Galicia: 49.4 yearsGalicia49.4Cantabria: 48.1 yearsCantabria48.1Basque Country: 47.8 yearsBasque Country47.8Extremadura: 46.9 yearsExtremadura46.9Aragon: 46.5 yearsAragon46.5La Rioja: 46.4 yearsLa Rioja46.4Valencian Community: 45.3 yearsValencian Community45.3Navarre: 45.2 yearsNavarre45.2Canary Islands: 45 yearsCanary Islands45Castilla-La Mancha: 44.8 yearsCastilla-La Mancha44.8Catalonia: 44.2 yearsCatalonia44.2Andalusia: 44 yearsAndalusia44Community of Madrid: 43.9 yearsCommunity of Madrid43.9Balearic Islands: 42.8 yearsBalearic Islands42.8Region of Murcia: 42.2 yearsRegion of Murcia42.2Ceuta: 38.3 yearsCeuta38.3Melilla: 35.9 yearsMelilla35.9Asturias: 51.1 yearsAsturias51.1Castile and León: 50.1 yearsCastile and León50.1Galicia: 49.4 yearsGalicia49.4Cantabria: 48.1 yearsCantabria48.1Basque Country: 47.8 yearsBasque Country47.8Extremadura: 46.9 yearsExtremadura46.9Aragon: 46.5 yearsAragon46.5La Rioja: 46.4 yearsLa Rioja46.4Valencian Community: 45.3 yearsValencian Community45.3Navarre: 45.2 yearsNavarre45.2Canary Islands: 45 yearsCanary Islands45Castilla-La Mancha: 44.8 yearsCastilla-La Mancha44.8Catalonia: 44.2 yearsCatalonia44.2Andalusia: 44 yearsAndalusia44Community of Madrid: 43.9 yearsCommunity of Madrid43.9Balearic Islands: 42.8 yearsBalearic Islands42.8Region of Murcia: 42.2 yearsRegion of Murcia42.2Ceuta: 38.3 yearsCeuta38.3Melilla: 35.9 yearsMelilla35.9
years. Source: Eurostat, Population structure indicators by NUTS 3 region (demo_r_pjanind3). 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. 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, 2023) [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, 2023. 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=2023. 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, 2023. 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=2023.

Harvard

Eurostat, European Commission (2026) Population structure indicators by NUTS 3 region (demo_r_pjanind3), Autonomous communities of Spain by median age, 2023 [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=2023 (Accessed: 7 October 2026).

BibTeX
@misc{eurostat_autonomous_communities_of_spain_2023,
  author = {{Eurostat, European Commission}},
  title = {{Population structure indicators by NUTS 3 region (demo\_r\_pjanind3): Autonomous communities of Spain by median age, 2023}},
  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=2023. 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, 2023
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=2023
Y2  - 2026/10/07
N1  - Accessed via Invokely, https://invokely.ai/rankings/median-age/spain-regions?period=2023.
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.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