Aït Ben Haddou is probably the most iconic image of all Morocco: a cluster of mud-brick houses and kasbahs huddled on a hillside, golden in the sun, which seem to grow straight out of the red earth of the south. This ksar —a fortified village made of mud— rises beside the Ounila River, on the old route of the caravans that crossed the High Atlas between Marrakech and the Sahara Desert, and it is the most spectacular and best-preserved example of the earthen architecture of southern Morocco. UNESCO declared it a World Heritage Site in 1987.
Its fame reaches far beyond Morocco thanks to cinema. Decades ago, filmmakers discovered that these mud-brick walls, these crenellated towers and this desert landscape were the perfect natural set for historical and biblical epics, and legendary titles have been shot here: 'Lawrence of Arabia', 'The Jewel of the Nile', 'The Last Temptation of Christ', 'Gladiator', 'Babel', 'The Mummy' and 'Kingdom of Heaven'. For today's general audience, Aït Ben Haddou is above all Yunkai, the slaver city that Daenerys frees in 'Game of Thrones'. Climbing its alleys knowing you're walking across so many film sets is a special experience.
This guide covers the essentials of Aït Ben Haddou with a practical eye: how to cross the river and climb up to the granary at the top, what prices and payments to expect (access is free in principle, but there are small optional tolls worth knowing about so you don't feel cheated), when to go to avoid the groups, and why it's worth spending a night opposite. Aït Ben Haddou is one of those places that alone justify a trip to southern Morocco: pure magic made of mud, light and cinema.
Although most of the buildings you see in the ksar date from the 17th century onwards, Aït Ben Haddou occupies a strategic site used long before that: it lies on the old caravan route that crossed the High Atlas through the Ounila valley to link Marrakech with the Draa, the Tafilalet and, further on, the trans-Saharan trade in salt, gold, dates and slaves. The village, traditionally inhabited by Berber families, was organised as a fortified ksar: a group of mud-brick houses packed inside walls, with kasbahs (tower houses) belonging to the most powerful families, a fortified communal granary at the top to protect the harvests, a mosque and a caravanserai. The architecture, made entirely of raw earth (mud brick and rammed earth) reinforced with straw and wood and decorated with geometric patterns, is an outstanding example of the building traditions of pre-Saharan southern Morocco. With the building of modern roads and the end of the caravan trade, the ksar gradually lost its population: almost all its inhabitants moved to the new village on the other side of the river, and today only a few families still live inside. UNESCO inscribed it as a World Heritage Site in 1987 for its exceptional value as a testimony to pre-Saharan earthen culture and architecture. The need to keep restoring a site built of mud, which is highly vulnerable to rain, is one of its great conservation challenges. The full story is on our history page.
Read the full history ↓The Morocco of mud-brick kasbahs, caravan routes and dunes: Ouarzazate and its film capital, the ksar of Ait Ben Haddou, the dunes of Merzouga in the Sahara, the palm groves of the Draa and the Dades and the Todra gorges, land of the Amazigh of the Atlas.
Read the history of The south, the Atlas and the Sahara desert →If you only have one day, take a guided tour on the first one: it sets up the rest of your trip and saves you a lot of walking. We look ours up on Civitatis: guided in Spanish and booked online with no fuss. They have over 30 activities in Marrakech. And there are free tours here: you book without paying and tip the guide whatever you think at the end, so trying one costs you nothing. Three are below so you get the idea: tap any of them and they all open.
They depart from Marrakech, 103 km away. If you book from this link we earn a commission and you pay no more.
No exact prices: a scale from $ (budget) to $$$$$ (luxury), with 2-3 options per category.
Origins, formation and what the sources say.
To understand Aït Ben Haddou, you have to imagine the murmur of the caravans. For centuries, this corner of southern Morocco, in the valley of the Ounila river, was a stopping point on the great trade route that crossed the High Atlas to link Marrakech with the Draa valley, the Tafilalet and, beyond the dunes, sub-Saharan Africa. Long lines of camels passed through here loaded with salt, gold, ivory, dates, leather and spices, and enslaved people too, in the trans-Saharan trade that moved fortunes and founded cities throughout the Middle Ages and the early modern period.
On those routes, every stretch had its dangers: bandits, rival tribes, a harsh climate. That is why the communities of the south built ksour (plural of ksar): fortified villages of mud brick where people could take shelter, store their harvests and control the passage of caravans, sometimes charging a toll or giving the merchants a place to stay. Aït Ben Haddou was one of these ksour. It was traditionally home to Berber families and stood in a strategic, easily defended spot on a hillside beside the river.
According to tradition, its name refers to the lineage of one Ben Haddou, head of one of the families that founded or ruled it. No precise records of its earliest origins survive, but the place was tied from very early on to the caravan trade, which explains both its shape and its reason for existing.
What makes Aït Ben Haddou a treasure for the whole world is its earthen architecture. The entire site is built from local materials: adobe (sun-dried bricks of mud and straw) and rammed earth, reinforced with palm wood and reeds. The traditional ksar has no dressed stone and no concrete. It is pure earth shaped by human hands, an age-old technique suited to the pre-Saharan climate, where mud keeps out the heat of the day and the cold of the night.
The ksar is laid out like a small fortified town. Inside its walls, houses and kasbahs crowd together. The kasbahs are the tower-houses of the most powerful families, with high windowless walls, crenellated towers at the corners and upper façades decorated with carved geometric reliefs, real lacework in mud. At the very top stood the agadir, the communal fortified granary, where the community kept its grain and goods safe. The site was completed by a mosque, a caravanserai for travellers, squares, a cemetery and even a shrine.
When UNESCO added Aït Ben Haddou to the World Heritage List in 1987, it highlighted precisely that the site is an outstanding, well-preserved example of the traditional architecture and way of life of pre-Saharan southern Morocco. Put simply, it is one of the most impressive collections of earthen architecture anywhere.
For generations, Aït Ben Haddou was a lived-in village, with its families, its flocks, its gardens along the river and a daily life tied to the rhythm of trade and oasis farming. The kasbahs belonged to local families, and the community constantly maintained and repaired the mud buildings, which are very vulnerable to rain and to the river's floods.
The traditional ksar began to decline with the arrival of modern life. Paved roads and the end of the caravan trade took away its strategic role. The discomforts of living in mud-brick houses without modern services gradually pushed the inhabitants to move to the new village on the other bank of the Ounila, where they could have electricity, running water and road access. Over the 20th century the old ksar slowly emptied, and today only a few families still live inside, many of them working in tourism and handicrafts.
Paradoxically, that abandonment helped keep the site almost frozen in time, without the changes that have altered other medinas. But it also created a big conservation challenge: a site made of mud needs constant upkeep, and without residents to look after it, erosion moves in. Since the UNESCO listing, various national and international institutions have been working on its restoration and on the difficult balance between keeping it authentic and adapting it for visitors.
Aït Ben Haddou isn't famous around the world only because of UNESCO. Film has a lot to do with it. Its silhouette of golden kasbahs on the hill, its timeless atmosphere and the crystal-clear light of the south made it the perfect natural set for historical, biblical and adventure films, and the great directors found it early on.
The list of productions shot here, entirely or in part, is remarkable: 'Lawrence of Arabia' (1962) by David Lean, 'The Jewel of the Nile', 'The Last Temptation of Christ' (1988) by Martin Scorsese, 'The Mummy', 'Gladiator' (2000) by Ridley Scott, 'Babel' by Alejandro González Iñárritu, 'Kingdom of Heaven', 'Prince of Persia' and many more. For today's television audiences, the ksar is above all Yunkai, the slaver city that Daenerys Targaryen conquers and frees in 'Game of Thrones', whose walls appear in several episodes.
This fame on screen has been both a blessing and a challenge. It has brought fame, tourism and an income for the region (many locals have worked as extras, crew or set builders), and it has linked Aït Ben Haddou to the nearby studios of Ouarzazate, the 'Hollywood of Morocco'. But it has also increased the pressure on a fragile place that has to balance its conservation with the flow of visitors.
Today Aït Ben Haddou leads a double life. On one side, it is a protected monument and one of Morocco's tourism emblems, visited by hundreds of thousands of people a year who climb its mud lanes to the granary at the top to look out over the valley. On the other, it is extremely delicate heritage made of earth. Rain, the floods of the Ounila and the passing of time threaten it constantly, and it needs regular restoration to keep it from crumbling.
Managing the site means striking a tricky balance. The aim is to keep the earthen architecture authentic (restoring it with traditional techniques and materials, the same adobe as always), to welcome visitors without spoiling the place, and to support the local community through tourism, handicrafts and film. It isn't easy, and sometimes the restorations, or the buildings of the new village, spark debate about how best to preserve the site.
Despite all this, Aït Ben Haddou has lost none of its power. At sunrise or sunset, when the sun sets the mud walls ablaze in gold and fire and the whole ksar is reflected in the river, travellers understand why this fortified village in southern Morocco, built by anonymous hands from the earth beneath it, has become one of the most powerful and lasting images of Morocco and all of North Africa. Fleeting mud turned into a timeless icon.