Skip to content

Spain Demographics: Median age, Gender, Religion

Updated on by Georank team

With a population of 48.8M people, Spain has a median age of 46.4 years which makes it the 7/196 oldest country. 12.9% of the demographic are children 0-14 years old, 65.9% are working-age people aged 15-64, and 21.1% are older population aged 65+ years.

Spain demographic data

Spain World
Population
48786181
32/197
Median age 46.4 years 7/196
Average age 44.7 years 10/196
Age dependency ratio 51.7% 128/196
Young-age dependency ratio 19.6% 187/196
Old-age dependency ratio 32.1% 22/196
Male:Female ratio 49.1:50.9 N/A
Population density 97.7 ppl/mi² 95/197
Fertility rate 1.12 189/196
Life expectancy 84 years 10/197

Median age history and projection chart in
Spain vs World

Spain
Factual

UN forecast
World
Factual

UN forecast
Year Median age
Spain World
1960 29.4 22.5
1961 29.6 22.5
1962 29.7 22.4
1963 29.9 22.2
1964 30.1 22
1965 30.2 21.8
1966 30.3 21.7
1967 30.4 21.6
1968 30.4 21.5
1969 30.2 21.5
1970 30.1 21.4
1971 30.1 21.4
1972 30 21.5
1973 30 21.5
1974 30 21.6
1975 30 21.7
1976 30.1 21.9
1977 30.2 22
1978 30.4 22.2
1979 30.6 22.3
1980 30.7 22.5
1981 30.9 22.6
1982 31.1 22.7
1983 31.4 22.9
1984 31.6 23
1985 31.9 23.2
1986 32.2 23.3
1987 32.5 23.4
1988 32.9 23.6
1989 33.2 23.8
1990 33.6 23.9
1991 33.9 24.1
1992 34.2 24.3
1993 34.6 24.5
1994 34.9 24.7
1995 35.3 25
1996 35.7 25.2
1997 36.2 25.4
1998 36.6 25.7
1999 37 25.9
2000 37.4 26.1
2001 37.8 26.3
2002 38.1 26.5
2003 38.3 26.7
2004 38.5 27
2005 38.8 27.2
2006 39 27.4
2007 39.2 27.6
2008 39.4 27.8
2009 39.8 28
2010 40.2 28.2
2011 40.6 28.4
2012 41.1 28.6
2013 41.7 28.9
2014 42.2 29.1
2015 42.7 29.3
2016 43.1 29.5
2017 43.5 29.8
2018 43.8 30
2019 44.1 30.3
2020 44.5 30.6
2021 44.9 30.8
2022 45.4 31
2023 45.9 31.3
2024 46.4 31.6
2025 46.8 31.9
2026 47.3 32.1
2027 47.8 32.3
2028 48.2 32.6
2029 48.6 32.8
2030 49 33
2031 49.4 33.2
2032 49.8 33.4
2033 50.2 33.6
2034 50.5 33.8
2035 50.8 34
2036 51.1 34.2
2037 51.4 34.4
2038 51.6 34.6
2039 51.8 34.8
2040 52 35
2041 52.2 35.2
2042 52.4 35.4
2043 52.5 35.6
2044 52.6 35.8
2045 52.7 36
2046 52.8 36.2
2047 52.8 36.4
2048 52.8 36.6
2049 52.8 36.8
2050 52.8 37.1

In 1960, the median age in Spain was 29.4 years compared to the world's average of 22.5 years. As of 2024, the median age had increased to 46.4 years compared to the world's average of 31.6 years. Ranked 21st for median age 64 years ago (old to young), Spain ranks 7th currently.

According to the United Nations projections, the median age in Spain is expected to increase to around 52.8 years by 2050. The aging demographics forecast is based on previous years' birth rates and increasing life expectancy.

Spain demographic pyramid: age and gender distribution

Spain
Male

