When to visit Morocco - The best time to visit Morocco is during spring (mid-March to late May) or autumn (September to October). In the mentioned period, the weather is warm, but pleasant, unlike winter when it can be cold or during the summer months when temperatures are high.
The High Atlas Mountains as well as the entire coast can be visited all year round, although it can get cold in winter. Of course, in the summer can be quite hot but it is not something that cannot be endured.
If you want to visit Morocco you should check when the month of Ramadan is because the crowds are much bigger.