While most mosques in Morocco are only accessible to Muslims, there are a few that you can visit as part of a tour at specific times of day. If you're interested in visiting a mosque, the dress code for women is to have your shoulders, knees, and torso covered.