Skip to main content
Cities

Madrid

Madrid (6.8 million inhabitants): major city of Spain, with country factbook, ranking and leader links.

Last updated: October 2026

About Madrid

CountrySpain
Population6.8 million
CapitalYes — national capital

Source: UN World Urbanization Prospects, 2022 Revision (metropolitan agglomeration estimate). Observation date: 2022. The Bureau cross-checked major-city figures against UN WUP; smaller-city figures are presented as published and have not been individually re-verified.

What is the population of Madrid?

Madrid has a metropolitan population of 6.8 million, according to the UN World Urbanization Prospects (2022 Revision) cited on this page.

Where is Madrid located?

Madrid is in Spain. It is the national capital of Spain.

What is Madrid known for?

Madrid is the national capital of Spain. As the capital, it is the country’s seat of government. The Bureau’s profile records its population and country context; see the Spain factbook for the wider national picture.

Other cities in Spain

BarcelonaValencia
SpainRankings

Across the Bureau

Spain — Country ProfileBarcelona, Spain — City ProfileValencia, Spain — City ProfileWho won the last election in Spain?What are the main airports of Spain?Spain — Military Capability AssessmentDid Spain acquire 16x Airbus C295 maritime patrol/surveillance aircraft?Did Spain acquire 25x Eurofighter?