Climate and Average Weather Year Round in Madrid Spain
In Madrid, the summers are short, hot, dry, and mostly clear and the winters are long, 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
The hot season lasts for 2.9 months, from June 15 to September 10, 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 14 to March 5, 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
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
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
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 11 and lasts for 3.0 months, ending around September 12.
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 12 and lasts for 9.0 months, ending around June 11.
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
0% clear 20% mostly clear 40% partly cloudy 60% mostly cloudy 80% overcast 100%
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.4 months, from October 1 to June 14, 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.6 months, from June 14 to October 1. 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 29.
Daily Chance of Precipitation in Madrid
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 4 to July 2, 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 2 to September 4. The month with the least rain in Madrid is July, with an average rainfall of 0.3 inches.
Average Monthly Rainfall in Madrid
The length of the day in Madrid varies significantly over the course of the year. In 2023, the shortest day is December 22, with 9 hours, 17 minutes of daylight; the longest day is June 21, with 15 hours, 4 minutes of daylight.
Hours of Daylight and Twilight in Madrid
The earliest sunrise is at 6:44 AM on June 15, and the latest sunrise is 1 hour, 56 minutes later at 8:39 AM on October 28. The earliest sunset is at 5:48 PM on December 8, and the latest sunset is 4 hours, 1 minute later at 9:49 PM on June 28.
Daylight saving time (DST) is observed in Madrid during 2023, starting in the spring on March 26, lasting 7.1 months, and ending in the fall on October 29.
Sunrise & Sunset with Twilight and Daylight Saving Time in Madrid
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
The figure below presents a compact representation of key lunar data for 2023. 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
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
dry 55°F comfortable 60°F humid 65°F muggy 70°F oppressive 75°F miserable
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.4 months, from January 27 to May 7, 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.6 months, from May 7 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
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 4 to April 18 and for 6.2 months, from April 26 to October 31, with a peak percentage of 33% on August 4. The wind is most often from the north for 1.1 weeks, from April 18 to April 26 and for 5.1 months, from October 31 to April 4, with a peak percentage of 32% on April 21.
Wind Direction in Madrid
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 late May to early October, with a peak score in the second week of September.
Tourism Score in Madrid
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
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 28 to around November 15, rarely starting before February 27 or after April 22, and rarely ending before October 27 or after December 7.
Time Spent in Various Temperature Bands and the Growing Season in Madrid
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
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
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 13 to August 21, 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 28 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
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.
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.
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.