Median age, July 1 estimate in Spain

Median age, July 1 estimate in Spain was 44.9 years in 2023, according to the 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
Get an email when a new figure is out or this one is revised.
Keep it in a collection in your library.

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

253035404519501961197219831994200520231950: 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 years253035404519501975200020231950: 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, World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. 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

Spain compared with nearby places

Austria: 43.09 yearsBelgium: 41.44 yearsBulgaria: 44.31 yearsCyprus: 37.76 yearsCzechia: 42.72 yearsGermany: 45.15 yearsDenmark: 41.25 yearsEstonia: 41.89 yearsSpain: 44.9 yearsFinland: 42.79 yearsFrance: 41.82 yearsGreece: 45.75 yearsCroatia: 44.76 yearsHungary: 43.32 yearsIreland: 38.42 yearsItaly: 47.46 yearsLithuania: 42.12 yearsLuxembourg: 38.89 yearsLatvia: 43.08 yearsMalta: 40.28 yearsNetherlands: 41.4 yearsPoland: 41.31 yearsPortugal: 46.2 yearsRomania: 42.62 yearsSweden: 39.91 yearsSlovenia: 43.89 yearsSlovakia: 41.3 years
  • Under 41
  • 41 to 42
  • 42 to 43
  • 43 to 45
  • 45 and over
Median age, July 1 estimate, 2023, years. Spain is outlined. Same source and period for every area shown. Source: United Nations, Department of Economic and Social Affairs, Population Division. Boundaries: Natural Earth (public domain).

Rankings

Definition

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

Modelled estimates by country and for the World. The reference date and method differ from median_age, which uses January 1 statistics and multi-year survey estimates.

Report a problem with this figure

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.

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

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 (Median age, July 1 estimate, Spain, 1950 to 2023) [Data set]. Retrieved October 10, 2026, from https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz

MLA 9

World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded, Median age, July 1 estimate, Spain, 1950 to 2023. United Nations, Department of Economic and Social Affairs, Population Division, 13 Dec. 2024, https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Invokely, https://invokely.ai/en/median-age-midyear/spain. Accessed 10 Oct. 2026.

Chicago (author-date)

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. Median age, July 1 estimate, Spain, 1950 to 2023. Dataset. Accessed October 10, 2026. https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Also distributed by Invokely, https://invokely.ai/en/median-age-midyear/spain.

Harvard

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, Median age, July 1 estimate, Spain, 1950 to 2023 [Dataset]. Available at: https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz, via Invokely: https://invokely.ai/en/median-age-midyear/spain (Accessed: 10 October 2026).

BibTeX
@misc{united_median_age_july_1_2023,
  author = {{United Nations, Department of Economic and Social Affairs, Population Division}},
  title = {{World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded: Median age, July 1 estimate, Spain, 1950 to 2023}},
  year = {2024},
  howpublished = {Data set},
  url = {https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz},
  urldate = {2026-10-10},
  note = {Accessed via Invokely, https://invokely.ai/en/median-age-midyear/spain. Publisher attribution: 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.},
}
RIS
TY  - DATA
AU  - United Nations, Department of Economic and Social Affairs, Population Division
TI  - World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded: Median age, July 1 estimate, Spain, 1950 to 2023
PY  - 2024
DA  - 2024/12/13
PB  - United Nations, Department of Economic and Social Affairs, Population Division
DB  - Invokely
UR  - https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz
L2  - https://invokely.ai/en/median-age-midyear/spain
Y2  - 2026/10/10
N1  - Accessed via Invokely, https://invokely.ai/en/median-age-midyear/spain.
N1  - Publisher attribution: 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.
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:

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 the 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.

Median age, July 1 estimate elsewhere in European Union (27)

Related statistics for Spain

All statistics for Spain | Spain in figures