Discovering...
Discovering...

The dress code varies significantly between the Marrakech medina, Casablanca, Agadir beach and a mosque entrance. This guide covers every scenario so you pack light and avoid the wrong outfit at the wrong moment.
Sofia Marín· Coast, North & Practical Travel Editor
Spanish travel writer based in Tangier who criss-crosses northern Morocco and the Atlantic coast by bus, train and ferry. She covers Chefchaouen, Tangier, Essaouira and the practical side of getting around. Tangier · 10+ years covering Morocco
Published 11 June 2025 Last updated 19 April 2026
Morocco does not have a single dress code — it has several, and which one applies depends almost entirely on where you are standing. Shorts and bare shoulders in the middle of the Fes el-Bali medina will attract persistent hassle and genuine discomfort; the same outfit is completely unremarkable on Agadir’s Atlantic beach. Understanding the gradient saves you from packing an overstuffed suitcase of maxi dresses while missing out on a proper swimsuit, or vice versa.
The short version: dress modestly in medinas and near mosques, relax at beach resorts, and carry a light scarf regardless of gender because it fixes almost every edge case — sudden mosque visit, cold desert night, strong Essaouira wind. The rest of this guide breaks it down city by city, with specific rules for mosque visits and Ramadan, a quick packing list, and answers to the questions travellers ask most.
The same country, very different expectations depending on where you are.
| City / Area | Women | Men | Vibe |
|---|---|---|---|
| Marrakech medina | Loose trousers or midi skirt + top covering shoulders. Avoid sleeveless or crop tops. | Shorts acceptable but long trousers are more comfortable in tight alleyways. Cover shoulders for mosque areas. | Conservative |
| Fes medina | Most conservative of the imperial cities. Long trousers or skirt below the knee; cover shoulders. | Long trousers recommended. Many locals wear a djellaba — you will stand out less in modest clothing. | Most conservative |
| Casablanca | Much more relaxed. Jeans, regular tops, and bare arms are common in the Corniche, malls, and business districts. | Shorts and T-shirts are fine in most of the city. | Relaxed |
| Agadir beach | Bikinis on the beach and at hotel pools are entirely normal. Cover up walking into town. | Board shorts on the beach; cover up for the town promenade. | Beach resort |
| Chefchaouen | Relaxed compared to Fes but still respectful to cover shoulders. Many travellers wear loose linen trousers. | Shorts are fine here. The Blue City is accustomed to tourists. | Relaxed |
| Essaouira | Wind is the bigger issue than dress code. Light layers that cover shoulders work well. | Casual. The Atlantic breeze usually makes long trousers the comfortable choice anyway. | Relaxed coastal |
These are practical guidelines, not legal requirements. Morocco does not have a national dress law for tourists.

