El Badi Palace — The Ruined Saadian Palace of Marrakech
El Badi is a ruined palace in the Kasbah of Marrakech, built at the height of Saadian power. Its great empty courtyard is the quietest place in the medina.
El Badi was begun in December 1578, after the Battle of the Three Kings, and finished in 1593 under Sultan Ahmad al-Mansur, who built it to stand beside any palace in Europe or the Ottoman Empire. At its height it held around three hundred and sixty rooms, with Carrara marble from Italy and gold from south of the Sahara, and then Moulay Ismail ordered it stripped in 1707 to 1708 for his new capital at Meknes. What remains is a vast courtyard, a long pool, sunken orange gardens, and high walls of rammed earth where white storks nest, and that emptiness is the reason travellers come.
Quick Facts
- Name: El Badi; in Arabic Qasr al-Badi, “the Incomparable Palace”; in German El Badi Palast.
- Position: Place des Ferblantiers, in the Kasbah, south of the medina of Marrakech, at thirty-one degrees thirty-seven minutes north, seven degrees fifty-nine minutes west.
- Built: Begun December 1578, finished 1593, under Sultan Ahmad al-Mansur of the Saadian dynasty.
- Size at its height: Around 360 rooms around a courtyard of 135 m by 110 m, with a central pool about 90 m long and 22 m wide.
- Fate: Stripped by order of Moulay Ismail in 1707 to 1708, with the materials carried to Meknes; only the walls, the courtyard, the pool, and the gardens remain.
- UNESCO: El Badi stands inside the Medina of Marrakesh, a World Heritage property since 1985 (ref 331), but it holds no listing of its own.
- Best time: Winter and spring, when the days are mild and the orange trees are green.
Geography of El Badi
El Badi stands in the Kasbah, the royal quarter in the south of the medina of Marrakech, near Place des Ferblantiers. The Kasbah holds the royal palace, the Saadian Tombs, and the Mellah, the old Jewish quarter, and the place of El Badi among them shows its role: this was not a palace on the edge of the city, but the centre of Saadian power, set beside the home of the sultan and his court. A traveller walks from Jemaa el-Fna south through the Mellah in about twenty minutes, passing craft shops and houses along narrow streets, and the Saadian Tombs stand only a few minutes on foot from El Badi. The Kasbah walls still mark the old royal quarter, and the quarter keeps its own gates, its own mosque, and its own streets, apart from the busy medina to the north.
Marrakech lies on a wide plain at the foot of the Atlas mountains, about four hundred and sixty metres above sea level, on dry ground with a semi-arid climate, hot summers and mild winters, and the snow-covered Atlas showing on the horizon in winter. El Badi was built for that climate, with its courtyard open to the sky, its pool and gardens cooling the air, its thick rammed-earth walls holding a steady temperature, and its rooms opening onto the courtyard rather than the street. The palace is therefore not only a show of power, but an answer to the heat of Marrakech, where the sun beats down for months of the year. The old gardens of the city, Aguedal and Menara, with their great basins, and the palm grove to the north, belong to the same world of water and shade that El Badi was built for.
The courtyard of El Badi measures about one hundred and thirty-five metres by one hundred and ten metres, a very large open space beside the other palaces of Marrakech. The central pool runs along the main axis of the courtyard, about ninety metres long and twenty-two wide, with sunken orange gardens on either side. The gardens lie lower than the courtyard floor, a design that gives shade and keeps moisture for the trees, and travellers can still walk down into them today and look at the orange trees from below. Around the courtyard stand high walls of rammed earth, about two metres thick, with towers and gates still standing, and white storks nest on top of the walls.
The gardens of El Badi sit below the courtyard floor, a design that uses the earth itself to cool the air and hold water for the orange trees. The trees stand in rows along the sides of the pool, and the sunken floor keeps the soil damp through the dry months of Marrakech. From the courtyard above, a traveller sees only the crowns of the trees against the rammed-earth walls, and the green of the leaves is the one strong colour in a palace otherwise built of earth and stone.
The climate of Marrakech shapes a visit to El Badi directly, since most of the site stands in the open, with no roof over it. In summer the heat often passes forty degrees, and the courtyard holds almost no shade at midday except for the shadows of the high walls, so travellers should bring a hat, drinking water, and sun cream. Winter and spring are the kindest seasons, when the days run near twenty to twenty-five degrees, the orange trees are green, and the storks nest on the walls. Morning and late afternoon are the best hours in any season, when the light is soft and the heat is low.
From El Badi a traveller can see the tower of the Koutoubia Mosque to the north, and the Atlas mountains to the south on clear days. That view is a reminder that El Badi once formed part of a much larger royal complex across the Kasbah, with palaces, gardens, and storehouses following one after another. Most of that complex has vanished, and El Badi is the largest part that remains, a huge empty space among the quarters of the medina. The emptiness, with its earth walls and its trees, stands in sharp contrast to the crowded streets around it, and it is why many travellers call El Badi the quietest place in the medina.
El Badi stands inside the Medina of Marrakesh, which UNESCO listed as a World Heritage property in 1985 under ref 331, with criteria for masterpieces of architecture, for medieval town planning, for a great Islamic capital, and for a living historic town. El Badi is not a listing of its own, and that matters: the palace is a building inside the listed medina, in the same way as the Saadian Tombs and the Bahia Palace, which also stand inside the inscribed area without a ref of their own. The registry value unesco:false for El Badi is therefore correct, and this guide does not call El Badi a World Heritage property on its own. The walled medina covers about seven hundred hectares inside its old ramparts, while the inscribed property totals 1,107 hectares with the Agdal and Menara gardens beyond the walls, and El Badi is one of many monuments inside the medina, from the Koutoubia to the Bahia Palace.

