Number of people living in urban and rural areas in Spain

Spain: Number of people living in urban and rural areas was 38.56 million people in 2025. ▲ Rising

Latest (2025)
38.56 million people
Change on year
up 0.2%
World rank
27th
of 236 countries
All-time high
38.56 million people
in 2025
All-time low
14.50 million people
in 1950
Years of data
76
1950–2025

Number of people living in urban and rural areas in Spain, 1950–2025

010.0M20.0M30.0M40.0M195019872025

Source: United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data. Measured in people.

Analysis

In 2025, number of people living in urban and rural areas in Spain stood at 38.56 million people. That is the highest value across all 76 years on record.

The figure is up 0.2% on the previous year and up 4.2% over ten years.

Over the whole period, number of people living in urban and rural areas in Spain peaked at 38.56 million people in 2025 and was at its lowest, 14.50 million people, in 1950.

Spain ranks 27th of 236 countries on this measure, in the top quarter.

The long-run direction has been consistently rising across the 76 years of available data.

Averages by decade

DecadeAverage LowestHighest Years
1950s 15.56 million people 14.50 million people 16.83 million people 10
1960s 19.41 million people 17.16 million people 21.89 million people 10
1970s 24.45 million people 22.37 million people 26.47 million people 10
1980s 28.14 million people 26.86 million people 29.12 million people 10
1990s 30.15 million people 29.25 million people 31.03 million people 10
2000s 33.71 million people 31.24 million people 36.51 million people 10
2010s 37.14 million people 36.78 million people 37.77 million people 10
2020s 38.29 million people 38.00 million people 38.56 million people 6

Countries ranked near Spain

  1. 24 South Africa 41.32 million people compare
  2. 25 Italy 41.21 million people compare
  3. 26 Vietnam 39.45 million people compare
  4. 28 Algeria 35.96 million people compare
  5. 29 Canada 33.26 million people compare
  6. 30 Iraq 32.89 million people compare

See the full ranking of 237 places →

More population data for Spain

All data for Spain →

Frequently asked questions

What is number of people living in urban and rural areas in Spain?
Number of people living in urban and rural areas in Spain was 38.56 million people in 2025, according to United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data.
What is the highest number of people living in urban and rural areas recorded in Spain?
The highest recorded value was 38.56 million people in 2025.
What is the lowest number of people living in urban and rural areas recorded in Spain?
The lowest recorded value was 14.50 million people in 1950.
How does Spain rank for number of people living in urban and rural areas?
Spain ranks 27th out of 236 countries with data for 2025.
Is number of people living in urban and rural areas rising or falling in Spain?
Over the last ten years it is up 4.2%. The long-run trend across the full record is rising.
Where does this Spain data come from?
The figures come from United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data, published as part of Number of people living in urban and rural areas. Statizoid updates them automatically from the source API.

Download this data

CSV · JSON — 76 observations, free to reuse under CC BY 4.0 (Our World in Data).

About this data

Indicator
Number of people living in urban and rural areas
Unit
people
Source
United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
237 places, 18,012 data points, 1950–2025
Last refreshed

Number of people living in urban areas, based on each country's national definition.