In Morocco the climate is Mediterranean on the coasts, while it's desert in inland areas, and continental in the highest mountains.


Atlantic coast

The Atlantic coast enjoys a mild climate, similar to that of the Mediterranean, but even milder. Winters look rather like spring, with long sunny periods, while summers are pleasantly warm and sunny.
The rains are not abundant, however, from November to March they can sometimes be intense and concentrated in a few hours, and they can fill the ancient river beds (called wadis) and cause flooding.
A cool sea current flows west of northern Africa, so the ocean remains cool even in summer; furthermore, because of this current, along the coast, fogs and mists can form on summer mornings, especially in the southern part. In fact, strange as it may seem, the sea is even a bit colder in the southern part of the coast (see Essaouira, Agadir) than in the northern part (from Tangier to Casablanca).


In Agadir, the daily average temperature ranges from 14 °C (57 °F) in January to 22 °C (72 °F) in July, August and September. Although normal temperatures are mild, throughout the year, a hot wind from the interior can blow for a few days, bringing warm days in winter, with temperatures around 30 °C (86 °F), and scorching days in summer, with peaks above 40 °C (104 °F).
Here are the average temperatures of Agadir.
Agadir - Average temperatures
Min (°C)891112141618181715129
Max (°C)202022212324262626252320
Min (°F)464852545761646463595448
Max (°F)686872707375797979777368

In the southern part of the coast, rainfall is scarce, not reaching 250 millimeters (10 inches) per year, and occurs almost all from late autumn to early spring. Here is the average precipitation in Agadir.
Agadir - Average precipitation

The sun in Agadir shines all year round, but the sunniest season is spring, while in summer, as we mentioned, fogs can form in the morning.
Agadir - Sunshine

The sea temperature remains cool even in summer, and reaches a maximum of 21 °C (70 °F) in August and September.
Agadir - Sea temperature
Temp (°C)171717171819202121201918
Temp (°F)636363636466687070686664


In the southern part of the coast, in the most exposed places (see Essaouira, Sidi Ifni, Tarfaya), summer is particularly cool and windy, and also foggy in the morning (although in recent years, hot African air masses have often prevailed).
Essaouira - Average temperatures
Min (°C)101112131416171817161411
Max (°C)181819192021232323222119
Min (°F)505254555761636463615752
Max (°F)646466666870737373727066


In Casablanca, a little more to the north of Essaouira, the average temperature ranges from 13 °C (55.5 °F) in January to 23 °C (73 °F) in July and August. Heatwaves are possible here as well, but they are less intense than in Agadir. The rains, a little more abundant, about 400 mm (16 in) per year, are concentrated in the period from November to April.
Casablanca - Average temperatures
Min (°C)9911121517192019151210
Max (°C)171819202224262626242018
Min (°F)484852545963666866595450
Max (°F)636466687275797979756864

As mentioned, in the central part of the coast, the temperature of the sea is a bit higher than in the southern part, and becomes acceptable for swimming in August and September.
Casablanca - Sea temperature
Temp (°C)171717181921222323222019
Temp (°F)636363646670727373726866

In Rabat, the capital, the climate is similar to that of Casablanca.


Further to the north, in Tangier, the winter is similar to that of Casablanca, but the summer is warmer: normally highs 28 °C (82 °F) instead of 25/26 °C (77/79 °F). It may seem strange that the summer is warmer in the north than in the south, but the fact is that the effects of the cold sea current here are felt less.
Tangier - Average temperatures
Min (°C)8910111316181918151210
Max (°C)161617182124282827221917
Min (°F)464850525561646664595450
Max (°F)616163647075828281726663

In this northern part of the coast, rainfall is relatively abundant; in fact, weather disturbances arrive frequently in autumn and winter. Here is the average rainfall in Tangier.
Tangier - Average precipitation

On the Mediterranean coast, the sun shines less frequently in winter, as Atlantic disturbances pass more frequently, while summer days are generally sunny.
Tangier - Sunshine

The sea temperature in this northern part of the coast is similar to that of Casablanca and Rabat.
Tangier - Sea temperature
Temp (°C)161616161820222322201917
Temp (°F)616161616468727372686663

Mediterranean coast