تُظهر الصورة جانبًا من الساحة الداخلية الواسعة لقصر البديع التاريخي بمدينة مراكش، حيث تظهر الحدائق الغائرة المزروعة بأشجار البرتقال، والممرات المرصوفة، والصهاريج المائية، إلى جانب الأسوار الضخمة المشيدة بالتراب المدكوك — CC BY-SA 4
History of El Badi
The story of El Badi starts with the Battle of Wadi al-Makhazin, also called the Battle of the Three Kings, in 1578. In that battle the Moroccan army beat the Portuguese, and the king of Portugal, Sebastian, died in a single afternoon with two other kings. The victory gave Ahmad al-Mansur, who took the Saadian throne just after the battle, a great ransom from the Portuguese nobles taken prisoner, with control of the gold routes across the Sahara through Timbuktu, and that wealth paid for the palace.
Ahmad al-Mansur used the riches to build a palace worthy of his new standing, one made to match any palace in Europe or the Ottoman Empire. The chronicler al-Ifrani records that the work began in December 1578, only months after the victory, and ran for fifteen years, finishing in 1593. The name of the palace, al-Badi, means “the Incomparable”, and it is also one of the ninety-nine names of God in the Islamic tradition. The name was not modesty: al-Mansur wanted a palace with no equal, and he was ready to spend vast sums to have it.
Carrara marble came from Italy, and some accounts say the Italians sold the marble by weight in exchange for Moroccan sugar, a direct trade that turned goods into architecture. Gold from south of the Sahara, carried by camel trains from Timbuktu, gilded the decoration, while onyx from India and cedar wood served the reception rooms. El Badi was in that way a physical map of the trading network that al-Mansur controlled, from the Mediterranean to the Sahara and the Indian Ocean.
At its height El Badi held around three hundred and sixty rooms, set around the great courtyard, with reception halls, the private rooms of the sultan, a library, and storehouses. The palace hosted every great ceremony of the Saadian court for about three quarters of a century, from the welcome of foreign envoys to the festivals of the court. European envoys who came to Marrakech in those years wrote of a palace hard to believe, with marble floors, gilded ceilings, and pools that caught the light. El Badi also formed part of a larger palace complex in the Kasbah, with smaller palaces, gardens, and service buildings making a small royal city inside Marrakech.
Ahmad al-Mansur died in 1603, ten years after the palace was finished, and the Saadian dynasty began to fail after his death. His sons fought for the throne, civil war ran long, and El Badi fell into neglect, though it still served for some ceremonies. Moulay Rashid, the first Alaouite sultan, lived at El Badi for a short time in 1668 to 1669, but his successor Moulay Ismail had no wish to keep the palace of the old dynasty. Moulay Ismail moved the capital of Morocco from Marrakech to Meknes late in the seventeenth century, and, by the account of al-Ifrani, he ordered El Badi stripped in 1707 to 1708, to take the marble, the cedar, the tiles, and the gold leaf for his new capital.
The stripping in fact went on slowly over a long time, starting before 1707 and running on after Moulay Ismail. The marble and the fine woods went north load by load, and today pieces of Saadian work, very likely including material from El Badi, can still be seen in buildings across Morocco, from the mausoleum of Moulay Ismail in Meknes to the zawiya of Moulay Idris the Second in Fez. What could not be carried stayed: the rammed-earth walls were too heavy and worthless to move, with the courtyard, the pool, and the sunken gardens. For a long time after, the ruin served as pasture and a shelter for owls, and a court joke, that the jester of Ahmad al-Mansur once said the palace would become a fine ruin, came true.
One of the most famous objects once tied to El Badi is the Koutoubia minbar, a cedar pulpit inlaid with great skill from the twelfth century, made in Cordoba for the Koutoubia Mosque. The minbar stood in the El Badi complex for a time before it was moved away for safekeeping, and its story mirrors the fate of El Badi itself: the finest objects of the palace were all carried off, and only the skeleton of earth remained. Today a traveller at El Badi can still see a pavilion with standing columns, some plaster and zellij tile work, and underground passages to walk through, traces that show the first scale of the palace.
In the nineteenth and twentieth centuries El Badi slowly came to be seen as a historic monument rather than a forgotten ruin. Archaeologists and historians, from Deverdun to modern scholars, used the writings of al-Ifrani, Portuguese maps of the sixteenth century, and excavations to rebuild the first shape of the palace. A Portuguese map of 1585 already shows the palace nearly complete, while records of marble purchases run on to 1602, showing that the palace was decorated and enlarged for years after the main building was done. El Badi today is run as a monument open to travellers, with boards that explain the site and paths for walking, and it is a usual stop on the medina tours of Marrakech.

El Badi Palace, Marrakesh, Morocco — CC BY 4
Travel to El Badi
A traveller to El Badi should start at Jemaa el-Fna, the centre of the medina, and walk south through the Mellah, the old Jewish quarter with its balconies and jewellery shops. The walk takes about twenty minutes, and it passes several places worth a stop, among them the Saadian Tombs, where Ahmad al-Mansur and the Saadian kings lie, only a few minutes on foot from El Badi. Joining El Badi with the Saadian Tombs in one morning is the best way to see the quarter, since the two monuments tell one story: the splendour of the Saadians and how fast it vanished.
The first thing a traveller sees on entering El Badi is its deliberate emptiness. The great courtyard, with its long pool in the middle, has no roof and little furniture, and that emptiness surprises many travellers, who expect a palace full of furnishings and decoration. The best way to see it is to walk slowly around the edge of the courtyard, stopping at the corners to take in the scale of the work, and to picture the reception rooms that once opened onto the courtyard with marble and gold leaf. The boards in the monument help a traveller picture the first layout, with the rooms, the pavilions, and the gardens, and they should be read before going down into the sunken orange gardens.
After walking the courtyard, a traveller should go down the stone steps into the orange gardens and sit a while among the trees. The steps are worn and uneven, so a steady pace helps, and the shade under the orange crowns is the best rest in the monument at midday, when the courtyard above holds no cover from the sun. Photographers will find the light soft down here, with the wall tops above and the green leaves as a frame, and the garden is at its best in spring, when the blossom is out and the trees are full of scent.
A traveller who wants the wide view should climb the wall walk on the south side, where the terrace opens over the medina and the Atlas shows on clear days. The climb is by stone steps with no rail in places, so it suits a traveller with a steady step, and the best hour is late afternoon, when the sun is low and the shadows run long across the courtyard. Bring a long lens for the storks, which nest on the wall tops through the year, and keep a distance from the nests, since the birds may leave a nest that is troubled often.
El Badi also holds a small exhibition area and underground passages that a traveller can walk through. The passages once served the servants and the stores, and today they give a sense of the hidden frame of the palace, with small rooms and corridors of rammed earth. Some pavilions still stand, with columns and plaster work, and the zellij tiles that remain are among the few original decorations still in place. The exhibition often holds photographs and models that rebuild the palace at its height, so a traveller can set the past beside the present.
Opening hours and ticket prices for El Badi are set by the Moroccan Ministry of Culture and can change with the season, so this guide states no fixed price or fixed hours. The monument opens in the daytime, and travellers should check the current hours on visitmorocco.com or the Ministry pages before going, since the hours can change in Ramadan and on holidays. Tickets are sold at the gate, and travellers should carry cash, since not every ticket point in the medina takes cards. The best time to visit is early morning, when the light is soft and the heat is low, or late afternoon, when the low sun throws long shadows across the courtyard.
A traveller to El Badi should join it with the other sights of the Kasbah in the same day, since the quarter holds many monuments in a small area. The Saadian Tombs, with a marble-paved hall and a carved cedar dome, are a must, and the Bahia Palace, with its courtyards and gardens, shows a wholly different palace style of Morocco, from the nineteenth century. The Mellah, with its wrought-iron balconies and spice and jewellery shops, is a good place for lunch, and Jemaa el-Fna, with its food stalls and street performers, is the place to end the day. The Jardin Majorelle is also worth a visit, but it stands outside the medina, in Gueliz, and needs a taxi or a bus to reach.
Notable Places in El Badi
The Great Courtyard and the Pool
The great courtyard is the heart of El Badi, a vast open space about one hundred and thirty-five metres by one hundred and ten metres, with a long pool running down its main axis. The scale is the point of the place: a traveller who walks the edge of the courtyard feels how large the Saadian court was, and how much of it has gone. The pool still holds water in the season, and its surface catches the light of the sky, much as it did when the court sat around it. Morning is the best time to stand here, before the heat builds and the tour groups arrive.
The Sunken Orange Gardens
Spring is the season for the orange gardens, when the blossom opens and the scent carries up to the courtyard, and a traveller who comes then will find the trees at their finest. By late autumn the fruit hangs heavy on the branches, and the garden turns from green to gold, a change that shows how the palace gardens were planted to mark the year. The low floor of the garden is itself the point of interest: it was built to hold shade and moisture in a dry city, and a traveller who stands down among the trees can feel the cool air that the design was made to catch.
The Ramparts and the Storks
The walls of El Badi are built of rammed earth about two metres thick, and their height still shows how the palace once shut out the city around it. The wall tops carry the nests of white storks, which return each year and raise their young above the courtyard, and their calls are part of the sound of the monument. From the terrace a traveller can see the Koutoubia tower to the north and the Atlas to the south, and the view makes clear how large the old Kasbah complex once was, with palaces and gardens following one after another.
The Saadian Tombs
The Saadian Tombs stand a few minutes on foot to the south-west of El Badi, and they hold Ahmad al-Mansur, the builder of El Badi, with other Saadian kings and princes. Moulay Ismail had the tombs sealed in the same years that he stripped El Badi, and they were only found again early in the twentieth century, when archaeologists found the hidden entrance. Today the tombs are one of the most visited sights of Marrakech, with the Hall of Twelve Columns paved in Carrara marble, a carved cedar dome, and inlaid tombstones. A traveller should visit the tombs just after El Badi, since the two places tell one story, and the marble in the tombs is one of the few places where the luxury that once dressed El Badi can still be seen.
The Bahia Palace
The Bahia Palace stands in the north of the Kasbah, and it is a nineteenth-century palace built under the great viziers of the sultan, showing a wholly different palace style from El Badi. While El Badi is a ruin with a huge courtyard and rammed-earth walls, Bahia is a palace still whole, with smaller courtyards, gardens, rooms paved in zellij tiles, and painted wooden ceilings. Setting the two palaces side by side helps a traveller see how the palace architecture of Morocco changed over three centuries, from the huge scale of the Saadians to the refinement of the late Alaouites. Bahia draws more travellers than El Badi, and its rooms are far smaller than the courtyard of El Badi, so a traveller should come early to avoid the crowds.
The Koutoubia Mosque
The tower of the Koutoubia Mosque, seventy-seven metres tall, is the mark of Marrakech, and it can be seen from the walls of El Badi. The mosque was built in the twelfth century under the Almohads, and its tower set the model for the Giralda in Seville and the Hassan Tower in Rabat. The Koutoubia minbar, the object once shown at El Badi, belongs to this mosque, and its story joins the two monuments across eight centuries. Travellers who are not Muslim may not enter the mosque, but they can look at the tower and the gardens around it from outside, and it is a good stop on the walk from El Badi back to Jemaa el-Fna.
Frequently Asked Questions
What is El Badi?
A ruined Saadian palace in Marrakech, built from 1578 to 1593 under Ahmad al-Mansur. Only the courtyard, pool, gardens, and walls remain.
Why is El Badi a ruin?
Moulay Ismail ordered it stripped in 1707 to 1708 for his new capital at Meknes. The work went on for decades.
Is El Badi a UNESCO World Heritage property?
It stands inside the Medina of Marrakesh, listed in 1985, but it holds no listing of its own. The registry flag is correct.
How long does a visit to El Badi take?
Give it one to two hours, then add the Saadian Tombs nearby. A morning covers the whole Kasbah quarter.
Where is El Badi in Marrakech?
In the Kasbah, south of the medina, near Place des Ferblantiers. It is about twenty minutes on foot from Jemaa el-Fna.
When is the best time to visit El Badi?
Winter and spring are best, with mild days and green orange trees. In summer, come early or late to avoid the midday sun.
Verified
- El Badi Palace was begun in December 1578 and completed in 1593 under Sultan Ahmad al-Mansur, after the Battle of the Three Kings in 1578.
- The courtyard measures 135 by 110 m; the central pool measures 90.4 by 21.7 m.
- The palace held around 360 rooms at its height, an estimate from historical accounts, not archaeology.
- Moulay Ismail ordered the palace stripped in 1707 to 1708, and the work went on for decades.
- The remaining rammed-earth walls are about 2 m thick.
- The 12th-century Almoravid minbar of the Koutoubia Mosque, made in Cordoba, was shown at El Badi and is now on display there.
- The minaret of the Koutoubia Mosque stands 77 m tall.
- El Badi lies inside the Medina of Marrakesh (ref 331), inscribed in 1985, criteria (i)(ii)(iv)(v), but holds no listing of its own, so the registry value unesco:false is CORRECT.
- The walled medina covers about 700 hectares; the inscribed property totals 1,107 hectares, including the Agdal and Menara gardens beyond the walls.
- The nearest separate World Heritage property is the Ksar of Ait-Ben-Haddou (ref 444), 102.7 km to the south-east in a straight line.
- Coordinates 31.618333 degrees north, 7.985833 degrees west, matching the registry and Wikidata Q1277747.
Sources
- Wikipedia, “Badi Palace” (https://en.wikipedia.org/wiki/Badi_Palace) — building, size, dismantling, minbar, checked 23/11/2026.
- Discover Islamic Art, “Badi Palace” (https://islamicart.museumwnf.org/database_item.php?id=monuments;ISL;ma;Mon01;13;en) — history, name, materials, checked 23/11/2026.
- UNESCO, “Medina of Marrakesh” (ref 331) (https://whc.unesco.org/en/list/331/) — criteria (i)(ii)(iv)(v), Badi Palace named as a component, checked 23/11/2026.
- Slow Morocco, “El Badi Palace” (https://www.slowmorocco.com/places/el-badi-palace) — size, gardens, checked 23/11/2026.
- Totally Marrakech, “El Badi Palace” (https://totallymarrakech.com/things-to-do/el-badi-palace/) — position, minbar, checked 23/11/2026.
- Wikidata API, Q1277747 (El Badi Palace), coordinates thirty-one degrees thirty-seven minutes north, seven degrees fifty-nine minutes west — checked 23/11/2026.
Unverified
- The completion year has two figures: al-Ifrani and Wikipedia give 1593, while Discover Islamic Art gives 1594, the year 1002 of the Hijri calendar; this guide uses 1593.
- The Battle of the Three Kings has two dates in the sources: some give 4 August 1578, others October 1578; this guide gives the year only.
- The figure of around 360 rooms is an estimate from historical accounts, not a count from archaeology.
- Opening hours of 9:00 to 17:00 are quoted by some travel pages from the Ministry of Culture, but this guide has not read them directly on the Ministry site.
- The ticket price is not stated in this guide, since prices change and have not been verified directly on official pages.
Illustrations
- Hero: El Badi Palace. Free image: https://upload.wikimedia.org/wikipedia/commons/6/6e/El_Badi_Palace%2C_Marrakesh%2C_Morocco%2C_20250125_1002_7124.jpg — CC BY 4.0.
- In body, garden: تُظهر الصورة جانبًا من الساحة الداخلية الواسعة لقصر البديع التاريخي بمدينة مراكش، حيث تظهر الحدائق الغائرة المزروعة بأشجار البرتقال، والممرات المرصوفة، والصهاريج المائية، إلى جانب الأسوار الضخمة المشيدة بالتراب المدكوك. Free image: https://upload.wikimedia.org/wikipedia/commons/4/47/Historic_Gardens_and_Rammed-Earth_Walls_of_El_Badi_Palace%2C_Marrakech%2C_Morocco.jpg — CC BY-SA 4.
- In body, palace: El Badi Palace, Marrakesh, Morocco. Free image: https://upload.wikimedia.org/wikipedia/commons/0/0a/El_Badi_Palace%2C_Marrakesh%2C_Morocco%2C_20250125_0945_7100.jpg — CC BY 4.
