Spain flag

Madrid, Spain

Capital city · Population 3.3M

Madrid is the capital and the largest city in Spain with a population of approximately 3,255,944 people as of 2026. This makes it the 106th largest city in the world, accounting for 6.60% of Spain's total population of 49.3M. Madrid is classified as a major city and operates in the Europe/Madrid timezone. The average annual temperature is 15.8°C with 492 mm of rainfall per year. The city sits at an elevation of 651 meters above sea level.

Population

3,255,944

Global Rank

#106

Country Rank

#1

% of Spain

6.60%

Avg Temperature

15.8°C

Annual Rainfall

492 mm

Elevation

651 m

Timezone

Europe/Madrid

Madrid on the Map

Loading map...

Climate in Madrid

Madrid's warmest month is Aug and the coldest is Dec. The wettest month is Mar with 111 mm of rainfall.

Average Monthly Temperature

7.2°C
Jan
8.7°C
Feb
10.4°C
Mar
14°C
Apr
17.7°C
May
22°C
Jun
28.1°C
Jul
28.4°C
Aug
19.9°C
Sep
15.6°C
Oct
11.2°C
Nov
6.2°C
Dec
6.2°C28.4°C

Monthly Rainfall

81 mm
Jan
33 mm
Feb
111 mm
Mar
20 mm
Apr
17 mm
May
59 mm
Jun
0 mm
Jul
16 mm
Aug
20 mm
Sep
107 mm
Oct
18 mm
Nov
10 mm
Dec

Spain at a Glance

Country Population

49,315,949

Capital

Madrid

Region

Southern Europe

Major Cities

93

GDP per Capita

$35,327

Life Expectancy

83.9 years

Urban Population

80.3%

Growth Rate

0.00%

Other Major Cities in Spain

Barcelona
1.7M
Valencia
824K
Zaragoza
687K
Sevilla
687K
Málaga
592K
Murcia
472K
Palma
438K
Las Palmas de Gran Canaria
384K
Alicante
349K
Bilbao
347K

Nearest Major Cities

Closest cities to Madrid with over 100,000 people

Cities closest to Madrid by distance
CityPopulationDistance
Madrid Centro149,718<1 km
Retiro126,0582 km
Arganzuela148,7972 km
Chamberí145,9342 km
Salamanca147,7072 km
Usera141,1893 km
Moncloa-Aravaca116,5313 km
Carabanchel253,6783 km

Frequently Asked Questions

What is the population of Madrid?

The population of Madrid, Spain is approximately 3,255,944 people, making it the 106th largest city in the world and the 1st largest in Spain.

Is Madrid the capital of Spain?

Yes, Madrid is the capital of Spain.

What is the climate like in Madrid?

Madrid has an average annual temperature of 15.8°C and receives 492 mm of rainfall per year. The warmest month is Aug and the coldest is Dec.

What timezone is Madrid in?

Madrid is in the Europe/Madrid timezone.