Discovering...
Discovering...

Small, sunken and easy to walk past, the Koubba Ba'adiyn is the only intact Almoravid monument left in Marrakech and the oldest building in the city, dating to around 1117. Its carved interior dome quietly set the template for eight centuries of Moroccan architecture. This guide explains what you are looking at, the combined ticket with the Marrakech Museum next door, and how to fit it into the northern medina.
What it is
An Almoravid ablutions pavilion, Marrakech's oldest monument
Built
Around 1117, under the Almoravid sultan Ali ibn Yusuf
Also called
Koubba Ba'adiyn / Koubba Almoravid
Highlight
The carved and ribbed interior dome
Ticket
Often combined with the Marrakech Museum; ~60-70 MAD combined
Time needed
15-20 minutes
Location
Place Ben Youssef, northern medina
Yasmine El Amrani· Marrakech & Atlas Editor
Marrakech-born travel writer who has spent the last decade walking the medina’s souks and the High Atlas trails above Imlil. She covers the Red City, Berber villages and day trips into the mountains. Marrakech · 12+ years covering Morocco
Published 29 November 2024 Last updated 17 July 2026
The Almoravids founded Marrakech in the 1060s and made it the capital of an empire that stretched from the Sahara into Spain, yet almost nothing they built survives. When the Almohads captured the city in 1147 they demolished Almoravid mosques and palaces as a matter of policy, so the Koubba Ba'adiyn is a genuine rarity: a small domed pavilion from around 1117, raised under Sultan Ali ibn Yusuf, that somehow escaped destruction and is now the single intact Almoravid monument in Marrakech — and one of the very few anywhere.
Its survival is partly luck and partly burial. Over the centuries the ground level around it rose, and the koubba was gradually engulfed and forgotten, hidden beneath later structures and several metres of accumulated earth. It was only rediscovered and excavated in the late 1940s and early 1950s, which is why you look down into it rather than up at it. For a building this old and this influential, standing beside it is a quiet privilege that most visitors, hurrying to the medersa next door, never register.
The koubba was not a tomb or a shrine, despite the domed shape that the word koubba usually implies. It was an ablutions house attached to the original Ben Youssef Mosque, built to let worshippers perform wudu, the ritual washing required before prayer. Excavations revealed the practical plumbing of a medieval religious complex: fountains and water basins for washing, tanks and a cistern below, and latrines, all fed by the city's water system. It is, in effect, the surviving service building of a great mosque that itself is long gone.
That function explains its modest size and its position. It sat in the courtyard zone of the mosque, a two-storey pavilion where the everyday business of purification happened before people entered to pray. Understanding this reframes the visit: you are not looking at a monument built to impress, but at a working utility raised to a remarkable level of craftsmanship, which tells you a great deal about how much care Almoravid builders lavished even on the practical corners of religious life.
The reason architectural historians revere the koubba is inside, overhead. The interior of the dome is a compact catalogue of the decorative vocabulary that would define Moroccan and wider Moorish building for the next 800 years. Look up and you find ribbed vaulting arranged in interlacing arcs, early muqarnas (the honeycombed, stalactite-like stonework), and carved motifs of pine cones, palms, acanthus leaves and seven- and eight-pointed stars, framed by keel, horseshoe and multi-lobed arches.
Almost every element you will later admire in the Ben Youssef Medersa, the Saadian Tombs or the medersas of Fes appears here first, in embryonic form. The koubba is where those ideas were being worked out. That is what makes such a small, plain-looking structure so important: it is the earliest surviving statement of a design language that spread across Morocco and Andalusia. Spend your few minutes here actually looking up and reading the dome, because the rest of the building is deliberately modest and it is the ceiling that earns the visit.
The koubba is managed alongside the Marrakech Museum in the Dar Menebhi palace, which stands a few steps away on the same square, and the two are usually sold on a combined ticket. As a mid-2026 guide, a combined ticket runs around 60-70 MAD, and it is better value than paying separately if you are seeing both, which almost everyone does given how close they are. Buy at the museum ticket desk and keep the stub, as it also admits you to the koubba across the square.
Opening hours run through the day, broadly from mid-morning to early evening, in line with the museum. Because the koubba itself is so quick — 15 to 20 minutes is plenty — plan it as a bolt-on to the museum rather than a destination in its own right. There is a viewing walkway around the excavated structure and limited signage, so reading up beforehand, as here, or joining a guided medina walk adds a lot to what is otherwise an easy-to-underrate stop.
| Detail | Information |
|---|---|
| Combined ticket | ~60-70 MAD with the Marrakech Museum (Dar Menebhi) |
| Opening hours | Daily, roughly mid-morning to early evening |
| Time needed | 15-20 minutes |
| Payment | Cash (MAD) at the museum ticket desk |
| Signage | Limited — a guide or prior reading helps |
| Access | Viewing walkway around the excavated pavilion |
The koubba's story is easier to grasp as a sequence, because its importance comes as much from what it survived as from what it is. Founded under the Almoravids, it outlasted the dynasty's destruction, disappeared underground for centuries, and was recovered in the modern era. The table below lays out the key dates so you can place it against the wider arc of Marrakech's history — from Almoravid capital to Almohad conquest to twentieth-century excavation.
Set against that timeline, the koubba is best understood as a survivor and a source. It is older than the Koutoubia minaret, older than the Saadian Tombs, older than any of the medersas — the seed from which much of what tourists come to Marrakech to see eventually grew. Keeping that chronology in mind turns a two-minute glance into a genuine sense of standing at the beginning of the city's architectural story.
| Period | Event |
|---|---|
| 1060s | Almoravids found Marrakech as their capital |
| c.1117 | Koubba built under Ali ibn Yusuf as a mosque ablutions house |
| 1147 | Almohads take the city and raze most Almoravid buildings |
| Later centuries | Ground level rises; the koubba is buried and forgotten |
| Late 1940s-50s | Re-excavated and revealed several metres below street level |
| Today | Marrakech's oldest monument, on a combined museum ticket |
The koubba sits in the richest concentration of monuments in the old city, so it is easy to build a satisfying half-day around it. The Marrakech Museum shares its square, the magnificent Ben Youssef Medersa is a two-minute walk away, and the Maison de la Photographie with its rooftop cafe is close by. Doing the koubba, museum and medersa together gives you the Almoravid seed, a grand palace interior and the masterpiece it all led to, in one compact circuit.
The whole cluster lies just north of the main souks, so a shopping wander flows naturally in and out of it, and when you need a break there are terraces nearby — browse where to eat in the medina. Go early to beat the tour groups that fill the medersa from mid-morning, start with the koubba while the square is quiet, and let its carved dome set the reference point for every ceiling you admire for the rest of the day.
The koubba's rarity is easier to appreciate once you know what happened to everything around it. The Almoravids built Marrakech as the capital of a vast Berber empire in the late eleventh century, raising mosques, palaces and fortifications across the new city. When the rival Almohad movement swept down from the Atlas and took Marrakech in 1147, they treated Almoravid architecture as the work of a dynasty they considered religiously corrupt and demolished it wholesale to build anew — the Koutoubia Mosque itself rose on the site of an Almoravid predecessor.
Against that backdrop, the survival of a small ablutions pavilion is remarkable, and it probably owes as much to obscurity as to any decision to spare it. As the centuries passed and the ground level rose, the koubba was swallowed and forgotten rather than deliberately preserved, which ironically protected it from the demolitions and rebuildings that erased grander Almoravid work. That is why architectural historians treat it with such reverence: it is not merely old, it is almost the only physical evidence left of the dynasty that founded the city — a single surviving page from an otherwise lost book.
It is a small domed pavilion in the northern Marrakech medina, built around 1117 as the ablutions house of the original Ben Youssef Mosque. It is the only substantially intact Almoravid building left in Marrakech and the oldest monument in the city. Despite its modest size, its carved interior dome is a foundational example of the muqarnas, interlacing arches and floral motifs that went on to define Moroccan architecture for centuries.
Because almost nothing else the Almoravids built survives — the Almohads demolished most Almoravid monuments after taking Marrakech in 1147. The koubba escaped, was buried for centuries and recovered only in the twentieth century. Its interior dome is the earliest surviving statement of the decorative language later seen in the Ben Youssef Medersa, the Saadian Tombs and the medersas of Fes, which makes it a source point for the whole tradition.
It is usually sold on a combined ticket with the Marrakech Museum in the neighbouring Dar Menebhi palace, running around 60-70 MAD as a mid-2026 guide, paid in cash at the museum ticket desk. Since the two sights are metres apart and almost everyone sees both, the combined ticket is the sensible option. Prices are adjusted periodically, so treat this as approximate and confirm at the desk.
Over the centuries after it was built, the ground level of the medina rose and the koubba was gradually buried and forgotten, hidden beneath later structures. It was re-excavated only in the late 1940s and early 1950s, revealing it several metres below the modern street. That is why you look down into it from a viewing walkway rather than entering at ground level, and why the excavation exposed the cistern and water tanks beneath.
Only about 15 to 20 minutes. The building is small and the highlight is the carved dome overhead, so once you have stood beneath it and read the ceiling there is not much more to see. That brevity is why it works best combined with the adjacent Marrakech Museum and the nearby Ben Youssef Medersa, turning three quick-to-medium sights into a coherent half-day in the northern medina.
It was an ablutions pavilion, not a tomb or shrine. It served the original Ben Youssef Mosque, giving worshippers a place to perform the ritual washing required before prayer. Excavations found fountains, water basins, a cistern and latrines, all fed by the city's water supply. So it was essentially the service building of a great mosque that no longer exists, built to an unusually high standard of craftsmanship for its practical purpose.
Plan it with a local expert
Crafting extraordinary journeys through Morocco's timeless landscapes. 100% private journeys, handcrafted around you.
from $2,011Sahara Desert Luxury Expedition
from $2,054Essential Morocco: Imperial Cities Circuit
from $5,978Sahara to Sea: Morocco Complete
Attractions & Heritage
The Marrakech Museum inside the restored Dar Menebhi palace: courtyard chandelier and zellige, the historic hammam, rotating Moroccan art/craft exhibits, combined ticket with Almoravid Koubba and Ben
Read guideAttractions & Heritage
A visit guide to the restored 14th–16th-century Quranic college: courtyard, zellij, carved cedar, tickets and timing.
Read guideAttractions & Heritage
Vintage-photography museum + rooftop cafe with medina views.
Read guideAttractions & Heritage
Bahia and El Badi palaces, Dar Si Said, the Marrakech and Photography museums and Musee YSL on one walkable route.
Read guideAttractions & Heritage
How to navigate and shop the medina souks by specialist zone, with haggling tips, fair prices and shipping advice.
Read guideAttractions & Heritage
Morocco's historic Quranic colleges as architecture: Bou Inania, Al-Attarine and Ben Youssef, and which are open to visit.
Read guide