The weather in Morocco varies depending on the region and time of year. In general, Morocco has a Mediterranean climate, with hot, dry summers and mild, wet winters.

The summer months, from June to August, are the hottest and driest in Morocco. Temperatures can reach up to 40°C (104°F) in some parts of the country, and there is very little rainfall. The coastal areas tend to be cooler than the inland regions due to the cooling effect of the ocean.

The winter months, from November to February, are milder and wetter in Morocco. Temperatures range from 15-20°C (59-68°F) and there is more rainfall, particularly in the north and along the coastal regions.

Spring and fall are transitional seasons in Morocco, with temperatures ranging from 15-30°C (59-86°F) and some rainfall. These are generally considered the best times to visit Morocco, as the weather is pleasant and there are fewer crowds.

Overall, the weather in Morocco is generally pleasant and there is something to see and do throughout the year. If you are planning a visit, it is a good idea to check the weather forecast and pack accordingly.