Spain Population Pyramid 2022
Year
2022Spain in 2022
As of 2022, Spain counted 47,828,382 inhabitants. A decade earlier, in 2012, the population was 47,018,322; it has grown by 1.7% since.
With a median age of 45.4 years, Spain had a youth dependency ratio of 20.5 and an old-age dependency ratio of 30.5 per 100 people of working age. This is a constrictive pyramid — its base is narrower than its middle, the signature of sustained low birth rates and population ageing.
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,828,383 | 45.4 | |
| Italy | 59,619,115 | 48.1 | |
| Portugal | 10,417,073 | 46.8 | |
| Greece | 10,412,480 | 46.4 | |
| Serbia | 6,791,214 | 44.7 |