“A lightweight scarf weighs almost nothing and solves every edge case — mosque visits, cold desert nights, and Essaouira’s relentless wind.”
Most Moroccan mosques do not admit non-Muslim visitors at all, but the rules are useful to know for the exceptions — chiefly the Hassan II Mosque in Casablanca — and for respectful behaviour near mosque entrances and religious neighbourhoods anywhere.
Hassan II Mosque, Casablanca: The only mosque in Morocco with regular public tours for non-Muslim visitors. Guided tours run most days (not on Fridays), tickets from around 130 MAD / indicative. Dress code above applies strictly.
The goal is a compact kit that covers you from medina mornings to beach afternoons to a cold desert camp night, without checking a bag.
Two pairs of loose linen or cotton trousers
Cool, modest, and pack small
Lightweight long-sleeve shirt or overshirt
Layer over shoulders in the medina; remove at the beach
Midi skirt (women)
Cooler than trousers in summer heat; fully medina-appropriate
Thin cotton scarf / pashmina
Hair cover for mosques; sun protection; double as a shawl on cold desert nights
Shorts (men)
Fine in Casablanca, Agadir, Chefchaouen and hotel areas
Swimwear
Agadir and hotel pools — fine there, not on public streets
Comfortable closed shoes or sandals with backs
Medina cobblestones are uneven; flip-flops cause ankle problems
During Ramadan — which falls roughly 11 days earlier each year on the Gregorian calendar, typically somewhere between late February and late April through the mid-2020s — the expectation for modest dress sharpens, especially near mosques and in traditional neighbourhoods during daylight hours.
The concrete difference for tourists: stick to covered shoulders and below-the-knee clothing in the medinas throughout the month, not just on Friday. Agadir beach and modern hotel areas change very little. Evening after iftar (the sunset fast-breaking meal) is a time of celebration and the atmosphere opens up considerably — the souks are often busiest from 9 pm to midnight.
A private guided tour during Ramadan is particularly useful because a good local guide will steer you away from inadvertently walking into a religious gathering or neighbourhood event without knowing what it is — and will flag the moments when modest dress really matters versus when you can relax.
Shorts are fine in beach resorts like Agadir and in Casablanca’s modern neighbourhoods, but they attract unwanted attention in traditional medinas like Marrakech or Fes. The practical fix is simple: pack one pair of lightweight linen trousers. You can wear them over shorts when entering a medina and strip back down at the beach. Many female travellers find a midi skirt even cooler than shorts in 35°C heat because it allows airflow while remaining fully medina-appropriate.
No — head covering is not legally or socially required for tourist women on the street in Morocco. The exception is entering a mosque: you should carry a lightweight scarf and drape it over your hair before going inside. A thin pashmina takes up almost no luggage space and doubles as a sun cover and desert night layer, so it is worth packing regardless. In everyday city life, uncovered hair is completely normal for foreign women.
Men have considerably more flexibility than women in Morocco. In the Marrakech medina, a T-shirt and chino or linen trousers is the most practical combination — shorts work but narrow alleyways and sitting on woven rugs in shops can get uncomfortable. Long trousers are also cooler than they sound because loose cotton breathes well. For mosque visits (the courtyard of Koutoubia is the typical stop), shorts are technically fine outside but trousers are more respectful.
Yes, at Agadir beach and resort hotel pools. Agadir is a modern Atlantic beach resort where bikinis are completely normal and nobody bats an eye. The rule of thumb is simple: beach-appropriate at the beach, covered up the moment you step onto a public street or enter a shop. In Marrakech, rooftop pools and hotel pools are fine for swimwear. Public swimming at urban beaches in Casablanca or Tangier is more mixed — one-piece swimwear or a bikini with a wrap works best.
Long trousers or a skirt below the knee; covered shoulders; and a hair covering for women. Shoes come off at the entrance so slip-on footwear makes the process easier. Most mosques in Morocco are closed to non-Muslim visitors — the main exception is the Hassan II Mosque in Casablanca, which runs timed guided tours. Always check at the entrance; attempting to enter an active mosque uninvited is considered disrespectful regardless of what you are wearing.
During Ramadan (dates shift annually), dressing modestly is more important than at other times of year, particularly near mosques and in religious neighbourhoods. Eating, drinking, or smoking in public during daylight hours is culturally sensitive — and in some areas technically subject to local rules — so covering up and being discreet is appreciated. Evening after iftar (the fast-breaking meal) is more relaxed. As a baseline, stick to your usual medina-appropriate clothing and you will be fine throughout Ramadan.
Quite different. Casablanca is a modern commercial city where jeans, regular tops, bare arms and shorts are common in business districts, the Corniche promenade and shopping malls — similar to a southern European city. Marrakech’s old medina is far more traditional, and wandering through tight souk lanes in a sleeveless top will attract more hassle and discomfort. The gap narrows in Marrakech’s Gueliz district (the new town), which is considerably more relaxed than the medina.
Plan it with a local expert
Crafting extraordinary journeys through Morocco's timeless landscapes. 100% private journeys, handcrafted around you.
from $2,054Essential Morocco: Imperial Cities Circuit
from $5,978Sahara to Sea: Morocco Complete