1. WeatherSpark.com
  2. Spain
  3. Madrid

Climate and Average Weather Year Round in Madrid Spain

In Madrid, the summers are short, hot, dry, and mostly clear and the winters are very cold and partly cloudy. Over the course of the year, the temperature typically varies from 33°F to 92°F and is rarely below 23°F or above 99°F.

Based on the beach/pool score, the best time of year to visit Madrid for hot-weather activities is from late June to late August.

Climate in Madrid

coldcoolwarmhotwarmcoolcoldJanFebMarAprMayJunJulAugSepOctNovDecNowNow88%88%48%48%clearovercastprecipitation: 1.9 inprecipitation: 1.9 in0.2 in0.2 inmuggy: 0%muggy: 0%0%0%drydrybeach/pool score: 8.6beach/pool score: 8.60.00.0
Madrid weather by month. Click on each chart for more information.

The hot season lasts for 2.9 months, from June 14 to September 9, with an average daily high temperature above 83°F. The hottest month of the year in Madrid is July, with an average high of 91°F and low of 63°F.

The cool season lasts for 3.7 months, from November 13 to March 4, with an average daily high temperature below 58°F. The coldest month of the year in Madrid is January, with an average low of 33°F and high of 51°F.

Average High and Low Temperature in Madrid

Average High and Low Temperature in MadridhotcoolcoolJanFebMarAprMayJunJulAugSepOctNovDec0°F0°F10°F10°F20°F20°F30°F30°F40°F40°F50°F50°F60°F60°F70°F70°F80°F80°F90°F90°F100°F100°FJan 1550°FJan 1550°FJul 2292°FJul 2292°F33°F33°F64°F64°FJun 1483°FJun 1483°FSep 983°FSep 983°FNov 1358°FNov 1358°FMar 458°FMar 458°F57°F57°F58°F58°F40°F40°F36°F36°FNowNow
The daily average high (red line) and low (blue line) temperature, with 25th to 75th and 10th to 90th percentile bands. The thin dotted lines are the corresponding average perceived temperatures.
AverageJanFebMarAprMayJunJulAugSepOctNovDec
High 51°F54°F61°F65°F73°F84°F91°F90°F81°F69°F58°F51°F
Temp. 41°F44°F50°F54°F61°F72°F78°F77°F69°F58°F48°F42°F
Low 33°F34°F39°F43°F50°F58°F63°F63°F56°F48°F40°F34°F

The figure below shows you a compact characterization of the entire year of hourly average temperatures. The horizontal axis is the day of the year, the vertical axis is the hour of the day, and the color is the average temperature for that hour and day.

Average Hourly Temperature in Madrid

Average Hourly Temperature in MadridJanFebMarAprMayJunJulAugSepOctNovDec12 AM12 AM2 AM2 AM4 AM4 AM6 AM6 AM8 AM8 AM10 AM10 AM12 PM12 PM2 PM2 PM4 PM4 PM6 PM6 PM8 PM8 PM10 PM10 PM12 AM12 AMNowNowvery coldvery coldvery coldcoldcoldcoolcomfortablecomfortablewarmwarmhotvery cold
frigid 15°F freezing 32°F very cold 45°F cold 55°F cool 65°F comfortable 75°F warm 85°F hot 95°F sweltering
The average hourly temperature, color coded into bands. The shaded overlays indicate night and civil twilight.
Map
Marker
© OpenStreetMap contributors

Compare Madrid to another city:

Map

In Madrid, the average percentage of the sky covered by clouds experiences significant seasonal variation over the course of the year.

The clearer part of the year in Madrid begins around June 10 and lasts for 3.0 months, ending around September 11.

The clearest month of the year in Madrid is July, during which on average the sky is clear, mostly clear, or partly cloudy 86% of the time.

The cloudier part of the year begins around September 11 and lasts for 9.0 months, ending around June 10.

The cloudiest month of the year in Madrid is December, during which on average the sky is overcast or mostly cloudy 51% of the time.

Cloud Cover Categories in Madrid

