Skip to content
World Measure
Capital city · Spain · Europe

Madrid

City population
3,255,944
#1
in Spain
#1
in Madrid
#107
worldwide
Madrid
40.416, -3.703
Share of Spain
6.6%
Of the national population
Elevation
665 m
Approximate — modelled, not surveyed
Capital city
National
The capital of Spain
Time zone
Europe/Madrid
IANA zone identifier

About Madrid

Madrid is the capital and largest city of Spain, with 3.3 million in the city and 6.7 million in the metropolitan area. Located at Spain's geographic center, Madrid is the country's political, economic, and cultural heart. Known for world-class museums, vibrant nightlife, football (Real Madrid), and a lifestyle that often doesn't begin dinner until 10 PM, Madrid embodies Spanish passion and energy.

Position in Spain
#1of 544
LargestSmallest
Position in Madrid
#1of 42
LargestSmallest
Metro population
6,751,000
0.081% of world population
Archive estimate
Annual growth
+0.32%
Archive estimate
Density
5,111/km²
1,321 km² metro area

Key Facts

Country
Region
Rank in region
#1of 42
Founded
1083
Coordinates
40.416, -3.703
Record updated
23 February 2026
Entry edited, not measured

City population, GeoNames. GeoNames publishes no year for its population figures, so “record updated” is when the entry was last edited — not the date the population was measured. Elevation is modelled from a digital elevation model rather than surveyed, so it is approximate.

Nearby Cities

All 544 in Spain

Closest listed cities by great-circle distance from the city centre.

Compared with the World's Largest Cities

City-proper population against the fifteen largest cities in the dataset.

City-proper figures only. Administrative boundaries differ between countries, so these are not directly comparable to metropolitan-area estimates.
Madrid compared with the fifteen largest cities
NameCity population
Shanghai24.9M
Beijing19M
Shenzhen17.5M
Guangzhou16.1M
Kinshasa16M
Istanbul15.7M
Lagos15.4M
Ho Chi Minh City14M
Chengdu13.6M
Lahore13M
Mumbai12.7M
São Paulo12.4M
Mexico City12.3M
Karachi11.6M
Tianjin11.1M
Madrid3.26M

Airports

Scheduled-service airports within 100 km, nearest first.

  • Adolfo Suárez Madrid–Barajas AirportMAD

    14 km from the city centre

Source: OurAirports, matched by distance.

History

Madrid's origins as a Moorish fortress date to the 9th century. It became Spain's capital in 1561 under Philip II. The Habsburg and Bourbon dynasties built palaces and monuments. The Spanish Civil War (1936-1939) saw Madrid besieged. Franco's dictatorship ended in 1975. Democratic Spain joined the EU in 1986, and Madrid modernized rapidly with La Movida Madrileña cultural movement.

Economy

Madrid is Spain's economic engine, generating about 18% of national GDP. Key sectors include finance (major banks like Santander, BBVA nearby), telecommunications (Telefónica), tourism, retail, and services. The city hosts numerous multinational headquarters. Fashion and creative industries are growing. High-speed rail (AVE) has boosted business connectivity.

Culture

Madrid's culture centers on art, food, and nightlife. The 'Golden Triangle' of museums (Prado, Reina Sofía, Thyssen-Bornemisza) is world-class. Tapas and late dining are traditions. Football (Real Madrid, Atlético) inspires passion. Flamenco, zarzuela opera, and festivals fill the calendar. Madrileños are known for their warmth and love of socializing (la marcha).

Transportation

Madrid Metro is one of Europe's largest and most efficient. Cercanías commuter trains serve the region. Adolfo Suárez Madrid-Barajas Airport is Spain's busiest. AVE high-speed trains connect to Barcelona, Seville, and other cities. The city is walkable but sprawling. Car traffic is restricted in the center (Madrid Central).

Current Challenges

Madrid faces challenges including air pollution (despite restrictions), housing affordability, summer heat waves (increasingly severe), unemployment (especially youth), and overtourism in the center. Water stress is growing. The city's monocentric structure creates congestion. Economic inequality persists.

Highlights

Landmarks & Attractions

  • Prado Museum
  • Royal Palace of Madrid
  • Puerta del Sol
  • Plaza Mayor
  • Reina Sofía Museum (Picasso's Guernica)
  • Retiro Park
  • Gran Vía
  • Santiago Bernabéu Stadium

What Madrid Is Known For

  • Prado Museum
  • Real Madrid
  • Nightlife
  • Tapas
  • Royal Palace
  • Late dinners

Universities

  • Complutense University of Madrid
  • Autonomous University of Madrid
  • Carlos III University

Sports Teams

  • Real Madrid
  • Atlético Madrid (football)
  • Real Madrid Baloncesto (basketball)

Interesting Facts

  • Madrid is Europe's highest capital at 650 meters
  • The city has more bars per capita than any other European capital
  • Madrileños typically eat dinner between 10-11 PM
  • The Prado Museum has over 8,000 paintings
  • Madrid's Retiro Park was originally a royal garden
  • Real Madrid is the most valuable football club in the world

Population Trend in Spain

No free source publishes city population back to 1950, so the parent country's series is shown instead.

010M20M30M40M50M1950197520002025205020752100projected →
This is Spain's national population, not Madrid's. Source: UN World Population Prospects 2024.
Spain population, 1950 to 2100
YearPopulation
195028,077,049
196030,404,939
197033,812,723
198037,537,565
199039,084,979
200041,019,774
201046,840,471
202047,679,489
203047,610,520
204046,591,674
205044,928,558
206042,210,838
207039,035,769
208036,524,535
209034,774,237
210033,127,478

Madrid Population FAQ

What is the population of Madrid?

Madrid has a city population of 3,255,944. That is the population within the city's own boundary, not its wider metropolitan area. City population, GeoNames.

Where is Madrid?

Madrid is in Madrid, Spain. Its coordinates are 40.416, -3.703.

How big is Madrid compared with other cities in Spain?

It is the 1st largest of the 544 cities listed in Spain, holding 6.6% of the national population.

Explore