Spain Population Pyramid 2040

Spain
2040
Population: 46,591,673

Year

-5 -1   2040  +1 +5

Country

A B C D E F G H I J K L M N O P Q R S T U V W Y Z
Embed this population pyramid ×

Copy the code below and paste it into your website or LMS.

Spain in 2040

In 2040, Spain is projected to have a population of 46,591,674 people. Compared with 2030, when the projection stands at 47,610,520, that represents a decline of 2.1% over ten years.

The median age is projected at 52.0 years, with 18.7 children under 15 and 53.9 people aged 65 or over for every 100 people of working age (15–64). The pyramid is constrictive: cohorts of children are smaller than those of their parents, reflecting low fertility and an ageing population.

Share of the population by age group, 1950–2100

Data source: United Nations World Population Prospects, 2024 revision (medium variant) — last updated July 2024.

Population
46,591,674
Median age
52.0
0-14 %
10.8%
65+ %
31.2%
Child dependency
18.7
Old-age dependency
53.9
Region
Pyramid shape
Population 2050
44,928,558
Population 2100
33,127,479
Births per woman
Total fertility rate, 1960–2023
1234
1960Replacement level (2.1)2023 · 1.12

The fertility rate of Spain was 1.12 births per woman in 2023, under the 2.1 needed to replace each generation.

Source: World Bank World Development Indicators, latest available year.

Life expectancy at birth
Years, 1960–2023
Total Women Men
60708090
19602023 · 83.9

A child born there in 2023 could expect to live 83.9 years on average (86.7 years for girls, 81.2 for boys).

Source: World Bank World Development Indicators, latest available year.

People supported per 100 workers
Dependency ratios, 1950–2100
Children Older adults
20406080
19502100
Where immigrants come from (2024)

8,305,043 immigrants live in Spain, 17.3% of the population.

Morocco1,088,408
Colombia792,228
Venezuela602,539
Romania522,578
Ecuador432,111
Where emigrants live (2024)

1,597,508 people born in Spain live in other countries.

France254,830
United Kingdom211,894
United States of America168,755
Germany166,899
Romania85,101
Explore
Immigration statistics Origin of migrant stocks map

Source: United Nations International Migrant Stock 2024.

Country Population Median age Relative size
Spain 46,591,674 52.0
Italy 55,221,168 53.1
Portugal 10,082,256 50.1
Greece 9,275,613 51.4
Serbia 5,987,456 48.5
How many people are projected to live in Spain in 2040?
UN projections put Spain's population at 46,591,674 in 2040.
Is Spain's population growing or shrinking?
Spain's population declined 2.1% over the previous ten years, and is projected to reach 44,928,558 by 2050.
What is the median age in Spain?
The median age in Spain is 52.0 years — half the population is younger, half older.
What share of Spain's population is over 65 or under 15?
In Spain, 10.8% of people are under 15 and 31.2% are 65 or older.
What shape is Spain's population pyramid, and what does it mean?
Spain has a constrictive pyramid: cohorts of children are smaller than those of their parents, reflecting low fertility and an ageing population.

Check our other visualizations