The Atlas Mountains in Morocco
This mountain range is the second highest mountains in the world and is certainly one of the most natural and wonderful mountains you could ever visit. One for the bucket list for sure.
Average temperatures, rainfall, sunshine and the best time to visit Rabat.
Rabat, in Morocco’s Rabat-Sale-Zemmour-Zaer region, sees moderate temperature changes throughout the year, from warm summers to mild winters. Rainfall stays relatively low across the seasons. As the country’s capital, Rabat is home to historic sites like the Hassan Tower and royal palace, alongside modern government buildings. Its quieter streets and coastal setting offer a more relaxed experience than Marrakech or Casablanca. Now, let’s explore all the climate details to give you a complete picture.
Pick a month to see the average temperature, rainfall and sunshine in Rabat - and find the best time to visit.
The climate in Rabat experiences moderate temperature changes, with mild shifts between seasons. On average, daytime temperatures range from a comfortable 29°C (84°F) in August to a moderate 18°C (64°F) in January.
Nighttime temperatures range from 21°C (70°F) in August to 10°C (50°F) in January.
Check out our detailed temperature page for more information.
Rabat tends toward drier weather patterns, receiving approximately 456 mm (18 in) of rain per year. The seasons in Rabat bring significant changes in precipitation. The wettest month, November, receives moderate rainfall, with an average of 75 mm (3 in) of precipitation. This rainfall is distributed across 10 rainy days.
In contrast, the driest month, July, experiences much less rainfall, totaling 1.9 mm (0.1 in) over 0 rainy days. These distinct seasonal differences provide diverse experiences throughout the year. For more details, please visit our Rabat Precipitation page.
In Rabat, summer days are longer and more sunny, with daily sunshine hours peaking at 10.5 hours in July. As the darker season arrives, the brightness of the sun becomes less. January sees a soft sun for only 6.0 hours per average day.
Visit our detailed sunshine hours page for more information.
The relative humidity is high throughout the year in Rabat.
The city experiences its highest humidity in December, reaching 83%. In May, the humidity drops to its lowest level at 77%. What does this mean? Read our detailed page on humidity levels for further details.
Monthly ratings reflect general weather comfort, based on daytime temperature and rainfall. Swimming and winter conditions are highlighted separately where relevant.
March, April, May, June, July, August, September, October and November typically offer the most optimal weather in Rabat. In contrast, January, February and December tend to have less optimal conditions. Rabat has a distinct dry season from May to September, with warm summers and mild winters.
Daytime highs range from 18°C (64°F) in January to 29°C (84°F) in August. Nighttime lows range from 10°C (50°F) to 21°C (70°F).
Annual rainfall is around 456 mm (18 in). November is the wettest month with 75 mm (3 in), while July is the driest with 1.9 mm (0.1 in).
Rabat receives around 2,930 hours of sunshine per year. July is the sunniest month with 315 hours, while January is the cloudiest with just 180 hours. Overall, Rabat enjoys abundant sunshine.
Rabat is highlighted - select any city to see its climate.
Where to go in October - average daytime high across popular destinations.
Need travel inspiration? Check out our bucket list articles and be inspired.
The Atlas Mountains in Morocco
This mountain range is the second highest mountains in the world and is certainly one of the most natural and wonderful mountains you could ever visit. One for the bucket list for sure.
Where to Go for Christmas: Sun, Value and Fewer Crowds
Where can you find warm Christmas weather without peak-season prices and huge crowds? Compare Marsa Alam, The Gambia, Vietnam, Agadir and Cap Skirring.
Warm Days, Cool Nights: 8 Destinations With the Perfect Day-Night Temperature
Prefer warm sunny days but cool evenings? Compare eight destinations with daytime temperatures of around 25–30°C, cooler nights, low rainfall and plenty of sunshine.
Morocco in October: Where Is the Best Weather?
Compare Morocco weather in October for Marrakesh, Agadir, Essaouira, Fez and Merzouga to find the warmest, driest and sunniest places.