Barcelona vs Madrid: Weather & Climate Comparison

Barcelona vs Madrid: Climate Overview

Barcelona is 0.9°C (1.6°F) warmer by day, Barcelona has 7.2°C (13°F) warmer nights, Barcelona gets 67 mm (2.6 in) more rain a year.

Barcelona is at its warmest in August and coolest in January, while Madrid peaks in July and bottoms out in January. Month for month, Barcelona is the warmer of the two in 12 of 12 months.

Barcelona is the wetter of the two, collecting 519 mm (20.4 in) of rain a year against 452 mm (17.8 in) in Madrid. The most comfortable time to visit is June, September and October in Barcelona and June, August and September in Madrid.

📊 Barcelona vs Madrid weather at a glance

Units
Barcelona Metric Madrid
🌡️ Temperature
21°C🌡️Average daytime high20.1°C
14.4°C🌙Average nighttime low7.2°C
August🔥Hottest monthJuly
January❄️Coldest monthJanuary
🌧️ Rain
519 mm🌧️Annual rainfall452 mm
October☔Wettest monthOctober
July🏜️Driest monthJuly
💨 Climate
70%💧Average humidity63%
2.4 m/s💨Average wind speed2.3 m/s
🏔️ About these temperatures: NASA’s data describes the average of a 55 km area. Barcelona lies 255 m below that area’s average height, so we have adjusted its temperatures by a fixed amount for each month, using CHELSA high-resolution climate data (Swiss Federal Research Institute WSL). Year-to-year changes, rain, humidity, wind and sunshine are unchanged NASA data. How we do this →

🌍 How the weather in Barcelona and Madrid compares

🌡️ How the temperatures compare

Barcelona is the warmer of the two by day, averaging 21°C (69.8°F) against 20.1°C (68.2°F) in Madrid — a gap of about 0.9°C (1.6°F).

Overnight, Barcelona typically falls to around 14.4°C (57.9°F) while Madrid settles near 7.2°C (45°F).

Barcelona is hottest in August and coldest in January, whereas Madrid peaks in July and is coolest in January.

🌧️ Rainfall and humidity

Barcelona is the wetter city, collecting 519 mm (20.4 in) of rain a year compared with 452 mm (17.8 in) in Madrid.

Barcelona sees the most rain in October and the least in July; Madrid is wettest in October and driest in July.

Barcelona feels the more humid of the two, averaging 70% relative humidity against 63%.

🗓️ Best time to visit

Barcelona is at its most comfortable around June, September and October, when average temperatures are mildest.

For Madrid, the pick of the year is June, August and September.

📋 Barcelona vs Madrid monthly temperature, rainfall & humidity

Month by month, here is the coldest night, the average day and the hottest afternoon each city can expect. Switch Compare to read rainfall, humidity, wind or solar instead, and Period to move between the long-term 45-year average and any single year — the shading is a quick warm-to-cool guide.

🔺 Biggest difference
December
Barcelona is 6.5°C (11.7°F) warmer
🤝 Closest month
July
just 0.7°C (1.3°F) apart
☀️ Warmer more often
Barcelona
in 12 of 12 months
📈 Bigger seasonal swing
Madrid
20.3°C (36.5°F) from coldest to hottest month
Temperature comparison (°C)
Units
MonthBarcelonaMadrid
MinAvgMaxMinAvgMax
January7.710.9❄️14.1-0.44.5❄️9.3
February8.111.414.70.25.811.3
March9.412.916.42.28.514.8
April11.51518.54.410.917.5
May14.918.421.88.315.222.2
June19.122.525.913.220.928.6
July22.125.528.916.424.8🔥33.2
August22.826.1🔥29.416.524.632.7
September2023.226.312.92027
October16.619.622.68.314.420.5
November11.914.917.93.48.613.7
December912150.85.510.1
Annual Avg14.417.7217.213.620.1

Min / mean / max temperature (°C). 🔥 marks each city's hottest month, ❄️ its coldest; shading runs cool blue to warm red.

📅 Barcelona vs Madrid average weather by month

Units

The same figures plotted out, so the shape of a typical year is easier to see than in a grid. Where the two lines run close together Barcelona and Madrid feel alike; where they separate, they are genuinely different places to be.

Hover or tap any point to read the exact figures. Barcelona Madrid

Average high temperature (°C)
Average low temperature (°C)
Average rainfall (mm per month)
Average humidity (%)

🔍 Compare with another city

Choose which city to keep, then search for any other city in our database — we'll build the comparison for you.

Keep
Want two completely different cities? Open the full comparison tool →

❓ Barcelona vs Madrid: frequently asked questions

Quick answers to the questions people ask most when comparing Barcelona and Madrid — each drawn straight from the climate figures above.

Is Barcelona or Madrid warmer?▼

Barcelona is the warmer of the two. It averages daytime highs of 21°C (69.8°F) against 20.1°C (68.2°F) in Madrid — roughly 0.9°C (1.6°F) warmer by day. Nights are milder in Barcelona, with average lows of 14.4°C (57.9°F) versus 7.2°C (45°F).

Which city gets hotter, Barcelona or Madrid?▼

Barcelona is hottest in August, averaging highs of about 29.4°C (84.9°F), while Madrid peaks in July at around 33.2°C (91.8°F). That makes Madrid the hotter of the two at the height of summer.

Which is colder in winter, Barcelona or Madrid?▼

Madrid gets colder. In its coldest month (January) overnight lows average about -0.4°C (31.3°F), compared with 7.7°C (45.9°F) at the low point of the year in Barcelona.

Does Barcelona or Madrid get more rain?▼

Barcelona is the wetter city, collecting about 519 mm (20.4 in) of rain a year versus 452 mm (17.8 in) in Madrid. Barcelona is wettest in October and driest in July; Madrid is wettest in October and driest in July.

Is Barcelona or Madrid more humid?▼

Barcelona is the more humid of the two, averaging 70% relative humidity over the year against 63% in Madrid.

When is the best time to visit Barcelona?▼

The most comfortable months in Barcelona are June, September and October, when average temperatures are at their mildest.

When is the best time to visit Madrid?▼

Madrid is at its most pleasant around June, August and September, based on the mildest average temperatures of the year.

What is the temperature difference between Barcelona and Madrid?▼

Barcelona is the warmer city in all 12 months of the year. The gap is widest in December, about 6.5°C (11.7°F), and narrowest in July, about 0.7°C (1.3°F).

Which has a more extreme climate, Barcelona or Madrid?▼

Madrid has the bigger seasonal swing, about 20.3°C (36.5°F) between its coldest and hottest months versus 15.2°C (27.4°F) in Barcelona — so Barcelona has the steadier, more even climate.

Should I choose Barcelona or Madrid for better weather?▼

It depends what matters most to you: choose Barcelona for warmer weather, pick Madrid if you prefer drier conditions and go for Madrid if you want lower humidity. There is no single "better" climate — it comes down to whether you value warmth, dryness or comfort most.

Where does the Barcelona vs Madrid weather data come from?▼

Every figure on this page is calculated from NASA POWER satellite climate data spanning 1981–2025 (45 years). The averages describe the long-term climate of Barcelona and Madrid, not a single year's weather or a short-range forecast.