Cloud Cover Categories in MadridclearercloudiercloudierJanFebMarAprMayJunJulAugSepOctNovDec0%100%10%90%20%80%30%70%40%60%50%50%60%40%70%30%80%20%90%10%100%0%Jul 2088%Jul 2088%Dec 1548%Dec 1548%Jun 1068%Jun 1068%Sep 1169%Sep 1169%NowNowclearmostly clearpartly cloudymostly cloudyovercast
0% clear 20% mostly clear 40% partly cloudy 60% mostly cloudy 80% overcast 100%
The percentage of time spent in each cloud cover band, categorized by the percentage of the sky covered by clouds.
FractionJanFebMarAprMayJunJulAugSepOctNovDec
Cloudier 48%44%44%42%39%28%14%20%34%46%49%51%
Clearer 52%56%56%58%61%72%86%80%66%54%51%49%

A wet day is one with at least 0.04 inches of liquid or liquid-equivalent precipitation. The chance of wet days in Madrid varies throughout the year.

The wetter season lasts 8.5 months, from September 30 to June 13, with a greater than 14% chance of a given day being a wet day. The month with the most wet days in Madrid is May, with an average of 6.6 days with at least 0.04 inches of precipitation.

The drier season lasts 3.5 months, from June 13 to September 30. The month with the fewest wet days in Madrid is July, with an average of 1.8 days with at least 0.04 inches of precipitation.

Among wet days, we distinguish between those that experience rain alone, snow alone, or a mixture of the two. The month with the most days of rain alone in Madrid is May, with an average of 6.6 days. Based on this categorization, the most common form of precipitation throughout the year is rain alone, with a peak probability of 23% on April 28.

Daily Chance of Precipitation in Madrid

Daily Chance of Precipitation in MadridwetwetdryJanFebMarAprMayJunJulAugSepOctNovDec0%0%10%10%20%20%30%30%40%40%50%50%60%60%70%70%80%80%90%90%100%100%Apr 2823%Apr 2823%Jul 184%Jul 184%Sep 3014%Sep 3014%Jun 1314%Jun 1314%NowNowrain
The percentage of days in which various types of precipitation are observed, excluding trace quantities: rain alone, snow alone, and mixed (both rain and snow fell in the same day).
Days ofJanFebMarAprMayJunJulAugSepOctNovDec
Rain 4.9d4.4d4.5d6.2d6.6d3.9d1.8d2.0d3.2d6.0d5.9d5.2d
Mixed 0.2d0.1d0.1d0.0d0.0d0.0d0.0d0.0d0.0d0.0d0.0d0.1d
Any 5.2d4.5d4.6d6.2d6.6d3.9d1.8d2.0d3.2d6.0d5.9d5.4d

To show variation within the months and not just the monthly totals, we show the rainfall accumulated over a sliding 31-day period centered around each day of the year. Madrid experiences some seasonal variation in monthly rainfall.

The rainy period of the year lasts for 9.9 months, from September 3 to July 1, with a sliding 31-day rainfall of at least 0.5 inches. The month with the most rain in Madrid is October, with an average rainfall of 1.8 inches.

The rainless period of the year lasts for 2.1 months, from July 1 to September 3. The month with the least rain in Madrid is July, with an average rainfall of 0.3 inches.

Average Monthly Rainfall in Madrid

The average rainfall (solid line) accumulated over the course of a sliding 31-day period centered on the day in question, with 25th to 75th and 10th to 90th percentile bands. The thin dotted line is the corresponding average snowfall.
JanFebMarAprMayJunJulAugSepOctNovDec
Rainfall 1.0″0.9″0.8″1.3″1.3″0.8″0.3″0.3″0.7″1.8″1.6″1.2″

The length of the day in Madrid varies significantly over the course of the year. In 2024, the shortest day is December 21, with 9 hours, 17 minutes of daylight; the longest day is June 20, with 15 hours, 4 minutes of daylight.

Hours of Daylight and Twilight in Madrid

Hours of Daylight and Twilight in MadridJanFebMarAprMayJunJulAugSepOctNovDec0 hr24 hr4 hr20 hr8 hr16 hr12 hr12 hr16 hr8 hr20 hr4 hr24 hr0 hr12 hr, 7 minMar 2012 hr, 7 minMar 2015 hr, 4 minJun 2015 hr, 4 minJun 2012 hr, 9 minSep 2212 hr, 9 minSep 229 hr, 17 minDec 219 hr, 17 minDec 21nightnightdayNowNow
The number of hours during which the Sun is visible (black line). From bottom (most yellow) to top (most gray), the color bands indicate: full daylight, twilight (civil, nautical, and astronomical), and full night.
Hours ofJanFebMarAprMayJunJulAugSepOctNovDec
Daylight 9.7h10.7h12.0h13.3h14.4h15.0h14.7h13.7h12.4h11.1h9.9h9.3h

