Median age, July 1 estimate in Spain

Median age, July 1 estimate in Spain was 44.9 years in 2023, according to United Nations, Department of Economic and Social Affairs, Population Division. That is up 0.51 from 2022. That is the 5th highest of 27 EU countries in 2023.

2023, years44.9 Estimated
Change on 2022+0.51
Rank5th of 27EU countries ranked
Series high44.92023
Series low26.481950

Median age, July 1 estimate in Spain, 1950 to 2023

CSVChart (SVG)

2530354045195019611972198319942005201620231950: 26.48 years1951: 26.76 years1952: 26.99 years1953: 27.22 years1954: 27.45 years1955: 27.67 years1956: 27.85 years1957: 28 years1958: 28.11 years1959: 28.23 years1960: 28.37 years1961: 28.55 years1962: 28.75 years1963: 28.95 years1964: 29.09 years1965: 29.21 years1966: 29.34 years1967: 29.44 years1968: 29.44 years1969: 29.26 years1970: 29.14 years1971: 29.12 years1972: 29.01 years1973: 29 years1974: 29 years1975: 29.04 years1976: 29.12 years1977: 29.21 years1978: 29.36 years1979: 29.55 years1980: 29.75 years1981: 29.94 years1982: 30.13 years1983: 30.36 years1984: 30.61 years1985: 30.87 years1986: 31.15 years1987: 31.46 years1988: 31.79 years1989: 32.13 years1990: 32.51 years1991: 32.87 years1992: 33.21 years1993: 33.56 years1994: 33.93 years1995: 34.32 years1996: 34.72 years1997: 35.12 years1998: 35.53 years1999: 35.93 years2000: 36.34 years2001: 36.75 years2002: 37.07 years2003: 37.28 years2004: 37.52 years2005: 37.76 years2006: 37.99 years2007: 38.19 years2008: 38.41 years2009: 38.75 years2010: 39.18 years2011: 39.63 years2012: 40.11 years2013: 40.63 years2014: 41.15 years2015: 41.62 years2016: 42.05 years2017: 42.44 years2018: 42.8 years2019: 43.14 years2020: 43.5 years2021: 43.92 years2022: 44.39 years2023: 44.9 years
years. Source: UN WPP. Retrieved 2026-10-10, published 2024-12-13.
All 74 values
Periodyears
202344.9 Estimated
202244.39 Estimated
202143.92 Estimated
202043.5 Estimated
201943.14 Estimated
201842.8 Estimated
201742.44 Estimated
201642.05 Estimated
201541.62 Estimated
201441.15 Estimated
201340.63 Estimated
201240.11 Estimated
201139.63 Estimated
201039.18 Estimated
200938.75 Estimated
200838.41 Estimated
200738.19 Estimated
200637.99 Estimated
200537.76 Estimated
200437.52 Estimated
200337.28 Estimated
200237.07 Estimated
200136.75 Estimated
200036.34 Estimated
199935.93 Estimated
199835.53 Estimated
199735.12 Estimated
199634.72 Estimated
199534.32 Estimated
199433.93 Estimated
199333.56 Estimated
199233.21 Estimated
199132.87 Estimated
199032.51 Estimated
198932.13 Estimated
198831.79 Estimated
198731.46 Estimated
198631.15 Estimated
198530.87 Estimated
198430.61 Estimated
198330.36 Estimated
198230.13 Estimated
198129.94 Estimated
198029.75 Estimated
197929.55 Estimated
197829.36 Estimated
197729.21 Estimated
197629.12 Estimated
197529.04 Estimated
197429 Estimated
197329 Estimated
197229.01 Estimated
197129.12 Estimated
197029.14 Estimated
196929.26 Estimated
196829.44 Estimated
196729.44 Estimated
196629.34 Estimated
196529.21 Estimated
196429.09 Estimated
196328.95 Estimated
196228.75 Estimated
196128.55 Estimated
196028.37 Estimated
195928.23 Estimated
195828.11 Estimated
195728 Estimated
195627.85 Estimated
195527.67 Estimated
195427.45 Estimated
195327.22 Estimated
195226.99 Estimated
195126.76 Estimated
195026.48 Estimated

Rankings

Definition

Age that divides the estimated population on July 1 into two groups of equal size.

Modelled demographic estimate from UN World Population Prospects 2024. This series includes estimates through 2023 and excludes projections from 2024 onward. The reference date and method differ from January 1 statistics and multi-year survey estimates. Historical estimates can be revised.

How to cite

United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Modelled estimate. https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Retrieved 2026-10-10. CC BY 3.0 IGO.

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:

What is the latest median age, July 1 estimate in Spain? Cite the source.
get_value {"indicator":"median_age_midyear","place":"es"}
GET https://invokely.ai/api/v1/value?indicator=median_age_midyear&place=es

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

What is the median age, July 1 estimate in Spain?

Median age, July 1 estimate in Spain was 44.9 years in 2023, according to United Nations, Department of Economic and Social Affairs, Population Division. That is up 0.51 from 2022. That is the 5th highest of 27 EU countries in 2023.

Where does this figure come from?

United Nations, Department of Economic and Social Affairs, Population Division. World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Retrieved by Invokely on 2026-10-10.

What was the highest median age, July 1 estimate in Spain?

44.9 years in 2023, the highest value since 1950 in this series.

More statistics for Spain

All statistics for Spain