License to love
It is prudent not to openly display affection to your partner, same-sex or of the opposite sex when in Morocco as they are very conservative when it comes to public displays of affection.
All Moroccan laws apply to foreigners, according to Article 10, even though tourists may be less likely to be implicated like the locals.
Adulterers face being jailed and it is illegal to have premarital sexual relations. Also, forget about having one-night stands with any Moroccan in a hotel because the owners are required by law to see a marriage license before giving any key out.