Marrakesh-Safi is Morocco's most visited region, anchored by Marrakesh — the Red City — a UNESCO World Heritage medina teeming with souks, palaces, and the legendary Jemaa el-Fna square. Beyond the city, the region spans from the High Atlas Mountains to the Atlantic coast at Essaouira, offering everything from quad biking in the Agafay Desert to surfing at Sidi Kaouki.
Marrakesh stands as one of North Africa's most storied imperial cities, its origins stretching back nearly a millennium to the founding of the Almoravid dynasty. In 1062 CE, the Berber chieftain Yusuf ibn Tashfin established a fortified camp on the Haouz Plain that would grow into a metropolis of global significance. The city's name almost certainly derives from the Berber phrase 'Mur n'Akush,' meaning 'Land of God,' a designation that reflects the deep spiritual identity woven into its foundations from the very beginning. Under the Almoravids, Marrakesh became the capital of an empire stretching from sub-Saharan Africa to the Iberian Peninsula. The dynasty constructed the city's first great mosques, palaces, and the celebrated khettara irrigation system that transformed the surrounding desert into a productive landscape. The famous ramparts of red-ochre pisé that still define the medina's silhouette date largely from this Almoravid period, giving the city its enduring nickname, 'the Red City.' In 1147, the Almohad dynasty swept out of the Atlas Mountains and seized Marrakesh, razing much of what the Almoravids had built but replacing it with monuments of even greater ambition. The Koutoubia Mosque, completed around 1158, rose as the defining landmark of the medieval Islamic west, its minaret serving as the architectural template for the Giralda in Seville and the Hassan Tower in Rabat. The Almohads also constructed the monumental Bab Agnao gate, one of the finest examples of Moorish decorative stonework anywhere in the world. The Saadian dynasty of the sixteenth and seventeenth centuries ushered in a golden age of wealth and artistic production. Sultans Ahmad al-Mansur and his successors enriched the city with the exquisite Saadian Tombs, completed in the late sixteenth century, and the vast El Badi Palace, whose very name translates as 'the Incomparable.' Trade in gold, sugar, and enslaved people from across the Sahara flooded the royal treasury, funding construction projects that rivalled anything in contemporary Europe. The Ben Youssef Madrasa, expanded to its current form in 1564 to 1565, remains one of the largest and most ornate Quranic schools in all of North Africa. From 1669 onward, the Alaouite dynasty — the ruling house of Morocco to this day — held Marrakesh as a key imperial city alongside Fez, Meknes, and Rabat. Sultans periodically shifted the capital between these cities, each new reign bringing fresh construction. The Bahia Palace, built in the late nineteenth century for the Grand Vizier Ba Ahmed, exemplifies the opulence of this late Alaouite period. The French Protectorate, established in 1912, imposed a dual urban logic on Marrakesh: a new European ville nouvelle was planned to the south and west while the historic medina was preserved, if imperfectly, as a separate zone. The colonial period brought roads, hospitals, and an influx of French administrators and settlers whose architectural legacy still shapes the Gueliz and Hivernage districts. Independence in 1956 restored full Moroccan sovereignty, and in 1985 UNESCO inscribed the medina as a World Heritage Site, recognising its outstanding universal value as a living monument of medieval urban planning and Islamic art.
Historical timeline
Key moments that shaped Marrakesh-Safi.
-
1
Yusuf ibn Tashfin of the Almoravid dynasty founds Marrakesh as a fortified military camp on the Haouz Plain.
-
2
Construction of the first pisé ramparts begins, establishing the red-ochre walls that would define the city's appearance for centuries.
-
3
Ali ibn Yusuf succeeds his father and expands the city, commissioning the grand congregational mosque and an extensive palace complex.
-
4
The Almohad dynasty under Abd al-Mumin captures Marrakesh, razing Almoravid structures and beginning a new phase of monumental building.
-
5
Completion of the Koutoubia Mosque and its iconic minaret, which becomes the architectural model for mosque towers across the western Islamic world.
-
6
Construction of the Bab Agnao gate under the Almohad caliph Yaqub al-Mansur, celebrated as a masterpiece of ornamental carving in stone.
-
7
The Marinid dynasty displaces the Almohads; Marrakesh loses its status as imperial capital to Fez, entering a period of relative decline.
-
8
The Saadian dynasty seizes Marrakesh and re-establishes it as the empire's primary capital, inaugurating a new golden age of prosperity.
-
9
Sultan Mohammed al-Sheikh is assassinated; his successors press forward with major construction projects funded by trans-Saharan gold trade.
-
10
The Ben Youssef Madrasa is rebuilt and expanded under Sultan Abdallah al-Ghalib, creating the vast Quranic college that survives today.
-
11
Reign of Ahmad al-Mansur, the 'Golden One'; construction of El Badi Palace and the Saadian Tombs reaches its peak during this period of maximum imperial wealth.
-
12
Moulay Rashid of the Alaouite dynasty unifies Morocco and takes Marrakesh; the Alaouites remain the ruling dynasty to this day.
-
13
Grand Vizier Ba Ahmed constructs Bahia Palace, a lavish complex of courtyards and apartments in the heart of the medina.
-
14
The Treaty of Fez establishes the French Protectorate; French planners begin laying out the ville nouvelle districts of Gueliz and Hivernage.
-
15
Morocco regains full independence; King Mohammed V restores sovereign rule and Marrakesh remains a key royal and cultural centre.
-
16
UNESCO inscribes the medina of Marrakesh as a World Heritage Site, recognising its exceptional medieval urban fabric and monuments.
-
17
Marrakesh hosts major international conferences and sees rapid growth in tourism infrastructure, cementing its role as Morocco's premier visitor destination.
Historical eras
The chapters of Marrakesh-Safi's past.
Almoravid
The founding era of Marrakesh, during which Yusuf ibn Tashfin and his successors built the city from a military encampment into the capital of an empire spanning Morocco, Algeria, and al-Andalus. The Almoravids constructed the original ramparts, mosques, and an underground khettara irrigation system. Their architectural style, rooted in Saharan Berber tradition and increasingly influenced by Andalusian refinement, established the urban DNA of the medina.
Almohad
The Almohads overthrew the Almoravids and razed much of their city before erecting monuments of extraordinary scale and refinement. Under caliphs such as Abd al-Mumin and Yaqub al-Mansur, Marrakesh became the intellectual and artistic capital of the western Islamic world. The Koutoubia Mosque and its minaret, together with the Bab Agnao gate, rank among the supreme achievements of Almohad civilisation.
Saadian
Under the Saadian sultans, Marrakesh enjoyed its second great golden age. Saharan gold and sugar revenues financed palaces, madrasas, and tomb complexes of exceptional quality. Sultan Ahmad al-Mansur's reign (1578–1603) saw the construction of El Badi Palace with Italian marble and sub-Saharan materials, and the Saadian Tombs lined with carved cedar, stucco, and Carrara marble. The city became a cosmopolitan hub connecting Africa, Europe, and the Arab world.
Alaouite
The Alaouite dynasty, still reigning today, maintained Marrakesh as one of Morocco's four imperial cities. Different sultans favoured different capitals, but Marrakesh retained its royal palaces, gardens, and administrative importance. The late nineteenth century brought the sumptuous Bahia Palace. Modern Alaouite monarchs have invested in restoration and tourism development while maintaining the medina's traditional character.
French Protectorate
France's protectorate transformed Marrakesh's urban geography by creating the planned European quarters of Gueliz and Hivernage to the west, leaving the medina largely intact by colonial standards. Art Deco and Mediterranean Revival architecture defined the new districts. French administrators, artists, and tourism promoters cultivated Marrakesh as an exotic destination, a reputation that would shape its global image for decades after independence.
Independence and Contemporary
Since independence, Marrakesh has grown into Morocco's most visited city and a significant global tourism hub. UNESCO World Heritage status in 1985 brought international attention and resources to medina conservation. The city has balanced rapid modernisation in its new districts with the preservation of a living medieval urban environment in which traditional crafts, markets, and social structures continue to function.
Historical sites
Places where Marrakesh-Safi's past comes alive.
Koutoubia Mosque
Where: Djemaa el-Fna, Medina
Admission: Exterior free; interior restricted to Muslims
Ben Youssef Madrasa
Where: Northern Medina
Admission: 70 MAD (approx. $7 USD)
Saadian Tombs
Where: Southern Medina, Kasbah district
Admission: 70 MAD (approx. $7 USD)
El Badi Palace
Where: Kasbah district, Medina
Admission: 70 MAD (approx. $7 USD)
Bahia Palace
Where: Eastern Medina
Admission: 70 MAD (approx. $7 USD)
Mellah Jewish Quarter
Where: Adjacent to the Royal Palace, Medina
Admission: Free to walk; Lazama Synagogue by donation
Koubba Ba'adiyn (Almoravid Dome)
Where: Northern Medina, near Ben Youssef Madrasa
Admission: Included with Museum of Marrakesh combined ticket
Bab Agnao
Where: Kasbah district, southern Medina
Admission: Free (exterior viewing)
Museums
Curated collections that tell Marrakesh-Safi's story.
Museum of Marrakesh
Hours: Daily 09:00–18:00
Admission: 50 MAD (approx. $5 USD); combined ticket with Koubba Ba'adiyn and Ben Youssef Madrasa available
Dar Si Said Museum
Hours: Wednesday to Monday 10:00–18:00; closed Tuesday
Admission: 20 MAD (approx. $2 USD)
Yves Saint Laurent Museum
Hours: Daily 10:00–18:00; closed Wednesday
Admission: 100 MAD (approx. $10 USD)
Historical tours
Guided experiences that bring history to life.