Morocco is a country with varied geography, so the best time to travel to Morocco depends actually on your destination. But if you are willing to have an ultimate tour of the country then the best time to travel is around April and Mai, the spring season. Although if you want to visit the Moroccan Sahara then it is better to avoid the midsummer. Moreover, the hottest months (July and August) are good for a visit to the coastal cities like Essaouira and Agadir.