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.

Keep it in a collection in your library.
Highest48.8Asturias
Lowest34.1Melilla
Median43.219 autonomous communities
Spain43.2History

Map of autonomous communities, 2017

Andalusia: 41.5 yearsAragon: 44.8 yearsAsturias: 48.8 yearsBalearic Islands: 41 yearsCanary Islands: 42.2 yearsCantabria: 45.6 yearsCastile and León: 47.9 yearsCastilla-La Mancha: 42.6 yearsCatalonia: 42.7 yearsValencian Community: 43.2 yearsExtremadura: 44.2 yearsGalicia: 47.1 yearsCommunity of Madrid: 42.2 yearsRegion of Murcia: 40.2 yearsNavarre: 43.4 yearsBasque Country: 45.9 yearsLa Rioja: 44.3 yearsCeuta: 36.4 yearsMelilla: 34.1 years
  • Under 41
  • 41 to 43
  • 43 to 44
  • 44 to 46
  • 46 and over
years, 2017. Source: Eurostat, Population structure indicators by NUTS 3 region (demo_r_pjanind3). Boundaries: Natural Earth (public domain).

All autonomous communities, 2017

Asturias: 48.8 yearsAsturias48.8Castile and León: 47.9 yearsCastile and León47.9Galicia: 47.1 yearsGalicia47.1Basque Country: 45.9 yearsBasque Country45.9Cantabria: 45.6 yearsCantabria45.6Aragon: 44.8 yearsAragon44.8La Rioja: 44.3 yearsLa Rioja44.3Extremadura: 44.2 yearsExtremadura44.2Navarre: 43.4 yearsNavarre43.4Valencian Community: 43.2 yearsValencian Community43.2Catalonia: 42.7 yearsCatalonia42.7Castilla-La Mancha: 42.6 yearsCastilla-La Mancha42.6Canary Islands: 42.2 yearsCanary Islands42.2Community of Madrid: 42.2 yearsCommunity of Madrid42.2Andalusia: 41.5 yearsAndalusia41.5Balearic Islands: 41 yearsBalearic Islands41Region of Murcia: 40.2 yearsRegion of Murcia40.2Ceuta: 36.4 yearsCeuta36.4Melilla: 34.1 yearsMelilla34.1Asturias: 48.8 yearsAsturias48.8Castile and León: 47.9 yearsCastile and León47.9Galicia: 47.1 yearsGalicia47.1Basque Country: 45.9 yearsBasque Country45.9Cantabria: 45.6 yearsCantabria45.6Aragon: 44.8 yearsAragon44.8La Rioja: 44.3 yearsLa Rioja44.3Extremadura: 44.2 yearsExtremadura44.2Navarre: 43.4 yearsNavarre43.4Valencian Community: 43.2 yearsValencian Community43.2Catalonia: 42.7 yearsCatalonia42.7Castilla-La Mancha: 42.6 yearsCastilla-La Mancha42.6Canary Islands: 42.2 yearsCanary Islands42.2Community of Madrid: 42.2 yearsCommunity of Madrid42.2Andalusia: 41.5 yearsAndalusia41.5Balearic Islands: 41 yearsBalearic Islands41Region of Murcia: 40.2 yearsRegion of Murcia40.2Ceuta: 36.4 yearsCeuta36.4Melilla: 34.1 yearsMelilla34.1
years. Source: Eurostat, Population structure indicators by NUTS 3 region (demo_r_pjanind3). 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. 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, 2017) [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, 2017. 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=2017. 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, 2017. 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=2017.

Harvard

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

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