Open Travel Guide
History of Marrakech-Safi

Marrakech-Safi History & Heritage Guide 2026

Explore the rich history, historical sites, and museums of Marrakech-Safi.

Marrakech-Safi is a region in west-central Morocco stretching from the red-walled imperial city of Marrakech, at the foot of the snow-capped High Atlas Mountains, west across olive plains and argan forest to the Atlantic port towns of Safi and Essaouira. It combines Morocco's most visited historic Medina, UNESCO-listed since 1985, with mountain villages, desert day trips, and a laid-back fishing-and-ceramics coast.

Historical timeline

Key moments that shaped Marrakech-Safi.

  1. 1

    Almoravid Founding of Marrakech

    1062

    Almoravid leader Abu Bakr ibn Umar and later Yusuf ibn Tashfin establish Marrakech as a fortified capital on the plain below the High Atlas, giving the wider region its name

  2. 2

    Almohad Conquest

    1147

    The Almohad dynasty captures Marrakech from the Almoravids, largely rebuilding the city and constructing the Koutoubia Mosque on the site of a demolished Almoravid palace

  3. 3

    Marinid Shift of Power

    1269

    The Marinid dynasty moves the political capital north to Fez, and Marrakech enters a period of relative decline lasting more than two centuries

  4. 4

    Saadian Dynasty Takes Marrakech

    1549

    The Saadians, who defeated the Portuguese at the Battle of Ksar el-Kebir, restore Marrakech as their capital and begin a golden age of building

  5. 5

    Reign of Ahmad al-Mansur

    1578-1603

    The Saadian sultan al-Mansur, enriched by trans-Saharan gold trade, builds the lavish El Badi Palace and the Saadian Tombs necropolis

  6. 6

    Alaouite Dynasty Established

    1668

    The Alaouite dynasty, still Morocco's ruling family today, takes power; Sultan Moulay Ismail later strips El Badi Palace of its marble and gold to build his new capital at Meknes

  7. 7

    Bahia Palace Construction Begins

    1873

    Grand Vizier Si Musa begins building the Bahia Palace, later expanded by his son Ba Ahmed into one of Marrakech's most elaborate residences

  8. 8

    Treaty of Fez and French Protectorate

    1912

    Morocco becomes a French protectorate; Marrakech's Pasha Thami El Glaoui rules the south from the city until independence, and colonial planners build the new Gueliz district outside the historic Medina

  9. 9

    Moroccan Independence

    1956

    Morocco regains independence under Sultan (later King) Mohammed V, and Marrakech begins its transformation into a major international tourism destination

  10. 10

    Medina of Marrakesh Inscribed by UNESCO

    1985

    UNESCO adds the Medina of Marrakesh, including Jemaa el-Fnaa and its historic monuments, to the World Heritage List

  11. 11

    Jemaa el-Fnaa Recognized as Intangible Heritage

    2001

    UNESCO proclaims Jemaa el-Fnaa a 'Masterpiece of the Oral and Intangible Heritage of Humanity' for its living tradition of storytellers, musicians, and performers

Historical sites

Places where Marrakech-Safi's past comes alive.

Alaouite (built 1866-1900)

Bahia Palace

A grand vizier's palace complex of over 150 rooms centered on courtyards of intricate zellige tilework, carved cedar ceilings, and painted stucco, illustrating the height of Moroccan-Andalusian decorative craft.

Where: Marrakech - Medina

Admission: 70-100 MAD (approx $7.50-11)

Saadian (built c.1578-1603)

Saadian Tombs

The royal necropolis of the Saadian dynasty, sealed and forgotten for nearly three centuries until its rediscovery in 1917, containing the marble-columned Chamber of the Twelve Columns and the tomb of Sultan Ahmad al-Mansur.

Where: Marrakech - Medina

Admission: 70 MAD (approx $7.50)

Almohad (built 1147-1195)

Koutoubia Mosque

Marrakech's largest mosque and defining landmark, its 77-meter minaret built as the model that inspired the Giralda in Seville and the Hassan Tower in Rabat, standing on the site of an earlier Almoravid palace demolished for religious reasons.

Where: Marrakech - Medina

Admission: Free (exterior only; interior reserved for Muslim worshippers)

Marinid foundation (1350s), rebuilt Saadian (1560s)

Ben Youssef Madrasa

Once the largest Islamic college in North Africa, housing up to 900 students in small cells arranged around a courtyard famed for its carved cedar, marble, and zellige tilework, closed as a school in 1960 and restored as a historic monument.

Where: Marrakech - Medina

