Main Entrance Gate
The gate they call Bab Al-Rokham — the Marble Gate — sets the tone before you've taken ten steps inside. It opens not into a room but into an argument about scale: a courtyard 135 metres long, ringed by crumbling walls, orange trees, and the occasional stork riding a thermal overhead. What you're walking into was, for a few decades in the late sixteenth century, one of the most opulent palace complexes in the Islamic world.
Now the grandeur is mostly absence. Moulay Ismail stripped this place down to its bones in the early eighteenth century, carting the marble and gilt north to Meknes. What's left is a ruin that earns its reputation through what it no longer has.
💛 What travellers fall for
People who come back tend to arrive just as the gates open at 9 AM — the light is low, the tour groups haven't landed yet, and the storks are already working the thermals above the walls. The walk from Jemaa el-Fna down Rue Riad Zitoun el Kdim takes about fifteen minutes on foot and is itself worth the detour.
How Main Entrance Gate came to be
Sultan Ahmad al-Mansur of the Saadian dynasty began building El Badi Palace in 1578, months after coming to power following the Battle of the Three Kings. Construction ran until 1594, with finishing work continuing to 1603, the year of his death. The Marble Gate stood as the ceremonial threshold to a complex that included grand pavilions, a central pool nearly ninety metres long, and decoration sourced from across the Mediterranean world.
The palace's stripping came swiftly, historically speaking. Between 1707 and 1708, the Alaouite sultan Moulay Ismail ordered it systematically dismantled, its materials repurposed for his new capital at Meknes. The gate survived as a threshold to a ruin — which is, in its own way, the most honest kind of entrance.
Who and what shaped it
People who shaped it
Landmark buildings
Plan your visit
On the map
When to go
Marrakech summers push well above 35°C by midday, and the palace's open courtyard offers almost no shade. Spring (March to May) and autumn (September to November) are the most comfortable windows; winter mornings can be cool but the light is often excellent.
Right now
Background & history adapted from Wikipedia (CC BY-SA) · specs from Wikidata (CC0) · weather from Open-Meteo · map data © OpenStreetMap contributors · photos from Wikimedia Commons / Unsplash with per-image credit. No third-party reviews or social posts reproduced.