Ait Ben Haddou is a fortified earthen village, or ksar, on the south side of the High Atlas, about 180 km from Marrakech and 30 km from Ouarzazate. It is a UNESCO World Heritage site and a famous film location. Allow 1.5 to 2 hours to walk up through its lanes to the hilltop granary.
What is Ait Ben Haddou?
Although people often call it a kasbah, Ait Ben Haddou is technically a ksar: a whole village enclosed by defensive walls. Inside are several kasbahs, which are the tall, fortified houses of wealthy families, recognisable by their corner towers and geometric patterns pressed into the upper walls.
Everything is built from earth. Walls are made of rammed earth and sun-dried mud bricks mixed with straw, on stone foundations, with roofs of palm wood and reeds. The material keeps rooms cool in summer but needs constant repair after rain.
The village grew on the old caravan route that linked the Sahara with Marrakech across the Atlas. Traders carrying salt, gold and other goods stopped here. Most of the buildings standing today are thought to date from the 17th century or later, though the site itself is older.
Only a handful of families still live in the old ksar. Most residents moved to the newer village on the opposite bank of the river, where there is electricity, running water and road access.
Where it is and how to get there
Ait Ben Haddou stands beside the Ounila river, a few kilometres off the main N9 road between Marrakech and Ouarzazate. From Marrakech the road climbs over the Tizi n'Tichka pass at 2,260 m, so the drive is slower than the distance suggests.
| From | Distance | Approximate drive time |
|---|---|---|
| Marrakech | 180 km | 3.5 to 4 hours |
| Ouarzazate | 30 km | 30 minutes |
| Telouet (via the Ounila Valley) | 45 km | 1 to 1.5 hours |
| Dades Valley | 150 km | 2.5 to 3 hours |
| Merzouga | 390 km | 6.5 to 7 hours |
There is no direct public bus to the ksar. Buses between Marrakech and Ouarzazate can drop you at the junction on the main road, from where you need a local taxi. Most visitors come with a driver, either on a private day trip to Ouarzazate from Marrakech or as the first stop of a desert tour.
What to see inside the ksar
You cross the river by the footbridge or, when the water is low, over stepping stones and sandbags. From there, lanes and stairways wind upwards between the houses.
- The kasbahs: several family houses are open to visitors for a small fee, usually 10 to 20 MAD. Inside you see how the rooms, stables and roof terraces were arranged.
- The lanes: narrow passages lined with small shops selling rugs, jewellery and paintings. Some artists paint with saffron and tea, then heat the paper over a flame to bring out the colours.
- The granary: the ruined collective storehouse, or agadir, crowns the hill. It was the last refuge and the place where the community kept its grain.
- The view: from the top you look over the rooftops, the river bed, the palm and almond groves and, on clear days, the snow line of the High Atlas.
Walking through the village itself is generally free. A local guide is not required, but one will explain the building techniques and family history that you would otherwise miss. Agree the price before you start.
Ait Ben Haddou in film and television
The ksar has appeared on screen for decades. Productions that used it include Lawrence of Arabia, Gladiator and the television series Game of Thrones, along with many others shot in the area.
Film crews have sometimes added temporary structures, and locals will happily point out which gate or arena stood where. Many villagers have worked as extras. The studios and the cinema museum are in Ouarzazate, half an hour away, and our Ouarzazate travel guide covers them.
Best time of day and year to visit
Day-trip groups from Marrakech arrive between about 11:00 and 15:00, which is also the hottest part of the day. Early morning and late afternoon are quieter, and the low sun turns the walls a deep orange-red. The classic photograph is taken from the riverbank on the new village side at sunrise or sunset.
Spring and autumn are the most comfortable seasons, with daytime temperatures typically between 20 and 28°C. Summer afternoons often exceed 38°C (100°F), and there is little shade on the climb. Winter days are bright and mild, nights are cold, and snow can briefly close the Tichka pass.
After heavy rain the river can rise quickly. Use the bridge and do not attempt the stepping stones.
Day trip or overnight stay?
A day trip from Marrakech is possible but long: around eight hours in the car for two hours at the site. It works if you have no other chance to cross the Atlas.
Staying a night in the new village or nearby changes the experience. You see the ksar after the coaches leave and again at dawn, and you break up the drive south. This is how most multi-day routes handle it, including our 4-day desert and kasbah tour from Marrakech.
If you have a spare half day, take the old road through the Ounila Valley to Telouet. It passes small earthen villages and ends at the partly ruined Glaoui kasbah, known for its decorated reception rooms.
Practical tips for your visit
- Wear shoes with grip. The paths are uneven, with steep, worn steps near the top.
- Bring water, a hat and sunscreen. There are cafes, but little shade on the climb.
- Carry small change in dirhams for house entries, tips and drinks.
- Ask before photographing residents. Some people prefer not to be photographed.
- The climb is not suitable for wheelchairs or pushchairs. The riverbank view is accessible to everyone.
- Drones generally require prior authorisation in Morocco, so leave yours at home unless you have a permit.
Ait Ben Haddou is also the natural gateway to the desert road. From here the route continues east through the valleys to the dunes, as described in our guide to what to expect on a Sahara desert tour.
Frequently asked questions
Is there an entrance fee for Ait Ben Haddou?
Walking into the ksar is generally free. Individual family houses that open to visitors ask for a small contribution, typically 10 to 20 MAD each.
How long do you need at Ait Ben Haddou?
Plan 1.5 to 2 hours to cross the river, visit a house, climb to the granary and come back down. Add time for lunch or photography.
Do people still live in Ait Ben Haddou?
Yes, a few families remain in the old ksar. The majority now live in the modern village across the river.
What is the difference between a ksar and a kasbah?
A ksar is a fortified village shared by many families. A kasbah is a single fortified residence, usually belonging to one powerful family, and a ksar can contain several of them.
To include Ait Ben Haddou in a private trip, send us your dates for a free custom quote and Discover Morocco Tour will answer within 24 hours.
