Climate Yearbook

Barcelona vs Madrid weather comparison

Compare historical temperatures, precipitation, and daily records for Barcelona and Madrid using Open-Meteo archive data.

Interactive graph

Open this comparison in the interactive graph

Load Barcelona and Madrid together to inspect daily patterns across years.

Open graph view

Data-driven verdict

Madrid has the warmer daytime profile, with average highs 0.5 C apart from Barcelona.

Madrid has the cooler nights by 2.3 C, while Barcelona is wetter by 160.2 mm per year.

The comparison is based on 1096 daily observations for Barcelona and 1096 daily observations for Madrid.

Side-by-side climate table

MetricBarcelonaMadrid
Daily observations10961096
Average daily high21.2 C21.7 C
Average daily low12.9 C10.6 C
Average annual precipitation722.8 mm562.6 mm
Warmest monthAugust 2024July 2024
Wettest monthSeptember 2025March 2025

Daily weather records

RecordBarcelonaMadrid
Hottest day37.0 C on July 30, 202440.7 C on August 16, 2025
Coldest night-0.5 C on January 14, 2025-4.3 C on February 28, 2023
Wettest day99.4 mm on September 13, 202562.8 mm on September 3, 2023

Weather data source: Open-Meteo Archive API. City metadata source: GeoNames cities15000.