What should I wear in Marrakech?
The short answer
Shoulders and knees covered gets you through anywhere comfortably. Loose, light fabrics make more sense than sunscreen in 42°C. Closed-toe shoes survive medina cobblestones better than sandals. Women don't need to cover their hair. The dress code is as much about heat management as culture.
Cover your shoulders. Cover your knees. That's the rule, and it applies to everyone — not because the police will stop you, but because the medina is a residential neighborhood and the people who live here are conservative.
The practical version: loose linen or cotton trousers, a shirt that covers the shoulders, and shoes you can walk on uneven stone in for hours. Women tend to wear things that cover shoulders and knees — dresses, wide-leg trousers, tunics. Headscarves are not required for non-Muslim women except inside mosques (which non-Muslims generally cannot enter anyway). Men in shorts above the knee in the medina get looks — not hostile, just noticing.
Heat management is the real challenge. Marrakech at 45°C is not the place for tight-fitting synthetic fabrics. Loose weaves in natural fibers allow airflow. Light colors reflect heat. A scarf — light cotton or linen — serves triple duty: sun protection, shoulder coverage for entering sacred spaces, and a way to filter dust in the souks.
The medina is not the beach. Swimwear-adjacent clothing — short shorts, crop tops, transparent fabrics — is genuinely offensive in residential areas and around mosques. The Ville Nouvelle is more relaxed. Hotel pools follow their own rules. But the medina is someone's home, and dressing respectfully is the minimum entry fee.
Shoes matter more than clothes. The medina floor is uneven stone, often wet, sometimes covered in vegetable matter or motor oil. Sandals work if they have grip. Heels don't work at all. Sneakers work best. Looking good matters less than not falling into a drainage channel.