Admission: 70-100 MAD (approx $7.50-11)

Saadian (built 1578-1603)

El Badi Palace

The ruined shell of Sultan Ahmad al-Mansur's most extravagant palace, once decorated with Italian marble and gold leaf paid for by Saharan gold and sugar wealth, stripped bare in the 17th century when Moulay Ismail moved the capital to Meknes; today the minbar of the Koutoubia Mosque and a small museum are displayed on site.

Where: Marrakech - Medina

Admission: 70 MAD (approx $7.50)

Late Alaouite (built c.1890s)

Marrakech Museum (Dar Menebhi Palace)

A late-19th-century palace built for a court minister, later restored and converted into a museum of modern and traditional Moroccan art, its central courtyard hung with an oversized brass chandelier beneath a stained-glass dome.

Where: Marrakech - Medina

Admission: 100 MAD (approx $11)

Alaouite (built late 19th century)

Dar Si Said - Musee des Arts et Metiers

A late-19th-century palace built for Si Said, brother of the Bahia Palace's builder, historically housing a museum of Moroccan woodwork, jewelry, and carpets; opening hours and renovation status change periodically, so confirm access before a visit.

Where: Marrakech - Medina

Admission: Check current status; historically 20-40 MAD ($2.15-4.30) when open

Almoravid (11th-12th century)

Almoravid Koubba

The only fully intact Almoravid-era building surviving in Marrakech, a small domed ablutions pavilion rediscovered below street level in the 1950s, whose carved rosettes, pine cones, and palm motifs established the decorative vocabulary later used across Moroccan-Andalusian architecture.

Where: Marrakech - Medina

Admission: Often included with Marrakech Museum ticket; standalone approx 20-30 MAD ($2.15-3.25)

Almohad (12th century)

Bab Agnaou

The most decorated of Marrakech's original Almohad-era gates, its sandstone horseshoe arch carved with rosettes, shell motifs, and a Kufic inscription band, marking the historic entrance to the royal Kasbah district.

Where: Marrakech - Kasbah

Admission: Free

Saadian foundation (1558), synagogue rebuilt 1930s

Mellah and Lazama Synagogue

Marrakech's historic Jewish quarter, established in 1558 as one of Morocco's earliest mellahs, still centered on the Lazama Synagogue, built around a blue-and-white courtyard by Jewish refugees from Spain and rebuilt in the 20th century.

Where: Marrakech - Medina

Admission: Streets free; synagogue donation-based, typically 20-30 MAD ($2.15-3.25)

Early 20th century (built 1910)

Dar El Bacha - Musee des Confluences

A 1910 palace built for Thami El Glaoui, the powerful Pasha of Marrakech under the French Protectorate, restored and reopened as a museum of art objects reflecting cultural exchange across the historic Islamic world, arranged around a citrus-tree courtyard and a restored hammam.

Where: Marrakech - Medina

Admission: 70-100 MAD (approx $7.50-11)

Almohad-era basin (12th century), pavilion rebuilt Alaouite (1869)

Menara Pavilion

A green-tiled pavilion overlooking a vast Almohad-era irrigation reservoir originally built to water the surrounding olive groves, rebuilt in its current form by Sultan Sidi Mohammed ben Abderrahmane in 1869 as a royal summer retreat.

Where: Marrakech - Western outskirts

Admission: Grounds free; small fee for pavilion access when open, approx 20 MAD ($2.15)

Alaouite (built 1760s-1770s)

Skala de la Ville, Essaouira

A cannon-lined sea bastion built by French military architect Theodore Cornut for Sultan Sidi Mohammed ben Abdallah as part of the fortified port town of Essaouira (then Mogador), designed to protect Atlantic trade and later inscribed within the UNESCO-listed Medina of Essaouira.

Where: Essaouira

Admission: Approx 20 MAD (approx $2.15)

Portuguese colonial (early 16th century)

Chateau de la Mer, Safi

A coastal fortress built by the Portuguese during their early-16th-century occupation of Safi, guarding the harbor entrance with cannon emplacements and thick stone ramparts, one of the clearest surviving traces of the brief Portuguese presence on Morocco's Atlantic coast.

Where: Safi

Admission: Approx 10-20 MAD (approx $1.10-2.15)

Museums

Curated collections that tell Marrakech-Safi's story.

Museum

Musee Yves Saint Laurent Marrakech

Museum

Marrakech Museum (Dar Menebhi Palace)

Museum

Tiskiwin Museum

Museum

Dar El Bacha - Musee des Confluences

Museum

Maison de la Photographie