Culture · november 4, 2026
The Kasbah by Bike: Royal Palaces, Gates, and Ancient Walls
South of the busy souks lies a quieter, more royal side of Marrakech: the Kasbah. For more than 800 years, this has been the district of sultans, palaces and powerful families. Today it’s a living neighbourhood of small shops, bakeries and children playing football, but almost every corner tells a piece of the city’s royal history.
It’s also one of our favourite parts of the medina to explore by bike. The lanes are wider than in the souks, the traffic is lighter, and the major sights are close enough to link together in a single morning.
A short history of the Kasbah
The Kasbah was built at the end of the 12th century by the Almohad sultan Yaqub al-Mansur. He wanted a fortified royal city within the city, with its own walls, mosque, palaces and gardens. The Kasbah has remained the home of royal power ever since, and the Royal Palace of Marrakech still stands here today.
Later, in the 16th century, the Saadian dynasty made its own mark with El Badi Palace and the richly decorated Saadian Tombs. The Mellah, the historic Jewish quarter, was created right next door, close to the protection of the palace.
What to see in the Kasbah by bike
Bab Agnaou
Your ride begins at the most beautiful gate in Marrakech. Bab Agnaou was built by the Almohads as the ceremonial entrance to the Kasbah. Unlike most of the city’s earthen gates, it’s made of carved blue-grey stone, decorated with arches, shells and an Arabic inscription. Storks often nest on top.
The Kasbah Mosque
Just inside the gate stands the Kasbah Mosque, built at the same time as the Kasbah itself. Only Muslims may enter, but its minaret, with carved brick patterns and green ceramic tiles, is lovely to admire from the small square outside.
The Saadian Tombs
Hidden behind the mosque are the Saadian Tombs, the burial place of the Saadian sultans. Walled up for centuries, they were rediscovered in 1917. The Hall of the Twelve Columns, with its carved cedar and marble, is one of the most beautiful rooms in Morocco. Leave the bikes outside and expect a short queue.
El Badi Palace
A few minutes away, El Badi Palace shows another face of Saadian power. Built from 1578, it was once considered one of the most magnificent palaces in the world. Today it’s a vast ruin of tall walls, sunken gardens and storks’ nests. Climb to the terrace for a wide view over the Kasbah and, on clear days, the Atlas Mountains.
The Royal Palace and the Méchouar squares
The Royal Palace, Dar el-Makhzen, is not open to visitors, but you can ride past its long walls and through the large open squares, the méchouars, that surround it. These spaces were used for royal ceremonies and gatherings. Riding through them gives a real sense of the scale of royal Marrakech. Follow any instructions from guards, and avoid photographing official buildings or staff.
Daily life in the Kasbah
Between the monuments, take time to enjoy the neighbourhood itself: bakeries where families bring their bread to be baked, small grocery shops, carpenters’ workshops and cafés. It’s calmer and more residential than the northern medina, and it’s a great place to see everyday Marrakech.
Our Kasbah bike route
This short loop is about 5 to 6 km. With visits, plan for two to three hours:
- Start at Bab Agnaou and visit the Kasbah Mosque square.
- Visit the Saadian Tombs.
- Ride through the Kasbah lanes to El Badi Palace.
- Continue past the Royal Palace walls and through the Méchouar squares.
- Finish in the Mellah next door, with a visit to Bahia Palace or the covered spice market. Read our guide to discovering the Mellah by bike.
Practical tips
- Go early. The Saadian Tombs and El Badi are much calmer at opening time.
- Lock your bike. Monuments don’t allow bikes inside, so you’ll need a lock or a guide watching the bikes.
- Respect the palace area. Ride calmly near the Royal Palace and follow any instructions.
- Bring small change. Useful for tickets, water and a mint tea stop.
- Wear covered shoulders and knees. This is a traditional, residential district.
Want more adventure?
The Kasbah is a perfect half-day ride. If you’re planning a longer cycling holiday in Morocco, Morocco Cycling Tours offers multi-day tours across the country, and Atlas Mountain Bike runs mountain bike trips in the High Atlas, where you can ride through Berber villages and valleys.
Explore the Kasbah with a local guide
The Kasbah is full of stories that are easy to miss on your own: hidden doors, royal legends and the history behind every gate. Our local guides bring them to life.
Discover our Marrakech bike tours
Frequently asked questions
Can you cycle inside the Kasbah? Yes. The lanes are wider than in the souks and traffic is moderate, which makes the Kasbah one of the best parts of the medina for cycling.
Can I visit the Royal Palace? No, the Royal Palace is not open to the public. You can ride past its walls and through the surrounding squares.
How long does a Kasbah ride take? Around two to three hours, including visits to the Saadian Tombs and El Badi Palace.
Can I combine the Kasbah and the Mellah? Yes, they’re right next to each other, and they make a perfect half-day ride together.