The earliest sunrise is at 6:44 AM on June 14, and the latest sunrise is 1 hour, 54 minutes later at 8:38 AM on October 26. The earliest sunset is at 5:48 PM on December 6, and the latest sunset is 4 hours, 1 minute later at 9:49 PM on June 27.

Daylight saving time (DST) is observed in Madrid during 2024, starting in the spring on March 31, lasting 6.9 months, and ending in the fall on October 27.

Sunrise & Sunset with Twilight and Daylight Saving Time in Madrid

Sunrise & Sunset with Twilight and Daylight Saving Time in MadridJanFebMarAprMayJunJulAugSepOctNovDec2 AM4 AM6 AM8 AM10 AM12 PM2 PM4 PM6 PM8 PM10 PM12 AM2 AMJun 146:44 AMJun 146:44 AM9:49 PMJun 279:49 PMJun 27Dec 65:48 PMDec 65:48 PM8:38 AMOct 268:38 AMOct 26Mar 31DSTMar 31DSTDSTOct 27DSTOct 27daynightnightnightnightSolarMidnightSolarMidnightSolarNoonSunriseSunsetNowNow
The solar day over the course of the year 2024. From bottom to top, the black lines are the previous solar midnight, sunrise, solar noon, sunset, and the next solar midnight. The day, twilights (civil, nautical, and astronomical), and night are indicated by the color bands from yellow to gray. The transitions to and from daylight saving time are indicated by the 'DST' labels.

The figure below presents a compact representation of the sun's elevation (the angle of the sun above the horizon) and azimuth (its compass bearing) for every hour of every day in the reporting period. The horizontal axis is the day of the year and the vertical axis is the hour of the day. For a given day and hour of that day, the background color indicates the azimuth of the sun at that moment. The black isolines are contours of constant solar elevation.

Solar Elevation and Azimuth in Madrid

Solar Elevation and Azimuth in MadridJanFebMarAprMayJunJulAugSepOctNovDec12 AM12 AM2 AM2 AM4 AM4 AM6 AM6 AM8 AM8 AM10 AM10 AM12 PM12 PM2 PM2 PM4 PM4 PM6 PM6 PM8 PM8 PM10 PM10 PM12 AM12 AM0000101010202020303030304040505060607000010101010202020303040405050602673NowNow
northeastsouthwest
Solar elevation and azimuth over the course of the year 2024. The black lines are lines of constant solar elevation (the angle of the sun above the horizon, in degrees). The background color fills indicate the azimuth (the compass bearing) of the sun. The lightly tinted areas at the boundaries of the cardinal compass points indicate the implied intermediate directions (northeast, southeast, southwest, and northwest).

The figure below presents a compact representation of key lunar data for 2024. The horizontal axis is the day, the vertical axis is the hour of the day, and the colored areas indicate when the moon is above the horizon. The vertical gray bars (new Moons) and blue bars (full Moons) indicate key Moon phases.

Moon Rise, Set & Phases in Madrid

The time in which the moon is above the horizon (light blue area), with new moons (dark gray lines) and full moons (blue lines) indicated. The shaded overlays indicate night and civil twilight.

We base the humidity comfort level on the dew point, as it determines whether perspiration will evaporate from the skin, thereby cooling the body. Lower dew points feel drier and higher dew points feel more humid. Unlike temperature, which typically varies significantly between night and day, dew point tends to change more slowly, so while the temperature may drop at night, a muggy day is typically followed by a muggy night.

The perceived humidity level in Madrid, as measured by the percentage of time in which the humidity comfort level is muggy, oppressive, or miserable, does not vary significantly over the course of the year, remaining a virtually constant 0% throughout.

Humidity Comfort Levels in Madrid

