Climate

Climate in Rabat, Morocco

Rabat, Morocco has a semi-arid climate. The annual average temperature is about 20.7°C, with around 3046 hours of sunshine; the national rainfall baseline is roughly 349 mm across 38 rainy days a year. The warmest month is Jul (highs near 34.1°C) and the coldest is Jan (lows near 7.4°C). These are deterministic planning estimates, not a forecast or measured station data. Temperature and sunshine follow the city's latitude; rainfall and the climate zone come from a country-level baseline that every city in the country shares (refined by region in the United States, Canada and Australia), so they do not show local differences. Check current conditions with an official meteorological service before travel.

Climate zone
Semi-Arid
Comfort score
73/100

Climate overview

Rabat, Morocco has a semi-arid climate. The annual average temperature is about 20.7°C, with around 3046 hours of sunshine; the national rainfall baseline is roughly 349 mm across 38 rainy days a year. The warmest month is Jul (highs near 34.1°C) and the coldest is Jan (lows near 7.4°C). These are deterministic planning estimates, not a forecast or measured station data. Temperature and sunshine follow the city's latitude; rainfall and the climate zone come from a country-level baseline that every city in the country shares (refined by region in the United States, Canada and Australia), so they do not show local differences. Check current conditions with an official meteorological service before travel.

Data year 2025; last updated 2026-05-16.

Climate zone

Köppen-style classification derived deterministically from latitude and a country-level precipitation baseline.

Climate zone

Rabat is classified as Semi-Arid. The classification combines the city’s own temperature range, which follows its latitude, with a rainfall pattern taken at country level for Morocco — so cities in the same country usually share a zone.

Average temperatures

Annual averages and seasonal extremes.

Average temperatures

  • Annual average20.7°C
  • Warmest monthJul (34.1°C)
  • Coldest monthJan (7.4°C)
  • Comfort score73/100

Rainfall overview

A country-level precipitation baseline and how it is distributed across the year.

Rainfall overview

The rainfall baseline for Morocco is about 349 mm a year over roughly 38 rainy days, with the wettest month May and the driest Jan. This figure is not specific to Rabat: every city in Morocco carries the same baseline, so it will not show the difference between, say, a dry inland city and a wet coastal one. Use an official meteorological service for local rainfall.

Sunshine overview

Estimated annual sunshine and its seasonal pattern.

Sunshine overview

Rabat sees an estimated 3046 hours of sunshine a year, concentrated in the warmer months around Jul.

Monthly climate table

Month-by-month estimates. Temperature and sunshine follow the city’s latitude; the rainfall and rainy-day columns distribute the country-level baseline.

Monthly climate table

Rabat monthly climate table
MonthHighLowRainRainy DaysSunshine
Jan19.4°C7.4°C24 mm3201 h
Feb20.4°C8.4°C24 mm3208 h
Mar23.1°C11.1°C28 mm3229 h
Apr26.7°C14.7°C31 mm3256 h
May30.4°C18.4°C36 mm4269 h
Jun33.1°C21.1°C33 mm4289 h
Jul34.1°C22.1°C30 mm3312 h
Aug33.1°C21.1°C30 mm3305 h
Sep30.4°C18.4°C30 mm3284 h
Oct26.7°C14.7°C30 mm3256 h
Nov23.1°C11.1°C28 mm3229 h
Dec20.4°C8.4°C25 mm3208 h

Best months to visit

Months with the mildest temperatures and lower rainfall, by the deterministic comfort heuristic. Not a tourism ranking.

Best months to visit

By temperature and rainfall, the most comfortable months in Rabat are Mar, Nov, Feb. Conditions vary year to year — verify with a current forecast before booking.

Seasonal summary

Average conditions by season.

Seasonal summary

  • Winter

    20°C / 8°C

    73 mm rain

  • Spring

    27°C / 15°C

    95 mm rain

  • Summer

    33°C / 21°C

    93 mm rain

  • Autumn

    27°C / 15°C

    88 mm rain

Climate comfort score

A 0–100 composite of temperature balance, rainfall, sunshine, seasonality, and winter/summer extremes; higher means more comfortable. Used consistently across the platform.

Climate comfort score

Rabat has a climate comfort score of 73/100, a comfortable year-round climate by this measure. The score weights mild temperatures most, then rainfall balance, sunshine, low seasonality, and the absence of extreme winter cold or summer heat.

Continue exploring

Continue researching this city across the platform's other planning surfaces.

Continue exploring

Related guides

Keep exploring Rabat across the rest of the dataset — its full profile, travel guides and nearby nature.