Weather in Madrid
Spain • Population: 3,255,944
Best Months to Visit
Based on temperature, precipitation, and humidity data
Madrid is in Spain at 40.4°N. The 2001–2020 NASA POWER daily record describes a continental climate with a wide temperature swing. July is the warmest month (average 25.1°C, high 33.5°C) and January is the coolest (average 4.7°C, low -0.1°C).
Rain is wet season runs from October to November, inside an annual total of 447 mm. The wettest month is October at 66 mm; the driest is July at 9 mm. On this site the months that score closest to a 22°C day, lighter rain, and moderate humidity are June, July, and September.
Rainfall pattern
The wet season in Madrid starts in October and ends in November (October and November). October is the core of it at 66 mm. July is the other extreme, with 9 mm.
A rainy day here is a day with at least 1 mm in the NASA POWER series. October averages 9 such days; July averages 2.
Hot and cool months in Madrid
Madrid has a 20.4°C gap between its coolest monthly average (4.7°C in January) and its warmest (25.1°C in July). That is a northern-hemisphere pattern.
Mean high across all twelve months is 20.3°C and mean low is 7.3°C. These are 20-year grid averages, so a city station can read a few degrees warmer or cooler.
Distinctive months in Madrid
The year bottoms out in January. Plan for -0.1°C at night and 9.4°C in the afternoon. April brings 52 mm and 10 rainy days; temperatures run from 4.8°C to 17.8°C. May stands apart from the months beside it: 22.7°C / 8.6°C and 42 mm. June: 29.4°C high, 13.6°C low, 22 mm rain, 46% humidity. July is the warmest month. Afternoon highs average 33.5°C and nights settle near 16.6°C, with 9 mm of rain.
August brings 14 mm and 3 rainy days; temperatures run from 16.7°C to 32.9°C. September stands apart from the months beside it: 27.5°C / 13.1°C and 24 mm. October is when the wet season typically starts in Madrid: highs near 20.9°C, and rainfall jumps to 66 mm (9 rainy days). By November the wet season is ending. Madrid still sees about 54 mm, but the next month is usually leaner.
Best months to visit Madrid
The three months with the highest comfort score are June, July, and September: June (21.5°C average, 22 mm, 46% humidity); July (25.1°C average, 9 mm, 35% humidity); September (20.3°C average, 24 mm, 48% humidity). They fall in calendar order. The score rewards averages near 22°C, lower rainfall, and humidity near 60%. It is a climate score, not a festival or price calendar.
If you want the wet season itself — fewer crowds, greener landscape, heavier rain — aim at October–November instead of the score.
How Madrid compares inside Spain
Barcelona is about 504 km away: Madrid is about as warm as Barcelona at the hot peak and 72 mm drier over the year than Barcelona. Barcelona’s wettest month is October (70 mm) versus October here.
Temperature and rainfall
Monthly Weather Overview
| Month | High | Low | Rain (mm) | Rainy Days |
|---|---|---|---|---|
| January | 9.4°C | -0.1°C | 38 | 8 |
| February | 11.0°C | -0.1°C | 39 | 8 |
| March | 14.5°C | 2.3°C | 48 | 9 |
| April | 17.8°C | 4.8°C | 52 | 10 |
| May | 22.7°C | 8.6°C | 42 | 8 |
| June | 29.4°C | 13.6°C | 22 | 5 |
| July | 33.5°C | 16.6°C | 9 | 2 |
| August | 32.9°C | 16.7°C | 14 | 3 |
| September | 27.5°C | 13.1°C | 24 | 4 |
| October | 20.9°C | 8.6°C | 66 | 9 |
| November | 13.5°C | 3.3°C | 54 | 9 |
| December | 10.1°C | 0.5°C | 40 | 7 |
Monthly Details
Click on any month for detailed weather information: