Dar el Makhzen Fes: The Royal Palace and Its Golden Doors
Stand in the middle of Place des Alaouites in the morning light and you will understand why so many travelers come here with their cameras ready. Seven monumental gates line the square, the largest framed by bands of deep blue and green zellige, carved cedar and, at their center, huge doors of gleaming gilt bronze covered in geometric patterns. Behind them lies one of the largest royal complexes in the world, a palace that has been home to Moroccan rulers for more than seven centuries.
This is Dar el Makhzen Fes, the Royal Palace of Fes. You cannot go inside, but its doors are among the most photographed sights in Morocco, and the history behind them tells the story of the city itself. In this guide we explain what Dar el Makhzen is, how it grew over the centuries, what you can see from the outside, how to get there and what to visit nearby.
Dar el Makhzen Fes at a Glance
| Question | Answer |
|---|---|
| What is it? | The Royal Palace of Fes, a residence of the King of Morocco |
| Where is it? | Fes el-Jdid, the royal district between the old medina and the Ville Nouvelle |
| When was it founded? | In 1276, under the Marinid sultan Abu Yusuf Yaqub |
| How big is it? | About 80 hectares |
| Can you go inside? | No, it is not open to the public |
| What can you see? | The famous gates on Place des Alaouites and the surrounding walls |
| Entrance fee | None; viewing the gates is free |
| Best time to visit | Early morning, for soft light and fewer people |
What Does “Dar el Makhzen” Mean?
Dar means “house,” and Makhzen is the traditional word for the Moroccan state and royal government. Historically, the makhzen was the storehouse where taxes were kept, and the word later came to mean the central power around the sultan. So Dar el Makhzen literally means “the house of government,” and in practice, “the royal palace.” Several Moroccan cities have a Dar el Makhzen; the one in Fes is among the oldest and most famous. Read more in our guide on how many royal palaces there are in Morocco.
A Short History of the Royal Palace of Fes
1276: The Marinids build a new royal city
In 1276, the Marinid sultan Abu Yusuf Yaqub founded Fes el-Jdid, meaning “New Fes,” a fortified royal city next to the old medina of Fes el-Bali. The palace was its heart, serving as the royal residence and the center of government. Next to it he built the Grand Mosque of Fes el-Jdid, connected to the palace by a private passage. His son later created a large pleasure garden, though it has since disappeared.
The Alaouites expand the palace
When the Alaouite dynasty took Fes in 1666, the palace began a new phase. Sultan Moulay Rashid added a large courtyard with green zellige and a water basin, and successive rulers kept building. Moulay Abd al-Rahman, in the first half of the nineteenth century, laid out the vast Grand Mechouar, the Lalla Mina Gardens and their mosque, and developed a palace library.
The greatest builder of the modern era was Moulay Hassan I (ruled 1873 to 1894). He extended the palace grounds, created new ceremonial squares called mechouars, founded the Dar al-Makina arms factory in 1886 with Italian officers, created the Agdal Gardens and Jnan Sbil, and built the summer palace of Dar Batha. He also linked Fes el-Jdid and Fes el-Bali with a walled corridor, uniting the two halves of the city.
The 20th century and the golden doors
In 1912, with the start of the French protectorate, the capital moved to Rabat and Fes stopped being the seat of government. Some parts of the palace complex, such as Dar Batha, were used by the French administration. After independence, King Hassan II reorganized the palace’s main entrance. In the 1960s, the Place des Alaouites was created on the southwestern side, near the old Mellah, and between 1969 and 1971 the monumental gates you see today were built by Moroccan master craftsmen. To learn more about this period, read whether France colonized Morocco.
Royal Palace of Fes Timeline
| Date | Event |
|---|---|
| 1276 | Marinid sultan Abu Yusuf Yaqub founds Fes el-Jdid and the palace |
| 1276 | Grand Mosque of Fes el-Jdid built beside the palace |
| 1666 | Alaouite sultan Moulay Rashid takes Fes |
| 1671 | New courtyard with green zellige and a water basin |
| 1822 to 1859 | Moulay Abd al-Rahman creates the Grand Mechouar and Lalla Mina Gardens |
| 1873 to 1894 | Moulay Hassan I expands the palace, builds Dar Batha and links Fes el-Jdid to Fes el-Bali |
| 1886 | Dar al-Makina arms factory founded |
| 1912 | Capital moves to Rabat under the protectorate |
| 1969 to 1971 | Monumental gates built on Place des Alaouites under Hassan II |
The Famous Golden Doors
The gates on Place des Alaouites are the main reason visitors come to Dar el Makhzen. There are seven gates of different sizes along the palace wall, but the central group with three large doors is the most impressive. Their features are a masterclass in Moroccan craftsmanship:
- Gilt bronze doors: huge panels covered in interlacing geometric stars and polygons, with large ornamental knockers.
- Zellige: hand-cut mosaic tiles in blue, green and white framing the arches and pillars.
- Carved cedar: a wooden canopy and friezes above the doors, carved with fine patterns and calligraphy-style motifs.
- Horseshoe arches: a classic element of Moroccan and Andalusian architecture.
Each element is made by hand by artisans whose skills are passed down through generations in Fes. The result looks timeless, even though the gates were completed only around fifty years ago. The square in front is lined with trees and kept immaculate, and royal guards stand watch day and night.
What Is Inside Dar el Makhzen?
Because the palace is closed to the public, most of what lies behind the walls is known only through historical sources. The complex includes:
- Several mechouars: large ceremonial squares where official receptions and processions took place.
- Royal residences and pavilions built by different sultans over the centuries.
- Gardens, including the Lalla Mina Gardens on the site of older Marinid gardens.
- Mosques, including the Lalla Mina Mosque and a former Marinid madrasa converted into a mosque.
- Historic administrative buildings, such as a courthouse and the old Dar al-Makina arms factory, whose Italian-style gateway faces one of the outer squares.
The palace is still used by the King of Morocco when he stays in Fes, which is why it remains private. Learn more about the Moroccan royal family and who the King of Morocco is.
Fes el-Jdid: The Royal District Around the Palace
Dar el Makhzen sits in Fes el-Jdid, the second historic part of the city, founded by the Marinids beside the older medina of Fes el-Bali. It is calmer and more open than the old medina, with wide streets, monumental gates and ceremonial squares. Fes el-Jdid is part of the UNESCO-listed historic city of Fes, together with Fes el-Bali. A walk here is a good introduction to the city before diving into the maze of the old medina of Fes.
Bab Dekkakin and the Old Mechouar
Before the Place des Alaouites existed, the palace’s main public entrance was on the north side. Here you can see the Old Mechouar and the monumental gate of Bab Dekkakin, also called Bab es-Sebaa, which leads to the New Mechouar. Nearby, the Italianate gateway of the old Dar al-Makina reminds visitors of the nineteenth-century efforts to modernize the Moroccan army.
The Grande Rue and Bab Semmarine
From the Old Mechouar, the Grande Rue of Fes el-Jdid runs south past shops and cafes toward Bab Semmarine, a gate leading to the Mellah. It is a lively street where locals shop for clothes, fabrics and household goods.
The Mellah Next Door
Right beside Place des Alaouites lies the Mellah of Fes, the oldest Jewish quarter in Morocco, created in the fifteenth century next to the palace. Its houses have distinctive wooden and wrought-iron balconies facing the street, unlike the inward-looking houses of the medina. You can visit the restored Ibn Danan Synagogue and the Jewish Cemetery, with its rows of white tombs. To understand this history, read our guide to Jews in Morocco.
How to Get to Dar el Makhzen
- On foot from Bab Bou Jeloud: about 20 to 30 minutes, passing the Jnan Sbil gardens and the Grande Rue of Fes el-Jdid. It is an easy, mostly flat walk.
- By petit taxi: the red taxis of Fes can drop you at Place des Alaouites. Ask the driver to use the meter, or agree on a price before you set off.
- From the Ville Nouvelle: a short taxi ride, or a pleasant walk of around 20 minutes from the central avenues.
- With a guide: most guided tours of Fes start or end at the palace gates, combining them with the Mellah and the medina.
Visiting Tips and Rules
- You cannot enter the palace; the square and the gates are what you visit.
- No fee: the square is free and open at all times.
- Keep your distance from the doors and follow the instructions of the royal guards.
- Photograph the doors, not the guards, and never fly a drone near the palace.
- Dress respectfully, as you would anywhere in the city.
- Plan 15 to 30 minutes at the gates, more if you combine them with the Mellah.
Our guide on whether Fes is safe covers general tips for exploring the city.
Photography Tips
- Go early: the light is soft and the square is quiet in the first hours of the morning.
- Stand back: a wide-angle lens or your phone’s 0.5x mode captures the full gate and its symmetry.
- Look at the details: the knockers, the zellige patterns and the carved cedar make beautiful close-up shots.
- Use the other gates: if the central gate is crowded, the smaller side gates are just as photogenic.
- Late afternoon: warm light makes the gilt bronze glow, though there are usually more people.
What to See Near Dar el Makhzen
| Sight | What it is | Distance |
|---|---|---|
| The Mellah and Ibn Danan Synagogue | Historic Jewish quarter | Next to the square |
| Jewish Cemetery | White tombs and a small museum | A few minutes on foot |
| Grande Rue of Fes el-Jdid | Lively shopping street | 5 minutes |
| Jnan Sbil Gardens | Royal gardens with fountains and palm trees | 15 minutes |
| Bab Bou Jeloud | The famous Blue Gate of the medina | 20 to 30 minutes |
| Dar Batha | Former summer palace and museum | Near Bab Bou Jeloud |
| Marinid Tombs | Ruins on a hill with a panoramic view of Fes | Short taxi ride |
For more ideas, see our list of Fes attractions and, for the evening, things to do in Fes at night.
A Half-Day Walking Route
- Start at Bab Bou Jeloud in the morning and stroll through the Jnan Sbil Gardens.
- Continue along the Grande Rue of Fes el-Jdid, stopping at the Old Mechouar and Bab Dekkakin.
- Pass through Bab Semmarine into the Mellah, with its balconies and synagogue.
- Arrive at Place des Alaouites to admire the golden doors of Dar el Makhzen.
- Visit the Jewish Cemetery, then take a taxi to the Marinid Tombs for a view over the city.
In the afternoon, explore the souks, madrasas and tanneries of Fes el-Bali with a licensed guide.
Other Royal Palaces in Morocco
Fes is not the only city with a Dar el Makhzen. You can also admire the gates and walls of royal palaces in Rabat, Meknes, Marrakech, Casablanca, Tetouan and other cities, though none are open to the public. Each has its own style, but the Fes gates are often considered the most spectacular. See our full guide to royal palaces in Morocco.
Is Dar el Makhzen Worth Visiting?
Yes, especially if you enjoy architecture and photography. Even though you cannot go inside, the gates are a short, free and memorable stop, and they are the perfect starting point for exploring Fes el-Jdid and the Mellah. Combine them with the old medina, and you will have seen two very different faces of Fes in one day. If you are deciding whether the city deserves a place on your itinerary, read is Fes worth visiting.
Our Honest Take From the Road
Many travelers arrive at the palace gates expecting a ticket booth and a guided visit, and are surprised to learn they can only look from the outside. Our advice is to treat it as a beautiful highlight rather than a full attraction: come early, take your photos, then walk into the Mellah and Fes el-Jdid, which most visitors rush past. That is where you get a real sense of how the palace, the Jewish quarter and the royal district shaped each other over seven centuries.
Common Mistakes to Avoid
- Expecting to tour the inside of the palace.
- Arriving at midday in summer, when the square is hot and crowded.
- Getting too close to the doors or photographing the guards.
- Skipping the Mellah, which is just a few steps away.
- Following unofficial guides who approach you in the square; use a licensed guide instead.
Frequently Asked Questions
What is Dar el Makhzen in Fes?
It is the Royal Palace of Fes, a royal residence in Fes el-Jdid founded in 1276 by the Marinid sultan Abu Yusuf Yaqub and still used by the King of Morocco.
Can you go inside the Royal Palace of Fes?
No. The palace is not open to the public. Visitors can admire the gates on Place des Alaouites from the outside.
How old are the golden doors?
The monumental gates on Place des Alaouites were built between 1969 and 1971 under King Hassan II, using traditional materials and techniques.
What are the doors made of?
Gilt bronze doors framed by zellige mosaic tiles and carved cedar wood.
Is there an entrance fee?
No. Visiting the square and the gates is free.
How big is the Royal Palace of Fes?
The complex covers about 80 hectares, including courtyards, gardens, mosques and residences.
What is near Dar el Makhzen?
The Mellah, the Ibn Danan Synagogue, the Jewish Cemetery, the Grande Rue of Fes el-Jdid and the Jnan Sbil Gardens.
How do I get to the Royal Palace from the medina?
Walk about 20 to 30 minutes from Bab Bou Jeloud through Jnan Sbil and Fes el-Jdid, or take a petit taxi to Place des Alaouites.
Final Thoughts
Dar el Makhzen Fes is more than a pretty set of doors. It is a royal city within a city, founded by the Marinids, expanded by the Alaouites and still part of Moroccan royal life today. Take a few minutes to admire its golden gates, then explore Fes el-Jdid and the Mellah around it, and you will understand why Fes is often called the spiritual and cultural heart of Morocco.
Visiting Fes? Contact us, and our local team will arrange a licensed guide for the medina and the royal district, or combine Fes with one of our Fes desert tours.
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