YesTrip

Best time to visit Morocco: weather by region

In short

The best time to visit Morocco is March to May and October to November: Marrakech then has 23 to 30 °C by day, and even the Sahara around Merzouga is bearable. In July Marrakech averages 38.6 °C and Merzouga 41.8 °C. The Atlantic coast stays mild: Agadir has 21 to 28 °C by day all year round.

Plan this trip now

The Erg Chebbi dunes near Merzouga in the evening light
Photo: Thomas Fuhrmann, CC BY-SA 4.0, via Wikimedia Commons

Morocco is only a short flight from the UK and packs several climate zones into a small space: the mild Atlantic coast, the imperial cities inland, the Atlas Mountains with peaks over 4,000 m and the edge of the Sahara. In July, Essaouira on the sea and Merzouga in the desert are on average 16 degrees apart by day. So the best time to go depends on where you're going. We analysed the weather data for 2015 to 2024 for five places.

The short answer

  • Best time for a round trip: March to May and October to November. 23 to 30 °C by day in Marrakech, 20 to 28 °C in Fes, and the desert is not too hot.
  • Summer (June to September): very hot inland – Marrakech averages 38.6 °C in July, Fes 37.5 °C, Merzouga 41.8 °C. The Atlantic coast is the better choice then: Essaouira has 25.8 °C in July.
  • Winter (December to February): mild by day, around 20 °C in Marrakech, but cold at night – 5 °C in Marrakech and 3.7 °C in Merzouga in January. There is snow in the High Atlas.
  • Beach holiday: Agadir is mild all year at 21 to 28 °C by day, and almost rain-free from April to September.

Marrakech's climate: all 12 months

MonthDay (avg. high)Night (avg. low)Rain per month
January19.7 °C5.1 °C28 mm
February21.3 °C6.8 °C39 mm
March23.2 °C8.6 °C51 mm
April26.1 °C11.6 °C33 mm
May30.4 °C14.8 °C18 mm
June33.1 °C17.3 °C3 mm
July38.6 °C20.8 °C2 mm
August38.1 °C21.4 °C4 mm
September33.1 °C18.2 °C7 mm
October29.7 °C15.2 °C22 mm
November24.1 °C9.9 °C25 mm
December21.0 °C6.7 °C25 mm

Temperatures and rain: monthly averages 2015–2024 from the ERA5 reanalysis (Open-Meteo), rounded. Values apply to a grid cell of about 25 km.

Marrakech: daytime high (bar) and night-time low (start of line)
0510152025303540January19.7February21.3March23.2April26.1May30.4June33.1July38.6August38.1September33.1October29.7November24.1December21°C

Typical of Marrakech is the big gap between day and night: in January it is almost 20 °C by day but only 5 °C at night – a difference of nearly 15 degrees. Rain is hardly an issue, with around 260 mm over the whole year, most of it from November to April. From June to September it practically never rains.

The regions compared

MonthFes dayMerzouga dayMerzouga nightAgadir dayEssaouira day
Jan16.7 °C17.9 °C3.7 °C20.9 °C19.1 °C
Feb18.5 °C20.2 °C6.5 °C21.6 °C19.3 °C
Mar20.1 °C24.3 °C10.5 °C22.0 °C19.9 °C
Apr23.4 °C29.2 °C15.3 °C22.8 °C21.0 °C
May28.5 °C33.4 °C19.7 °C24.2 °C22.6 °C
Jun32.3 °C37.9 °C23.9 °C25.2 °C23.8 °C
Jul37.5 °C41.8 °C27.8 °C27.3 °C25.8 °C
Aug37.3 °C40.4 °C27.1 °C28.1 °C26.2 °C
Sep32.2 °C35.2 °C22.2 °C26.1 °C25.1 °C
Oct27.9 °C29.1 °C16.3 °C26.4 °C24.4 °C
Nov21.5 °C22.9 °C9.7 °C24.0 °C22.2 °C
Dec18.4 °C18.5 °C5.1 °C22.0 °C20.4 °C

Monthly averages 2015–2024, ERA5 reanalysis (Open-Meteo), rounded.