Humidity Comfort Levels in MadridJanFebMarAprMayJunJulAugSepOctNovDec0%0%10%10%20%20%30%30%40%40%50%50%60%60%70%70%80%80%90%90%100%100%Feb 30%Feb 30%Jul 250%Jul 250%NowNowdrydrycomfortablecomfortable
dry 55°F comfortable 60°F humid 65°F muggy 70°F oppressive 75°F miserable
The percentage of time spent at various humidity comfort levels, categorized by dew point.
JanFebMarAprMayJunJulAugSepOctNovDec
Muggy days 0.0d0.0d0.0d0.0d0.0d0.0d0.1d0.0d0.0d0.0d0.0d0.0d

This section discusses the wide-area hourly average wind vector (speed and direction) at 10 meters above the ground. The wind experienced at any given location is highly dependent on local topography and other factors, and instantaneous wind speed and direction vary more widely than hourly averages.

The average hourly wind speed in Madrid experiences mild seasonal variation over the course of the year.

The windier part of the year lasts for 3.3 months, from January 27 to May 6, with average wind speeds of more than 7.9 miles per hour. The windiest month of the year in Madrid is April, with an average hourly wind speed of 8.4 miles per hour.

The calmer time of year lasts for 8.7 months, from May 6 to January 27. The calmest month of the year in Madrid is September, with an average hourly wind speed of 7.2 miles per hour.

Average Wind Speed in Madrid

Average Wind Speed in MadridwindyJanFebMarAprMayJunJulAugSepOctNovDec0 mph0 mph2 mph2 mph4 mph4 mph6 mph6 mph8 mph8 mph10 mph10 mph12 mph12 mph14 mph14 mphApr 48.7 mphApr 48.7 mphSep 157.1 mphSep 157.1 mphJan 277.9 mphJan 277.9 mphNowNow
The average of mean hourly wind speeds (dark gray line), with 25th to 75th and 10th to 90th percentile bands.
JanFebMarAprMayJunJulAugSepOctNovDec
Wind Speed (mph) 7.78.28.38.47.77.47.57.37.27.67.87.7

The predominant average hourly wind direction in Madrid varies throughout the year.

The wind is most often from the west for 2.0 weeks, from April 3 to April 17 and for 6.2 months, from April 25 to October 30, with a peak percentage of 33% on August 3. The wind is most often from the north for 1.1 weeks, from April 17 to April 25 and for 5.1 months, from October 30 to April 3, with a peak percentage of 32% on April 20.

Wind Direction in Madrid

Wind Direction in MadridNWWNJanFebMarAprMayJunJulAugSepOctNovDec0%100%20%80%40%60%60%40%80%20%100%0%NowNowwestnorthsoutheast
northeastsouthwest
The percentage of hours in which the mean wind direction is from each of the four cardinal wind directions, excluding hours in which the mean wind speed is less than 1.0 mph. The lightly tinted areas at the boundaries are the percentage of hours spent in the implied intermediate directions (northeast, southeast, southwest, and northwest).

To characterize how pleasant the weather is in Madrid throughout the year, we compute two travel scores.

The tourism score favors clear, rainless days with perceived temperatures between 65°F and 80°F. Based on this score, the best time of year to visit Madrid for general outdoor tourist activities is from mid May to early October, with a peak score in the second week of September.

Tourism Score in Madrid

Tourism Score in Madridbest timeJanFebMarAprMayJunJulAugSepOctNovDec002244668810107.57.50.50.57.27.26.76.7NowNowtemperaturetemperature cloudscloudsprecipitationprecipitationtourism score
The tourism score (filled area), and its constituents: the temperature score (red line), the cloud cover score (blue line), and the precipitation score (green line).

The beach/pool score favors clear, rainless days with perceived temperatures between 75°F and 90°F. Based on this score, the best time of year to visit Madrid for hot-weather activities is from late June to late August, with a peak score in the last week of July.

Beach/Pool Score in Madrid

Beach/Pool Score in Madridbest timeJanFebMarAprMayJunJulAugSepOctNovDec002244668810108.68.60.00.0NowNowtemperaturetemperature cloudscloudsprecipitationprecipitationbeach/pool score
The beach/pool score (filled area), and its constituents: the temperature score (red line), the cloud cover score (blue line), and the precipitation score (green line).

Methodology

