Islamic Morocco, from the Sahara to the Strait
102 mosques, madrasas, zawiyas and lost cities in all twelve regions, and the dynasties that built them.
Explore
Tap a dynasty or a region: its places light up on the map. Tap a mark for its card; a door means everyone can go in.
Capitals: Massa, Nekor, Sijilmassa
Uqba ibn Nafi's campaign reaches the Atlantic (tradition places it at Massa, about 681). The Amazigh tribes embrace Islam; Tariq ibn Ziyad crosses to al-Andalus in 711. The first Muslim states rise: Nekor on the Rif coast (about 710), the Barghawata on the Atlantic plains and the Midrarids at Sijilmassa (757).
Capitals: Walila (Volubilis), then Fes
Idris I, a descendant of the Prophet, is welcomed at Walila in 788 and founds the first Moroccan state. Fes is founded in 789 and grows under Idris II; al-Qarawiyyin follows, by tradition in 859.
Capitals: Fes, Sijilmassa
Zenata princes rule Fes and Sijilmassa, between the Umayyads of Córdoba and the Fatimids.
Out of the Sahara · capitals: Aghmat, then Marrakech
Sanhaja tribes of the desert come north through Sijilmassa (1055) and Aghmat. Marrakech is founded about 1070; Yusuf ibn Tashfin crosses to al-Andalus and wins at Sagrajas in 1086.
Out of the High Atlas · capitals: Tinmel, Marrakech, Rabat
Ibn Tumart preaches at Tinmel from about 1124; Abd al-Mumin takes Marrakech in 1147 and builds the Koutoubia. Yaqub al-Mansur starts the Hassan mosque in Rabat; Ibn Rushd and Ibn Tufayl serve at their court.
Out of the eastern steppe · capitals: Fes
Zenata horsemen from the eastern steppe make Fes their capital and fill it and Salé with madrasas; the Chellah becomes their resting place. Ibn Battuta travels and Ibn Khaldun writes at their court.
Capitals: Fes
Cousins of the Marinids rule from Fes as Portugal and Spain take ports on the coast; Chefchaouen is founded in 1471.
Out of the Draa · capitals: Taroudant, then Marrakech
A sharifian family from the Draa valley rises in the south from 1510 and takes Fes in 1554. Victory at the Battle of the Three Kings (1578) brings Ahmad al-Mansur to the throne; the Saadian Tombs and the Ben Youssef madrasa are theirs.
Out of the Tafilalet · capitals: Fes, Meknes, Marrakech, Rabat
From the Tafilalet, Moulay Rashid unites Morocco in 1666; Moulay Ismail builds Meknes. The Sufi orders flourish (Nasiriyya, Wazzaniyya, Tijaniyya, Darqawiyya), and Ma al-Aynayn builds Smara. Independence comes in 1956; the Hassan II Mosque opens in 1993. Today the King is Commander of the Faithful, and Morocco follows the Maliki school, the Ash'ari creed and the Sufism of al-Junayd.
We looked for named historic mosques, zawiyas and museums in Dakhla-Oued Ed-Dahab and found few with a published source: religious life here is young towns, Friday prayer and the Hassaniya songs of praise. We list what we could source and keep looking.
Smara, founded by Shaykh Ma al-Aynayn in the 1890s, is the region's great religious site.
The oases of the Oued Noun and the Moussem of Tan-Tan, one of UNESCO's first listed masterpieces of intangible heritage.
- Hassan Tower and the Almohad mosqueMausoleum of Mohammed VChellahKasbah of the Udayas and its mosqueSalé's Grand MosqueMadrasa of Abu al-Hasan, SaléZawiya of Sidi Ben Achir, SaléNational Library of the Kingdom of MoroccoMohammed VI Institute for the Training of ImamsMuseum of History and Civilisations
- al-Qarawiyyin Mosque and UniversityMosque of the AndalusiansBou Inania Madrasa, Fesal-Attarine MadrasaSahrij MadrasaZawiya of Moulay Idris IIZawiya of Sidi Ahmed al-TijaniMoulay Idriss ZerhounVolubilis (Walila)Mausoleum of Moulay IsmailGrand Mosque of MeknesBou Inania Madrasa, MeknesGrand Mosque of TazaDar Batha MuseumNejjarine Museum of Wooden ArtsDar Jamai MuseumSefrou and Sidi Lahcen Lyoussi
- NekorGrand Mosque of TangierKasbah Mosque and Kasbah Museum, TangierTomb attributed to Ibn BattutaGrand Mosque of TetouanGrand Mosque of ChefchaouenThe Spanish Mosque, ChefchaouenJbel Alam: Moulay Abdessalam ben MchichOuezzane: the zawiya of the WazzaniyyaKsar es-SeghirBattlefield of the Three Kings, Ksar el-KebirTetouan's museums
Inside a madrasa
The plan most Moroccan madrasas share, from Bou Inania in Fes to Ben Youssef in Marrakech. Tap a part, or a band of the wall.
Tap the courtyard to startEach part says what it is for.
Every part in words
- The way in: A passage from the street that keeps the noise of the souk outside.
- The courtyard: Open to the sky: light and air for every room. Students read and talked here.
- The basin: Water at the centre, for washing before prayer and to cool the air.
- Student rooms: Small rooms on two floors around the courtyard; Ben Youssef in Marrakech has about 130.
- The prayer hall: Across the courtyard from the door, where lessons were given too.
- The mihrab: A niche in the back wall that shows the direction of Mecca.
- Zellige, low on the wall: Hand-cut glazed tile in star patterns, where hands and shoulders touch.
- Carved plaster, in the middle: Calligraphy and lace-like patterns, cut while the plaster is still soft.
- Carved cedar, at the top: Wood from the Middle Atlas for the upper walls, eaves and ceilings.
Minaret quiz
Five questions. The towers below are drawn to scale.
Book ahead, if you like