Merzouga (Sahara): daytime high (bar) and night-time low (start of line)
01020304050Jan17.9Feb20.2Mar24.3Apr29.2May33.4Jun37.9Jul41.8Aug40.4Sep35.2Oct29.1Nov22.9Dec18.5°C
The places compared
Marrakech Mar–May, Oct–NovFes Apr–May, OctMerzouga Mar–Apr, Oct–NovAgadir all yearEssaouira all year, summerToubkal 4,167 m

Base map: Natural Earth

Marrakech and the imperial cities

Marrakech is most pleasant in spring and autumn, and mild in winter with cold nights. Fes lies further north and is cooler and wetter in winter: 16.7 °C in January and 83 mm of rain in March, much more than Marrakech. In summer both cities get very hot; the narrow lanes of the medinas are shady, but sightseeing is then only comfortable in the morning and evening.

The Sahara

In Merzouga on the edge of the Erg Chebbi dunes, summer is extreme: 41.8 °C by day in July and still almost 28 °C at night. In winter the picture is reversed: 18 °C by day, an average of 3.7 °C at night – if you sleep in a desert camp in January, you need warm clothes and a good sleeping bag. March, April, October and November suit best, with 23 to 29 °C by day and mild nights. It almost never rains here.

The Atlantic coast

By the sea, the cool Atlantic evens out the temperatures. Agadir stays between 20.9 and 28.1 °C by day all year and, with 19 mm of rain in January, is mostly dry even in winter – the classic beach destination. Essaouira is cooler still and, at 25 to 26 °C in summer, a refuge from the heat inland. A strong wind often blows there, which is why the town is popular with kitesurfers and windsurfers; on the beach it feels cooler than the numbers suggest.

The Atlas Mountains

The High Atlas separates Marrakech from the desert. Toubkal (4,167 m) is the highest mountain in North Africa. In winter there is snow at altitude, and mountain passes such as the Tizi n'Tichka can be closed temporarily after snowfall. Spring to autumn is the best time for hiking, for example from the mountain village of Imlil; in high summer it is more pleasant up there than in Marrakech.

The Koutoubia Mosque in Marrakech
The Koutoubia Mosque in MarrakechPhoto: Jerzy Strzelecki, CC BY 3.0, via Wikimedia Commons
The Imlil valley on the way to Toubkal
The Imlil valley on the way to ToubkalPhoto: Erokhin, CC BY-SA 4.0, via Wikimedia Commons
The city walls by the harbour in Essaouira
The city walls by the harbour in EssaouiraPhoto: Adam Harangozó, CC BY-SA 4.0, via Wikimedia Commons
The beach at Agadir
The beach at AgadirPhoto: Ideophagous, CC0, via Wikimedia Commons

Morocco month by month

December to February

Mild by day, cold at night. In Marrakech just under 20 to 21 °C by day and 5 to 7 °C at night; pack a warm layer for the evenings. A good time for a city break in Marrakech, though busy around Christmas and New Year. The desert is pleasant by day and cold at night. There is snow in the Atlas, and Agadir tempts with 21 to 22 °C by day.

March to May

The best time for a round trip. In Marrakech temperatures rise from 23 to 30 °C, in Merzouga from 24 to 33 °C. In March it still rains more often in Fes (83 mm); from April it gets drier everywhere. The country is green after the winter, and the Atlas is in bloom. By May the south is already getting hot.

June to September

The hot season inland: Marrakech reaches 38.6 °C in July, Fes 37.5 °C. A desert tour is possible but tiring; camel rides and excursions then only take place early in the morning and in the evening. The better choice in summer is the coast: Agadir at 27 to 28 °C with practically no rain, Essaouira at 25 to 26 °C. From there Marrakech makes a short side trip.

October and November

The second good season. Marrakech has 29.7 °C in October and 24.1 °C in November. In the desert, October is ideal at 29 °C by day and 16 °C at night. In November nights get cooler everywhere, averaging 9.7 °C in Merzouga.

Sunset over the Erg Chebbi dunes
Sunset over the Erg Chebbi dunes · Photo: Thomas Fuhrmann, CC BY-SA 4.0, via Wikimedia Commons

Ramadan in Morocco

