What to Wear in Morocco: Dress Code for Men and Women

By | June 30, 2026

Let’s clear up the biggest myth first: Morocco has no dress code in law. Nobody will stop you, fine you, or turn you away for what you wear in the street. It’s a fairly liberal, welcoming Muslim country, and you’ll see Moroccan women in everything from headscarves to jeans.

So why does this question come up so often? Because dressing modestly here buys you two real things: respect from locals, and — for women especially — a lot less unwanted attention. It’s not about rules. It’s about blending in enough to travel comfortably. The simple principle behind all of it: cover your shoulders and knees in towns, medinas, and rural areas, and relax at the beach and the pool.

Here’s how that plays out, by who you are and where you are.

The quick answer for women

Loose, light, and covered is the formula. Think maxi skirts and dresses, loose trousers, and tops with sleeves. Skip the low necklines, sheer fabrics, crop tops, and very short shorts in public, especially in medinas and villages. Leggings are fine under a long tunic that covers your hips. You do not need to cover your hair — a headscarf is a personal choice here, not an expectation for tourists. Dress this way and you’ll feel the difference in how you’re treated.

The quick answer for men

Men get more leeway, but it’s not a free pass. Long, lightweight trousers — chinos or linen — are the safe default for cities, medinas, and anywhere traditional. Knee-length shorts are fine in beach towns and tourist zones, less so in old neighborhoods. T-shirts with sleeves over tank tops. And never walk through a town shirtless; put a shirt on the moment you leave the beach.

The one item that does everything

If you pack one thing, make it a large, lightweight scarf. A Moroccan will tell you it’s the most useful piece in the bag. It’s sun protection for your head and neck, a shield against blowing sand in the desert, a cover for your shoulders or hair when you enter a religious site, warmth on a cold desert night, and a beach wrap. You can buy beautiful cotton ones in any medina for next to nothing. Bring one, or buy one on day one.

What to wear where

The honest answer to “what do I wear” is “it depends where you’re standing.” Here’s the breakdown.

Cities and medinas (Marrakech, Fes, Rabat, Tangier). Modest and breathable. Cover shoulders and knees, choose cotton or linen, and keep it loose for the heat. This is where dressing down draws stares and dressing modestly earns smiles.

Beach and pool (Essaouira, Agadir, hotel pools). Relax here. Swimwear is fine at hotel pools, private beach clubs, and tourist beaches — you’ll see everything from bikinis to full coverage. The one rule: throw on a cover-up when you leave the sand. Walking through town in beachwear is the thing that reads as disrespectful, not the swimsuit itself.

Mosques and religious sites. Most mosques in Morocco are closed to non-Muslims. The big exception is the Hassan II Mosque in Casablanca, which runs guided tours. To enter, cover your shoulders, chest, and legs — knees fully covered — and expect to remove your shoes for the prayer hall, so socks are handy. A headscarf isn’t required there, but carry your scarf for other shrines and religious spots where covering your hair is the respectful move.

The Sahara. Pack for two climates in one day. Daytime: loose long trousers and a long-sleeved top protect you from sun and sand far better than shorts, plus that scarf and sunglasses. Nighttime: it gets cold, sometimes near freezing in winter, so bring a warm jacket and layers. One tip locals always pass on — wear long trousers for the camel ride. Shorts and a saddle mean painful chafing.

The Atlas Mountains. Layer up. A breathable base, a fleece, and a windproof shell cover the fast-changing mountain weather, with sturdy walking shoes for the trails. The villages are traditional, so keep shoulders and knees covered as you pass through. Even in summer it’s cool at altitude, and cold after dark.

Evenings, dinners, and nightlife. Moroccans dress up, and so should you for a nice riad dinner or a night out in Marrakech or Casablanca. Smart casual works; some clubs expect closed-toe shoes for men and dressier outfits all round. Pack one nicer outfit and you’re covered.

The hammam. If you go to a hotel hammam, everything is provided. At a traditional neighborhood hammam, bring your own towel, flip-flops, and black soap (savon noir). Ask your riad to point you to a good local one and explain the etiquette.

Fabrics and shoes

For most of the year, breathable cotton and linen beat everything — light colors reflect the heat, and loose cuts keep you cool while staying covered. Avoid sheer materials in public.

Shoes matter more than people expect. Medinas are car-free zones of ancient, uneven, often slippery cobblestones with plenty of foot and animal traffic. Comfortable closed-toe shoes with grip will save you. Leave the heels and delicate open-toe sandals for the riad.

What to leave at home

A short list of things that mostly cause friction or discomfort:

  • Very short shorts, mini skirts, and crop tops for daily wear in towns.
  • Sheer or see-through fabrics.
  • Tank tops and low-cut tops as standalone street wear (fine by the pool).
  • Going shirtless anywhere but the beach, for men.
  • Heels and flimsy sandals for medina walking.

A note on Ramadan and conservative areas

During Ramadan, and in small towns and remote villages any time of year, lean more conservative than usual. It costs you nothing and locals notice and appreciate it. The further you get from the tourist track, the more a covered, modest look helps you fit in and travel easily.

FAQ

Is there a dress code in Morocco for tourists? No legal one. Modest dress — covering shoulders and knees in towns and rural areas — is a cultural courtesy that earns respect and, for women, reduces unwanted attention.

Do women have to cover their hair in Morocco? No. A headscarf is a personal choice and not expected of tourists. Carry a light scarf anyway — it’s useful for religious sites, sun, and cold desert nights.

Can I wear shorts in Morocco? At beach towns, pools, and tourist areas, yes. In medinas, mosques, and villages, long trousers are more respectful. Men get more leeway than women here.

Can I wear a bikini in Morocco? Yes, at hotel pools, private beach clubs, and tourist beaches. Just add a cover-up when you leave the sand and walk into town.

What should I wear to the Hassan II Mosque in Casablanca? Cover your shoulders, chest, and knees, and be ready to take your shoes off for the prayer hall. A headscarf isn’t required, but modest clothing is.

What do I wear in the Sahara? Loose long trousers and long sleeves for daytime sun and sand, plus a scarf. Warm layers and a jacket for the cold nights. Long trousers for camel riding to avoid chafing.

What should men wear in Morocco? Lightweight long trousers and shirts with sleeves for most places. Shorts are fine at the beach and in tourist zones, but never go shirtless in towns.

Leave a Reply

Your email address will not be published. Required fields are marked *