In short: the morocco dress code is more relaxed than many visitors fear, but it rewards a bit of modesty, especially away from beach resorts. Cover your shoulders and knees in towns and religious areas, and you’ll fit in fine. Nobody expects tourists to dress like locals, and you’ll see plenty of variety on the street. Below is what actually works for men and women, in the cities, in the desert and by season.
The general rule
Morocco is a Muslim country, but a well-traveled one, and cities like Marrakech and Casablanca are used to visitors. There’s no law requiring foreigners to cover up, and you won’t be turned away from a cafe for bare arms. The custom is simply modesty in public: clothes that don’t cling too much and that cover shoulders and knees. Follow that and you’ll draw less attention, which is the main practical benefit for women in busy markets.
Coastal and tourist zones are looser. In Essaouira, at pools and in beach towns like Agadir, shorts and swimwear are normal. The more traditional the setting, the more you’ll want to cover, so pack for both.
What women actually wear
You do not need a headscarf as a tourist, and most foreign women don’t wear one except when entering the few mosques that admit non-Muslims. For day-to-day sightseeing, think loose trousers, midi skirts or dresses, and tops that cover the shoulders. Linen and cotton beat synthetics in the heat.
Carry a light scarf in your bag. It does three jobs: covers your shoulders when a place feels more conservative, keeps the sun off, and wraps around your face against blowing sand in the desert. A pair of loose trousers is more useful than shorts, since they read as respectful and also protect your legs on a camel and from the sun.
What men wear
Men have it easy but aren’t off the hook. Long trousers or chinos are the safe default in cities and religious sites. Shorts are fine in tourist areas and by the coast, but in a rural village or the medina on a normal day, long trousers look more respectful and get you treated a little better. T-shirts are fine; go-anywhere is a light shirt you can roll the sleeves down on when the sun bites.
Dressing for the desert
The desert has its own logic, and it isn’t about modesty so much as survival. Days are hot and nights are cold, sometimes sharply so, even in the same 24 hours. Cover up in loose, light layers during the day: long sleeves and trousers actually keep you cooler and stop you burning. Bring a warm layer and something for your head for the evening, when temperatures drop fast once the sun goes.
Closed shoes beat sandals on the sand and rock. If you’re heading out to the stone desert near Marrakech on one of our Agafay desert tours, a scarf and sunglasses handle the glare and dust. For a longer Sahara run, our Morocco desert guide covers the bigger swings in temperature you’ll meet at Merzouga.
Mosques and religious sites
Most working mosques in Morocco are closed to non-Muslims, so this comes up less than in some countries. The famous exception is the Hassan II Mosque in Casablanca, which runs guided tours for visitors. There, cover shoulders and knees, dress neatly, and you may be asked to remove shoes. At shrines and religious festivals, err on the modest side and don’t photograph people at prayer.
What to pack, by season
| Season | Cities | Desert |
|---|---|---|
| Oct to Apr (best time) | Layers, light jacket for evenings | Warm layers, cold nights, sun cover by day |
| May and Sep | Light cottons, sun hat | Very hot days, cool nights, cover from sun |
| Jun to Aug | Loose light clothing, plenty of water | Extreme heat, best avoided midday |
A capsule that covers most trips: two pairs of loose trousers, a couple of tops with sleeves, one dress or shirt for a nicer dinner, a scarf, a warm layer, closed shoes and sandals, sunglasses and a hat.
FAQ
Do women have to cover their hair in Morocco? No. Tourists aren’t expected to wear a headscarf, except when entering a mosque that admits non-Muslims. A scarf in your bag is handy but optional.
Can I wear shorts in Morocco? Yes in tourist and coastal areas. In the medina, rural villages and religious sites, long trousers or a skirt below the knee are more respectful and more comfortable.
What should I wear in the desert? Loose, light layers that cover your skin by day, a warm layer for the cold night, closed shoes and a scarf for sun and sand.
Is Morocco strict about dress for tourists? Not strict, but modest dress earns easier treatment and less unwanted attention, especially for women in crowded markets.
Planning a desert day and not sure what to bring? Message us on WhatsApp and we’ll tell you exactly what to pack for the season you’re traveling.