What the law says

Article 490 of the Moroccan penal code punishes sexual relations between a man and a woman who are not married with one month to one year in prison. As of our reading on 29 October 2026 we found no confirmed repeal: officials have talked about reform, but only the text published in the official bulletin counts, so check an official source before you leave.

The Foreign Office (page updated 19 August 2026) says sexual activity between unmarried people and adultery are illegal for Moroccan nationals, and that the rule on sharing a room "does not generally apply" to visiting foreign nationals, especially in popular tourist areas. It adds that dating apps may break these laws and advises against public displays of affection.

What travellers report in practice

These cases come from traveller accounts and the Moroccan press, not from an official text. Practice differs from one place to another.

Before you book

  • Pick a hotel or riad used to foreign guests (Gueliz, Hivernage, Palmeraie, the tourist medina): see where to stay in Marrakech.
  • Write to the property before booking and ask its policy for couples; keep the answer.
  • If one of you is Moroccan or a dual national, plan for the marriage certificate or two rooms.
  • Avoid public displays of affection and meeting people through dating apps.
  • Do not claim what you cannot prove: if you are asked for proof, it is better to change property.
  • If something goes wrong, contact your embassy or consulate. More practical cases in can you… in Marrakech? and for a stay as a pair in romantic Marrakech.

FAQ

Do two foreign tourists need a marriage certificate? Not as a general rule in tourist properties, according to the Foreign Office and travellers; some places may ask.

What if my partner is Moroccan? Plan for the marriage certificate or two rooms: this is the case where most refusals are reported.

Can you be arrested for sharing a room? The law exists, but we found no official source describing prosecutions of foreign tourists on this ground.

Read next

For other limits to know, see LGBT in Marrakech and is Marrakech safe?.

The Marrakech Authority editorial team, 29 October 2026.