Climate

Climate in Madrid, Spain

Madrid, Spain has a mediterranean climate. The annual average temperature is about 16.6°C, with around 2759 hours of sunshine; the national rainfall baseline is roughly 599 mm across 66 rainy days a year. The warmest month is Jul (highs near 27.5°C) and the coldest is Jan (lows near 5.6°C). These are deterministic planning estimates, not a forecast or measured station data. Temperature and sunshine follow the city's latitude; rainfall and the climate zone come from a country-level baseline that every city in the country shares (refined by region in the United States, Canada and Australia), so they do not show local differences. Check current conditions with an official meteorological service before travel.

Climate zone
Mediterranean
Comfort score
94/100

Climate overview

Madrid, Spain has a mediterranean climate. The annual average temperature is about 16.6°C, with around 2759 hours of sunshine; the national rainfall baseline is roughly 599 mm across 66 rainy days a year. The warmest month is Jul (highs near 27.5°C) and the coldest is Jan (lows near 5.6°C). These are deterministic planning estimates, not a forecast or measured station data. Temperature and sunshine follow the city's latitude; rainfall and the climate zone come from a country-level baseline that every city in the country shares (refined by region in the United States, Canada and Australia), so they do not show local differences. Check current conditions with an official meteorological service before travel.

Data year 2025; last updated 2026-05-16.

Climate zone

Köppen-style classification derived deterministically from latitude and a country-level precipitation baseline.

Climate zone

Madrid is classified as Mediterranean. The classification combines the city’s own temperature range, which follows its latitude, with a rainfall pattern taken at country level for Spain — so cities in the same country usually share a zone.

Average temperatures

Annual averages and seasonal extremes.

Average temperatures

  • Annual average16.6°C
  • Warmest monthJul (27.5°C)
  • Coldest monthJan (5.6°C)
  • Comfort score94/100

Rainfall overview

A country-level precipitation baseline and how it is distributed across the year.

Rainfall overview

The rainfall baseline for Spain is about 599 mm a year over roughly 66 rainy days, with the wettest month Dec and the driest Jul. This figure is not specific to Madrid: every city in Spain carries the same baseline, so it will not show the difference between, say, a dry inland city and a wet coastal one. Use an official meteorological service for local rainfall.

Sunshine overview

Estimated annual sunshine and its seasonal pattern.

Sunshine overview

Madrid sees an estimated 2759 hours of sunshine a year, concentrated in the warmer months around Jul.

Monthly climate table

Month-by-month estimates. Temperature and sunshine follow the city’s latitude; the rainfall and rainy-day columns distribute the country-level baseline.

Monthly climate table

Madrid monthly climate table
MonthHighLowRainRainy DaysSunshine
Jan15.6°C5.6°C85 mm9130 h
Feb16.4°C6.4°C71 mm8147 h
Mar18.6°C8.6°C59 mm7176 h
Apr21.6°C11.6°C47 mm5230 h
May24.5°C14.5°C29 mm3289 h
Jun26.7°C16.7°C12 mm1345 h
Jul27.5°C17.5°C5 mm1355 h
Aug26.7°C16.7°C12 mm1345 h
Sep24.5°C14.5°C35 mm4274 h
Oct21.6°C11.6°C68 mm8189 h
Nov18.6°C8.6°C85 mm9153 h
Dec16.4°C6.4°C91 mm10126 h

Best months to visit

Months with the mildest temperatures and lower rainfall, by the deterministic comfort heuristic. Not a tourism ranking.

Best months to visit

By temperature and rainfall, the most comfortable months in Madrid are Jun, Aug, May. Conditions vary year to year — verify with a current forecast before booking.

Seasonal summary

Average conditions by season.

Seasonal summary

  • Winter

    16°C / 6°C

    247 mm rain

  • Spring

    22°C / 12°C

    135 mm rain

  • Summer

    27°C / 17°C

    29 mm rain

  • Autumn

    22°C / 12°C

    188 mm rain

Climate comfort score

A 0–100 composite of temperature balance, rainfall, sunshine, seasonality, and winter/summer extremes; higher means more comfortable. Used consistently across the platform.

Climate comfort score

Madrid has a climate comfort score of 94/100, a very comfortable year-round climate by this measure. The score weights mild temperatures most, then rainfall balance, sunshine, low seasonality, and the absence of extreme winter cold or summer heat.

Continue exploring

Continue researching this city across the platform's other planning surfaces.

Continue exploring

Related guides

Keep exploring Madrid across the rest of the dataset — its full profile, travel guides and nearby nature.