Female
Age range Share of population
Spain
Male Female
0-4 1.85% 1.75%
5-9 2.24% 2.11%
10-14 2.56% 2.41%
15-19 2.75% 2.6%
20-24 2.66% 2.51%
25-29 2.63% 2.53%
30-34 2.86% 2.79%
35-39 3.1% 3.08%
40-44 3.67% 3.62%
45-49 4.25% 4.13%
50-54 4.07% 4%
55-59 3.83% 3.89%
60-64 3.38% 3.58%
65-69 2.78% 3.05%
70-74 2.22% 2.57%
75-79 1.86% 2.33%
80+ 2.38% 3.95%

The chart above is a variation of the population pyramid and represents the age and gender structure. Spain has low demographic potential with 34.2% of people in the 0-34 age group (ranked 189/196).

Age dependency chart

Spain
Young

Old
World
Young

Old
Year Age dependency ratio
Spain World
Total Young Old Total Young Old
1960 55.3% 42.6% 12.7% 73.5% 64.9% 8.62%
1961 55.6% 42.7% 13% 73.8% 65.1% 8.67%
1962 56% 42.8% 13.2% 74.1% 65.4% 8.73%
1963 56.1% 42.8% 13.3% 74.9% 66.1% 8.79%
1964 56.2% 42.8% 13.4% 75.5% 66.6% 8.85%
1965 56.9% 43.2% 13.7% 75.8% 66.8% 8.93%
1966 57.7% 43.6% 14.1% 75.9% 66.9% 9%
1967 58.3% 43.9% 14.4% 75.9% 66.8% 9.07%
1968 58.9% 44.1% 14.7% 75.8% 66.6% 9.14%
1969 59.4% 44.4% 15% 75.7% 66.5% 9.2%
1970 59.9% 44.6% 15.4% 75.5% 66.2% 9.26%
1971 60.3% 44.6% 15.7% 75.2% 65.9% 9.33%
1972 60.5% 44.6% 15.9% 74.9% 65.6% 9.39%
1973 60.6% 44.4% 16.2% 74.6% 65.1% 9.46%
1974 60.5% 44.2% 16.3% 74.4% 64.9% 9.54%
1975 60.3% 43.8% 16.5% 74.2% 64.6% 9.64%
1976 60.4% 43.6% 16.8% 74% 64.3% 9.72%
1977 60.3% 43.3% 17% 73.5% 63.7% 9.79%
1978 60.1% 42.9% 17.2% 72.4% 62.5% 9.84%
1979 59.6% 42.2% 17.5% 71.3% 61.4% 9.88%
1980 59% 41.4% 17.7% 70.4% 60.5% 9.89%
1981 58.2% 40.3% 17.8% 69.5% 59.6% 9.85%
1982 57.1% 39.1% 18% 68.7% 58.9% 9.79%
1983 56.1% 38% 18.1% 67.9% 58.1% 9.72%
1984 55.1% 36.9% 18.2% 67% 57.3% 9.68%
1985 54.1% 35.7% 18.4% 66.3% 56.6% 9.68%
1986 53.3% 34.5% 18.7% 65.7% 55.9% 9.71%
1987 52.5% 33.4% 19.1% 65.2% 55.4% 9.75%
1988 51.7% 32.2% 19.5% 64.8% 54.9% 9.81%
1989 50.9% 31% 19.9% 64.4% 54.5% 9.89%
1990 50% 29.7% 20.3% 64.2% 54.3% 9.97%
1991 49.1% 28.4% 20.7% 64% 53.9% 10.1%
1992 48.3% 27.3% 21% 63.7% 53.6% 10.2%
1993 47.6% 26.3% 21.3% 63.5% 53.2% 10.3%
1994 46.9% 25.3% 21.6% 63.1% 52.7% 10.4%
1995 46.4% 24.3% 22% 62.7% 52.2% 10.5%
1996 46% 23.5% 22.5% 62.1% 51.5% 10.6%
1997 45.8% 22.9% 22.9% 61.5% 50.8% 10.7%
1998 45.7% 22.3% 23.3% 60.7% 50% 10.7%
1999 45.6% 21.9% 23.7% 60% 49.2% 10.8%
2000 45.7% 21.6% 24.1% 59.3% 48.4% 10.9%
2001 45.9% 21.4% 24.5% 58.5% 47.6% 11%
2002 46% 21.3% 24.7% 57.8% 46.7% 11.1%
2003 45.7% 21.2% 24.5% 57% 45.9% 11.1%
2004 45.2% 21.1% 24.1% 56.3% 45.1% 11.2%
2005 45% 21% 24% 55.6% 44.3% 11.3%
2006 45.1% 21.1% 24% 55% 43.6% 11.4%
2007 45% 21.2% 23.8% 54.5% 43.1% 11.4%
2008 45.2% 21.3% 23.9% 54.1% 42.6% 11.5%
2009 45.8% 21.6% 24.2% 53.8% 42.2% 11.6%
2010 46.7% 21.9% 24.8% 53.5% 41.9% 11.6%
2011 47.4% 22.1% 25.3% 53.4% 41.6% 11.8%
2012 48.2% 22.3% 25.9% 53.3% 41.4% 11.9%
2013 49.1% 22.5% 26.6% 53.4% 41.2% 12.1%
2014 49.9% 22.6% 27.4% 53.5% 41.1% 12.4%
2015 50.5% 22.6% 27.9% 53.6% 40.9% 12.7%
2016 50.8% 22.5% 28.3% 53.7% 40.7% 13%
2017 51.1% 22.4% 28.7% 53.9% 40.6% 13.3%
2018 51.2% 22.2% 29% 54.1% 40.4% 13.7%
2019 51.1% 21.8% 29.3% 54.2% 40.1% 14%
2020 51% 21.4% 29.5% 54.2% 39.8% 14.4%
2021 50.9% 21% 29.9% 54.2% 39.5% 14.7%
2022 51% 20.5% 30.5% 54% 39% 15%
2023 51.3% 20.1% 31.3% 53.9% 38.5% 15.4%
2024 51.7% 19.6% 32.1% 53.7% 38% 15.7%

