Spain
Median age in Spain
Median age in Spain: 26.5 years in 1950 and 44.9 years in 2023, by UN estimates.
- Latest, 2023
- 44.9 years
- Since 1950
- +18.4 years
- Rank, 2023
- 16 of 229
- counting from the highest
- World, 2023
- 30.4 years
- Projected, 2100
- 52.2 years
- UN projection (medium variant)
years · UN
What the numbers say
- The UN projection (medium variant) puts it at 52.2 years in 2100, between 40.9 years and 73.5 years (95% prediction interval).
Every year
years · UN
| Year | Spain | World |
|---|---|---|
| 2023 | 44.9 | 30.4 |
| 2022 | 44.4 | 30.1 |
| 2021 | 43.9 | 29.8 |
| 2020 | 43.5 | 29.6 |
| 2019 | 43.1 | 29.3 |
| 2018 | 42.8 | 29 |
| 2017 | 42.4 | 28.8 |
| 2016 | 42.1 | 28.5 |
| 2015 | 41.6 | 28.3 |
| 2014 | 41.2 | 28.1 |
| 2013 | 40.6 | 27.8 |
| 2012 | 40.1 | 27.6 |
| 2011 | 39.6 | 27.4 |
| 2010 | 39.2 | 27.2 |
| 2009 | 38.8 | 27 |
| 2008 | 38.4 | 26.7 |
| 2007 | 38.2 | 26.5 |
| 2006 | 38 | 26.3 |
| 2005 | 37.8 | 26.1 |
| 2004 | 37.5 | 25.9 |
| 2003 | 37.3 | 25.7 |
| 2002 | 37.1 | 25.5 |
| 2001 | 36.8 | 25.3 |
| 2000 | 36.3 | 25.1 |
| 1999 | 35.9 | 24.9 |
| 1998 | 35.5 | 24.7 |
| 1997 | 35.1 | 24.4 |
| 1996 | 34.7 | 24.2 |
| 1995 | 34.3 | 24 |
| 1994 | 33.9 | 23.8 |
| 1993 | 33.6 | 23.5 |
| 1992 | 33.2 | 23.3 |
| 1991 | 32.9 | 23.1 |
| 1990 | 32.5 | 22.9 |
| 1989 | 32.1 | 22.8 |
| 1988 | 31.8 | 22.6 |
| 1987 | 31.5 | 22.4 |
| 1986 | 31.2 | 22.2 |
| 1985 | 30.9 | 22 |
| 1984 | 30.6 | 21.9 |
| 1983 | 30.4 | 21.8 |
| 1982 | 30.1 | 21.7 |
| 1981 | 29.9 | 21.6 |
| 1980 | 29.8 | 21.5 |
| 1979 | 29.6 | 21.3 |
| 1978 | 29.4 | 21.1 |
| 1977 | 29.2 | 21 |
| 1976 | 29.1 | 20.8 |
| 1975 | 29 | 20.7 |
| 1974 | 29 | 20.5 |
| 1973 | 29 | 20.4 |
| 1972 | 29 | 20.4 |
| 1971 | 29.1 | 20.3 |
| 1970 | 29.1 | 20.3 |
| 1969 | 29.3 | 20.3 |
| 1968 | 29.4 | 20.4 |
| 1967 | 29.4 | 20.5 |
| 1966 | 29.3 | 20.6 |
| 1965 | 29.2 | 20.8 |
| 1964 | 29.1 | 21 |
| 1963 | 29 | 21.2 |
| 1962 | 28.8 | 21.4 |
| 1961 | 28.6 | 21.4 |
| 1960 | 28.4 | 21.5 |
| 1959 | 28.2 | 21.5 |
| 1958 | 28.1 | 21.5 |
| 1957 | 28 | 21.6 |
| 1956 | 27.9 | 21.7 |
| 1955 | 27.7 | 21.8 |
| 1954 | 27.5 | 21.9 |
| 1953 | 27.2 | 22 |
| 1952 | 27 | 22.1 |
| 1951 | 26.8 | 22.1 |
| 1950 | 26.5 | 22.2 |
UN projection (medium variant) · 2024–2100
| Year | Spain | World |
|---|---|---|
| 2024 | 45.445.3–45.5 | 30.6 |
| 2025 | 45.945.6–46.1 | 30.9 |
| 2026 | 46.345.9–46.7 | 31.1 |
| 2027 | 46.846.1–47.3 | 31.3 |
| 2028 | 47.246.4–47.9 | 31.6 |
| 2029 | 47.646.5–48.6 | 31.8 |
| 2030 | 48.146.6–49.2 | 32 |
| 2031 | 48.446.7–49.9 | 32.2 |
| 2032 | 48.846.6–50.5 | 32.4 |
| 2033 | 49.246.5–51.2 | 32.6 |
| 2034 | 49.546.4–51.8 | 32.8 |
| 2035 | 49.846.2–52.4 | 33 |
| 2036 | 50.146–53.1 | 33.2 |
| 2037 | 50.445.8–53.7 | 33.4 |
| 2038 | 50.645.4–54.3 | 33.6 |
| 2039 | 50.845–54.9 | 33.8 |
| 2040 | 5144.6–55.4 | 34 |
| 2041 | 51.244–56 | 34.2 |
| 2042 | 51.443.3–56.5 | 34.4 |
| 2043 | 51.542.7–57.1 | 34.6 |
| 2044 | 51.642.2–57.6 | 34.8 |
| 2045 | 51.741.7–58.1 | 35 |
| 2046 | 51.841.4–58.6 | 35.2 |
| 2047 | 51.841.3–59.1 | 35.4 |
| 2048 | 51.841.2–59.6 | 35.6 |
| 2049 | 51.841.1–60 | 35.9 |
| 2050 | 51.841.1–60.5 | 36.1 |
| 2051 | 51.741.2–60.9 | 36.3 |
| 2052 | 51.741.3–61.3 | 36.5 |
| 2053 | 51.741.3–61.8 | 36.7 |
| 2054 | 51.741.4–62.2 | 36.9 |
| 2055 | 51.741.4–62.6 | 37.1 |
| 2056 | 51.741.4–63.1 | 37.3 |
| 2057 | 51.841.5–63.5 | 37.5 |
| 2058 | 51.841.5–63.9 | 37.6 |
| 2059 | 51.941.5–64.2 | 37.8 |
| 2060 | 5241.5–64.5 | 37.9 |
| 2061 | 52.241.4–64.8 | 38 |
| 2062 | 52.341.4–65.1 | 38.1 |
| 2063 | 52.441.3–65.4 | 38.3 |
| 2064 | 52.541.2–65.6 | 38.4 |
| 2065 | 52.641.1–65.9 | 38.5 |
| 2066 | 52.641–66.1 | 38.6 |
| 2067 | 52.740.8–66.3 | 38.7 |
| 2068 | 52.740.7–66.6 | 38.8 |
| 2069 | 52.740.5–66.9 | 38.9 |
| 2070 | 52.740.4–67.1 | 39 |
| 2071 | 52.740.4–67.4 | 39.1 |
| 2072 | 52.640.3–67.8 | 39.2 |
| 2073 | 52.540.2–68.1 | 39.3 |
| 2074 | 52.440.2–68.4 | 39.4 |
| 2075 | 52.240.2–68.8 | 39.5 |
| 2076 | 52.140.1–69.2 | 39.6 |
| 2077 | 5240.1–69.6 | 39.7 |
| 2078 | 51.840–70 | 39.8 |
| 2079 | 51.740–70.4 | 40 |
| 2080 | 51.640–70.8 | 40.1 |
| 2081 | 51.539.9–71.2 | 40.2 |
| 2082 | 51.540–71.6 | 40.3 |
| 2083 | 51.440–72 | 40.4 |
| 2084 | 51.340.1–72.4 | 40.5 |
| 2085 | 51.340.1–72.7 | 40.6 |
| 2086 | 51.340.2–73 | 40.7 |
| 2087 | 51.340.2–73.3 | 40.9 |
| 2088 | 51.340.2–73.5 | 41 |
| 2089 | 51.440.3–73.8 | 41.1 |
| 2090 | 51.440.3–74 | 41.2 |
| 2091 | 51.540.4–74.3 | 41.3 |
| 2092 | 51.640.4–74.5 | 41.4 |
| 2093 | 51.740.5–74.7 | 41.5 |
| 2094 | 51.740.6–74.8 | 41.6 |
| 2095 | 51.840.7–74.8 | 41.7 |
| 2096 | 51.940.7–74.7 | 41.8 |
| 2097 | 5240.8–74.4 | 41.9 |
| 2098 | 52.140.8–74.2 | 42 |
| 2099 | 52.240.8–73.9 | 42 |
| 2100 | 52.240.9–73.5 | 42.1 |
Good to know
- Half the people are older than this age and half are younger.
- Source: UN DESA, World Population Prospects 2024.
- The dashed line is the UN projection (medium variant), a scenario rather than a forecast; the band is its 95% prediction interval.
- Ranks count the 229 countries with a value in 2023, highest first.
- The faint line is the world as a whole, as the same source counts it.
How the layers work, where their data comes from and what they can’t tell you: Countries through time
Spain in numbers
Every measure for Spain on one page
Health
People
Economy
Education
Politics
Conflict
Military
- Military spending2.13% of GDP in 2025
- Military spending in US dollars$37.7B in 2025
- Military spending per person$839 in 2025
- Military share of state spending4.7% of government spending in 2025
- Armed forces personnel199,000 people in 2020
- National power0.66% of world capability in 2022
- Armed forces, share of workers0.87% of the labour force in 2020
- Arms imports237 million TIV in 2025
- Arms exports341 million TIV in 2025