For each hour between 8:00 AM and 9:00 PM of each day in the analysis period (1980 to 2016), independent scores are computed for perceived temperature, cloud cover, and total precipitation. Those scores are combined into a single hourly composite score, which is then aggregated into days, averaged over all the years in the analysis period, and smoothed.

Our cloud cover score is 10 for fully clear skies, falling linearly to 9 for mostly clear skies, and to 1 for fully overcast skies.

Our precipitation score, which is based on the three-hour precipitation centered on the hour in question, is 10 for no precipitation, falling linearly to 9 for trace precipitation, and to 0 for 0.04 inches of precipitation or more.

Our tourism temperature score is 0 for perceived temperatures below 50°F, rising linearly to 9 for 65°F, to 10 for 75°F, falling linearly to 9 for 80°F, and to 1 for 90°F or hotter.

Our beach/pool temperature score is 0 for perceived temperatures below 65°F, rising linearly to 9 for 75°F, to 10 for 82°F, falling linearly to 9 for 90°F, and to 1 for 100°F or hotter.

Definitions of the growing season vary throughout the world, but for the purposes of this report, we define it as the longest continuous period of non-freezing temperatures (≥ 32°F) in the year (the calendar year in the Northern Hemisphere, or from July 1 until June 30 in the Southern Hemisphere).

The growing season in Madrid typically lasts for 7.6 months (232 days), from around March 27 to around November 14, rarely starting before February 27 or after April 21, and rarely ending before October 26 or after December 6.

Time Spent in Various Temperature Bands and the Growing Season in Madrid

Time Spent in Various Temperature Bands and the Growing Season in Madridgrowing seasonJanFebMarAprMayJunJulAugSepOctNovDec0%100%10%90%20%80%30%70%40%60%50%50%60%40%70%30%80%20%90%10%100%0%50%Mar 2750%Mar 2750%Nov 1450%Nov 1490%Apr 2190%Apr 2190%Oct 2690%Oct 2610%Feb 2710%Feb 2710%Dec 610%Dec 60%Jan 200%Jan 20Jul 31100%Jul 31100%very coldcoldcoolcomfortablewarmhot
frigid 15°F freezing 32°F very cold 45°F cold 55°F cool 65°F comfortable 75°F warm 85°F hot 95°F sweltering
The percentage of time spent in various temperature bands. The black line is the percentage chance that a given day is within the growing season.

Growing degree days are a measure of yearly heat accumulation used to predict plant and animal development, and defined as the integral of warmth above a base temperature, discarding any excess above a maximum temperature. In this report, we use a base of 50°F and a cap of 86°F.

Based on growing degree days alone, the first spring blooms in Madrid should appear around March 12, only rarely appearing before March 1 or after March 30.

Growing Degree Days in Madrid

Growing Degree Days in MadridJanFebMarAprMayJunJulAugSepOctNovDec0°F0°F500°F500°F1,000°F1,000°F1,500°F1,500°F2,000°F2,000°F2,500°F2,500°F3,000°F3,000°F3,500°F3,500°F4,000°F4,000°FMar 1288°FMar 1288°FJun 10900°FJun 10900°FJul 181,800°FJul 181,800°FDec 313,910°FDec 313,910°FNowNow
The average growing degree days accumulated over the course of the year, with 25th to 75th and 10th to 90th percentile bands.

This section discusses the total daily incident shortwave solar energy reaching the surface of the ground over a wide area, taking full account of seasonal variations in the length of the day, the elevation of the Sun above the horizon, and absorption by clouds and other atmospheric constituents. Shortwave radiation includes visible light and ultraviolet radiation.

The average daily incident shortwave solar energy experiences extreme seasonal variation over the course of the year.

The brighter period of the year lasts for 3.2 months, from May 12 to August 20, with an average daily incident shortwave energy per square meter above 7.0 kWh. The brightest month of the year in Madrid is July, with an average of 8.1 kWh.

The darker period of the year lasts for 3.5 months, from October 27 to February 13, with an average daily incident shortwave energy per square meter below 3.2 kWh. The darkest month of the year in Madrid is December, with an average of 2.0 kWh.

Average Daily Incident Shortwave Solar Energy in Madrid