Age dependency is the ratio of people not in the labor force (children under 15 and adults 64+) to people aged 15 to 64. Age dependency in Spain increased from 45.2% to 51.7% between 2004 and 2024 with a decreased share of children and an increased proportion of people aged 65+

Spain working age demographic chart

Spain
Factual

UN forecast
World
Factual

UN forecast
Year Working age population share
Spain World
1960 64.4% 57.6%
1961 64.3% 57.5%
1962 64.1% 57.4%
1963 64.1% 57.2%
1964 64% 57%
1965 63.7% 56.9%
1966 63.4% 56.8%
1967 63.2% 56.9%
1968 62.9% 56.9%
1969 62.7% 56.9%
1970 62.5% 57%
1971 62.4% 57.1%
1972 62.3% 57.2%
1973 62.3% 57.3%
1974 62.3% 57.3%
1975 62.4% 57.4%
1976 62.4% 57.5%
1977 62.4% 57.7%
1978 62.5% 58%
1979 62.6% 58.4%
1980 62.9% 58.7%
1981 63.2% 59%
1982 63.7% 59.3%
1983 64.1% 59.6%
1984 64.5% 59.9%
1985 64.9% 60.1%
1986 65.2% 60.4%
1987 65.6% 60.5%
1988 65.9% 60.7%
1989 66.3% 60.8%
1990 66.7% 60.9%
1991 67.1% 61%
1992 67.4% 61.1%
1993 67.8% 61.2%
1994 68.1% 61.3%
1995 68.3% 61.5%
1996 68.5% 61.7%
1997 68.6% 61.9%
1998 68.6% 62.2%
1999 68.7% 62.5%
2000 68.6% 62.8%
2001 68.5% 63.1%
2002 68.5% 63.4%
2003 68.6% 63.7%
2004 68.9% 64%
2005 68.9% 64.3%
2006 68.9% 64.5%
2007 69% 64.7%
2008 68.9% 64.9%
2009 68.6% 65%
2010 68.2% 65.1%
2011 67.8% 65.2%
2012 67.5% 65.2%
2013 67.1% 65.2%
2014 66.7% 65.2%
2015 66.5% 65.1%
2016 66.3% 65.1%
2017 66.2% 65%
2018 66.1% 64.9%
2019 66.2% 64.9%
2020 66.2% 64.8%
2021 66.3% 64.9%
2022 66.2% 64.9%
2023 66.1% 65%
2024 65.9% 65.1%
2025 65.7% 65.2%
2026 65.5% 65.3%
2027 65.2% 65.4%
2028 64.9% 65.4%
2029 64.5% 65.4%
2030 64% 65.4%
2031 63.6% 65.4%
2032 63.1% 65.4%
2033 62.6% 65.4%
2034 62% 65.3%
2035 61.4% 65.2%
2036 60.7% 65%
2037 60.1% 64.9%
2038 59.4% 64.7%
2039 58.7% 64.6%
2040 57.9% 64.5%
2041 57.2% 64.4%
2042 56.4% 64.3%
2043 55.7% 64.2%
2044 55% 64.1%
2045 54.4% 63.9%
2046 53.9% 63.8%
2047 53.4% 63.7%
2048 53% 63.6%
2049 52.7% 63.4%
2050 52.4% 63.3%

