Laws to know in Morocco: drugs, sex and sexuality, religion, the monarchy, photography and Western Sahara

Most visitors never meet the police except at a checkpoint. A few laws are much stricter than at home, though, and they apply to you. This page follows the UK, Canadian, Australian and French government advice, read on 24 November 2026.
Drugs
- Cannabis is illegal to buy, carry or use, however openly it's offered in the Rif. Licensed growing for medicine and industry, allowed since 2021, changes nothing for visitors.
- The UK describes zero tolerance, with long prison sentences and heavy fines, also for people in transit. France says even small amounts usually mean prison.
- Some dealers work with informers, or threaten to call the police unless paid. Walk away from the first offer.
- Never carry anything for another person, and don't leave bags unattended.
Sex and relationships
- Sex outside marriage is illegal for Moroccans and can mean a year in prison. The UK says the law on sharing a hotel room isn't generally applied to visiting foreigners. It is applied when one of a couple is Moroccan: hotels ask for a marriage certificate.
- Same-sex relations are illegal, with up to three years in prison. Showing affection in public can lead to prosecution. Many LGBT+ travellers visit without trouble by being discreet, but meeting people through apps carries legal risks and has been used for robbery and blackmail.
- Prostitution is illegal. Sexual offences against minors bring up to 30 years, and can be prosecuted in your own country as well.
- Pornography, in print or on a device, is illegal.
Religion
- It's illegal to try to convert a Muslim, or to hand out religious literature for that purpose: up to three years in prison.
- Criticising Islam in public, in print or online can mean up to two years.
- Muslims may not eat in public during Ramadan days. This can affect visitors of Moroccan or Muslim background who look as though it applies to them.
The king, the flag and the Sahara
- Insulting the king or royal family, the flag or the anthem is a crime.
- Western Sahara is a disputed territory, which the UN lists as non-self-governing, and Morocco treats as its own. Australia says there are restrictions on public comment, or on showing material, that disputes Morocco's claim. That includes some maps and T-shirts.
- Journalists and people meeting activists have been watched or expelled.

Things you carry
- Drones are banned without prior authorisation: see Arriving.
- Tear gas, pepper spray and knives carried as weapons are illegal.
- Passports may not be sent by post, and carrying somebody else's can cause trouble.
- Antiques and fossils: see Shopping.
- Damaging banknotes is an offence, and passing false ones brings prison.
Photography
Don't photograph military, police or other sensitive buildings, or their staff. It's an offence, and "I didn't know" won't help. See Manners for photographing people.
Alcohol and smoking
Drinking in the street is illegal: see Alcohol. Smoking bans in public buildings exist but are little enforced.
Identity checks
- Carry your passport, or a photocopy in town and the original where you'll meet checkpoints. Show it to uniformed police or gendarmes. A plain-clothes officer should have a card.
- Hotels send your details to the police.
If you're arrested
- Ask for your embassy or consulate to be told at once, and for a lawyer and an interpreter. Don't sign anything you can't read.
- Dual nationals: Morocco treats you as Moroccan, and your embassy may be able to do very little. Family law, including custody of children, follows Moroccan rules.
See also Safety.







Comments