· Travel · 5 min read
How Many Mosques Are in Morocco? City-by-City Guide
How many mosques are in Morocco? See the national total plus city counts for Marrakech, Casablanca, Rabat and Tangier, and how to visit them.
Walk through any Moroccan medina and the call to prayer follows you from minaret to minaret. Wherever you travel, the skyline answers a common question before any guidebook does: how many mosques are in Morocco. The short answer: Morocco counts roughly 52,000 mosques nationwide, per the Ministry of Endowments and Islamic Affairs, up from about 41,755 reported earlier by the Ministry of Habous and Islamic Affairs. Many of them sit far from the tourist trail.
This guide breaks down how many mosques are in Morocco by city — Marrakech, Casablanca, Rabat and Tangier — and explains how to experience this heritage on your visit. You will also learn why the country’s mosque numbers keep growing.
How many mosques are in Morocco?
Two ministry figures frame the national picture. The Ministry of Habous and Islamic Affairs long reported about 41,755 mosques, including 16,489 Friday congregational mosques. The Ministry of Endowments and Islamic Affairs now puts the total near 52,000. For a country of around 37 million people, that is an unusually high ratio.

Distribution explains the numbers. Roughly 72% of Morocco’s mosques stand in rural areas, where density reaches about 15 per 5,000 residents. In cities, the average drops to roughly 4 per 5,000. That gap is why big-city counts look lower per head. Neighbourhood masjids make up most of the remainder, and those rural prayer halls rarely appear on any tourist map. Some cities also count small prayer rooms that never host a Friday sermon.
Key numbers to remember:
- National total: around 52,000 mosques nationwide and rising.
- Friday mosques: about 16,489 larger jamaa for the weekly sermon.
- Rural share: roughly 72% of all mosques sit outside cities.
- Urban density: about 4 mosques per 5,000 city residents.
Mosques in Marrakech
Marrakech has never published an official mosque count. The medina alone holds dozens of small historic mosques, tucked between souks and riads. Citywide, the number is generally described in the low hundreds. The old city grew organically, so prayer spaces cluster where people once lived and traded.
So ask how many mosques in Marrakech exist and you will hear estimates, not a precise figure. The Koutoubia Mosque is the city’s anchor, its 77-metre minaret visible across the rooftops. Its name means “booksellers’ mosque”, after the book trade that once crowded its base. Non-Muslims cannot enter, but the surrounding gardens offer the best views, especially at sunset.
Walking the medina, you pass carved doors and public fountains that have served neighbourhoods for centuries. Each mosque marks a district, a market, a moment in the daily rhythm of Marrakech. None require a ticket to admire from outside. Together they map the spiritual geography of the city.
Mosques in Casablanca, Rabat & Tangier
Casablanca carries the highest mosque count in Morocco. A widely cited estimate puts the city above 7,000, though no official figure exists. It is also Morocco’s largest city, which helps explain the gap. Its size and industry draw workers from across the country.

Asking how many mosques in Casablanca exist returns an estimate, not a census. Rabat, the capital, holds many historic mosques and the Hassan Tower, with a few hundred across the city. How many mosques in Rabat exist is another question without an official answer. Tangier is similar: public directories map roughly 100 mosques, so how many mosques in Tangier exist remains approximate.
The reason is simple. Ministries report nationally and regionally, not by city. That is why every reliable city count carries the word “estimate”.
City estimates at a glance:
- Casablanca: over 7,000 mosques, the highest in Morocco (estimate).
- Marrakech: low hundreds citywide, dozens in the medina (approximate).
- Rabat: a few hundred, including the Hassan Tower area (approximate).
- Tangier: about 100 mosques mapped in city directories (approximate).
How to experience Morocco’s mosque heritage
Most Moroccan mosques are closed to non-Muslim visitors, so plan around the exceptions. The Hassan II Mosque in Casablanca is the only active mosque open to tourists, with guided tours through the day. Tours usually run in the morning and early afternoon, and modest dress is expected.

The Hassan Tower in Rabat, part of a UNESCO World Heritage site, is open as a historic monument. The Tinmal Mosque in the High Atlas is another inactive site travellers can enter. Elsewhere, you admire gates, minarets and courtyards from outside.
What to expect:
- Hassan II Mosque: daily guided tours, the only active mosque open to visitors.
- Hassan Tower: open ruins and columns, plus the nearby royal mausoleum.
- Tinmal Mosque: an inactive High Atlas monument, under restoration.
- Everywhere else: exteriors only — dress respectfully and ask before photos.
Dress modestly at every site, covering shoulders and knees. Photography rules vary, so watch for signs and follow your guide’s advice. Bring a scarf and leave tripods behind at prayer times. Small tips go a long way when you are a guest in a working place of worship.
Plan your Morocco mosque and heritage tour
Covering Morocco’s mosque heritage is easier with a private guide and driver who know prayer times, etiquette and the quiet hours. From airport pickup to riad choices, the planning is handled for you. You skip the guesswork and focus on the places that move you. That local knowledge turns a checklist into a genuine encounter with Moroccan faith and craft. You travel at your own pace, with time to linger where it matters.
See four imperial cities and the Hassan II Mosque on our Private 8-Day Imperial Cities and Desert Tour from Casablanca. Starting from the north instead? Our Private 8-Day Northern Tour from Tangier leads through Tangier, Chefchaouen, Fes and the desert. Both routes balance imperial landmarks with scenery and desert nights.
We can customize a tour to match your needs — design your perfect itinerary
If you found this helpful, add us as your preferred source on Google.
Frequently Asked Questions
How many mosques are in Morocco?
Morocco counts roughly 52,000 mosques nationwide, according to the Ministry of Endowments and Islamic Affairs. An earlier Ministry of Habous and Islamic Affairs figure cited about 41,755 mosques, of which some 16,489 were Friday congregational mosques. Around 72% stand in rural areas.
How many mosques are in Marrakech?
Marrakech has no official mosque count. The medina holds dozens of historic mosques, and the citywide total is generally described in the low hundreds. The Koutoubia Mosque is its best-known landmark, though it is closed to non-Muslim visitors.
How many mosques are in Casablanca?
Casablanca is widely estimated to hold over 7,000 mosques, the highest city total in Morocco. The ministry publishes no official city figure, so treat that number as an estimate. The Hassan II Mosque is the standout landmark.
How many mosques are in Rabat and Tangier?
Neither city has an official count. Rabat is home to many historic mosques and the Hassan Tower, with a few hundred across the city. Tangier directories map roughly 100 mosques. Both figures are approximate.
- mosques-in-morocco
- islamic-architecture
- religious-tourism-morocco
- morocco-culture
- how-many-mosques-are-in-morocco
Ready for an Adventure?
Have questions? Feel free to contact us using the form below. We're here to help!