Is Morocco safe for LGBTQ+ visitors?

The short answer

Same-sex sexual activity is illegal under Article 489 of the Penal Code — 6 months to 3 years. Actively enforced: 838 prosecutions between 2017 and 2020. Visitors who travel with discretion travel safely.

The law applies to everyone: Moroccan, foreign, men, women. Transgender individuals face further exposure under Article 283.

Discretion is essential, not optional. No public affection (which applies to all couples here). Caution with dating apps — a 2020 campaign used them to identify and out LGBTQ+ Moroccans. Tourist cities are more relaxed than smaller towns. International hotels and established riads welcome LGBTQ+ guests without question.

Justice Minister Ouahbi announced penal code reform in 2024, with indications toward decriminalising sex outside marriage in private — though no commitment on Article 489 itself.