Saadian Tombs
Stunning 16th century royal tombs hidden behind the Kasbah Mosque, rediscovered in 1917. Lavishly decorated with Italian marble and intricate zellige tilework.
A 12th-century masterpiece of Almohad stone carving and the historic royal entrance to the Kasbah quarter.
Bab Agnaou is the most ornate of Marrakech's 19 historic gates and the only one carved entirely in stone rather than rammed earth. It stands at the western edge of the Kasbah quarter, about a five-minute walk south of Jemaa el-Fna, framed today by a small public square and the minaret of the neighbouring Kasbah Mosque.
What sets the gate apart is the layered stonework around its single opening: a tall horseshoe arch set inside five concentric carved bands of arabesques, palmettes and Kufic Quranic inscriptions, with a delicate scallop motif above the keystone and two flanking towers. The stone itself is traditionally said to come from the Gueliz hills just west of the city, although researchers have raised questions about whether it is a true sandstone or a darker blue-grey schist; centuries of soot from nearby workshops have deepened its colour.
The gate was built in the late 12th century under the Almohad caliph Abu Yusuf Yaqub al-Mansur, as the ceremonial entrance to the new royal Kasbah he was developing south of the existing Medina. It has stood for more than 800 years, was restored once under the Saadi sultans and again in the 20th century, and is now part of the UNESCO Medina of Marrakech World Heritage Site. It is free to admire at any hour, with no ticket or opening times, and is a natural starting point for a Kasbah walking circuit.
Bab Agnaou was commissioned around 1188–1190 by the Almohad caliph Abu Yusuf Yaqub al-Mansur, the same ruler who built the Koutoubia Mosque and oversaw a wave of monumental construction across the empire. (Some earlier sources attribute it instead to his grandfather Abd al-Mu'min, founder of the Marrakech city walls in 1147; modern scholarship generally favours al-Mansur.)
The gate did not start as the entrance you see today. When first built it was the ceremonial gateway to the royal Kasbah — the new walled palace quarter al-Mansur was creating on the southern edge of the existing Medina, with its own mosque, parade ground and government buildings. Bab er-Robb, a plainer arch just to the south, handled civilian and Atlas-bound traffic. As the Kasbah expanded over the following centuries, the gate was absorbed into the city's continuous walls.
Saadi sultans restored the structure in the 16th century, and a further conservation campaign in the 20th century stabilised the stone carving and the inscription bands. The gate's status as a working public passage has remained unchanged for eight centuries: you don't tour it — you walk through it.
Bab Agnaou is part of the Medina of Marrakech inscribed on the UNESCO World Heritage list in 1985, listed collectively with the rest of the walled city; it does not hold individual UNESCO status.
The name 'Agnaou' has at least three competing origins and no settled answer. Theory one: from the Berber word akniw, meaning a 'hornless ram' — possibly a reference to the smooth, unadorned outer keystone of the arch when compared to other gates topped with crenellations.
Theory two: from a Berber root gnaw sometimes translated as 'the mute' or 'silent one' — interpreted by some scholars as referring to the gate's solid, unflanked appearance in the city wall, or to its largely ceremonial rather than defensive role.
Theory three connects the name to the Gnawa, the Sufi religious brotherhood of Sub-Saharan origin whose musicians remain a central part of Marrakech culture. By this reading, the gate was the entry point through which sub-Saharan caravans — and the slaves and freed-people from whom the Gnawa community partly descend — historically entered the city. The link is plausible but contested.
Pronunciation: roughly 'bab ag-NAH-oo', with the stress on the second syllable of 'Agnaou'. Locals will understand any of the three spellings (Agnaou, Aguenaou, Agnawa) you may see on maps.
The defining shape is the central horseshoe arch — a curve that closes inward at its base, narrower than the widest point of the opening. This is the classic Moorish arch you'll meet again at Cordoba and Granada, but Bab Agnaou's version is unusual for its scale and the depth of the carving around it.
Around the arch run five concentric carved bands, each treated differently. Closest to the opening, a smooth polylobed line traces the arch. Beyond it, a band of palmettes and arabesques winds in continuous loops. Outside that, two bands of Kufic Quranic inscription carry verses from Surah Al-Hijr (15:45–48) — describing the gardens of paradise — and Surah Al-Fath (48:27) — on the believer's entry through gates 'in peace'. The choice of verses, both concerned with crossing thresholds, is unlikely to be accidental.
Directly above the keystone, the carving opens into a scallop or shell motif, a common Almohad signature for ceremonial gates. The outer band is a square frame of floral arabesques and corner palmettes. The whole composition is flanked by two squat towers (bastions), originally part of the defensive line but now half-absorbed by adjacent buildings.
What you don't see anywhere else in Marrakech is the material. The Bab Doukkala, Bab Berrima and Bab er-Robb gates are all pisé — rammed earth and lime, suitable for high straight walls but unsuitable for fine carving. Bab Agnaou is cut from a much harder blue-grey stone, traditionally said to come from the Gueliz hills, which is why these 800-year-old details have survived where the earthen gates have weathered to plain mass.
Cost: Free. There is no ticket, no entrance fee, and no opening or closing time — the gate sits on a public street and is technically open 24 hours a day.
How long: Most visitors spend 15 to 30 minutes. There is no interior to enter; the experience is reading the carved bands up close and stepping through into the Kasbah square on the other side. Read this as a stop on a wider Kasbah loop rather than a standalone visit.
What to expect: The gate stands in a small open square. Petit-taxis, scooters, donkey carts and pedestrians all pass through, especially around morning and evening rush. The square in front is paved, partially shaded, and has informal seating against the wall.
Etiquette: This is a functioning piece of urban fabric, not a fenced monument. You can touch the lower stones, but please don't climb on the bastions. The Kasbah Mosque next door is closed to non-Muslims, though its minaret is photogenic from the gate square.
Accessibility: The square is flat and reachable by wheelchair from Rue de la Kasbah, though the cobbles in the immediate approach are uneven.
Morning, 8:00–10:00. The gate's main face catches direct sun in the morning, picking out the carved bands and casting shallow shadows that read the stone clearly. This is also the quietest window: shopkeepers are setting up, traffic is light, and the square is mostly empty.
Golden hour, around 17:30–18:30. The blue-grey stone takes on a warm honey-amber tone in the last hour of daylight, particularly in winter when the sun sets behind the Koutoubia. The minaret of the Kasbah Mosque rises directly behind the gate from this angle and can be framed in the upper right of a wide shot.
Avoid midday. Between roughly 11:30 and 15:00 the light is flat and overhead, the carving loses depth, and the square fills with tour groups arriving en route to the Saadian Tombs.
Composition tips: Stand back about 15 metres to get the full square frame and the two flanking towers in shot. For detail, a 50mm or 85mm lens reads the inscription bands cleanly. Wide-angle lenses can distort the horseshoe arch, so step back rather than zoom out.
Drone use is not permitted over the Kasbah without a specific Moroccan permit — don't risk it.
Stepping through Bab Agnaou puts you at the doorstep of the Kasbah, the old royal quarter of Marrakech and home to several of the city's most important monuments. A natural half-day loop links four sites within a 15-minute radius.
Saadian Tombs — 5 minutes south of the gate. Sealed up by Moulay Ismail in the 17th century and only rediscovered in 1917, the tombs contain some of the finest carved cedar and stucco interiors in Morocco. Entry 70 MAD.
Kasbah Mosque — directly behind the gate, with its distinctive minaret. The mosque is closed to non-Muslims but its outer walls and minaret are easy to photograph from the gate square. The call to prayer from this minaret is one of the most evocative sounds of the Kasbah quarter.
El Badi Palace — about 10 minutes east on foot, via Bab Berrima square. The ruined Saadi palace of Sultan Ahmad al-Mansur, with its sunken orange gardens, ramparts and resident stork colony. Entry 70 MAD.
Royal Palace (Dar el-Makhzen) — visible from outside; the king still uses it as an official residence so the interior is closed, but the outer gates and walls are striking.
Place des Ferblantiers and the Mellah — about 12 minutes east; the Jewish quarter and the historic lantern-makers' square.
Bahia Palace — about 15 minutes east. An intact 19th-century vizier's palace that helps you picture what El Badi might once have looked like inside.
To plan a broader itinerary, see all the places to visit in Marrakech.
No, Bab Agnaou is completely free to visit. The gate stands on a public street with no tickets, no opening hours and no restrictions. You can walk up and admire it at any hour of the day or night, though daylight is obviously better for seeing the carved detail.
Bab Agnaou was built around 1188–1190, in the late 12th century, by the Almohad caliph Abu Yusuf Yaqub al-Mansur — over 830 years ago. It was restored under the Saadi sultans in the 16th century and again in the 20th century, but the carving and overall design remain essentially original.
It was commissioned by the Almohad caliph Abu Yusuf Yaqub al-Mansur, the same ruler responsible for the Koutoubia Mosque. Some older accounts credit his grandfather Abd al-Mu'min, founder of the Marrakech walls in 1147, but modern scholarship generally points to al-Mansur.
Three explanations circulate. The most-cited derives 'Agnaou' from a Berber word for 'hornless ram' (akniw); a second reads it as 'the mute' or 'silent one'; and a third links the name to the Gnawa religious brotherhood of Sub-Saharan origin, whose ancestors are sometimes said to have entered Marrakech through this gate. 'Bab' simply means 'gate'.
Most visitors spend 15 to 30 minutes admiring the carved bands and stepping through into the Kasbah square. Since the gate sits at the start of a natural Kasbah loop, plan to combine it with the Saadian Tombs (70 MAD) and El Badi Palace (70 MAD) for a half-day circuit lasting around three to four hours.
Bab Agnaou is the only one of Marrakech's 19 historic gates cut from stone rather than rammed earth (pisé). That is why its delicate carved arabesques, palmettes and Kufic Quranic inscriptions have survived 800 years where the other gates have weathered to plain mass.
The two inscription bands carry verses from Surah Al-Hijr (15:45–48), describing the gardens of paradise, and Surah Al-Fath (48:27), on the believer's peaceful entry through gates. Both passages turn on the idea of crossing a threshold, an apt choice for the ceremonial entrance to the royal Kasbah.
Early morning between 8:00 and 10:00, when the gate's south-facing main side catches direct sun and the square is still quiet. Golden hour around 17:30–18:30 is the second-best window — the blue-grey stone takes on a warm honey tone, and the Kasbah Mosque minaret rises behind the gate for a strong vertical frame.
Yes. Bab Agnaou is a fully functioning street gate, not a fenced monument. Pedestrians, petit-taxis, scooters and the occasional donkey cart all pass through it daily. Stepping through is part of the experience — it takes you straight into the Kasbah quarter.
Yes, as part of the Medina of Marrakech, which was inscribed on the UNESCO World Heritage list in 1985. The gate is listed collectively with the rest of the walled city rather than holding individual UNESCO status.
It is about a 5-minute walk south along Rue de la Kasbah from the square. Stay on Rue de la Kasbah past Place Moulay Yazid and you'll see the gate's blue-grey stone facade open up on your right. Petit-taxis can drop off at the entrance to the Kasbah but most people walk it.