Morocco climate
World Climates covers 31 places in Morocco. By annual mean temperature, the warmest is Agadir (23 °C74 °F) and the coolest is Khouribga (17 °C63 °F). The wettest is Ksar El Kebir with 806 mm32 in of precipitation per year, the driest Guelmim with 197 mm7.8 in.
The most common climate types (Köppen classification computed from these averages) are hot-summer Mediterranean (Csa, 22 places), hot semi-arid (BSh, 8 places) and hot desert (BWh, 1 place).
The highest monthly average high is in Beni Mellal (40 °C105 °F in July); the lowest monthly average low is in Errachidia (2 °C36 °F in January).
Across the places in Morocco, the months that most often rank as the most comfortable are April, May and October (29, 28 and 30 of 31 places respectively).
Temperature and rainfall across Morocco
Annual mean temperatures in Morocco range from 17 °C63 °F to 23 °C74 °F. The typical place (the median of all 31) has a year average of 19 °C66 °F. Annual precipitation ranges from 197 mm7.8 in to 806 mm32 in. The median place receives about 488 mm19 in in an average year.
In 0 places of 31, the coldest month has an average low below 0 °C (32 °F). In 22 places, the warmest month has an average high above 30 °C (86 °F). 1 place get less than 250 mm (10 in) of precipitation a year, which is very dry. None gets more than 2,000 mm (79 in) a year.
Averaged over all 31 places, August is the warmest month, with a mean of 28 °C82 °F. January is the coldest, with 12 °C54 °F. The wettest month on average is November (87 mm3.4 in). The driest is July (3 mm0.1 in). Single places can differ a lot from this average, so check the page of each city.
The table below lists the places sorted by population. The largest ones covered here are Casablanca, Rabat and Fes. Each city page has a chart and a table for every month. It also shows the best time to visit and what to pack. The figures are 25-year averages for 2001–2025 from NASA POWER. They describe grid cells of roughly 50–70 km, not single weather stations.
Frequently asked questions
Which is the warmest place in Morocco?
By annual mean temperature, the warmest place in Morocco is Agadir at 23 °C74 °F. The coolest is Khouribga at 17 °C63 °F.
Where does it rain the most in Morocco?
Ksar El Kebir gets the most precipitation, 806 mm32 in in an average year. The driest place is Guelmim with 197 mm7.8 in.
How many places in Morocco does this site cover?
World Climates has climate data for 31 places in Morocco. Each one has a page with monthly averages for temperature, rainfall, humidity and daylight.
When is the best time to visit Morocco?
It depends on the place. Across Morocco, the months that most often rank as the most comfortable are April, May and October. Check the page of each city for its own best months.
Climate of every place in Morocco
| Place | Year | Max high | Min low | Precip. |
|---|---|---|---|---|
| Casablanca | 19 | 30 | 10 | 473 |
| Rabat | 19 | 29 | 11 | 488 |
| Fes | 20 | 39 | 6 | 715 |
| Tangier | 18 | 27 | 12 | 620 |
| Marrakesh | 21 | 40 | 6 | 291 |
| Agadir | 23 | 39 | 10 | 267 |
| Meknes | 18 | 36 | 5 | 608 |
| Oujda | 18 | 37 | 4 | 507 |
| Kenitra | 19 | 24 | 14 | 490 |
| Tétouan | 18 | 33 | 8 | 552 |
| Al Hoceïma | 19 | 25 | 14 | 436 |
| Temara | 19 | 28 | 11 | 488 |
| Safi | 19 | 25 | 13 | 347 |
| Khouribga | 17 | 36 | 3 | 460 |
| El Jadida | 19 | 23 | 15 | 418 |
| Beni Mellal | 21 | 40 | 6 | 526 |
| Nador | 20 | 35 | 7 | 465 |
| Dar Bouazza | 19 | 27 | 12 | 450 |
| Taza | 19 | 39 | 4 | 560 |
| Settat | 19 | 35 | 5 | 440 |
| Khemisset | 18 | 34 | 5 | 507 |
| Ksar El Kebir | 20 | 39 | 7 | 806 |
| Larache | 19 | 29 | 12 | 629 |
| Guelmim | 21 | 35 | 8 | 197 |
| Khenifra | 18 | 38 | 3 | 664 |
| Berkane | 19 | 33 | 7 | 481 |
| Taourirt | 19 | 37 | 4 | 497 |
| Al Fqih Ben Çalah | 21 | 40 | 6 | 397 |
| El Kelaa des Srarhna | 21 | 39 | 6 | 312 |
| Sidi Slimane | 20 | 38 | 7 | 628 |
| Errachidia | 19 | 39 | 2 | 278 |
Year = annual mean temperature; max high = average high of the warmest month; min low = average low of the coldest month; precip. = annual total. Temperatures in °C°F, precipitation in mminches. Sorted by population.
Other cities over 100,000 people
These cities share a NASA POWER grid cell with a larger place, so their averages are shown on that page:
- Salé → data of Rabat
- Mohammedia → data of Casablanca
- Salé Al Jadida → data of Temara
- Ait Melloul → data of Agadir
- Berrechid → data of Casablanca
- Inezgane → data of Agadir
- Bouskoura → data of Casablanca
- Oued Zem → data of Khouribga
Data: NASA POWER climatology 2001–2025 (MERRA-2 reanalysis, CERES satellite data) — grid-cell averages, not station records. Sources and method.