Rabat Weather & Climate: Best Time to Visit

Average temperatures, rainfall, sunshine and the best time to visit Rabat.

Climate overview of 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.

Rabat Weather by Month

Pick a month to see the average temperature, rainfall and sunshine in Rabat — and find the best time to visit.

Monthly Temperature in Rabat

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.

Temperature ranges by month

Rainfall in Rabat

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.

The mean monthly precipitation over the year, including rain, hail, and snow

Sunshine Hours in Rabat

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.

Monthly hours of sunshine

Daily hours of sunshine

Humidity in Rabat by Month

Best Time to Visit Rabat

The best time to visit Rabat is during March, April, May, June, October, November and December, when the weather provides comfortable temperatures between 19°C (66°F) and 26°C (79°F). With rainfall of 7 mm (0.3 in) to 75 mm (3 in), you can expect pleasant weather during your visit in these months.

Seeking the perfect travel destination for this year? We've created a tool that suggests locations matching your desired weather. Let our weather planner guide your travel decisions.

Frequently asked questions about the climate in Rabat

What is the best time to visit Rabat?

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.

What temperatures can I expect in Rabat?

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).

How much rain does Rabat get?

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).

How sunny is Rabat?

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 3-Day Forecast

Rabat 3-Day Forecast

Rabat on the map

Rabat is highlighted — select any city to see its climate.

Popular this month

Where to go in July — average daytime high across popular destinations.

Bucket list

Need travel inspiration? Check out our bucket list articles and be inspired.