For a good introduction to Marrakech, plan for 3 to 4 nights. This duration allows ample time to explore the bustling Medina, Jemaa el-Fna square, palaces, and gardens without feeling rushed. A shorter 2-night stay offers a quick overview, while 5 nights or more is ideal for deeper exploration and enjoying a day trip to the Atlas Mountains or desert.