Is Morocco a Muslim Country? A Simple Guide for Travelers

It is one of the first questions people ask before booking a trip: Is Morocco a Muslim country? The short answer is yes. Islam is the official religion of the state, and almost all Moroccans are Muslim. But the full answer is more interesting, and it matters for your trip.
Morocco is a Muslim country that welcomes millions of visitors of all faiths every year. It also has a long history of Jewish life, old churches, Amazigh (Berber) traditions and a very relaxed attitude towards tourists. We cover everything: what religion means in daily life, what the law says, which mosques you can visit, Ramadan, alcohol, dress code, and the simple etiquette that will make your trip smooth and respectful.
Is Morocco a Muslim Country? Quick Answer
| Question | Answer |
|---|---|
| Is Morocco a Muslim country? | Yes, Islam is the religion of the state |
| Share of Muslims | About 99% of Moroccans |
| Type of Islam | Sunni Islam, Maliki school |
| Head of religious affairs | The King, as “Commander of the Faithful” |
| Other faiths | A small Jewish community and foreign Christians |
| Can tourists of any religion visit? | Yes, everyone is welcome |
| Mosques open to non-Muslims | Hassan II Mosque in Casablanca (guided tour) |
| Is alcohol available? | Yes, in licensed hotels, bars, restaurants and some supermarkets |
| Weekend | Saturday and Sunday (Friday is the main prayer day) |
A Short History of Islam in Morocco
Islam arrived in Morocco in the late 7th century with Arab armies coming from the east. Over the next centuries, most of the Amazigh population became Muslim, and Islam slowly shaped the language, the cities and the culture of the country. Here are the big moments:
| Period | Dynasty | What they left for travelers |
|---|---|---|
| Late 8th to 10th century | Idrisids | Founded Fes, the first great Islamic city of Morocco; Moulay Idriss is buried in Zerhoun |
| 11th century | Almoravids | Founded Marrakech and spread Maliki Islam across the region |
| 12th century | Almohads | Built the Koutoubia in Marrakech, Hassan Tower in Rabat and Tin Mal Mosque |
| 13th to 15th century | Marinids | Built the beautiful madrasas of Fes, like Bou Inania and Al-Attarine |
| 16th century | Saadians | Left the Saadian Tombs in Marrakech |
| 17th century to today | Alaouites | The current royal family, with roots in the Tafilalt near the Sahara |
When you visit Morocco, you are walking through this history. A day in Fes or Marrakech is like opening a book of more than 1,000 years of Islamic art and learning. The Qarawiyyin in Fes, founded in the 9th century by a woman named Fatima al-Fihri, is often called the oldest existing university in the world.
What the Moroccan Constitution Says About Religion
The Moroccan constitution says that Morocco is a sovereign Muslim state and that Islam is the religion of the state. At the same time, it says the state guarantees everyone the freedom to practice their religious affairs.
The constitution also recognizes the Hebrew (Jewish) heritage as one of the parts of Moroccan identity, together with Arab-Islamic, Amazigh, Saharan-Hassani, African, Andalusian and Mediterranean influences. This mix explains why Morocco feels both deeply Muslim and very open at the same time.
So, is Morocco an Islamic state like some countries in the Middle East? Not exactly. Morocco is a constitutional monarchy with a parliament, elections and modern civil laws. Islam guides some areas, especially family law, but daily life for visitors feels much more relaxed than many people expect.
The King as “Commander of the Faithful”
In Morocco, the King has a special religious title: Amir al-Mu’minin, which means “Commander of the Faithful.” This makes him the highest religious authority in the country. The royal family belongs to the Alaouite dynasty, which traces its roots back to the Prophet Muhammad.
In practice, this means the state organizes religious life: training imams, managing mosques and promoting a moderate form of Islam. Morocco even trains imams from other African and European countries in Rabat. For travelers, the result is simple: religion in Morocco is calm, traditional and tolerant.
What Kind of Islam Is Practiced in Morocco?
Moroccan Islam has three main pillars that people often describe together:
- The Maliki school of law: one of the four schools of Sunni Islam, known for respecting local customs and community traditions.
- The Ash’ari creed: a moderate way of understanding faith and theology.
- Sufism: a spiritual and mystical side of Islam, with music, poetry and zawiyas (Sufi lodges).
Sufism is a big part of Moroccan culture. You may hear Sufi music in the medinas, and many towns have shrines of saints called “marabouts.” The famous Gnaoua music, which you can hear in Essaouira and Marrakech, also has spiritual roots. In the south and in the desert, you will see small white-domed shrines near villages and oases.
How Islam Shapes Daily Life in Morocco
The Call to Prayer
Five times a day, you will hear the adhan, the call to prayer, from the minarets. The first one is at dawn, before sunrise, and the last one is at night. In the medinas of Fes and Marrakech, dozens of mosques call at almost the same time. It is one of the finest sounds of a Moroccan trip. If you stay in a riad near a mosque, bring earplugs if you are a light sleeper.
Friday, the Holy Day
Friday is the most important prayer day. Around midday, many men go to the mosque for the Friday prayer, and some shops close for a few hours. In the afternoon, many families eat couscous, the traditional Friday meal. The official weekend, however, is Saturday and Sunday, like in Europe.
Greetings and Everyday Words
Religion is present in everyday language. You will hear these words many times:
| Word | Meaning | When people say it |
|---|---|---|
| Salam alaykum | Peace be upon you | The standard greeting |
| Bismillah | In the name of God | Before eating or starting something |
| Inshallah | If God wills | When talking about the future |
| Hamdoulillah | Thank God | When things are good |
| Mashallah | What God has willed | To compliment something lovely |
| Baraka | Blessing | Good luck, good fortune |
Tip: Saying “Salam alaykum” when you enter a shop or meet your driver always brings a smile. The answer is “Wa alaykum salam.”
Can Non-Muslims Enter Mosques in Morocco?
This surprises many travelers. In Morocco, most active mosques are closed to non-Muslims. This is a local tradition that goes back to the colonial period. Please respect it, even if the door is open.
But there are great exceptions:
| Place | City | Details |
|---|---|---|
| Hassan II Mosque | Casablanca | Open to non-Muslims with a guided tour, about 130 MAD for foreign adults |
| Ben Youssef Madrasa | Marrakech | Old Islamic school, open to all visitors |
| Bou Inania Madrasa | Fes | Pretty old school with carved cedar and zellige |
| Al-Attarine Madrasa | Fes | Small madrasa next to the Qarawiyyin area |
| Tin Mal Mosque | High Atlas | Historic mosque in the mountains |
| Mausoleum of Mohammed V | Rabat | Royal mausoleum open to visitors |
Why Are Most Mosques Closed to Non-Muslims?
Many travelers wonder why Morocco is different from Turkey or Egypt, where visitors can enter many mosques. The most common explanation goes back to the French protectorate in the early 20th century. To protect religious places and calm tensions, the authorities kept mosques for worshipers only, and the custom stayed after independence. Today, it is simply a local tradition. It is not a sign that visitors are unwelcome: Moroccans are usually very happy to explain their faith and their mosques to curious travelers. If you want to see a Moroccan mosque from inside, plan a stop in Casablanca for the Hassan II Mosque, or visit the old madrasas of Fes and Marrakech, which show the same art and craftsmanship.
Visiting the Hassan II Mosque
The Hassan II Mosque in Casablanca is the highlight for most visitors. It stands on the edge of the Atlantic Ocean and has one of the tallest minarets in the world, about 210 meters high. Non-Muslims can only enter with a guided tour, which shows the prayer hall, the ablution hall and the hammam. Tours run several times a day, except during prayer times. Arrive early, dress modestly (shoulders and knees covered), and be ready to take off your shoes.
Watching Mosques From Outside
You can still enjoy the beauty of other mosques from outside. The Koutoubia minaret in Marrakech is a must-see, especially at sunset. In Fes, you can look through the doors of the Qarawiyyin, one of the oldest universities in the world, from the street. Just do not step inside, and avoid taking photos of people praying.
Amazigh Traditions and Islam in Morocco
Before Islam arrived in the 7th century, Morocco was the land of the Amazigh people, often called Berbers. Today, most Amazigh are Muslim, but they kept many of their old customs, language and festivals. This mix gives Moroccan Islam its own special character.
In the Atlas Mountains and the south, you will see how faith and local traditions live together. Villages often have a small mosque, a Quran school and a shrine of a local saint. Some regions celebrate a moussem, a yearly festival around a saint’s tomb, with prayers, music, markets and sometimes horse shows called fantasia. The famous Imilchil marriage festival in the High Atlas is one example of this mix of tradition and celebration.
In the desert near Merzouga, the Gnaoua families of Khamlia keep a musical and spiritual tradition with roots in sub-Saharan Africa. Many of our travelers stop there to listen to their drums and songs. It is a great way to understand how rich and diverse religious culture is in Morocco.
Best Religious and Spiritual Sites to Visit by City
- Casablanca: Hassan II Mosque, Museum of Moroccan Judaism, Sacred Heart Cathedral.
- Rabat: Hassan Tower, Mausoleum of Mohammed V, the Kasbah of the Udayas.
- Fes: Bou Inania Madrasa, Al-Attarine Madrasa, the Mellah and the Qarawiyyin from outside.
- Marrakech: Koutoubia (from outside), Ben Youssef Madrasa, Lazama Synagogue in the Mellah.
- Meknes and Moulay Idriss: the holy town of Moulay Idriss Zerhoun, next to the Roman ruins of Volubilis.
- Merzouga region: the Gnaoua village of Khamlia and the Alaouite heritage of Rissani.
Tip: Moulay Idriss Zerhoun is one of the holiest towns in Morocco. Visitors can walk the streets and enjoy the views, but the shrine itself is reserved for Muslims.
Jewish Heritage in Morocco
Morocco is a Muslim country, but it also has one of the oldest Jewish histories in the world. Jewish communities lived here for more than 2,000 years. In the past, there were hundreds of thousands of Moroccan Jews. Most emigrated in the 20th century, but a small community remains, mainly in Casablanca.
Many old cities still have a mellah, the historic Jewish quarter. You can visit:
- The Museum of Moroccan Judaism in Casablanca, the only Jewish museum in the Arab world.
- The Mellah of Marrakech, with the Lazama Synagogue and a large old cemetery.
- The Mellah of Fes, one of the oldest in Morocco, with its typical wooden balconies.
- Bayt Dakira in Essaouira, a house of memory about the city’s Jewish past.
Moroccan Jewish heritage is officially protected, and many synagogues and cemeteries have been restored in recent years. It is a fine example of the country’s mixed history.
Christians and Churches in Morocco
Christianity has a long history in Morocco too, going back to Roman times. Today, most Christians in Morocco are foreigners: Europeans, diplomats, students and migrants from other African countries. Churches are open in big cities like Casablanca, Rabat, Marrakech, Tangier and Fes, and foreigners can attend services freely.
Famous churches to see include the Sacred Heart Cathedral in Casablanca (now a cultural space with Art Deco style) and St. Andrew’s Church in Tangier, with its unique mix of English and Moroccan architecture. One important rule: trying to convert Muslims to another religion is against the law in Morocco, so avoid religious preaching during your trip.
Ramadan in Morocco: What Travelers Need to Know
Ramadan is the holy month of fasting. During this month, Muslims do not eat, drink or smoke from sunrise to sunset. The dates move about 11 days earlier every year, because the Islamic calendar follows the moon. Always check the dates before you plan your trip.
Can Tourists Travel During Ramadan?
Yes, and it can be a special experience. Hotels, riads and tourist restaurants keep serving food to visitors. Our tours run normally. But some things change:
- Many local cafés and small restaurants are closed during the day.
- Opening hours of shops, museums and offices are shorter.
- The streets are quiet in the afternoon and very lively after sunset.
- The clocks in Morocco go back one hour during Ramadan.
- Alcohol sales are more limited in many places.
The Charm of Iftar
At sunset, the call to prayer announces iftar, the meal that breaks the fast. Families break their fast with dates, milk, harira soup, chebakia sweets and eggs. If a Moroccan family invites you to share iftar, say yes: it is one of the warmest moments of Moroccan hospitality.
Tip: During Ramadan, try not to eat, drink or smoke in the street during the day. It is not forbidden for tourists, but it is a kind gesture of respect.
Islamic Holidays in Morocco
| Holiday | What happens | Travel impact |
|---|---|---|
| Ramadan | A month of fasting | Shorter hours, lively nights |
| Eid al-Fitr | End of Ramadan, 1 to 2 days | Shops close, families travel |
| Eid al-Adha | Festival of the Sacrifice, 2 days | Many businesses close, busy roads and buses |
| Islamic New Year | First day of the Islamic year | Public holiday |
| Mawlid (Eid al-Mawlid) | Birthday of the Prophet | Public holiday, celebrations in zawiyas |
Tip: Around Eid al-Adha, transport is very busy because many Moroccans travel to their families. Book your buses, trains and drivers early.
Islamic Architecture in Morocco: What to Look For
Even if you cannot enter most mosques, you will see Islamic art everywhere: in madrasas, palaces, riads and fountains. Islamic art avoids pictures of people and animals in religious places, so artists created remarkable patterns instead. Here is what to look for:
- Zellige: small pieces of colored tiles cut by hand and arranged in geometric stars and shapes.
- Carved plaster (gebs): white walls carved like lace, often with Arabic calligraphy.
- Cedar wood: carved ceilings and doors made from cedar trees of the Middle Atlas.
- Square minarets: unlike the round minarets of the Middle East, Moroccan minarets are square towers.
- Green roof tiles: green is a color linked to Islam, often used on mosques and shrines.
- Horseshoe arches: a typical shape of Moroccan and Andalusian buildings.
- Fountains: water for washing before prayer, and a symbol of purity and paradise.
Tip: In the Ben Youssef Madrasa or Bou Inania, look closely at the calligraphy on the walls. Many lines are verses from the Quran or poems, and your guide can explain what they say.
A Day in Morocco Through the Five Prayers
The five daily prayers give a rhythm to the day. The exact times change with the sun and the seasons, but here is what you will notice:
| Prayer | Time of day | What you will notice |
|---|---|---|
| Fajr | Dawn, before sunrise | The first call wakes the medina; bakeries start to fire their ovens |
| Dhuhr | Midday | On Fridays, mosques fill with men for the main weekly prayer |
| Asr | Afternoon | Souks come back to life after the hot hours |
| Maghrib | Sunset | During Ramadan, this is iftar time and the streets go quiet for a moment |
| Isha | Night | Families go out, cafés fill up, and squares like Jemaa el-Fnaa are at their busiest |
Shops do not usually close for every prayer, so you can keep shopping and visiting. Some shop owners may step out for a few minutes and come back.
Food and Faith: Halal Food in Morocco
Because Morocco is a Muslim country, almost all the meat you eat is halal, which means it is prepared according to Islamic rules. Pork is very rare and you will usually only find it in a few international supermarkets or restaurants. Chicken, lamb, beef, camel and fish are the main meats.
Food is also full of small religious customs:
- People say “Bismillah” before eating.
- Bread is considered a blessing. Moroccans never throw it away carelessly, and you may see people put old bread aside instead of in the trash.
- People eat with the right hand, often using bread as a spoon.
- Sharing is very important: in a family, everyone eats from the same tagine plate.
- For Eid al-Adha, families prepare a sheep and share the meat with relatives and people in need.
Good news for vegetarians: Moroccan cuisine has many vegetable tagines, salads, lentils, bissara soup and couscous with seven vegetables. Just ask for “bla l7em” (without meat).
Traveling to Morocco as a Muslim Visitor
For Muslim travelers, Morocco is one of the easiest countries to visit. You will find a mosque in every neighborhood, even in small villages and desert towns. Halal food is everywhere, and hotels and riads understand prayer needs. Many visitors love praying in historic places like Moulay Idriss Zerhoun or attending the Friday prayer in a medina mosque.
- Use a prayer time app, because times change every day.
- Ask your driver to stop for prayer during long road trips: they are used to it.
- During Ramadan, many riads prepare a special iftar and suhoor for guests.
- The Hassan II Mosque is open for prayers to Muslims like any mosque, outside the tour times.
Is Alcohol Allowed in Morocco?
Yes. Islam forbids alcohol for Muslims, but in Morocco alcohol is legal and available for visitors in licensed places. You can find beer, wine and cocktails in many hotels, bars, restaurants and some big supermarkets. Morocco even produces its own wine, mainly around Meknes, and its own beer, like Casablanca and Flag.
But remember a few simple rules:
- Do not drink alcohol in the street or in public places.
- Many riads and restaurants in the medina do not serve alcohol. Ask before you book if it matters to you.
- Never drink near a mosque.
- In the desert camps, alcohol is usually not served, but some camps allow you to bring your own. Ask your tour operator first.
What to Wear in a Muslim Country Like Morocco
There is no official dress code for tourists in Morocco, and women do not need to cover their hair. But modest clothes will help you feel more comfortable and respected, especially in the medinas, villages and the countryside.
| Place | For women | For men |
|---|---|---|
| Medinas and souks | Cover shoulders and knees, loose clothes | T-shirt and long shorts or trousers |
| Villages and mountains | Long skirts or trousers, light scarf | Avoid going shirtless |
| Hassan II Mosque | Cover arms, legs and hair | Cover shoulders and knees |
| Beach resorts and pools | Swimwear is fine | Swimwear is fine |
| Desert | Light, long and loose clothes, scarf for sun and sand | Long and loose clothes, scarf or chech |
Tip: A light scarf is the most useful item in your bag. It protects you from the sun, the desert sand and the cold, and you can cover your shoulders when needed.
Simple Etiquette Tips for Visitors
- Use your right hand to eat, give and receive things.
- Avoid public displays of affection like kissing in the street. Holding hands is usually fine.
- Ask before taking photos of people, especially women and elders.
- Do not walk in front of someone praying, and keep your voice low near mosques.
- Respect religious symbols, including the Quran and prayer mats.
- Accept mint tea when offered: it is a sign of welcome.
- Avoid debates about religion or politics with people you just met.
Common Myths About Morocco and Islam
| Myth | Fact |
|---|---|
| Women must wear a headscarf | No, many Moroccan women do not, and tourists never have to |
| You cannot drink alcohol | Alcohol is available in licensed places |
| Morocco is not safe for non-Muslims | Morocco welcomes millions of visitors of all religions every year |
| All mosques are open to visitors | Most are closed to non-Muslims, except Hassan II Mosque |
| Everything closes during Ramadan | Hotels, tours and tourist restaurants keep working |
| The weekend is Friday | The official weekend is Saturday and Sunday |
12 Essential Facts About Religion in Morocco
- Islam is the official religion of the state.
- About 99% of Moroccans are Muslim.
- Most follow Sunni Islam and the Maliki school.
- The King is the Commander of the Faithful.
- The constitution guarantees the freedom to practice religious affairs.
- Jewish heritage is part of Moroccan identity in the constitution.
- Sufism and saints’ shrines are part of local culture.
- Most mosques are closed to non-Muslims.
- The Hassan II Mosque is open with a guided tour.
- Alcohol is legal in licensed places.
- Ramadan dates change every year.
- Trying to convert Muslims is against the law.
Quick Cheat Sheet: Is Morocco a Muslim Country?
- Yes, Islam is the state religion
- About 99% Muslim, Sunni Maliki
- Everyone is welcome, whatever their faith
- Visit the Hassan II Mosque with a guided tour
- Explore the mellahs for Jewish heritage
- Dress modestly in medinas and villages
- Check Ramadan and Eid dates before you travel
- Say “Salam alaykum” to start any conversation
Frequently Asked Questions About Morocco and Islam
Is Morocco a Muslim country?
Yes. Islam is the religion of the state, and about 99% of Moroccans are Muslim.
Is Morocco an Islamic state?
Morocco is a constitutional monarchy where Islam is the state religion. It has a parliament and modern civil laws, and Islam mainly guides family law.
What type of Islam is practiced in Morocco?
Sunni Islam, following the Maliki school, the Ash’ari creed and a strong Sufi tradition.
Can non-Muslims visit Morocco?
Yes, of course. Millions of visitors of all religions travel to Morocco every year.
Can non-Muslims enter mosques in Morocco?
Most mosques are closed to non-Muslims. The Hassan II Mosque in Casablanca is open with a guided tour, and old madrasas are open to all.
Do women have to cover their hair in Morocco?
No. Tourists do not need to cover their hair, except inside the Hassan II Mosque. Modest clothes are recommended in medinas and villages.
Can I drink alcohol in Morocco?
Yes, in licensed hotels, bars, restaurants and some supermarkets. Avoid drinking in public places.
Is it a good idea to visit Morocco during Ramadan?
Yes. Tourist services work normally, and the evenings are very lively. Just expect shorter opening hours during the day.
Are there Jews in Morocco?
Yes. A small Jewish community still lives in Morocco, mainly in Casablanca, and Jewish heritage sites are protected.
Are there churches in Morocco?
Yes, in the big cities. Foreigners can attend services freely.
What is the weekend in Morocco?
Saturday and Sunday. Friday is the main prayer day, but it is a working day.
When did Islam come to Morocco?
Islam arrived in the late 7th century, and the first Islamic Moroccan state was founded by the Idrisids in the late 8th century.
Is all food halal in Morocco?
Almost all meat in Morocco is halal. Pork is very rare and only sold in a few international shops and restaurants.
Do shops close at prayer time in Morocco?
Usually not. Some owners step out for a few minutes, and on Friday around midday some shops close for a short time.
Is Morocco a good destination for Muslim travelers?
Yes. There are mosques everywhere, halal food in every restaurant, and drivers and hotels understand prayer needs.
Related reading: Can I Kiss My Wife in Public in Morocco? · Alcohol in Morocco · Prince Moulay Hassan
Final Thoughts
So, is Morocco a Muslim country? Yes, and you will feel it in the call to prayer, the Friday couscous, the greetings and the beautiful minarets. But Morocco is also a country of welcome, where Muslims, Jews and visitors from all over the world have met for centuries. Dress modestly, learn a few words, respect local traditions, and you will discover one of the most hospitable countries in the world.
Planning your trip and not sure about Ramadan dates, dress code or which places you can visit? Contact us and our local team will answer all your questions and plan a trip that fits you.
Explore our Morocco trips:
Tours from Marrakech: Hear the call to prayer from the Koutoubia, visit the Ben Youssef Madrasa, then cross the Atlas to the desert, passing villages with white saints’ shrines along the way.
Morocco Desert Tours: In the Sahara, faith and nature meet: watch the sunrise over the dunes, share mint tea with nomad families and discover how desert people live with traditions passed down for generations.
Tours from Fes: Start in the spiritual capital of Morocco, home of the Qarawiyyin and the old Jewish mellah, then travel through the Middle Atlas to the golden dunes of Merzouga.
Tours from Ouarzazate: Explore kasbahs, ksour and oases where Amazigh and Islamic traditions live side by side, then continue to the Dades and Todra gorges and the Sahara.
Tours from Tangier: A city where cultures and religions have met for centuries. Start here, then continue to blue Chefchaouen, Fes and the desert with a local driver.
Tours from Casablanca: Begin with a guided visit of the Hassan II Mosque and the Museum of Moroccan Judaism, then let us plan your route to Rabat, Fes, Marrakech and the Sahara.
Contact us

Your Local Experts
Our Moroccan team organizes private tours from every major city in Morocco: Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir, Ouarzazate and more. Wherever you land, we pick you up and design your trip around your dates and interests.
Plan Your Trip
Click any destination to see more:
Marrakech Desert Tours
- 2 Days Desert Tour from Marrakech
- 3 Days Marrakech to Merzouga
- 3 Days Marrakech to Fes
- 4 Days Marrakech to Merzouga
- 4 Days Marrakech to Fes
- 5 Days Marrakech to Merzouga
- 5 Days Morocco Tour from Marrakech
- 6 Days Morocco Tour from Marrakech
- 7 Days Morocco Tour from Marrakech
- 8 Days Morocco Tour from Marrakech
- 8 Days with Imperial Cities
- 9 Days Morocco Tour from Marrakech
- 10 Days Morocco Tour from Marrakech
- 12 Days Morocco Tour from Marrakech
- 14 Days Morocco Tour from Marrakech