Madrid climate

Madrid, Spain · 40.42°N, 3.70°W · elevation 665 m · population 3,255,944

Warmest month
July
high 34 °C94 °F
Coldest month
January
low 0 °C32 °F
Wettest month
October
66 mm2.6 in
Best time to visit
April and May and September and October
by our comfort score
Annual precipitation
447 mm18 in
July driest
Year average
14 °C58 °F
hot-summer Mediterranean (Csa)

Madrid (Madrid, Spain) has a hot-summer Mediterranean climate (Köppen Csa). The average temperature over the year is 14 °C58 °F, and about 447 mm18 in of precipitation falls in an average year.

Temperature by month

Average highAverage low
-10°0°10°20°30°40°20°40°60°80°100°JFMAMJJASOND34°94°0°32°January: high 9 °C / 49 °F, low 0 °C / 32 °FFebruary: high 11 °C / 52 °F, low 0 °C / 32 °FMarch: high 15 °C / 59 °F, low 3 °C / 37 °FApril: high 18 °C / 65 °F, low 5 °C / 42 °FMay: high 24 °C / 74 °F, low 9 °C / 49 °FJune: high 30 °C / 87 °F, low 15 °C / 58 °FJuly: high 34 °C / 94 °F, low 18 °C / 64 °FAugust: high 34 °C / 93 °F, low 17 °C / 63 °FSeptember: high 28 °C / 82 °F, low 14 °C / 56 °FOctober: high 21 °C / 70 °F, low 9 °C / 48 °FNovember: high 13 °C / 56 °F, low 3 °C / 38 °FDecember: high 10 °C / 50 °F, low 0 °C / 33 °F

Precipitation by month

Precipitation per month (mminches)
0204060800123JJanuary: 38 mm / 1.5 inFFebruary: 39 mm / 1.5 inMMarch: 48 mm / 1.9 inAApril: 52 mm / 2.1 inMMay: 42 mm / 1.7 inJJune: 22 mm / 0.8 inJJuly: 9 mm / 0.3 inAAugust: 14 mm / 0.5 inSSeptember: 24 mm / 1.0 inOOctober: 66 mm / 2.6 inNNovember: 54 mm / 2.1 inDDecember: 40 mm / 1.6 in662.6

Madrid climate table

Monthly averages, 2001–2025
MonthHigh °C°FLow °C°FMean °C°FPrecip. mminFrost days
Jan949032540381.517
Feb1152032542391.515
Mar1559337948481.97
Apr18655421254522.12
May24749491662421.70
Jun308715582373220.80
Jul34941864267990.30
Aug349317632678140.50
Sep288214562169241.00
Oct21709481559662.60
Nov1356338847542.15
Dec1050033541401.614
Year349403214584471860

“Year” row: highest monthly high, lowest monthly low, annual mean and annual total. Frost days are for the whole grid cell.

Humidity, cloud, sun and daylight
MonthHumid.CloudSolarDaylight
Jan84%57%2.19:35
Feb78%52%3.010:36
Mar73%57%4.211:50
Apr69%59%5.413:14
May59%54%6.614:24
Jun46%38%7.515:02
Jul35%23%7.814:47
Aug36%29%6.813:46
Sep48%41%5.212:24
Oct66%51%3.511:03
Nov79%56%2.39:52
Dec83%56%1.99:18

Humid. = average relative humidity at 2 m; cloud = average cloud amount; solar = average daily solar energy reaching the ground in kWh/m² (all-sky); daylight in hours:minutes, calculated for the 15th of each month.

What the climate of Madrid is like

The warmest month is July, with an average high of 34 °C94 °F and a low of 18 °C64 °F. The coldest is January, when highs average 9 °C49 °F and lows 0 °C32 °F. Seasons are strongly marked: the warmest month is on average 21.5 °C38.7 °F warmer than the coldest.

Annual precipitation is moderate at about 447 mm18 in. The wettest three-month stretch is October–December, which brings 36% of the annual total. Months with less than 20 mm0.8 in on average: July and August. The wettest month is October (66 mm2.6 in), the driest is July (9 mm0.3 in).

Relative humidity ranges from 35% in July to 84% in January. The clearest skies (lowest average cloud amount, 23%) are typical of July. Average wind speed near the ground ranges from 8 km/h (5 mph) in December to 9 km/h (6 mph) in March. Daylight lasts from about 9.3 hours in December to 15.0 hours in June.

Best time to visit Madrid

Based on these averages, the most comfortable months for sightseeing and outdoor activities are April and May and September and October: average highs of 18 °C65 °F to 28 °C82 °F with 24 mm1.0 in to 66 mm2.6 in of precipitation per month.

The most challenging month is January, which is cold, with average highs of 9 °C49 °F.