The share of working-age demographics aged 15-64 in Spain changed from 68.9% to 65.9% between 2004 and 2024.

Share of young population (0-14 years)

Spain
Factual

UN forecast
World
Factual

UN forecast
Year Share of population 0-14 years old
Spain World
1960 27.4% 37.4%
1961 27.4% 37.5%
1962 27.4% 37.6%
1963 27.4% 37.8%
1964 27.4% 38%
1965 27.5% 38%
1966 27.6% 38%
1967 27.7% 38%
1968 27.8% 37.9%
1969 27.8% 37.8%
1970 27.9% 37.7%
1971 27.8% 37.6%
1972 27.8% 37.5%
1973 27.7% 37.3%
1974 27.5% 37.2%
1975 27.3% 37.1%
1976 27.2% 36.9%
1977 27% 36.7%
1978 26.8% 36.3%
1979 26.4% 35.9%
1980 26% 35.5%
1981 25.5% 35.2%
1982 24.9% 34.9%
1983 24.4% 34.6%
1984 23.8% 34.3%
1985 23.2% 34%
1986 22.5% 33.8%
1987 21.9% 33.6%
1988 21.2% 33.4%
1989 20.5% 33.2%
1990 19.8% 33%
1991 19.1% 32.9%
1992 18.4% 32.7%
1993 17.8% 32.5%
1994 17.2% 32.3%
1995 16.6% 32.1%
1996 16.1% 31.8%
1997 15.7% 31.5%
1998 15.3% 31.1%
1999 15% 30.8%
2000 14.8% 30.4%
2001 14.7% 30%
2002 14.6% 29.6%
2003 14.5% 29.2%
2004 14.5% 28.8%
2005 14.5% 28.5%
2006 14.5% 28.1%
2007 14.6% 27.9%
2008 14.7% 27.6%
2009 14.8% 27.5%
2010 14.9% 27.3%
2011 15% 27.1%
2012 15.1% 27%
2013 15.1% 26.9%
2014 15.1% 26.8%
2015 15% 26.6%
2016 14.9% 26.5%
2017 14.8% 26.4%
2018 14.7% 26.2%
2019 14.4% 26%
2020 14.2% 25.8%
2021 13.9% 25.6%
2022 13.6% 25.3%
2023 13.3% 25%
2024 12.9% 24.7%
2025 12.6% 24.4%
2026 12.3% 24.1%
2027 12.1% 23.8%
2028 11.8% 23.4%
2029 11.6% 23.1%
2030 11.4% 22.8%
2031 11.2% 22.6%
2032 11% 22.3%
2033 10.9% 22.1%
2034 10.8% 21.9%
2035 10.7% 21.7%
2036 10.7% 21.6%
2037 10.7% 21.5%
2038 10.8% 21.4%
2039 10.8% 21.3%
2040 10.8% 21.2%
2041 10.9% 21.1%
2042 11% 21%
2043 11% 21%
2044 11.1% 20.9%
2045 11.2% 20.8%
2046 11.3% 20.7%
2047 11.3% 20.7%
2048 11.4% 20.6%
2049 11.5% 20.5%
2050 11.5% 20.4%

