Cape Town or Marrakesh: which climate?

Cape Town (South Africa) has a warm-summer mediterranean climate, whereas Marrakesh (Morocco) has a hot semi-arid 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 Cape Town and to Marrakesh.

Marrakesh is warmer than Cape Town by 2.4 °C in annual average: 18.7 °C against 16.3 °C.

Cape Town gets more rain than Marrakesh: 539 mm per year against 289 mm.

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

Cape Town averages 0 hot days (≥ 30 °C) and 0 frost days per year; Marrakesh averages 114 and 1.

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

IndicatorCape TownMarrakeshDifference
Mean daily temperature16.3 °C18.7 °C+2.4 °C
Average daily high18.7 °C25.7 °C+7.0 °C
Average daily low14.4 °C12.5 °C-1.9 °C
Annual rainfall539 mm289 mm-250 mm
Sunshine / day10.9 h11.0 hnegligible
Hot days (≥ 30 °C)0 d/yr114 d/yr+114 d/yr
Frost days (< 0 °C)0 d/yr1 d/yrnegligible
Rainy days (≥ 1 mm)77 d/yr54 d/yr-23 d/yr
Mean relative humidity78 %62 %-16 %
Average peak wind26.3 km/h13.7 km/h-12.6 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

Cape Town climateMarrakesh climate