WanderSafe — LGBTQ+ Travel Safety
Marrakech, Morocco
Marrakech is one of the world's most-visited destinations by LGBTQ+ European tourists — and one where same-sex relations are a criminal offense carrying up to 3 years in prison. Article 489 of Morocco's Penal Code criminalizes 'lewd or unnatural acts with a person of the same sex.' This creates a situation that requires honest accounting: hundreds of thousands of LGBTQ+ Europeans visit Morocco annually, most without incident, many staying in riads where a degree of privacy is maintained. Yet arrests do occur — including of tourists. The 2007 Ksar El Kebir case and subsequent arrests document that enforcement against foreign nationals is not theoretical. The legal risk is real and the protections are nonexistent. This guide exists because Marrakech is one of the most booked African and North African destinations by LGBTQ+ travelers, and many visit without understanding what the law says or what has happened to others.
Legal Status
Morocco's Penal Code Article 489 criminalizes 'lewd or unnatural acts with a person of the same sex' with penalties of 6 months to 3 years imprisonment and fines. There are no anti-discrimination protections, no recognition of same-sex relationships, and no legal gender recognition pathway. Arrests of both Moroccan nationals and foreign tourists have been documented.
Emergency Contacts
19
15
+212-537-633-333
· rainbowrailroad.org
+212-524-447-999
Identity-Specific Guidance
Trans Women
High risk. No legal recognition, no protection, and gender nonconformity is criminalized.
Trans women face compounding risks in Morocco: Article 489 covering same-sex acts, public 'indecency' laws covering gender-nonconforming expression, and no legal recognition of any kind. Trans Moroccan women face severe documented violence. For trans tourists, visible gender nonconformity in public — particularly in the Medina or traditional neighborhoods — creates real risk of harassment and police attention. The riad environment is somewhat more protected but provides no legal safety. Travel is strongly discouraged for trans women. If travel is unavoidable, contact Rainbow Railroad (rainbowrailroad.org) for current risk assessment before booking.
Trans Men
Same legal risks; different practical visibility profile.
Trans men face the same legal framework as trans women in Morocco — no recognition, potential criminalization, no protection. The practical risk may differ based on presentation and visibility. The absence of legal protection is total. Travel is strongly discouraged unless unavoidable.
Gay Men
Criminalized with up to 3 years imprisonment. The riad bubble is practical but not legal protection.
Gay male relations are criminalized under Article 489. The riad tourist economy has created a de facto LGBTQ+-tolerant accommodation sector, but tolerance from a riad owner is not legal protection. Apps are used but risky. Public affection of any kind is inadvisable. Know your consulate number. If you go: extreme discretion in all public-facing interactions, stay in LGBTQ+-familiar accommodation, and keep intimate activity completely private.
Lesbian & Bi Women
Criminalized equally under Article 489; enforcement patterns differ but legal exposure is identical.
The Article 489 prohibition applies without gender distinction. Enforcement against women tourists is less documented than against men, but the law provides no protection. Lesbian women in Marrakech face the same legal exposure as gay men. The same harm reduction applies: complete discretion, no public affection, LGBTQ+-familiar accommodation.
Nonbinary Travelers
Zero legal recognition; gender-nonconforming expression creates significant risk in public.
Morocco has no legal recognition for nonbinary identity. Gender-nonconforming expression in public, particularly in traditional neighborhoods and the Medina, creates real risk of harassment and police attention. The legal and social framework provides no protection. Travel is strongly discouraged for visibly nonbinary or gender-nonconforming travelers.