One day
Start early in Jemaa el-Fnaa before the heat and the crowds, then walk west to the Koutoubia Mosque and its gardens for the framing shot of the minaret. Dive north into the Souks, following Souk Semmarine up toward the Ben Youssef Madrasa, then loop back down through Rahba Kedima. Spend the late afternoon in the Kasbah at the Bahia Palace and the Saadian Tombs, and come back to Jemaa el-Fnaa after dark for the food stalls and the drums.