wakha

Morocco, layer by layer

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

Dakhla's Grand MosqueHassaniya praise poetryAousserdBir GandouzLaâyoune's Grand Mosque (Moulay Abdelaziz)The zawiya and ribat of Ma al-Aynayn, SmaraMa al-Aynayn's library (Smara)Tarfaya and the zawiyas of the coastBoujdourAsrir oasisTighmert oasisGuelmim, the gate of the SaharaTan-TanKsar of Assa and its zawiyaSidi IfniTaroudant's Grand MosqueTiznit's Grand MosqueTazeroualt: Sidi Ahmed ou MoussaIligh, the house of TazeroualtMassa, where the Atlantic was reachedTamdultAgadir OufellaThe timzgida, village Quran schoolsThe mausoleum of Moulay Ali Cherif, RissaniSijilmassaTamegroute: the Nasiriyya zawiya and its libraryKsour of the Draa valleyAït BenhaddouImilchil and the moussem of Sidi Ahmed OulmghenniZagoraKoutoubia MosqueKasbah Mosque (Moulay al-Yazid)Ben Youssef MadrasaSaadian TombsZawiya of Sidi Bel AbbesZawiya of al-JazuliTomb of Qadi IyadMouassine Mosque and fountainDar Si Said (National Museum of Weaving and Carpets)Tinmel MosqueAghmatSafi's Grand MosqueThe Regraga circuit (Chiadma)Boujad: the zawiya of Sidi Mohammed CherqiThe zawiya of DilaKasba TadlaBeni Mellal and the kasbah of Ras el-AinKhenifra and the kasbah of Moha ou HammouHassan II MosqueAzemmour: Moulay BouchaibRibat of Tit and Moulay Abdallah AmgharOuld el-Hamra Mosque, old medinaSettatHassan 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 Civilisationsal-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 LyoussiGrand Mosque of OujdaSidi Yahya oasis, OujdaMadagh: the zawiya of the Qadiriyya BoutchichiyaFiguig and its ksourKasbah of TaourirtDebdouNekorNadorGrand 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 museumsZaouiat AhansalDemnateSidi Abderrahmane, the shrine in the sea

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.

680100013001600today
  • 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.

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.

Prayer hallCourtyardBasinWay inRoomsMihrab

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.

44 mHassan Tower77 mKoutoubia210 mHassan II Mosque

Book ahead, if you like

Photos of Fes: Discover Your Way: History, Food with/without Shopping, from its GetYourGuide page

Fes: Discover Your Way: History, Food with/without Shopping

Price on GetYourGuide, may change

Photos: GetYourGuide.

A long pool in a sunny riad courtyard

Where to stay in Fes

Prices on Expedia.

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

