Largest Cities in Spain, 1975–2025 — Bar Chart Race
This bar chart race ranks 71 cities in Spain by population (people), year by year from 1975 to 2025. The data comes from UN World Urbanization Prospects 2025.
Customise this chart & export videoDownload the data (CSV)
Key facts
- Madrid leads in 2025 with 5,583,601 people, followed by Barcelona (3,982,704).
- In 1975 the leader was Madrid with 2,951,852 people.
- Among today’s top ten, Alicante grew the most: 2.3× since 1975.
- The animation covers 51 time steps from 1975 to 2025 across 71 cities.
How the ranking changed
Madrid held first place in every period from 1975 to 2025; the closest challenger in 2025 is Barcelona at 4M people.
The biggest climbers into the 2025 top ten were Alicante (20th in 1975, now 9th) and Palma de Mallorca (13th in 1975, now 8th).
Palma de Mallorca and Alicante were not in the top ten in 1975 but are in it by 2025.
Top 10 in 2025
| Rank | Name | Value (people) |
|---|---|---|
| 1 | Madrid | 5,583,601 |
| 2 | Barcelona | 3,982,704 |
| 3 | Valencia | 1,390,045 |
| 4 | Bilbao | 741,795 |
| 5 | Seville | 699,504 |
| 6 | Zaragoza | 585,533 |
| 7 | Málaga | 521,854 |
| 8 | Palma de Mallorca | 473,499 |
| 9 | Alicante | 397,948 |
| 10 | Las Palmas de Gran Canaria | 381,670 |
Top 10 in 1975
| Rank | Name | Value (people) |
|---|---|---|
| 1 | Madrid | 2,951,852 |
| 2 | Barcelona | 2,234,530 |
| 3 | Valencia | 936,706 |
| 4 | Bilbao | 900,398 |
| 5 | Seville | 575,312 |
| 6 | Zaragoza | 446,172 |
| 7 | Málaga | 378,651 |
| 8 | Las Palmas de Gran Canaria | 267,179 |
| 9 | Granada | 265,973 |
| 10 | Valladolid | 264,287 |
Top 5 over time
| Period | #1 | #2 | #3 | #4 | #5 |
|---|---|---|---|---|---|
| 1975 | Madrid3M people | Barcelona2.2M people | Valencia936.7K people | Bilbao900.4K people | Seville575.3K people |
| 1980 | Madrid3.2M people | Barcelona2.3M people | Valencia1M people | Bilbao908.6K people | Seville628K people |
| 1990 | Madrid3.4M people | Barcelona2.5M people | Valencia1.1M people | Bilbao827.9K people | Seville687.3K people |
| 2000 | Madrid3.9M people | Barcelona2.8M people | Valencia1.2M people | Bilbao785.2K people | Seville675.2K people |
| 2010 | Madrid4.6M people | Barcelona3.3M people | Valencia1.3M people | Bilbao808.3K people | Seville679.2K people |
| 2020 | Madrid5.5M people | Barcelona3.9M people | Valencia1.4M people | Bilbao754.3K people | Seville703.1K people |
| 2025 | Madrid5.6M people | Barcelona4M people | Valencia1.4M people | Bilbao741.8K people | Seville699.5K people |
About the data
Cities are delineated with the Degree of Urbanisation method: contiguous grid cells of at least 1,500 inhabitants per km² with a total population of at least 50,000, so figures describe the whole urban area rather than the administrative city.
Source: UN World Urbanization Prospects 2025, licensed CC BY 3.0 IGO. Snapshot last refreshed on . Gaps in a series are interpolated between the nearest reported values.
Questions
Which city ranks first for population in Spain in 2025?
Madrid, with 5.6M people. Barcelona is second with 4M people and Valencia third.
Which city was first in 1975?
Madrid, with 3M people. It is still first in 2025.
What were the top 5 cities in 2000?
1. Madrid (3.9M people), 2. Barcelona (2.8M people), 3. Valencia (1.2M people), 4. Bilbao (785.2K people) and 5. Seville (675.2K people).
Where does the data come from?
UN World Urbanization Prospects 2025, published under CC BY 3.0 IGO. The chart covers 51 time steps from 1975 to 2025 for 71 cities.
Can I export the bar chart race as a video?
Yes. The chart is rendered frame by frame in your browser and saved as an MP4 (H.264) file at up to 4K and 60 frames per second. Nothing is uploaded, so your data stays on your device.
More bar chart races
- Largest Cities in the World
- Largest Cities in the World by Built-up Area
- Largest Cities in Europe and Central Asia
- Largest Cities in Sub-Saharan Africa
- Largest Cities in Latin America and Caribbean
- Largest Cities in East Asia and Pacific
- Largest Cities in South Asia
- Largest Cities in North America
- All cities charts