Your guide to Marrakech's 16th-century Saadian palace

How a sultan’s victory paid for the most magnificent palace in Morocco, and how it became the haunting ruin you can walk through today.
Built by
Ahmad al-Mansur
Saadian sultan, ruled 1578 – 1603
Construction
From 1578
Around 25 years of work and decoration
Name
“The Incomparable”
El Badi in Arabic
Stripped by
Moulay Ismail
Late 17th century, for Meknes
Overview
El Badi Palace was commissioned by the Saadian sultan Ahmad al-Mansur shortly after he came to power in 1578. Funded by the fortune that followed his victory over Portugal, it was designed to impress foreign ambassadors and to show that Morocco stood among the great powers of its time. Its name, al-Badi, means “The Incomparable” in Arabic.
Less than a century after the Saadian dynasty fell, the palace was stripped of its marble, gold and precious materials. What survives today is a vast earthen shell: towering walls, sunken gardens and empty pools that still reveal the extraordinary scale of the original. This page tells the full history of El Badi Palace, from its origins to the present day.
1578
The story of El Badi Palace begins on a battlefield. On 4 August 1578, near Ksar el-Kebir in northern Morocco, a Portuguese army led by King Sebastian invaded in support of the deposed sultan al-Mutawakkil. They were met by the Moroccan forces of Sultan Abd al-Malik.
The battle ended in a crushing Moroccan victory, but all three rulers died: Sebastian, al-Mutawakkil and Abd al-Malik. That is why it is remembered as the Battle of the Three Kings, also known as the Battle of Alcácer Quibir.
Abd al-Malik’s brother, Ahmad, was proclaimed sultan on the battlefield. He took the name al-Mansur, “the Victorious”. The huge ransoms paid for thousands of Portuguese nobles who had been taken prisoner made him one of the richest rulers of his age, and gave him the means to build El Badi.

Architecture
Work on the palace started soon after al-Mansur’s accession and continued for around 25 years. The sultan brought in the finest materials and craftsmen from across the Mediterranean and Africa: Italian marble, gold, onyx, carved and painted cedar wood, and fine zellige tilework.
According to a well-known tradition, the Italian marble was paid for with Moroccan sugar, weight for weight. Whether or not the story is literally true, it shows how El Badi was remembered: as a palace where no expense was spared.
01
At the heart of the palace lay an immense courtyard of roughly 135 by 110 metres, with a long central reflecting pool and four sunken gardens planted with orange trees.
02
Pavilions lined the courtyard. The largest, the Koubba el-Khamsiniya or “Pavilion of Fifty”, was used for receptions and is thought to be named after its size or its fifty columns.
03
Reception halls, private apartments, stables and underground chambers surrounded the courtyard. Some of the underground passages can still be explored today.

Decline
Ahmad al-Mansur died in 1603, and his successors fought among themselves. The Saadian dynasty slowly lost power and was eventually replaced by the Alaouite dynasty, which still rules Morocco today.
The second Alaouite sultan, Moulay Ismail, moved his capital to Meknes and set about building an enormous new imperial city there. In the late 17th century he had El Badi Palace systematically stripped of its marble, gold, tiles and woodwork to reuse in his own palaces. The work reportedly took years.
A famous story says that at the palace’s inauguration, al-Mansur asked his court jester what he thought of it. The jester replied that it would make a magnificent ruin. Whether true or not, the prediction came to pass.
Timeline
12th century
Craftsmen in Córdoba carve the cedar-wood minbar (pulpit) that would later stand in the Koutoubia Mosque and is now displayed at El Badi Palace.
1578
Morocco wins the Battle of the Three Kings. Ahmad al-Mansur becomes sultan and soon begins building El Badi Palace.
1578 – early 1600s
The palace is built and decorated over about 25 years with marble, gold, onyx and cedar wood.
1603
The sultan dies and is buried in the nearby Saadian Tombs. The dynasty begins its decline.
Late 17th century
Moulay Ismail removes the palace’s precious materials to build his new capital at Meknes, leaving El Badi in ruins.
1985
The Medina of Marrakech, including the Kasbah district where El Badi stands, is listed as a UNESCO World Heritage Site.
2023
The palace is damaged in the September 2023 earthquake, then repaired and reopened to visitors.
Today El Badi Palace is one of the most visited monuments in Marrakech. Its courtyard also hosts cultural events, and for many years it was the setting for the Marrakech Popular Arts Festival.
A treasure inside
One of the most important works of art in Morocco is displayed in a pavilion inside El Badi Palace: the original minbar of the Koutoubia Mosque. Made in Córdoba in the 12th century, this cedar-wood pulpit is decorated with thousands of finely carved and inlaid pieces and bands of calligraphy.
It is several centuries older than the palace itself, and is considered one of the masterpieces of Islamic woodwork. The minbar is included in your entrance ticket, so do not leave without seeing it.
Visiting tip: the minbar pavilion is dimly lit to protect the wood. Give your eyes a moment to adjust, and take time to look at the detail of the carved panels.
FAQ
El Badi Palace was built by Ahmad al-Mansur, sultan of the Saadian dynasty, who ruled Morocco from 1578 to 1603.
Construction began shortly after al-Mansur came to power in 1578 and continued, with decoration work, for around 25 years.
It was funded largely by the ransoms paid for Portuguese prisoners captured at the Battle of the Three Kings in 1578.
In the late 17th century the Alaouite sultan Moulay Ismail stripped the palace of its marble, gold and other precious materials to build his new capital at Meknes.
Al-Badi means “The Incomparable” in Arabic, a name chosen to show that the palace had no equal.
He is buried in the Saadian Tombs, a short walk from El Badi Palace. Their richly decorated halls give an idea of how the palace once looked.
Check the opening hours and ticket prices before you go.
Plan your visit
Photo credits: Ghassaneghf (CC BY-SA 4.0); Pedro from Maia, Porto (CC BY 2.0); R Prazeres (CC BY-SA 4.0); Martin Furtschegger (CC BY 3.0); Jakub Hałun (CC BY 4.0). All via Wikimedia Commons.