The courtyard and minaret of the Bou Inania Madrasa in Fes
The Koutoubia minaret behind palm trees
The arches and carpets of the Bou Inania prayer hall
Sources, checked 2026-11-18
  1. Dakhla, Western Sahara, Wikipedia
  2. Hassaniya Arabic, Wikipedia
  3. Aousserd, Wikipedia
  4. Bir Gandouz, Wikipedia
  5. Laayoune, Wikipedia
  6. Smara, Wikipedia
  7. Ma al-'Aynayn, Wikipedia
  8. Tarfaya, Wikipedia
  9. Boujdour, Wikipedia
  10. Asrir, Wikipedia (French)
  11. Tighmert, Wikipedia (French)
  12. Guelmim, Wikipedia
  13. Moussem of Tan-Tan, UNESCO Intangible Cultural Heritage
  14. Ksar Assa, Wikipedia (French)
  15. Sidi Ifni, Wikipedia
  16. Taroudant, Wikipedia
  17. Tiznit, Wikipedia
  18. Tazerwalt, Wikipedia
  19. Moussem, Wikipedia
  20. Massa, Morocco, Wikipedia
  21. Uqba ibn Nafi, Wikipedia
  22. Tamdoult, Wikipedia
  23. Agadir Oufella, Wikipedia
  24. Islam in Morocco, Wikipedia
  25. Rissani, Wikipedia
  26. Alawi dynasty, Wikipedia
  27. Sijilmasa, Wikipedia
  28. Tamegroute, Wikipedia
  29. Nasiriyya, Wikipedia
  30. Draa River, Wikipedia
  31. Ksar of Ait-Ben-Haddou, UNESCO World Heritage Centre
  32. Imilchil, Wikipedia
  33. Zagora, Morocco, Wikipedia
  34. Koutoubia Mosque, Wikipedia
  35. Medina of Marrakesh, UNESCO World Heritage Centre
  36. Kasbah Mosque, Marrakesh, Wikipedia
  37. Ben Youssef Madrasa, Wikipedia
  38. Saadian Tombs, Wikipedia
  39. Zawiya of Sidi Bel Abbes, Wikipedia
  40. Seven Saints of Marrakesh, Wikipedia
  41. Muhammad al-Jazuli, Wikipedia
  42. Dala'il al-Khayrat, Wikipedia
  43. Qadi Iyad, Wikipedia
  44. Mouassine Mosque, Wikipedia
  45. Dar Si Said, Wikipedia
  46. National Foundation of Museums (Morocco's own)
  47. Tinmel Mosque, Wikipedia
  48. Aghmat, Wikipedia
  49. Safi, Morocco, Wikipedia
  50. Regraga, Wikipedia
  51. Boujad, Wikipedia
  52. Zaouïa de Dila, Wikipedia (French)
  53. Al-Hasan al-Yusi, Wikipedia
  54. Kasba Tadla, Wikipedia
  55. Beni Mellal, Wikipedia
  56. Khenifra, Wikipedia
  57. Hassan II Mosque, Wikipedia
  58. Visit hours and prices, Fondation Mosquée Hassan II (official)
  59. Azemmour, Wikipedia
  60. Moulay Abdallah, Wikipedia (French)
  61. Tbourida, Wikipedia
  62. Ould el-Hamra Mosque, Wikipedia
  63. Settat, Wikipedia
  64. Hassan Tower, Wikipedia
  65. Rabat, Modern Capital and Historic City, UNESCO World Heritage Centre
  66. Mausoleum of Mohammed V, Wikipedia
  67. Chellah, Wikipedia
  68. Kasbah of the Udayas, Wikipedia
  69. Grand Mosque of Salé, Wikipedia
  70. Madrasa of Salé, Wikipedia
  71. Salé, Wikipedia
  72. National Library of the Kingdom of Morocco, Wikipedia
  73. Ministry of Habous and Islamic Affairs (Morocco's own)
  74. Museum of History and Civilizations, Wikipedia
  75. University of al-Qarawiyyin, Wikipedia
  76. Medina of Fez, UNESCO World Heritage Centre
  77. Mosque of the Andalusians, Wikipedia
  78. Bou Inania Madrasa, Wikipedia
  79. Al-Attarine Madrasa, Wikipedia
  80. Sahrij Madrasa, Wikipedia
  81. Zawiya of Moulay Idris II, Wikipedia
  82. Ahmad al-Tijani, Wikipedia
  83. Moulay Idriss Zerhoun, Wikipedia
  84. Archaeological Site of Volubilis, UNESCO World Heritage Centre
  85. Mausoleum of Moulay Ismail, Wikipedia
  86. Historic City of Meknes, UNESCO World Heritage Centre
  87. Grand Mosque of Meknes, Wikipedia
  88. Bou Inania Madrasa (Meknes), Wikipedia
  89. Grand Mosque of Taza, Wikipedia
  90. Dar Batha, Wikipedia
  91. Nejjarine Museum, Wikipedia
  92. Dar Jamai Museum, Wikipedia
  93. Grand Mosque of Oujda, Wikipedia
  94. Oujda, Wikipedia
  95. Boutchichiya, Wikipedia
  96. Mawlid, Wikipedia
  97. Figuig, Wikipedia
  98. Taourirt, Wikipedia
  99. Debdou, Wikipedia
  100. Kingdom of Nekor, Wikipedia
  101. Nador, Wikipedia
  102. Grand Mosque of Tangier, Wikipedia
  103. Dar el Makhzen (Tangier), Wikipedia
  104. Ibn Battuta, Wikipedia
  105. Tetouan, Wikipedia
  106. Medina of Tétouan (formerly known as Titawin), UNESCO World Heritage Centre
  107. Chefchaouen, Wikipedia
  108. Abd as-Salam ibn Mashish al-Alami, Wikipedia
  109. Ouazzane, Wikipedia
  110. Ksar es-Seghir, Wikipedia
  111. Battle of Alcácer Quibir, Wikipedia
  112. Ahmad al-Mansur, Wikipedia
  113. Zaouiat Ahansal, Wikipedia
  114. Demnate, Wikipedia
  115. Sidi Abderrahmane, Wikipedia
  116. Tariq ibn Ziyad, Wikipedia
  117. Barghawata, Wikipedia
  118. Midrarid dynasty, Wikipedia
  119. Idrisid dynasty, Wikipedia
  120. Idris I of Morocco, Wikipedia
  121. Idris II of Morocco, Wikipedia
  122. Almoravid dynasty, Wikipedia
  123. Yusuf ibn Tashfin, Wikipedia
  124. Battle of Sagrajas, Wikipedia
  125. Almohad Caliphate, Wikipedia
  126. Ibn Tumart, Wikipedia
  127. Abd al-Mu'min, Wikipedia
  128. Yaqub al-Mansur, Wikipedia
  129. Marinid Sultanate, Wikipedia
  130. Abu Inan Faris, Wikipedia
  131. Wattasid dynasty, Wikipedia
  132. Saadi Sultanate, Wikipedia
  133. Ismail Ibn Sharif, Wikipedia
  134. Commander of the Faithful, Wikipedia
  135. Mohammed VI Foundation of African Oulema, Wikipedia
  136. Kutubiyya Mosque (Wikipedia)
  137. Giralda (Wikipedia)
Share this page

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.