Largest Cities in Spain (City Population), 1990–2024 — Bar Chart Race
This bar chart race ranks 118 cities in Spain by population of the city (people), year by year from 1990 to 2024. The data comes from Eurostat.
Customise this chart & export videoDownload the data (CSV)
Key facts
- Madrid leads in 2024 with 4,501,429 people, followed by Barcelona (2,658,830).
- In 1990 the leader was Madrid with 3,120,732 people.
- Among today’s top ten, Murcia grew the most: 1.5× since 1990.
- The animation covers 34 time steps from 1990 to 2024 across 118 cities.
How the ranking changed
First place changed hands 2 times between 1990 and 2024: Barcelona overtook Madrid in 2014 and Madrid overtook Barcelona in 2015. Madrid had the longest run at the top (1990–2013).
Barcelona, Valencia, Bilbao, Sevilla and Alicante/Alacant were not in the top ten in 1990 but are in it by 2024.
Top 10 in 2024
| Rank | Name | Value (people) |
|---|---|---|
| 1 | Madrid | 4,501,429 |
| 2 | Barcelona | 2,658,830 |
| 3 | Valencia | 1,474,632 |
| 4 | Bilbao | 782,473 |
| 5 | Zaragoza | 691,037 |
| 6 | Sevilla | 686,741 |
| 7 | Málaga | 592,346 |
| 8 | Alicante/Alacant | 503,432 |
| 9 | Murcia | 471,982 |
| 10 | Palma de Mallorca | 438,234 |
Top 10 in 1990
| Rank | Name | Value (people) |
|---|---|---|
| 1 | Madrid | 3,120,732 |
| 2 | Zaragoza | 592,686 |
| 3 | Málaga | 560,495 |
| 4 | Palmas de Gran Canaria, Las | 373,846 |
| 5 | Valladolid | 333,680 |
| 6 | Murcia | 322,911 |
| 7 | Vitoria-Gasteiz | 209,506 |
| 8 | Oviedo | 194,637 |
| 9 | Santander | 194,221 |
| 10 | Badajoz | 126,781 |
Top 5 over time
| Period | #1 | #2 | #3 | #4 | #5 |
|---|---|---|---|---|---|
| 1990 | Madrid3.1M people | Zaragoza592.7K people | Málaga560.5K people | Palmas de Gran Canaria, Las373.8K people | Valladolid333.7K people |
| 2000 | Madrid2.9M people | Zaragoza604.6K people | Málaga531.6K people | Palmas de Gran Canaria, Las358.5K people | Murcia357.2K people |
| 2010 | Madrid3.3M people | Barcelona3.2M people | Zaragoza675.1K people | Málaga568.5K people | Murcia441.3K people |
| 2020 | Madrid5.1M people | Barcelona3.8M people | Valencia1.4M people | Sevilla884.9K people | Bilbao797.6K people |
| 2024 | Madrid4.5M people | Barcelona2.7M people | Valencia1.5M people | Bilbao782.5K people | Zaragoza691K people |
About the data
Source: Eurostat, licensed CC BY 4.0. Snapshot last refreshed on . Gaps in a series are interpolated between the nearest reported values.
Questions
Which city ranks first for population of the city in Spain in 2024?
Madrid, with 4.5M people. Barcelona is second with 2.7M people and Valencia third.
Which city was first in 1990?
Madrid, with 3.1M people. It is still first in 2024.
When did Madrid become the top city?
Madrid took first place in 2015, overtaking Barcelona.
What were the top 5 cities in 2010?
1. Madrid (3.3M people), 2. Barcelona (3.2M people), 3. Zaragoza (675.1K people), 4. Málaga (568.5K people) and 5. Murcia (441.3K people).
Where does the data come from?
Eurostat, published under CC BY 4.0. The chart covers 34 time steps from 1990 to 2024 for 118 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