Marrakesh or Mexico City: which climate?

Marrakesh (Morocco) has a hot semi-arid climate, whereas Mexico City (Mexico) has a temperate oceanic climate, according to the Köppen-Geiger classification.

The values compared here are normals computed over 86 complete calendar years, from 1940 to 2025, using ERA5 reanalysis data from the Copernicus programme. The same method and the same period apply to Marrakesh and to Mexico City.

Marrakesh is warmer than Mexico City by 4.8 °C in annual average: 18.7 °C against 13.9 °C.

Mexico City gets more rain than Marrakesh: 909 mm per year against 289 mm.

Marrakesh gets 11.0 hours of sunshine per day on average, against 10.5 hours in Mexico City.

Mexico City has warmed by +3.0 °C between 1940 and 2025, against +2.3 °C in Marrakesh. Mexico City is therefore warming faster than Marrakesh. Both trends are statistically significant.

Marrakesh averages 114 hot days (≥ 30 °C) and 1 frost days per year; Mexico City averages 1 and 2.

Data from ERA5 reanalysis (Copernicus Climate Change Service), redistributed under a CC-BY 4.0 licence. Normals are recomputed whenever the archive is updated.

IndicatorMarrakeshMexico CityDifference
Mean daily temperature18.7 °C13.9 °C-4.8 °C
Average daily high25.7 °C20.9 °C-4.8 °C
Average daily low12.5 °C8.0 °C-4.5 °C
Annual rainfall289 mm909 mm+620 mm
Sunshine / day11.0 h10.5 h-0.5 h
Hot days (≥ 30 °C)114 d/yr1 d/yr-113 d/yr
Frost days (< 0 °C)1 d/yr2 d/yrnegligible
Rainy days (≥ 1 mm)54 d/yr139 d/yr+85 d/yr
Mean relative humidity62 %67 %+5 %
Average peak wind13.7 km/h12.1 km/hnegligible

A difference is only reported when it exceeds the resolution of the data. ERA5 is a reanalysis on a grid of about 31 km: two nearby cities often fall in the same cell, and below half a degree you are reading the grid, not the climate.

Temperature month by month

Rainfall month by month

Marrakesh climateMexico City climate