in Morocco, the law requires a marriage certificate to allow a Moroccan couple to share the same hotel room or same apartment, including Moroccans with dual nationality. This law does not apply to other nationals.
Can a man and woman share a room in Morocco?
Can unmarried couples sleep together in Morocco? While it is not permitted for an unmarried Moroccan couple to share a room, as non-Moroccans you won't encounter any problems (unless the establishment itself chooses not to allow it). However, public shows of affection should be kept to a minimum.