Marrakesh or Rio de Janeiro: which climate?

Marrakesh (Morocco) has a hot semi-arid climate, whereas Rio de Janeiro (Brazil) has a tropical monsoon 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 Rio de Janeiro.

Rio de Janeiro is warmer than Marrakesh by 4.7 °C in annual average: 23.4 °C against 18.7 °C.

Rio de Janeiro gets more rain than Marrakesh: 1,270 mm per year against 289 mm.

Marrakesh gets 11.0 hours of sunshine per day on average, against 9.6 hours in Rio de Janeiro.

Marrakesh has warmed by +2.3 °C between 1940 and 2025, against +1.5 °C in Rio de Janeiro. Marrakesh is therefore warming faster than Rio de Janeiro. Both trends are statistically significant.

Marrakesh averages 114 hot days (≥ 30 °C) and 1 frost days per year; Rio de Janeiro averages 57 and 0.

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

IndicatorMarrakeshRio de JaneiroDifference
Mean daily temperature18.7 °C23.4 °C+4.7 °C
Average daily high25.7 °C26.5 °C+0.8 °C
Average daily low12.5 °C20.9 °C+8.4 °C
Annual rainfall289 mm1,270 mm+981 mm
Sunshine / day11.0 h9.6 h-1.4 h
Hot days (≥ 30 °C)114 d/yr57 d/yr-57 d/yr
Frost days (< 0 °C)1 d/yr0 d/yrnegligible
Rainy days (≥ 1 mm)54 d/yr157 d/yr+103 d/yr
Mean relative humidity62 %81 %+19 %
Average peak wind13.7 km/h16.9 km/h+3.2 km/h

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 climateRio de Janeiro climate