· Travel · 5 min read
Marrakech History Walk: Four Layers of the Red City
A four-stop Marrakech history walk through Almoravid walls, the Koutoubia, a Saadian palace and Gueliz, with the route and the best time to go.
Most cities keep their past behind museum glass. Marrakech leaves it in the street: a domed pavilion from the early twelfth century, a minaret from the twelfth, a palace stripped back to its bones, a cobalt-blue garden. Walk them in the right order and the medina starts to make sense. This Marrakech history walk follows four building campaigns from the Almoravid foundation to the French new town, about four kilometres end to end.
Each era gets one stop and one question: what did this dynasty leave behind? The sections run in dynasty order; the walk follows geography, beginning at the Almohad Koutoubia and doubling back to the Almoravid dome. Marrakech medina history still reads as a sequence, and by the end you will know which Marrakech dynasties built what and why these Marrakech historic monuments survived.
The Almoravid layer: the medina, the walls and one small dome
Marrakech began as a garrison town in the eleventh century, founded by Abu Bakr ibn Umar. He left for the Sahara, and his successor Yusuf ibn Tashfin made the new town the Almoravid capital. Its founders laid out the medina and its markets, and the street plan they set still runs beneath the souks.

Almost nothing Almoravid survives above ground. The exception is the Almoravid Qubba, a small domed water pavilion beside the Ben Youssef mosque, attributed by its inscription to Ali ibn Yusuf. It lay buried under rubble for centuries and reappeared in the twentieth century. Treat it as this layer’s first stop, then walk to the ramparts.
The walls went up in the early twelfth century under Ali ibn Yusuf, six to eight metres high with square towers every twenty-five to thirty metres. Their red sandstone gave the city its nickname.
- The rampart line at Bab Debbagh, where the wall and its towers still stand at full height.
- The Qubba’s carved dome, the only Almoravid building still standing.
- The street plan under the souks, which the Almoravids laid out first.
The Almohad layer: the Koutoubia and the Kasbah
The Almohads took the city in the twelfth century and rebuilt it as an imperial capital. Abd al-Mu’min founded the Koutoubia on the site of the Almoravid palace mosque. The present building is a rebuild from a few years later, and its minaret was finished under Yaqub al-Mansur at seventy-seven metres.

That tower became the model for the Giralda in Seville and the Hassan Tower in Rabat. The same sultan built the Kasbah, the fortified quarter at the medina’s southern edge, with the Kasbah Mosque and Bab Agnaou, its main gate.
After the Almohads fell, the Marinids moved the capital to Fez and Marrakech spent close to three centuries as a southern provincial town. The city shrank and its imperial buildings stood untouched, which is why this layer is the easiest to read.
The Saadian layer: El Badi and the tombs
The Saadians made Marrakech their capital again in the sixteenth century. Ahmad al-Mansur put the wealth of his reign into El Badi, a palace of courtyards, marble and a long pool, paid for in part by the Portuguese ransom after the Battle of the Three Kings and in part by the sugar trade.

When the dynasty collapsed the palace was stripped; what remains is the structure: sunken gardens, the pool and courtyard walls.
The royal necropolis beside the Kasbah Mosque is the other half of the layer: the Chamber of the Twelve Columns, fifty-six carved epitaphs and about a hundred plainer graves.
The Almoravid minbar made in Cordoba now stands inside El Badi, a treasure from one dynasty kept in the ruin of another.
The twentieth-century layer: Gueliz and Majorelle
When the French protectorate began, roughly seventy-five thousand people lived inside the medina, the Kasbah and the Mellah. Henri Prost laid out a new town at Gueliz, linked to the Koutoubia by the long axis that is now Avenue Muhammad V and entering the medina at Bab el-Nkob. It took shape between the wars, and the Hivernage quarter and La Mamounia followed.

Jacques Majorelle began his one-hectare garden in Gueliz after the First World War and opened it to paying visitors after the Second World War to cover costs. Yves Saint Laurent and Pierre Bergé bought and restored the property in the 1980s, and the villa now holds a Berber Museum.
Walking the layers: route and timing
The four stops sit close enough to walk. Start at the Koutoubia, cross Jemaa el-Fnaa a few minutes east, then head north through the souks to the Almoravid Qubba and the Ben Youssef mosque. From there, walk south to Bab Agnaou, the Kasbah and the tombs, and finish with a taxi to Gueliz and Majorelle.
- Walk in the morning between October and April, when the light is good and the lanes stay cool.
- Avoid July and August afternoons, when the heat is punishing and several monuments keep shorter hours.
- Agree the taxi fare to Gueliz before you get in.
The medina is a UNESCO World Heritage site of seven hundred hectares inside the Almoravid walls, listed for the Almoravid plan and the monuments built on it since. Jemaa el-Fnaa holds a separate intangible listing, which protects the storytellers, musicians and food stalls rather than the buildings.
For the ranked version of the same sights, our guide to Marrakech attractions puts them in order and covers tickets and timing. This route asks which century built what.
By the time you reach Majorelle you have walked from the eleventh century to the twentieth, with the Almoravid walls still the edge of the old map.
Beyond the city, the 10 Days in Morocco: The Ultimate Private Tour from Marrakech to the Sahara continues into the Atlas and the desert, and the 4-Day Morocco Desert Tour from Marrakech - Ait Ben Haddou, Dades Valley & Merzouga covers the shorter loop.
We can customize a tour to match your needs - design your perfect itinerary
If you found this helpful, add us as your preferred source on Google.
Frequently Asked Questions
What is the route of the Marrakech history walk?
It runs from the Koutoubia to the Majorelle garden in Gueliz, passing Jemaa el-Fnaa, the souks, the Almoravid Qubba beside the Ben Youssef mosque, then Bab Agnaou and the Saadian tombs. The full route is about four kilometres.
How much time should I allow for the walk?
Give it a morning. The route is about four kilometres, nearly all of it on foot inside the medina, and the last leg to Gueliz is easiest by taxi. October to April offers the most comfortable conditions.
Do I need a guide for the Marrakech history walk?
No. The route runs through public lanes and squares, and every stop is easy to find on foot. A guide adds context if you want the medina's past explained, but the walk works as a self-guided loop.
How early should I start the walk?
In the morning, between October and April, when the light is good and the lanes stay cool. In July and August, set off early and plan around the afternoon heat, when several monuments keep shorter hours.
Ready for an Adventure?
Have questions? Feel free to contact us using the form below. We're here to help!