Average Daily Incident Shortwave Solar Energy in MadridbrightdarkdarkJanFebMarAprMayJunJulAugSepOctNovDec0 kWh0 kWh1 kWh1 kWh2 kWh2 kWh3 kWh3 kWh4 kWh4 kWh5 kWh5 kWh6 kWh6 kWh7 kWh7 kWh8 kWh8 kWh9 kWh9 kWh10 kWh10 kWhJul 58.3 kWhJul 58.3 kWhDec 192.0 kWhDec 192.0 kWhMay 127.0 kWhMay 127.0 kWhAug 207.0 kWhAug 207.0 kWhOct 273.2 kWhOct 273.2 kWhFeb 133.2 kWhFeb 133.2 kWhNowNow
The average daily shortwave solar energy reaching the ground per square meter (orange line), with 25th to 75th and 10th to 90th percentile bands.
JanFebMarAprMayJunJulAugSepOctNovDec
Solar Energy (kWh) 2.33.44.86.17.18.08.17.25.63.82.52.0

For the purposes of this report, the geographical coordinates of Madrid are 40.417 deg latitude, -3.703 deg longitude, and 2,182 ft elevation.

The topography within 2 miles of Madrid contains only modest variations in elevation, with a maximum elevation change of 472 feet and an average elevation above sea level of 2,114 feet. Within 10 miles contains only modest variations in elevation (781 feet). Within 50 miles contains significant variations in elevation (6,617 feet).

The area within 2 miles of Madrid is covered by artificial surfaces (100%), within 10 miles by artificial surfaces (61%) and cropland (19%), and within 50 miles by cropland (50%) and trees (19%).

This report illustrates the typical weather in Madrid, based on a statistical analysis of historical hourly weather reports and model reconstructions from January 1, 1980 to December 31, 2016.

Temperature and Dew Point

There are 3 weather stations near enough to contribute to our estimation of the temperature and dew point in Madrid.

For each station, the records are corrected for the elevation difference between that station and Madrid according to the International Standard Atmosphere , and by the relative change present in the MERRA-2 satellite-era reanalysis between the two locations.

The estimated value at Madrid is computed as the weighted average of the individual contributions from each station, with weights proportional to the inverse of the distance between Madrid and a given station.

The stations contributing to this reconstruction are:

To get a sense of how much these sources agree with each other, you can view a comparison of Madrid and the stations that contribute to our estimates of its temperature history and climate. Please note that each source's contribution is adjusted for elevation and the relative change present in the MERRA-2 data.

Other Data

All data relating to the Sun's position (e.g., sunrise and sunset) are computed using astronomical formulas from the book, Astronomical Algorithms 2nd Edition , by Jean Meeus.

All other weather data, including cloud cover, precipitation, wind speed and direction, and solar flux, come from NASA's MERRA-2 Modern-Era Retrospective Analysis . This reanalysis combines a variety of wide-area measurements in a state-of-the-art global meteorological model to reconstruct the hourly history of weather throughout the world on a 50-kilometer grid.

Land Use data comes from the Global Land Cover SHARE database , published by the Food and Agriculture Organization of the United Nations.

Elevation data comes from the Shuttle Radar Topography Mission (SRTM) , published by NASA's Jet Propulsion Laboratory.

Names, locations, and time zones of places and some airports come from the GeoNames Geographical Database .

Time zones for airports and weather stations are provided by AskGeo.com .

Maps are © OpenStreetMap contributors.

Disclaimer

The information on this site is provided as is, without any assurances as to its accuracy or suitability for any purpose. Weather data is prone to errors, outages, and other defects. We assume no responsibility for any decisions made on the basis of the content presented on this site.

We draw particular cautious attention to our reliance on the MERRA-2 model-based reconstructions for a number of important data series. While having the tremendous advantages of temporal and spatial completeness, these reconstructions: (1) are based on computer models that may have model-based errors, (2) are coarsely sampled on a 50 km grid and are therefore unable to reconstruct the local variations of many microclimates, and (3) have particular difficulty with the weather in some coastal areas, especially small islands.

We further caution that our travel scores are only as good as the data that underpin them, that weather conditions at any given location and time are unpredictable and variable, and that the definition of the scores reflects a particular set of preferences that may not agree with those of any particular reader.

Please review our full terms contained on our Terms of Service page.