On the Mediterranean coast, the climate is typically Mediterranean: winters are mild and moderately rainy, and resemble those of the Atlantic coast, while summers are hot and sunny, and they are hotter than on the Atlantic coast. In Al Hoceima, the temperature ranges from 12 °C (53.5 °F) in January to 25 °C (77 °F) in August. In the Spanish exclave of Melilla, the climate is similar. Sudden increases in temperature occur here as well, when the wind blows from the desert, a situation more common in spring. Infiltration from the Atlantic Ocean makes the sea a little colder than in other Mediterranean countries, and similar to that of Tangier, so much so that even here the water temperature reaches 23 °C (73 °F) in August.

Inland areas

Moving towards the interior, the effect of the cold Atlantic current is sharply reduced, so the imperial cities have a climate characterized by hot summers, while winters are slightly colder, partly because of the higher altitude.


In particular, in Marrakesh, 450 meters (1,450 ft) above sea level, the average ranges from 12 °C (53.5 °F) in January to 28 °C (82 °F) in July and August. The sun shines all year round; the rains are concentrated from mid-October to April, and are usually not abundant; in summer, there are long sunny periods, interrupted by sporadic thunderstorms. In the worst moments, the temperature can exceed 45 °C (113 °F).
Marrakesh - Average temperatures
Min (°C)68911141620201815107
Max (°C)182022242731363632272219
Min (°F)434648525761686864595045
Max (°F)646872758188979790817266

In the interior, the sun shines all year round.
Marrakesh - Sunshine

Further to the north, Fez, 400 meters (1,300 feet) above sea level, is a bit colder and rainier: the average ranges from 9 °C (48 °F) in January to 26 °C (79 °F) in July and August; annual precipitation is about 500 mm (20 in). A similar climate is found in Meknes, located at 500 meters (1,600 feet) above sea level, and a short distance from Fez.


Mountainous areas

In the mountainous areas, the range of Atlas and of that of Rif to the north have a colder climate due to the altitude, and there are also ski resorts (see Ifrane). Summers are hot during the day up to fairly high altitudes, while nights are more or less cool, depending on altitude. The highest peak is Toubkal, 4,167 meters (13,671 feet) high.


Here are the average temperatures of Ifrane, located at 1,700 meters (5,500 feet) above sea level, in the Middle Atlas.
Ifrane - Average temperatures
Min (°C)-101369141411730
Max (°C)9101213182229292518129
Min (°F)303234374348575752453732
Max (°F)485054556472848477645448

In Ifrane, 1,100 mm (45 in) of rain fall per year; being on the western slope, in winter it receives abundant precipitation. In winter it can snow, even though the snowfalls are more abundant in the mountain peaks. In summer, when the sun dominates, every so often some showers can occur.
Ifrane - Average precipitation

The eastern slopes of the Atlas, towards Algeria, have an arid climate; in winter, the temperature is cold at night, while in summer the heat is intense, but tempered by altitude, at least as compared with the Algerian desert. In Er Rachidia, at 1,000 meters (3,300 feet) above sea level, the average daily temperature in July is around 30 °C (86 °F).

Best Time

If you want to visit the imperial cities of Morocco, you can choose spring and autumn, in March-April and from October to mid-November. There may be both cold nights and hot days, but generally the temperature is pleasant, and the sky is almost always clear, with rare rains.
For a beach holiday, along the Atlantic coast you can go from July to September, and along the Mediterranean coast in July and August. As mentioned, the waters of the Atlantic Ocean are cool even in summer, and fogs and mists may form in the morning along the coast, reducing the hours of sunshine.

What to pack

In winter: on both the Atlantic and the Mediterranean coast, bring spring/autumn clothes, a jacket and a sweater, a raincoat or umbrella; for the imperial cities you can add a warm hat for the evening; for the mountain areas, warm clothes, such as a down jacket, gloves; for the desert, light clothing, but also sweater, a warm jacket for the evening, a scarf for the wind-borne sand and dust.

In summer: on the Mediterranean coast, bring light clothing, a light sweatshirt for the evening; on the Atlantic coast, especially in Agadir and Essaouira, better to add a pair of jeans, a sweatshirt, a light jacket and a scarf. For inland and desert areas, loose fitting, light-colored clothing, light and long shirt and pants, a sun hat and desert turban; sunglasses (even graduated instead of contact lenses), a sweatshirt for the evening; sleeping bag to sleep outdoors; hiking shoes or sandals. In the mountains, a sweater and a jacket for overnight stays outdoors. It's better for women to avoid shorts and miniskirts, especially in rural and non-tourist areas.

Back to top