Discovering...
Discovering...

Morocco's mosques are the country's architectural crown, from the ocean-side immensity of Casablanca's Hassan II to the 1,100-year-old Qarawiyyin in Fes. This guide walks through the great ones worth seeking out, which you can enter and which you can only admire from outside, and the etiquette that makes a respectful visit.
Largest in Morocco
Hassan II Mosque, Casablanca — among the biggest in the world
Tallest minaret
Hassan II's minaret rises around 210 m over the Atlantic
Open to non-Muslims
Hassan II Mosque, via guided tours several times daily
Oldest university
Al-Qarawiyyin in Fes, founded in 859 CE
Almohad icon
The Koutoubia minaret in Marrakech, roughly 77 m tall
Unfinished landmark
Rabat's Hassan Tower, a 12th-century minaret never completed
General rule
Most working mosques are closed to non-Muslims; admire the exteriors
Amelia Hart· Itineraries & Trip Planning Editor
British writer who has built and road-tested Morocco itineraries for everyone from honeymooners to families. She covers multi-day routes, costs, the best time to visit and how to plan a first trip. Casablanca · 9+ years covering Morocco
Published 7 October 2025 Last updated 15 July 2026
In Morocco the mosque is the heart of the city, and its minaret the fixed point every medina orients around. Centuries of dynasties — Almoravid, Almohad, Merinid, Saadian, Alaouite — poured their finest craftsmanship into these buildings, so a tour of Morocco's great mosques is also a tour of its history in stone, cedar and zellij tilework. The square-shafted minaret, so different from the pencil towers of the east, is itself a Moroccan and Andalusian signature.
One rule shapes every visit: with a few notable exceptions, working mosques in Morocco are closed to non-Muslims. This can surprise first-time visitors, but it is easy to work around. The most celebrated buildings can be admired, photographed and often circled from their courtyards and gardens, and a short list of sites welcome everyone inside. Knowing which is which before you go saves disappointment at the door.
The Hassan II Mosque is Morocco's undisputed showstopper and the one great mosque non-Muslims can freely enter. Completed in the early 1990s, it ranks among the largest mosques in the world, with a minaret rising roughly 210 metres — one of the tallest religious structures anywhere. It stands partly over the Atlantic on a promontory, so on a rough day the sea breaks against its foundations, and a section of the prayer-hall floor is glazed to reveal the water below.
The scale inside is hard to overstate: a cedar-carved, retractable roof, hand-cut marble and zellij, and space for tens of thousands of worshippers. Guided tours run several times a day in multiple languages and are the only way in for visitors, so check the daily schedule, dress modestly and arrive early. The mosque sits within walking distance of the city's remarkable heritage core, making it a natural pairing with a Casablanca Art Deco walk.
Marrakech's Koutoubia Mosque is the most photographed minaret in the country, a 12th-century Almohad masterpiece rising about 77 metres above the palm-fringed gardens beside Jemaa el-Fnaa. Its proportions were so admired that they influenced the Giralda in Seville and Rabat's Hassan Tower, making it the template for a whole school of Islamic architecture across Morocco and Spain.
Non-Muslims cannot enter the prayer hall, but the Koutoubia is best enjoyed from outside anyway. The surrounding gardens are free to wander, the minaret is floodlit and magnificent after dark, and the call to prayer echoing across the square at dusk is one of Marrakech's defining moments. Come at golden hour, when the ochre stone glows and the Atlas sometimes shows white on the horizon behind it.
In Fes stands one of the most significant buildings in the Islamic world: the Al-Qarawiyyin, founded in 859 CE by Fatima al-Fihri. Widely cited as the oldest existing, continually operating institution of higher learning on earth, it is mosque, university and library in one. Non-Muslims cannot enter the prayer hall, but you can catch glimpses of its courtyard through the great doors as you thread the surrounding medina, and its restored historic library has at times opened to visitors.
Rabat offers a different kind of monument in the Hassan Tower, the stump of a colossal minaret begun by the Almohad ruler Yaqub al-Mansur in the 12th century and left unfinished at his death. The forest of broken columns around it marks the vast mosque that was never completed. Alongside stands the Mausoleum of Mohammed V, an exquisite modern work of Moroccan craftsmanship that non-Muslims are welcome to enter.
Beyond the cities, one historic mosque has long been an exception to the usual rule. The 12th-century Almohad mosque at Tin Mal, high in the High Atlas beyond the Tizi n'Test, is one of the very few in Morocco that non-Muslims have traditionally been able to enter, being no longer used for daily prayer. It is the cradle of the Almohad movement and an austere, moving piece of early architecture.
The building was damaged in the September 2023 earthquake that struck the High Atlas, and restoration has been under way since, so access can be limited or subject to works. Check current conditions locally before making the detour, and treat any open door as the privilege it is.
If the closed doors of the great mosques leave you longing to see inside a religious building, Morocco's madrasas — the historic Quranic colleges — are the answer, and most welcome visitors. The Ben Youssef Madrasa in Marrakech, a jewel of Saadian-era craftsmanship restored and reopened in recent years, and the Bou Inania and Al-Attarine madrasas in Fes let you stand in courtyards of carved cedar, stucco and zellij that rival any mosque interior. They were student lodgings and teaching halls attached to the mosques, and their intimate scale makes the artistry easy to appreciate up close.
Royal mausoleums are similarly accessible. The Mausoleum of Mohammed V beside Rabat's Hassan Tower and the tomb of Moulay Ismail in Meknes both open their exquisitely decorated halls to non-Muslim visitors who dress respectfully. Together, madrasas and mausoleums round out a tour that the mosque doors alone would leave incomplete, and they slot naturally into the imperial cities. Pair them with the region's other layers — the Roman ruins near Meknes or a meal in the imperial city itself — for a fuller sense of Morocco's sacred and civic history.
One practical note: many madrasas charge a small entrance fee and keep daylight hours, and a few remain in use for teaching, so signage will indicate where visitors may go. As with the mosques, modest dress and quiet respect are expected, but here you are free to linger, photograph the courtyards and study the craftsmanship that Morocco's builders lavished on the spaces gathered around prayer.
A respectful visit comes down to a few habits. Dress modestly at every mosque, inside or out: cover shoulders and knees, and women should carry a scarf for the head when entering a site that permits it. Remove your shoes where required, keep your voice low, and never walk in front of someone at prayer or photograph worshippers without asking.
Timing helps too. Avoid arriving around the five daily prayer times, and be especially mindful on Fridays, the main congregational day. Guided tours at sites like the Hassan II Mosque handle much of this for you, but the same courtesy applies everywhere. Approached this way, even the mosques you cannot enter reveal a great deal from their courtyards, gates and floodlit minarets.
As a rule, no — most working mosques in Morocco are closed to non-Muslims. The great exception is the Hassan II Mosque in Casablanca, which runs guided tours for all visitors several times daily. The historic Almohad mosque at Tin Mal has also traditionally admitted non-Muslims. Elsewhere you can admire, photograph and often enter the gardens and courtyards, but not the prayer halls.
The Hassan II Mosque in Casablanca, completed in the early 1990s and among the largest mosques in the world. Its minaret rises around 210 metres, making it one of the tallest religious structures anywhere, and part of it stands over the Atlantic. It holds tens of thousands of worshippers and is the one grand mosque non-Muslim visitors can tour inside.
It was founded in 859 CE by Fatima al-Fihri, making it over 1,100 years old. It is widely described as the oldest existing, continually operating institution of higher learning in the world, functioning as mosque, university and library together. Non-Muslims cannot enter the prayer hall but can glimpse the courtyard through its doors while exploring the Fes medina around it.
Non-Muslims cannot enter the Koutoubia's prayer hall, but the mosque is best appreciated from outside in any case. Its roughly 77-metre Almohad minaret dominates central Marrakech, the surrounding gardens are free to wander, and it is beautifully floodlit at night. Sunset and the evening call to prayer are the finest times to see it, with the Atlas sometimes visible behind.
Dress modestly whether or not you can go inside: cover your shoulders and knees, and women should carry a scarf to cover their hair when entering a site that permits it, such as the Hassan II Mosque. Remove your shoes where asked, keep quiet, and avoid the five daily prayer times and Friday congregational prayers out of respect for worshippers.
Historically yes — Tin Mal is one of the few mosques in Morocco that non-Muslims could enter, as it is no longer used for daily prayer. However, it was damaged in the September 2023 High Atlas earthquake and has been undergoing restoration, so access may be limited or closed for works. Check current conditions locally before making the mountain detour.
Plan it with a local expert
Crafting extraordinary journeys through Morocco's timeless landscapes. 100% private journeys, handcrafted around you.
from $2,011Sahara Desert Luxury Expedition
from $2,054Essential Morocco: Imperial Cities Circuit
from $5,978Sahara to Sea: Morocco Complete
Attractions & Heritage
A self-guided walk through the world’s greatest concentration of 1920s–30s Mauresque and Art Deco buildings downtown.
Read guideAttractions & Heritage
Volubilis, Lixus, Banasa and Sala — the empire’s southwestern frontier, its mosaics and how to visit the ancient sites.
Read guideAttractions & Heritage
The 12th-century mosque high in the Atlas beyond the Tizi n’Test — birthplace of the Almohad dynasty and one of few open to non-Muslims.
Read guideAttractions & Heritage
The eerie mirror-water cistern and star-shaped ramparts of the UNESCO-listed Portuguese city of Mazagan.
Read guideFood & Dining
The city’s upscale dining — Corniche seafood, French-Moroccan tables and the cosmopolitan restaurants of Morocco’s business capital.
Read guide