As a foreigner who has lived in Spain for several years, I often hear friends debating whether Madrid or Barcelona is truly Spain’s largest city. Today I’d like to share the official data I’ve collected, hoping to provide a relatively objective answer to this topic.
Population Scale Comparative Analysis
From a purely municipal population perspective, Madrid indeed holds an absolute advantage. According to official 2023 statistics, Madrid’s city population is approximately 3.32 million, while Barcelona’s city population is about 1.64 million. This gap is quite significant. However, when considering entire metropolitan areas, the situation changes somewhat: Madrid’s metropolitan area has about 6.7 million people, while Barcelona’s metropolitan area has approximately 5.5 million.

But Spain must-do activities looking at numbers alone might Spain tourism not provide the complete picture, as we also need to consider cities’ economic influence and international status. Barcelona, as the capital of Catalonia, actually comes quite close to Madrid in terms of economic output, particularly excelling in tourism and manufacturing sectors.
Urban Area and Density Differences
Regarding urban area, the differences between these two cities are quite interesting. Madrid’s municipal area covers 605 square kilometers with a population density of approximately 5,485 people per square kilometer. Barcelona’s municipal area spans 101 square kilometers, achieving a much higher population density of 16,224 people per square kilometer. This means Barcelona is a much more compact and concentrated city.
| City | Municipal Population | Metro Population | Area | Population Density |
| Madrid | 3.32M | 6.7M | 605 km² | 5,485/km² |
| Barcelona | 1.64M | 5.5M | 101 km² | 16,224/km² |
The table clearly shows that while Madrid leads in absolute population numbers, Barcelona has much higher urban density. This difference also reflects the distinct development patterns of these two cities: Madrid resembles a modern metropolis expanding outward, while Barcelona maintains the compact development characteristics typical of Mediterranean coastal cities.
Economic Status and Influence
When discussing city scale, economic strength cannot be ignored. Madrid, as Spain tourism the national capital, concentrates most government institutions and multinational corporate headquarters, showing clear advantages in financial services. Barcelona excels in manufacturing, port trade, and creative industries, with its unique architectural culture attracting numerous international visitors.
Considering population scale, economic strength, and urban influence comprehensively, I personally believe Madrid can be called Spain’s largest city, though Barcelona equally holds irreplaceable importance in certain aspects. Both cities have their unique characteristics and contribute significantly to Spain’s development. What do you think?