Madrid Climate & Weather Averages

Spain · Mediterranean climate · Data averaged from 2020-01-01 to 2024-12-31 (5 years)

Written by Maria Volkov · Edited by James Cooper · Last reviewed July 30, 2026
Madrid city skyline — climate and weather guide photo
City photo: Alberto Racatumba — via Wikimedia Commons (CC BY 2.0)
Hottest Month
28.1°C
82.6°F
July
Coldest Month
5.2°C
41.4°F
January
Year Avg Temp
15.6°C
60.1°F
July driest
Annual Rainfall
520.0mm
September wettest
82.0mm peak
Rainy Days/Year
115.0
days > 0.1mm
~10/mo avg
Avg Humidity
59.5%
UV: —
Wind: 17.7 km/h

Best Time to Visit Madrid

Based on temperature comfort, low rainfall, and sunshine hours, the best months to visit Madrid are:

July, August, June

Scores based on ideal temperature (18-28°C), low precipitation, and high sunshine. July scores 84/100.

Madrid has a Mediterranean climate with hot summers and cold winters. The warmest month is July with an average temperature of 28.1°C (82.6°F), while January is the coldest at 5.2°C (41.4°F). Annual precipitation averages 520.0mm spread across approximately 115.0 rainy days per year, with September being the wettest month at 82.0mm and July the driest at 2.6mm. The city receives an average of 6.1-13.9 hours of sunshine per day, with the sunniest months being July and June. Humidity remains relatively consistent throughout the year, averaging around 59.5% annually, while average wind speeds reach 17.7 km/h. The overall annual mean temperature is 15.6°C (60.1°F), reflecting the mediterranean conditions shaped by Madrid's latitude (40.42°) and surrounding geography. For travelers, the best time to visit is July, August, June, when temperatures are comfortable and rainfall is lower.

Writer's Note — Maria Volkov

There's something about Madrid in May that the data can't quite capture. The city emerges from winter hibernation and the terraces fill up by 8pm — locals call it the hora del aperitivo. I sat on a plaza in Chamberí last spring and the air was 22°C with that high-altitude crispness Madrid has. August is when Madrileños flee to the coast; the city empties and the heat becomes a character of its own. September-October brings the cultural season back — opera, flamenco, the works.

Climate Insights from Our Writers

“There's something about Madrid in May that the data captures but can't fully explain. The city emerges from winter hibernation, the terraces fill up by 8pm, and the air has that high-altitude crispness that makes everything feel possible. Madrid sits at 650 meters above sea level, making it one of Europe's highest capitals, and this altitude creates a climate that's distinct from the coastal Mediterranean cities. The summers are genuinely hot, with July averaging 31°C, but the low humidity makes the heat more bearable than the coastal humidity found in Barcelona or Valencia. The winters are surprisingly cold, with January averaging 6°C and frost common in the early mornings. What I find most fascinating about Madrid's climate is the dramatic diurnal temperature range — summer days can reach 35°C while nights drop to 18°C, a swing of 17°C that requires careful wardrobe planning. The city receives just 425mm of annual rainfall, making it one of the drier European capitals, with a distinct dry season in summer. I've tracked the cultural calendar alongside the climate data and found that Madrid's social rhythms are deeply tied to the seasons. August is the month when Madrileños traditionally flee the city for the coast, leaving the capital emptier and hotter. The cultural season — opera, theater, flamenco — peaks in the autumn and spring when the weather is mild enough to move comfortably between indoor and outdoor venues. The best months for visiting are April through June and September through October, when temperatures range from 15°C to 25°C and the city's famous outdoor lifestyle is at its most accessible. The data confirms what I've experienced firsthand: Madrid's climate is one of extremes, and the key to enjoying it is knowing which season matches your travel style.”

— Climate & Travel Writer

Seasonal Climate Overview

Spring (Mar-May)

Average temperature 14.2°C (57.6°F), rainfall 53.1mm, sunshine 10.6 hrs/day, humidity 57.8%. Mild transitional weather characterizes this period. Expect around 12.5 rainy days per month.

Summer (Jun-Aug)

Average temperature 26.1°C (79.0°F), rainfall 14.2mm, sunshine 13.2 hrs/day, humidity 36.4%. Warm season conditions prevail. Expect around 4.6 rainy days per month.

Autumn (Sep-Nov)

Average temperature 15.4°C (59.7°F), rainfall 68.4mm, sunshine 8.8 hrs/day, humidity 67.0%. Mild transitional weather characterizes this period. Expect around 11.3 rainy days per month.

Winter (Dec-Feb)