The share of children aged 0-14 in Spain decreased from 14.5% to 12.9% between 2004 and 2024 due to changes in birth rates.

Share of old population (65+)

Spain
Factual

UN forecast
World
Factual

UN forecast
Year Share of population 65+ years old
Spain World
1960 8.16% 4.97%
1961 8.33% 4.99%
1962 8.46% 5.01%
1963 8.53% 5.02%
1964 8.58% 5.04%
1965 8.74% 5.08%
1966 8.94% 5.12%
1967 9.1% 5.16%
1968 9.27% 5.2%
1969 9.43% 5.24%
1970 9.61% 5.28%
1971 9.78% 5.32%
1972 9.92% 5.37%
1973 10.1% 5.42%
1974 10.2% 5.47%
1975 10.3% 5.53%
1976 10.4% 5.59%
1977 10.6% 5.65%
1978 10.8% 5.71%
1979 10.9% 5.77%
1980 11.1% 5.81%
1981 11.3% 5.81%
1982 11.4% 5.8%
1983 11.6% 5.79%
1984 11.7% 5.8%
1985 12% 5.82%
1986 12.2% 5.86%
1987 12.5% 5.91%
1988 12.9% 5.95%
1989 13.2% 6.01%
1990 13.5% 6.07%
1991 13.9% 6.14%
1992 14.1% 6.21%
1993 14.4% 6.29%
1994 14.7% 6.37%
1995 15.1% 6.45%
1996 15.4% 6.53%
1997 15.7% 6.61%
1998 16% 6.68%
1999 16.3% 6.76%
2000 16.5% 6.84%
2001 16.8% 6.92%
2002 16.9% 7.01%
2003 16.8% 7.1%
2004 16.6% 7.18%
2005 16.5% 7.26%
2006 16.5% 7.34%
2007 16.4% 7.41%
2008 16.4% 7.47%
2009 16.6% 7.52%
2010 16.9% 7.58%
2011 17.2% 7.66%
2012 17.5% 7.78%
2013 17.9% 7.92%
2014 18.3% 8.08%
2015 18.5% 8.26%
2016 18.8% 8.45%
2017 19% 8.65%
2018 19.2% 8.88%
2019 19.4% 9.1%
2020 19.6% 9.33%
2021 19.8% 9.53%
2022 20.2% 9.74%
2023 20.7% 9.98%
2024 21.1% 10.2%
2025 21.6% 10.4%
2026 22.2% 10.6%
2027 22.7% 10.8%
2028 23.3% 11.1%
2029 23.9% 11.5%
2030 24.6% 11.7%
2031 25.3% 12%
2032 25.9% 12.3%
2033 26.6% 12.6%
2034 27.2% 12.8%
2035 27.9% 13.1%
2036 28.5% 13.4%
2037 29.2% 13.7%
2038 29.9% 13.9%
2039 30.5% 14.1%
2040 31.2% 14.3%
2041 31.9% 14.5%
2042 32.6% 14.7%
2043 33.3% 14.9%
2044 33.8% 15%
2045 34.4% 15.2%
2046 34.9% 15.4%
2047 35.3% 15.7%
2048 35.6% 15.9%
2049 35.8% 16.1%
2050 36.1% 16.3%

The share of older people aged 65 and over in Spain increased from 16.6% to 21.1% between 2004 and 2024 due to changes in life expectancy.

Religion demographics

Spain
Religion Share of population
Christianity 69.5%
Atheism 26.4%
Islam 3.58%
Hinduism 0.13%
Judaism 0.03%
Buddhism 0.02%
All other 0.44%

Median age map

Median age

Demographics comparisons