Comfort score: months are ranked by how close they come to an average high of 21–28 °C (70–82 °F), lows above 5 °C (41 °F), little precipitation and moderate humidity. The best-ranked months of each place are recommended, even where none meets all of these. These are general rules of thumb applied to long-term averages.

Madrid weather by month

  • January9 °C49 °F / 0 °C32 °F
  • February11 °C52 °F / 0 °C32 °F
  • March15 °C59 °F / 3 °C37 °F
  • April18 °C65 °F / 5 °C42 °F
  • May24 °C74 °F / 9 °C49 °F
  • June30 °C87 °F / 15 °C58 °F
  • July34 °C94 °F / 18 °C64 °F
  • August34 °C93 °F / 17 °C63 °F
  • September28 °C82 °F / 14 °C56 °F
  • October21 °C70 °F / 9 °C48 °F
  • November13 °C56 °F / 3 °C38 °F
  • December10 °C50 °F / 0 °C33 °F

What to pack for Madrid

  • Winter (December–February) — highs 949 to 11 °C52 °F, lows around 0 °C32 °F, about 39 mm1.5 in of precipitation a month. Pack a warm coat, layers and closed shoes and an extra layer for the cooler mornings and evenings.
  • Spring (March–May) — highs 1559 to 24 °C74 °F, lows 337 to 9 °C49 °F, about 48 mm1.9 in of precipitation a month. Pack light layers — T-shirts plus a light sweater or jacket and an extra layer for the cooler mornings and evenings.
  • Summer (June–August) — highs 3087 to 34 °C94 °F, lows 1558 to 18 °C64 °F, about 15 mm0.6 in of precipitation a month. Pack very light, breathable clothing, a sun hat and plenty of water and an extra layer for the cooler mornings and evenings.
  • Autumn (September–November) — highs 1356 to 28 °C82 °F, lows 338 to 14 °C56 °F, about 48 mm1.9 in of precipitation a month. Pack light layers — T-shirts plus a light sweater or jacket and an extra layer for the cooler mornings and evenings.

How Madrid compares

Of the 46 places in Spain covered by World Climates, Madrid is the 39th warmest by annual mean temperature and the 28th wettest by annual precipitation. See all of them on the Spain climate page.

Places in other countries with the most similar temperature and rainfall pattern: El Achir (Algeria, Csa), Khenchela (Algeria, Csa) and Batna (Algeria, Csa).

The same NASA POWER grid cell also contains Ciudad Lineal (pop. 228,171), Móstoles (pop. 207,095), Fuenlabrada (pop. 190,496), Leganés (pop. 188,425), Getafe (pop. 187,525), Alcorcón (pop. 172,384), Chamartín (pop. 140,000), Torrejón de Ardoz (pop. 118,162) and Alcobendas (pop. 116,037). Their long-term averages in this dataset are essentially the same as for Madrid, so they do not have separate pages.

Nearby places

  • Parla 21 km · 15 °C58 °F · 370 mm15 in
  • Alcalá de Henares 30 km · 15 °C58 °F · 405 mm16 in
  • Valladolid 162 km · 13 °C55 °F · 422 mm17 in
  • Salamanca 176 km · 13 °C55 °F · 409 mm16 in
  • Burgos 214 km · 11 °C51 °F · 632 mm25 in
  • Albacete 223 km · 15 °C59 °F · 349 mm14 in
  • Logroño 251 km · 14 °C57 °F · 641 mm25 in
  • Zaragoza 274 km · 16 °C61 °F · 367 mm14 in

All places in Spain

Frequently asked questions

What is the warmest month in Madrid?

July is the warmest month in Madrid, with an average high of 34 °C (94 °F) and an average low of 18 °C (64 °F).

What is the coldest month in Madrid?

January is the coldest month, with an average high of 9 °C (49 °F) and an average low of 0 °C (32 °F).

When does it rain the most in Madrid?

October is the wettest month with about 66 mm (2.6 in) of precipitation; July is the driest with about 9 mm (0.3 in).

What is the best time to visit Madrid?

Judging by long-term averages, the most comfortable months are April and May and September and October.

About this data

All figures are 25-year averages (January 2001 – December 2025) from the NASA POWER project. Temperature, humidity, wind and precipitation come from the MERRA-2 reanalysis (precipitation is the bias-corrected MERRA-2 product), cloud and solar values from CERES satellite data. They describe a grid cell of roughly 50–70 km, not a single weather station, so they can differ from airport records — most of all on coasts, in mountains and for rainfall. Average highs and lows are the monthly mean temperature plus/minus half of the average daily temperature range. Counts of rainy days are not part of this dataset.

The grid cell’s average elevation is 780 m, while Madrid lies at about 665 m. Temperatures on this page were therefore adjusted by +0.7 °C1.3 °F using the standard lapse rate of 6.5 °C per 1,000 m.

Sources and method