Fes: Discover Your Way: History, Food with/without Shopping
Price on GetYourGuide, may change
Photos: GetYourGuide.

Prices are the partners' and may change. These are affiliate links: Wakha may earn a commission, your price is the same. How Wakha earns



Sources, checked 2026-11-18
- Dakhla, Western Sahara, Wikipedia
- Hassaniya Arabic, Wikipedia
- Aousserd, Wikipedia
- Bir Gandouz, Wikipedia
- Laayoune, Wikipedia
- Smara, Wikipedia
- Ma al-'Aynayn, Wikipedia
- Tarfaya, Wikipedia
- Boujdour, Wikipedia
- Asrir, Wikipedia (French)
- Tighmert, Wikipedia (French)
- Guelmim, Wikipedia
- Moussem of Tan-Tan, UNESCO Intangible Cultural Heritage
- Ksar Assa, Wikipedia (French)
- Sidi Ifni, Wikipedia
- Taroudant, Wikipedia
- Tiznit, Wikipedia
- Tazerwalt, Wikipedia
- Moussem, Wikipedia
- Massa, Morocco, Wikipedia
- Uqba ibn Nafi, Wikipedia
- Tamdoult, Wikipedia
- Agadir Oufella, Wikipedia
- Islam in Morocco, Wikipedia
- Rissani, Wikipedia
- Alawi dynasty, Wikipedia
- Sijilmasa, Wikipedia
- Tamegroute, Wikipedia
- Nasiriyya, Wikipedia
- Draa River, Wikipedia
- Ksar of Ait-Ben-Haddou, UNESCO World Heritage Centre
- Imilchil, Wikipedia
- Zagora, Morocco, Wikipedia
- Koutoubia Mosque, Wikipedia
- Medina of Marrakesh, UNESCO World Heritage Centre
- Kasbah Mosque, Marrakesh, Wikipedia
- Ben Youssef Madrasa, Wikipedia
- Saadian Tombs, Wikipedia
- Zawiya of Sidi Bel Abbes, Wikipedia
- Seven Saints of Marrakesh, Wikipedia
- Muhammad al-Jazuli, Wikipedia
- Dala'il al-Khayrat, Wikipedia
- Qadi Iyad, Wikipedia
- Mouassine Mosque, Wikipedia
- Dar Si Said, Wikipedia
- National Foundation of Museums (Morocco's own)
- Tinmel Mosque, Wikipedia
- Aghmat, Wikipedia
- Safi, Morocco, Wikipedia
- Regraga, Wikipedia
- Boujad, Wikipedia
- Zaouïa de Dila, Wikipedia (French)
- Al-Hasan al-Yusi, Wikipedia
- Kasba Tadla, Wikipedia
- Beni Mellal, Wikipedia
- Khenifra, Wikipedia
- Hassan II Mosque, Wikipedia
- Visit hours and prices, Fondation Mosquée Hassan II (official)
- Azemmour, Wikipedia
- Moulay Abdallah, Wikipedia (French)
- Tbourida, Wikipedia
- Ould el-Hamra Mosque, Wikipedia
- Settat, Wikipedia
- Hassan Tower, Wikipedia
- Rabat, Modern Capital and Historic City, UNESCO World Heritage Centre
- Mausoleum of Mohammed V, Wikipedia
- Chellah, Wikipedia
- Kasbah of the Udayas, Wikipedia
- Grand Mosque of Salé, Wikipedia
- Madrasa of Salé, Wikipedia
- Salé, Wikipedia
- National Library of the Kingdom of Morocco, Wikipedia
- Ministry of Habous and Islamic Affairs (Morocco's own)
- Museum of History and Civilizations, Wikipedia
- University of al-Qarawiyyin, Wikipedia
- Medina of Fez, UNESCO World Heritage Centre
- Mosque of the Andalusians, Wikipedia
- Bou Inania Madrasa, Wikipedia
- Al-Attarine Madrasa, Wikipedia
- Sahrij Madrasa, Wikipedia
- Zawiya of Moulay Idris II, Wikipedia
- Ahmad al-Tijani, Wikipedia
- Moulay Idriss Zerhoun, Wikipedia
- Archaeological Site of Volubilis, UNESCO World Heritage Centre
- Mausoleum of Moulay Ismail, Wikipedia
- Historic City of Meknes, UNESCO World Heritage Centre
- Grand Mosque of Meknes, Wikipedia
- Bou Inania Madrasa (Meknes), Wikipedia
- Grand Mosque of Taza, Wikipedia
- Dar Batha, Wikipedia
- Nejjarine Museum, Wikipedia
- Dar Jamai Museum, Wikipedia
- Grand Mosque of Oujda, Wikipedia
- Oujda, Wikipedia
- Boutchichiya, Wikipedia
- Mawlid, Wikipedia
- Figuig, Wikipedia
- Taourirt, Wikipedia
- Debdou, Wikipedia
- Kingdom of Nekor, Wikipedia
- Nador, Wikipedia
- Grand Mosque of Tangier, Wikipedia
- Dar el Makhzen (Tangier), Wikipedia
- Ibn Battuta, Wikipedia
- Tetouan, Wikipedia
- Medina of Tétouan (formerly known as Titawin), UNESCO World Heritage Centre
- Chefchaouen, Wikipedia
- Abd as-Salam ibn Mashish al-Alami, Wikipedia
- Ouazzane, Wikipedia
- Ksar es-Seghir, Wikipedia
- Battle of Alcácer Quibir, Wikipedia
- Ahmad al-Mansur, Wikipedia
- Zaouiat Ahansal, Wikipedia
- Demnate, Wikipedia
- Sidi Abderrahmane, Wikipedia
- Tariq ibn Ziyad, Wikipedia
- Barghawata, Wikipedia
- Midrarid dynasty, Wikipedia
- Idrisid dynasty, Wikipedia
- Idris I of Morocco, Wikipedia
- Idris II of Morocco, Wikipedia
- Almoravid dynasty, Wikipedia
- Yusuf ibn Tashfin, Wikipedia
- Battle of Sagrajas, Wikipedia
- Almohad Caliphate, Wikipedia
- Ibn Tumart, Wikipedia
- Abd al-Mu'min, Wikipedia
- Yaqub al-Mansur, Wikipedia
- Marinid Sultanate, Wikipedia
- Abu Inan Faris, Wikipedia
- Wattasid dynasty, Wikipedia
- Saadi Sultanate, Wikipedia
- Ismail Ibn Sharif, Wikipedia
- Commander of the Faithful, Wikipedia
- Mohammed VI Foundation of African Oulema, Wikipedia
- Kutubiyya Mosque (Wikipedia)
- Giralda (Wikipedia)
Next
Plan the visit
Say yes to the trip
Tell us your email and we'll write when the Wakha app is ready: offline, every city, every answer.