El Badi Palace
Today, El Badi Palace is a vast open space of high earthen walls, sunken orange gardens and storks nesting on the ramparts. But in the late 16th century, it was one of the most magnificent palaces in the Islamic world, with gold, Italian marble and onyx covering its halls, and pools stretching across its great courtyard. Its name, El Badi, is often translated as the incomparable. Walking through its ruins is one of the most atmospheric experiences in Marrakech, a reminder of how power and splendor can rise and fall.
This guide covers the history of El Badi Palace, what remains to see today, the Koutoubia minbar museum, the rooftop views, how to visit and what to combine nearby.
El Badi Palace at a glance
| Detail | Information |
|---|---|
| Location | Kasbah district of the Marrakech medina, near the Mellah |
| Built by | Saadian sultan Ahmad al-Mansur |
| Construction began | 1578, after the Battle of the Three Kings |
| Construction time | About 25 years |
| Dismantled | Late 17th century, under Moulay Ismail |
| Highlights | Central courtyard and pools, sunken gardens, rooftop terraces, storks, Koutoubia minbar |
| Visit time | About 1 hour |
History of El Badi Palace
In 1578, the Battle of the Three Kings at Ksar el-Kebir ended with a Moroccan victory over the Portuguese. Ahmad al-Mansur came to the throne after the battle and used the enormous ransom and the wealth of trade to begin building a palace in Marrakech that would show the world the glory of his dynasty. Craftsmen and materials came from across the Mediterranean and beyond, including marble said to have come from Italy, traded in some accounts for its weight in sugar.
The palace took about 25 years to complete. It had a huge central courtyard with a long pool and sunken gardens, pavilions and reception halls decorated with gold, onyx, marble and carved cedar.
After the fall of the Saadians, the Alaouite sultan Moulay Ismail, who made Meknes his capital, had the palace stripped in the late 17th century. Its precious materials were taken to decorate his new palaces in Meknes. What remains today are the massive walls, foundations, gardens and some underground passages.
What to see at El Badi Palace
The great courtyard
The central courtyard is immense, with a large pool in the middle and four sunken gardens planted with orange trees. Imagining it filled with water, pavilions and decoration helps you understand its former grandeur.
The walls and storks
The high earthen walls and towers are home to many white storks, which build huge nests on top. Their clattering beaks are one of the sounds of the palace.
The rooftop terraces
You can climb to terraces on the walls for panoramic views over the palace, the Kasbah, the Mellah, the minarets of the medina and, on clear days, the snowy High Atlas. It is one of the best viewpoints in Marrakech.
The Koutoubia minbar
A small museum inside the palace displays the minbar (pulpit) of the Koutoubia Mosque, a masterpiece of carved and inlaid wood made in Cordoba in the 12th century. It is one of the most important works of Islamic woodcraft. Read more in our guide to the Koutoubia Mosque.
Underground passages
Parts of the old underground corridors and storage rooms can be explored, adding to the atmosphere of the ruins.
How to visit El Badi Palace
- Location: in the Kasbah district, near Place des Ferblantiers and the Mellah, about 15 minutes’ walk from Jemaa el-Fna.
- Tickets: there is an entrance fee; the Koutoubia minbar room may require a small separate ticket.
- Opening: usually daily; hours can change during Ramadan and holidays.
- Time needed: about 1 hour, more if you enjoy photography.
- Accessibility: grounds are open and uneven, with steps to the terraces.
Best time to visit
The palace has little shade, so go early in the morning or late in the afternoon, especially in summer. Late afternoon light on the walls is beautiful, and the storks are very active.
Events at El Badi Palace
The palace’s huge courtyard has long been used as a venue for cultural events, including the National Festival of Popular Arts, which brings folk music and dance groups from across Morocco to Marrakech. Check local listings if you are visiting in summer.
What to see nearby
- The Saadian Tombs, resting place of Ahmad al-Mansur, a few minutes away.
- Bab Agnaou, a beautiful Almohad gate.
- The Mellah, the old Jewish quarter, with its spice market and synagogue.
- Bahia Palace, a 19th century palace with rich decoration.
- Place des Ferblantiers, with its metalworkers and lantern makers.
See also Marrakech attractions.
El Badi Palace vs Bahia Palace
| El Badi Palace | Bahia Palace |
|---|---|
| 16th century Saadian palace | 19th century palace of grand viziers |
| Mostly ruins, vast open spaces | Intact rooms and decoration |
| Atmosphere, history, views | Craftsmanship, details, gardens |
| Storks and rooftop terraces | Painted ceilings and zellige |
Visiting both shows two very different chapters of Marrakech’s history.
Tips for visiting
- Wear a hat and sunscreen; there is little shade.
- Climb to the terraces for the best photos.
- Do not miss the Koutoubia minbar room.
- Hire a guide to bring the ruins to life with stories of the Saadian court.
- Combine with the Saadian Tombs for a Saadian half day.
Our take
El Badi Palace is not about decoration; it is about scale, imagination and history. Standing in its vast courtyard, with storks on the walls and the Atlas on the horizon, you feel both the ambition of Ahmad al-Mansur and the fragility of power. It is one of our favorite places in Marrakech for a quiet, thoughtful visit. Our Marrakech tours and Morocco custom tours include guided visits of the Kasbah district.
Frequently asked questions
Who built El Badi Palace?
The Saadian sultan Ahmad al-Mansur began building it in 1578, after the Battle of the Three Kings.
Why is El Badi Palace in ruins?
In the late 17th century, the sultan Moulay Ismail had it stripped of its precious materials to decorate his palaces in Meknes.
What does El Badi mean?
It is often translated as the incomparable or the marvelous, reflecting its former splendor.
Is El Badi Palace worth visiting?
Yes, for its history, atmosphere, storks, rooftop views and the Koutoubia minbar.
How long does a visit take?
About one hour.
What is the Koutoubia minbar?
It is the 12th century wooden pulpit of the Koutoubia Mosque, made in Cordoba and now displayed inside El Badi Palace.
Explore our Morocco trips:
Tours from Marrakech: Cross the High Atlas to Ait Ben Haddou and the dunes of Erg Chebbi.
Morocco Desert Tours: Camel trekking and a night under the stars in a Sahara desert camp.
Tours from Fes: The oldest medina in Morocco, then the Middle Atlas and the desert.
Tours from Casablanca: Begin at the Hassan II Mosque and travel through the imperial cities.
Tours from Tangier: Start in the north with Chefchaouen and the Rif Mountains.
Tours from Ouarzazate: Kasbahs, film studios and the gorges of the south.
Contact us

Your Local Experts
Our Moroccan team organizes private tours from every major city in Morocco: Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir, Ouarzazate and more. Wherever you land, we pick you up and design your trip around your dates and interests.
Plan Your Trip
Click any destination to see more:
Marrakech Desert Tours
- 2 Days Desert Tour from Marrakech
- 3 Days Marrakech to Merzouga
- 3 Days Marrakech to Fes
- 4 Days Marrakech to Merzouga
- 4 Days Marrakech to Fes
- 5 Days Marrakech to Merzouga
- 5 Days Morocco Tour from Marrakech
- 6 Days Morocco Tour from Marrakech
- 7 Days Morocco Tour from Marrakech
- 8 Days Morocco Tour from Marrakech
- 8 Days with Imperial Cities
- 9 Days Morocco Tour from Marrakech
- 10 Days Morocco Tour from Marrakech
- 12 Days Morocco Tour from Marrakech
- 14 Days Morocco Tour from Marrakech