Demographics vs Spain
Afghanistan Compare
Albania Compare
Algeria Compare
Andorra Compare
Angola Compare
Antigua Compare
Argentina Compare
Armenia Compare
Australia Compare
Austria Compare
Azerbaijan Compare
Bahamas Compare
Bahrain Compare
Bangladesh Compare
Barbados Compare
Belarus Compare
Belgium Compare
Belize Compare
Benin Compare
Bhutan Compare
Bolivia Compare
Bosnia Compare
Botswana Compare
Brazil Compare
Brunei Compare
Bulgaria Compare
Burkina Faso Compare
Burundi Compare
Cambodia Compare
Cameroon Compare
Canada Compare
Cape Verde Compare
Cayman Islands Compare
CAR Compare
Chad Compare
Chile Compare
China Compare
Colombia Compare
Comoros Compare
Congo Compare
Costa Rica Compare
Croatia Compare
Cuba Compare
Curacao Compare
Cyprus Compare
Czech Republic Compare
DR Congo Compare
Denmark Compare
Djibouti Compare
Dominica Compare
Dominican Republic Compare
East Timor Compare
Ecuador Compare
Egypt Compare
El Salvador Compare
Equatorial Guinea Compare
Eritrea Compare
Estonia Compare
Eswatini Compare
Ethiopia Compare
Fiji Compare
Finland Compare
France Compare
Gabon Compare
Gambia Compare
Georgia Compare
Germany Compare
Ghana Compare
Greece Compare
Grenada Compare
Guatemala Compare
Guinea Compare
Guinea-Bissau Compare
Guyana Compare
Haiti Compare
Honduras Compare
Hungary Compare
Iceland Compare
India Compare
Indonesia Compare
Iran Compare
Iraq Compare
Ireland Compare
Israel Compare
Italy Compare
Ivory Coast Compare
Jamaica Compare
Japan Compare
Jordan Compare
Kazakhstan Compare
Kenya Compare
Kiribati Compare
Kuwait Compare
Kyrgyzstan Compare
Laos Compare
Latvia Compare
Lebanon Compare
Lesotho Compare
Liberia Compare
Libya Compare
Liechtenstein Compare
Lithuania Compare
Luxembourg Compare
Madagascar Compare
Malawi Compare
Malaysia Compare
Maldives Compare
Mali Compare
Malta Compare
Marshall Islands Compare
Mauritania Compare
Mauritius Compare
Mexico Compare
Moldova Compare
Monaco Compare
Mongolia Compare
Montenegro Compare
Morocco Compare
Mozambique Compare
Myanmar Compare
Namibia Compare
Nauru Compare
Nepal Compare
Netherlands Compare
New Zealand Compare
Nicaragua Compare
Niger Compare
Nigeria Compare
North Korea Compare
North Macedonia Compare
Norway Compare
Oman Compare
Pakistan Compare
Palau Compare
Palestine Compare
Panama Compare
Papua New Guinea Compare
Paraguay Compare
Peru Compare
Philippines Compare
Poland Compare
Portugal Compare
Qatar Compare
Romania Compare
Russia Compare
Rwanda Compare
Saint Kitts Compare
Saint Lucia Compare
Saint Vincent Compare
Samoa Compare
San Marino Compare
Sao Tome Compare
Saudi Arabia Compare
Senegal Compare
Serbia Compare
Seychelles Compare
Sierra Leone Compare
Singapore Compare
Slovakia Compare
Slovenia Compare
Solomon Islands Compare
Somalia Compare
South Africa Compare
South Korea Compare
South Sudan Compare
Sri Lanka Compare
Sudan Compare
Suriname Compare
Sweden Compare
Switzerland Compare
Syria Compare
Taiwan Compare
Tajikistan Compare
Tanzania Compare
Thailand Compare
Togo Compare
Tonga Compare
Trinidad Compare
Tunisia Compare
Turkey Compare
Turkmenistan Compare
Tuvalu Compare
Uganda Compare
Ukraine Compare
UAE Compare
United Kingdom Compare
United States Compare
Uruguay Compare
Uzbekistan Compare
Vanuatu Compare
Venezuela Compare
Vietnam Compare
Yemen Compare
Zambia Compare
Zimbabwe Compare