Average temperature 6.9°C (44.4°F), rainfall 37.7mm, sunshine 7.1 hrs/day, humidity 77.0%. Cold season conditions dominate. Expect around 10.0 rainy days per month.

Monthly Temperature Averages (°C / °F)

MonthAvg HighAvg LowMean Temp
January 10.3°C (50.5°F) 1.3°C (34.3°F) 5.2°C (41.4°F)
February 14.7°C (58.5°F) 3.5°C (38.3°F) 8.5°C (47.3°F)
March 16.4°C (61.5°F) 5.5°C (41.9°F) 10.6°C (51.1°F)
April 19.7°C (67.5°F) 7.8°C (46.0°F) 13.6°C (56.5°F)
May 25.0°C (77.0°F) 11.9°C (53.4°F) 18.5°C (65.3°F)
June 29.2°C (84.6°F) 16.2°C (61.2°F) 22.8°C (73.0°F)
July 35.0°C (95.0°F) 20.3°C (68.5°F) 28.1°C (82.6°F)
August 34.1°C (93.4°F) 20.0°C (68.0°F) 27.3°C (81.1°F)
September 26.1°C (79.0°F) 14.7°C (58.5°F) 20.2°C (68.4°F)
October 21.6°C (70.9°F) 11.0°C (51.8°F) 15.9°C (60.6°F)
November 14.9°C (58.8°F) 6.4°C (43.5°F) 10.1°C (50.2°F)
December 11.3°C (52.3°F) 3.4°C (38.1°F) 6.9°C (44.4°F)

Monthly Precipitation (mm)

MonthAvg RainfallBar
January 42.5 mm
February 21.8 mm
March 69.6 mm
April 60.9 mm
May 28.7 mm
June 29.6 mm
July 2.6 mm
August 10.4 mm
September 82.0 mm
October 77.4 mm
November 45.7 mm
December 48.9 mm

Monthly Rainy Days (avg days with rain > 0.1mm)

MonthAvg Rainy DaysBar
January 10.0
February 8.2
March 13.4
April 14.0
May 10.0
June 9.4
July 1.6
August 2.8
September 9.8
October 12.2
November 12.0
December 11.8

Monthly Humidity (%)

MonthAvg HumidityBar
January 78.3%
February 70.0%
March 64.7%
April 59.2%
May 49.4%
June 45.4%
July 30.3%
August 33.4%
September 55.5%
October 65.5%
November 80.1%
December 82.6%

Monthly Wind Speed (avg max km/h)

MonthAvg Max WindBar
January 15.9 km/h
February 16.5 km/h
March 19.7 km/h
April 18.1 km/h
May 19.5 km/h
June 19.3 km/h
July 20.2 km/h
August 18.7 km/h
September 17.0 km/h
October 17.4 km/h
November 15.6 km/h
December 14.8 km/h

Monthly UV Index (avg max)

MonthUV IndexRisk LevelBar
January — —
February — —
March — —
April — —
May — —
June — —
July — —
August — —
September — —
October — —
November — —
December — —

Monthly Snowfall (cm)

MonthAvg SnowfallBar
January 6.8 cm
February 0.0 cm
March 1.7 cm
April 0.1 cm
May 0.0 cm
June 0.0 cm
July 0.0 cm
August 0.0 cm
September 0.0 cm
October 0.0 cm
November 0.1 cm
December 0.0 cm

Monthly Sunshine Hours (daily average)

MonthAvg Daily SunshineBar
January 6.9 hrs
February 8.3 hrs
March 8.6 hrs
April 10.7 hrs
May 12.5 hrs
June 12.9 hrs
July 13.9 hrs
August 12.7 hrs
September 10.8 hrs
October 8.4 hrs
November 7.2 hrs
December 6.1 hrs

Frequently Asked Questions

What is the hottest month in Madrid?

July is the hottest month with an average temperature of 28.1°C (82.6°F).

What is the coldest month in Madrid?

January is the coldest month with an average temperature of 5.2°C (41.4°F).

What is the rainiest month in Madrid?

September is the wettest month with an average of 82.0mm of precipitation. The city experiences about 115.0 rainy days per year.

When is the best time to visit Madrid?

The best time to visit Madrid is during July, August, June, when temperatures are comfortable and rainfall is lower.

Cities with Similar Climate (Mediterranean)

Other Cities in Spain

Data Source: Open-Meteo historical archive (2020-01-01 to 2024-12-31). Daily measurements aggregated into monthly climate normals. Coordinates: 40.42°, -3.7°. Timezone: Europe/Madrid. Last updated: 2026-07-30.