FezMorocco 34° N · 5° W Verified Aug 2026
The 80-hectare royal palace of Fez still hides courtyards, gardens and a private mosque behind its famous golden gates—entirely closed to the general public.
Photo: Josep Renalias · CC BY-SA 3.0
The most dazzling gateway in Fez belongs to a palace you will never be invited through. Dar al-Makhzen, the Royal Palace of Fez in Morocco, has kept its courtyards out of public reach for nearly seven and a half centuries. You come for the gates, the walls, and the old question of what actually happens inside.
Records show that the palace began in 1276 as part of Fes el-Jdid, a new royal city built by the Marinid sultan Abu Yusuf Ya'qub ibn Abd al-Haqq. He wanted a fortified seat outside the old medina, Fes el-Bali, whose guilds and scholars were famously independent. That defensive instinct still shapes the blank ramparts and wide mechouar squares today.
What visitors actually see is mostly from later centuries, especially Alaouite rebuilding and 20th-century gates on the Place des Alaouites. The palace remains closed to the public, so the experience is entirely exterior: brass glinting against cedar, tilework set high above the crowd, and guards who let the silence do the talking.
History
Fez had never been a simple city to rule from inside. Its old nucleus, Fes el-Bali, held artisans, scholars, and dynasties that did not always bow quickly to a sultan. So in 1276 the Marinid sultan Abu Yusuf Ya'qub ibn Abd al-Haqq began a new fortified quarter, Fes el-Jdid, with Dar al-Makhzen at its heart.
That split between the old medina and the palace city still organizes Fez today. Dar al-Makhzen has been rebuilt many times since, but the first decision, governing from a protected distance, remains written into the street plan.
The turning point
Abu Yusuf Ya'qub had made himself ruler of a new royal city, but he wanted something softer to the north. According to tradition, he admired the pleasure gardens of Granada and planned a vast green ground outside Fes el-Jdid, a Moroccan echo of the Generalife.
He died in 1286 before the work began. His son and successor, Abu Ya'qub Yusuf, carried out the project in 1287, turning the unfinished garden into his own first mark on Fez.
Scholars date the garden, called the Mosara, to the son's order. The father's inspiration is less documented, but the change is certain: the palace was no longer only a keep. It had grounds for spectacle, shade, and display, extending royal power into the fields north of the walls.
Yes, but only as a 20-minute stop for the gates. The palace interior is closed, so set expectations: you're photographing the gilded brass doors and blue-green zellige from Place des Alaouites, not touring royal rooms. Pair it with the adjacent Mellah to make the trip feel worthwhile.
No. The palace remains an active royal residence used during official visits to Fez, so the interior is permanently closed to the public. You can only view the walls, gates, and ceremonial guards from outside.
Budget 15 to 30 minutes. That's enough to photograph the gates, study the tilework up close, and walk the Old Mechouar courtyard. If you add the nearby Mellah, allow 45 to 60 minutes total.
Take a taxi from Bab Bou Jeloud and tell the driver "Palais Royal" or "Dar al-Makhzen"; it's about a 10 to 15 minute ride. You can walk it in 25 to 35 minutes through Fes el-Jdid, but a taxi is easier in summer heat. Agree on the fare before getting in if the meter isn't running.
Yes, viewing the exterior costs nothing and requires no ticket. You can stand in Place des Alaouites any time, though daylight is best. Guided city tours that include the palace stop will charge, but the gates themselves are free.
Don't miss the hand-cut zellige up close; slight irregularities in tile size and color reveal human craftsmanship the long shots hide. Also look for the Old Mechouar, a vast walled courtyard that was a fortified bridge over the Oued Fes in 1276. The green tiles on the exterior echo Sultan Moulay Rashid's 1671 courtyard inside.
Early morning or late afternoon. The brass gates shift from bronze to gold in low-angle light, and summer midday sun bleaches out the zellige colors. Autumn and spring offer 15 to 25°C, ideal for lingering in the exposed square.
Built from cited sources · see the method · How we make our guides →
Saved and recently read places — kept on this device only.
Photos may have been resized or cropped.