Is Morocco a Muslim country? Islam, the call to prayer and mosques: what visitors should know
Yes, and a relaxed one for visitors. What Islam means for your trip: the call to prayer, Friday, Ramadan, the laws to know and the few mosques you can enter.
By Ismail9 min read
Yes, Morocco is a Muslim country. More than 99 % of Moroccans are Sunni Muslims of the Maliki school, and the Constitution makes Islam the religion of the State while guaranteeing everyone the free exercise of worship. For a visitor, that means a relaxed but conservative country: nobody expects you to pray, fast or cover your hair, only to show respect.
Islam does set the rhythm of the day, though, and one rule surprises many first-time visitors: most mosques are closed to non-Muslims. Here is what to expect, from the dawn call to prayer to the handful of religious sites you can enter.
How strict is Morocco for visitors?
Less strict than many people expect. Licensed hotels, riads, bars and restaurants serve alcohol. Moroccan women dress in every style from jeans to the djellaba, some with a headscarf and many without, and no rule tells a visitor what to wear: loose clothes that cover shoulders and knees are simply the comfortable, respectful choice. Women travel here alone, with friends or with family, and Morocco welcomes visitors of every faith and of none.
Religion is part of the State. Article 41 of the 2011 Constitution makes the King Amir al-Mouminine, the Commander of the Faithful, who sees to the respect of Islam, and the Ministry of Habous and Islamic Affairs oversees the mosques, down to the content of the Friday sermons.
A few laws apply to visitors as much as to Moroccans. According to the UK government's travel advice:
- trying to convert a Muslim to another faith, or handing out evangelical literature, can mean fines or up to three years in prison;
- criticising Islam in public, in speech, in print or online, can mean heavy fines and up to two years in prison;
- drinking alcohol in the street, or anywhere other than a licensed bar or restaurant, is illegal and can lead to arrest.
During Ramadan, eating, drinking or smoking in public by day can also cause offence. The other practical basics, from money to drones, are in our things to know before visiting Morocco.
Moroccan Islam also has a strong Sufi side. The official religious model is usually summed up as Maliki law, Ash'ari theology and the Sufism of al-Junayd, and Sufi brotherhoods, saints' tombs and zaouias (religious lodges, often built around a saint's tomb) are still part of religious life. Many towns honour their saint once a year with a moussem, a pilgrimage with a festival around it.
The call to prayer
Five times a day, the adhan, the call to prayer, rings out from the minarets. The times follow the sun, so they shift a little every day, and the Ministry of Habous and Islamic Affairs publishes the official timetable for each city. In Marrakech, that gives roughly:
| Prayer | When | Late June | Late December |
|---|---|---|---|
| Fajr | dawn, well before sunrise | about 3:40 | about 6:00 |
| Dhuhr | just after midday | about 12:40 | about 12:40 |
| Asr | afternoon | about 16:15 | about 15:20 |
| Maghrib | just after sunset | about 19:45 | about 17:40 |
| Isha | nightfall | about 21:15 | about 19:00 |
Since 20 September 2026, Morocco has stayed on GMT all year round, with no summer time and no clock change for Ramadan. That is why the dawn call comes so early in summer: before 4 a.m. in Marrakech from mid-May to late July.
The words are the same across the Muslim world. The muezzin begins with Allahu akbar, "God is the greatest", bears witness that there is no god but God and that Muhammad is the messenger of God, then calls "come to prayer, come to success". At dawn he adds "prayer is better than sleep". In Morocco, following Maliki custom, the opening Allahu akbar is said twice rather than four times.
In the medina, mosques stand a few lanes apart, so the calls overlap and echo for several minutes. If you sleep lightly, pack earplugs and ask for a room on the far side of the riad from the nearest minaret; our guide to where to stay in Marrakech compares the quieter neighbourhoods. You will also hear the call in Atlas villages and in the oases on the way to the desert, where it carries a long way in the silence.
Friday
Friday is the day of the main weekly prayer, jumu'a, held at midday with a sermon. In Marrakech it begins with the midday prayer time, between about 12:20 and 12:50 depending on the season. The big mosques overflow and men pray on mats laid in the street outside. Walk around the rows, never across them or in front of someone praying, and keep your camera down.
Some shops in the souks close for an hour or two around the prayer, and in small towns some stay shut for the afternoon, so do your shopping in the morning. Otherwise Friday is a normal working day: offices, banks and schools take their weekend on Saturday and Sunday. After the prayer, many families sit down to a couscous, which is why restaurants often serve it on Fridays.
Ramadan in two lines
Ramadan 1448 is expected to begin around 8 February 2027 and to end with Eid al-Fitr around 10 March, depending on the sighting of the new moon, which the Ministry of Habous announces the evening before. Visitors are not expected to fast, only to avoid eating, drinking and smoking in the street by day: what changes for your trip is in visiting Morocco during Ramadan, and the customs, from the pre-dawn meal to Eid, are in Ramadan traditions in Morocco.
Can non-Muslims enter mosques in Morocco?
No, with very few exceptions. Mosques in use in Morocco are open to Muslims only, unlike in Turkey or Egypt, where visitors walk into the great mosques between prayers. A sign at the entrance, often in Arabic only, says so, and a doorkeeper or a worshipper will politely stop you if you try. Mosques also close shortly after each prayer, so an open door means worshippers are coming or going.
The rule is usually traced to the French protectorate. According to the historian Pierre Vermeren, Marshal Lyautey, Resident-General from 1912 to 1925, wanted Moroccan institutions respected and mosques and sanctuaries closed to Europeans, and the practice outlived the protectorate. The idea of opening mosques to visitors comes up from time to time, in parliament in 2019 for example, but the rule has not changed.
Not sure whether a building is a mosque? A minaret, or a row of shoes just inside the door, is the sign to stay outside.
The mosques and religious sites you can visit
- Hassan II Mosque, Casablanca. The great exception, and one of the largest mosques in the world: non-Muslims visit on guided tours, several times a day outside prayer times. Times, tickets and tips are in our article is Casablanca worth visiting?, and our 9-day tour from Casablanca begins with it.
- Tinmel Mosque, High Atlas. This 12th-century Almohad mosque was no longer used for prayer and was one of the few in Morocco open to non-Muslims, until the earthquake of September 2023 destroyed much of it. It is being rebuilt with its original materials and no reopening date has been announced: see the High Atlas after the earthquake.
- Mausoleum of Mohammed V, Rabat. The tomb of King Mohammed V and King Hassan II faces the Hassan Tower and is open to all visitors, free of charge: you look down on the tombs from a gallery, with royal guards at the doors.
- Mausoleum of Moulay Ismail, Meknes. Non-Muslims have traditionally been allowed into the courtyards and to look into the tomb chamber of the sultan who made Meknes his capital. It closed for a long restoration from 2016, and we could not confirm an official reopening: ask locally before you go.
- Medersas. These former colleges of religious learning are now monuments open to everyone: Ben Youssef in Marrakech, Bou Inania and Al-Attarine in Fes. At Bou Inania, the prayer hall stays reserved for worshippers. How to read their tiles, carved plaster and cedar is explained in our guide to Ben Youssef and the medersas of Fes.
- Saadian Tombs, Marrakech. The 16th-century royal necropolis lies right beside the Kasbah Mosque, whose minaret is on our cover photo, and is open to visitors. Our private guided tour of Marrakech stops there, and in the Koutoubia gardens.
- Spanish Mosque, Chefchaouen. Built by the Spanish in the 1920s on the hill east of the town and now disused, it is a viewpoint rather than a visit: people walk up for the sunset over the blue medina. The building itself is usually closed.
Seeing the great mosques from outside
The Koutoubia, Marrakech. Its 12th-century minaret, about 77 metres tall, is the landmark of the city and can be seen from Jemaa el-Fna. Walk through the gardens and onto the esplanade beside the mosque: excavations begun in 1923 uncovered the foundations of the first Koutoubia mosque, and you can still make out the outline of its walls and mihrab next to the present building.
The Qarawiyyin, Fes. Founded in the 9th century, by tradition in 859 by Fatima al-Fihri, it is one of the oldest centres of learning in the world. Its doors open straight onto the lanes of the medina: when one stands open, you may look in at the courtyard and its fountains from the threshold, without stepping inside. Our guide to things to do in Fes shows how to fit it into a walk.
Shrines and zaouias are closed to non-Muslims as well. In Moulay Idriss Zerhoun, the hill town next to Volubilis, the mausoleum of Moulay Idriss I is reserved for Muslims, and until 2005 non-Muslims could not even stay overnight in the town. In Marrakech, the sanctuary of Sidi Bel Abbès, the city's patron saint, is for Muslims only, though you can see the outer courtyard and the neighbourhood around it.
How to behave around mosques
- Dress modestly near religious sites, shoulders and knees covered, and follow the rules of those you can enter: the details are in our Hassan II Mosque dress code guide.
- Keep your voice down near mosques, especially at prayer time.
- Photograph buildings, not worshippers: a minaret from the street is fine, people at prayer are not.
- Never step on a prayer mat, and don't walk directly in front of someone who is praying.
- Take your shoes off inside the Hassan II Mosque: you carry them in a bag handed out at the entrance.
- Don't slip inside a mosque because the door is open and nobody seems to be looking.
Greetings, hospitality and the rest of daily life are covered in our guide to Morocco etiquette.
Other faiths in Morocco
Jews have lived in Morocco for many centuries, and the 2011 Constitution names the Hebraic heritage among the influences that enrich Moroccan identity. The community is small today, but synagogues, mellahs (the old Jewish quarters) and cemeteries can be visited in Marrakech, Fes, Essaouira and Casablanca: see Jewish heritage in Morocco.
Christian churches serve foreign residents in the big cities, and visitors attend services freely. In Marrakech, the Catholic Church of the Holy Martyrs (Église des Saints-Martyrs) in Gueliz, consecrated in 1929, is still served by Franciscan priests; check the Mass times locally.
FAQ
Will the call to prayer wake me up?
If your room is close to a mosque, the dawn call may, especially in summer, when it comes before 4 a.m. Earplugs and a room away from the nearest minaret help a lot, and the other four calls fall during the day and the evening.
Can women visit the Hassan II Mosque?
Yes. Women and men join the same guided tours, with shoulders and knees covered. A light scarf in your bag removes any doubt about covering your hair.
Can I go inside the Koutoubia?
No. The Koutoubia is a working mosque, open to Muslims only. You can walk around it, through its gardens and past the remains of the first mosque, and admire the minaret from Jemaa el-Fna.
Can I visit Morocco during Ramadan if I'm not Muslim?
Yes. Hotels and riads keep serving their guests, sights stay open, often with shorter hours, and the evenings are lively. Just be discreet about eating, drinking and smoking in public during the day.
Have a question about a mosque, a moussem or the prayer times on your travel dates? Ask us on WhatsApp: our team in Marrakech will gladly answer.