During the fasting month of Ramadan, observant Muslims do not eat or drink from sunrise to sunset. Ramadan follows the Islamic lunar calendar and therefore moves forward by about eleven days every year – check before booking whether it falls within your travel dates. Travelling is perfectly possible: hotels, riads and sights are open. Outside the tourist centres, though, many restaurants and cafés are closed during the day, and some opening hours change. After sunset people break the fast together, and the evenings in the medinas are especially lively.

What to do in the best months

In Marrakech, start at Jemaa el-Fna square, which is liveliest in the evening with food stalls, musicians and storytellers, then wander through the souks and visit the city's gardens and palaces. You can buy tickets* for the well-known gardens and palaces in advance and skip the queue at the ticket office in peak season. From Marrakech, day trips lead into the Atlas to Imlil or to the sea at Essaouira.

For the Sahara you need at least three days: Marrakech to Merzouga is about 560 km, a good ten hours of pure driving time over the High Atlas – with breaks, add about a third. Many book a guided desert tour* with a night in a camp; others drive themselves in a rental car*. The full route with Aït Benhaddou, the Dadès Valley and Fes is in our Morocco itinerary.

Marrakech trip planDay by day, with map and tips

How YesTrip helps with this trip

In YesTrip you'll find a ready-made city plan for Marrakech with Jemaa el-Fna, the souks, gardens and palaces, which you can adopt and fit to your travel days. For the desert, Fes or the coast, the AI creates a day plan with a map. The weather forecast covers your travel days – so you can see how cold the night in the desert camp will be. The packing list remembers the warm layer for the evenings, covering clothes and the right plug adapter. Travelling with others, you share the trip and log shared expenses; the map also works offline in the lanes of the medina.

What to know before you go

  • Entry: UK and EU citizens can visit Morocco as tourists for up to 90 days without a visa; you need a valid passport. Check the current rules on gov.uk or with your own government.
  • Flight: from London, direct flights to Marrakech take about 3.5 hours. Agadir and Fes can also be reached by air, directly or with a change depending on your departure airport.
  • Power: 220 volts, European two-pin plugs; UK plugs need an adapter.
  • Clothing: cover shoulders and knees, especially outside Marrakech and in the countryside.
  • Mobile data: roaming in Morocco is expensive on most plans. A travel eSIM is usually much cheaper.

* Ad – Partner link: if you book there, we earn a commission. Your price stays the same.

Free

Plan your trip in 30 seconds.

Tell YesTrip where and when – the app plans day by day with real places on the map, shows the weather, splits costs with your travel companions and guides you to the next stop on the go.

Frequently asked questions

When is the best time to visit Morocco?

March to May and October to November. Marrakech then has 23 to 30 °C by day, Fes 20 to 28 °C, and the desert around Merzouga is manageable at 23 to 33 °C. Agadir is fine all year for a pure beach holiday.

How hot is Morocco in summer?

Very hot inland: in July Marrakech averages 38.6 °C, Fes 37.5 °C and Merzouga in the Sahara 41.8 °C. The Atlantic coast, by contrast, is mild, with 25.8 °C in Essaouira and 27.3 °C in Agadir.

How cold is the desert in winter?

In January nights in Merzouga average 3.7 °C, days 17.9 °C. For a night in a desert camp you then need warm clothes and a good sleeping bag. March, April, October and November are more pleasant.

Can you swim in Morocco in winter?

In Agadir the average January high is 20.9 °C and it is usually dry, which is enough for sunbathing. The Atlantic is cool in winter, though. June to October is the most pleasant time for swimming.

Should you visit Morocco during Ramadan?

Yes, it is perfectly possible. Hotels and sights are open, but outside the tourist centres many restaurants are closed during the day. Ramadan moves forward by about eleven days each year, so check the dates for your year of travel.

Sources

  • Climate data: ERA5 reanalysis via Open-Meteo, monthly averages 2015–2024 – open-meteo.com
  • Copernicus ERA5 reanalysis (Hersbach et al. 2020) – cds.climate.copernicus.eu
  • Driving time Marrakech–Merzouga: OSRM routing on OpenStreetMap data (from our Morocco itinerary) – project-osrm.org
  • Entry requirements for Morocco: UK Foreign Travel Advice – www.gov.uk

Researched with AI support and checked by our editors. Prices, opening hours and weather can change – please check before you go. YesTrip is not a travel agency. Published: .

More best-time guides

All destinations: best time to visit and warm places by month