Spain Population Pyramid 2020
Year
2020Spain in 2020
In 2020, Spain had a total population of 47,679,489 people. That is 1.8% more than in 2010, when the population stood at 46,840,471.
The median age was 44.5 years, and for every 100 people of working age (15–64) there were 21.4 children under 15 and 29.5 people aged 65 or over. The narrow base of the pyramid marks a constrictive age structure: fertility below replacement level and a rising share of older people.
Data source: United Nations World Population Prospects, 2024 revision (medium variant) — last updated July 2024.
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.
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.
8,305,043 immigrants live in Spain, 17.3% of the population.
| Morocco | 1,088,408 |
| Colombia | 792,228 |
| Venezuela | 602,539 |
| Romania | 522,578 |
| Ecuador | 432,111 |
1,597,508 people born in Spain live in other countries.
| France | 254,830 |
| United Kingdom | 211,894 |
| United States of America | 168,755 |
| Germany | 166,899 |
| Romania | 85,101 |
Source: United Nations International Migrant Stock 2024.
| Country | Population | Median age | Relative size |
|---|---|---|---|
| Spain | 47,679,489 | 44.5 | |
| Italy | 59,912,769 | 47.4 | |
| Greece | 10,699,369 | 45.3 | |
| Portugal | 10,370,519 | 46.1 | |
| Serbia | 6,907,812 | 44.4 |





