Kasbah of the Udayas: Rabat's Blue Fortress by the Sea
The Kasbah of the Udayas is the most charming place in Rabat. Built on a rocky hill where the Bou Regreg River meets the Atlantic Ocean, this old fortress hides blue and white lanes, a peaceful Andalusian garden, a historic mosque and one of the best ocean views in Morocco.
In this guide, our local team explains the history of the Kasbah of the Udayas, what to see, the best time to visit and tips.
Kasbah of the Udayas at a Glance
| Fact | Details |
|---|---|
| City | Rabat, capital of Morocco |
| Built | 12th century, Almohad period (on older foundations) |
| Name from | The Udaya tribe, placed here by Moulay Ismail |
| UNESCO | Part of Rabat World Heritage Site since 2012 |
| Highlights | Bab Oudaia, blue lanes, Andalusian garden, sea view |
| Time needed | 1 to 2 hours |
History of the Kasbah of the Udayas
A fortress stood here already under the Almoravids, but the Almohads rebuilt and strengthened it in the 12th century, adding the monumental gate and a mosque. Later, Muslim refugees from Andalusia settled in the kasbah, and in the 17th century it became a base for the famous corsairs of Rabat and Salé. Sultan Moulay Ismail placed soldiers of the Udaya tribe here to guard the city, and the kasbah took their name. Today it is part of the UNESCO site Rabat, Modern Capital and Historic City.
What to See in the Kasbah of the Udayas
1. Bab Oudaia
The great Almohad gate, with beautiful carved stone decorations. It is one of the finest gates in Morocco.
2. The Blue and White Lanes
Inside, narrow streets with white walls painted blue at the bottom, colorful doors and flowers make it feel like a little Chefchaouen by the sea.
3. The Andalusian Garden
A peaceful garden with orange trees, flowers and fountains, created in the early 20th century in Andalusian style.
4. The Old Mosque
The kasbah mosque dates from the 12th century and is one of the oldest in Rabat (non-Muslims cannot enter).
5. The Ocean Terrace
At the top, a large terrace looks over the Atlantic, the river mouth, the beach and the city of Salé. Surfers ride the waves below.
6. The Traditional Cafe
Café Maure, near the garden, is famous for mint tea and Moroccan pastries with a view over the river.
7. The Museum
A museum of Moroccan jewelry and arts is located in a palace of the kasbah (check if open).
Best Time to Visit
- Morning: quiet lanes and soft light.
- Late afternoon: golden light and sunset over the ocean.
- Spring and autumn: perfect weather.
- Summer: mild thanks to the ocean breeze.
How to Get There
The kasbah is at the northern end of the Rabat medina, near the beach. Walk from the medina in 10 minutes, or take a taxi. Entry to the kasbah itself is free.
Other Things to Do in Rabat
- Hassan Tower and the Mausoleum of Mohammed V
- Chellah: Roman ruins and a medieval necropolis
- The Rabat medina and souks
- The riverside promenade and the Grand Theatre
Read capital of Morocco and things to do in Rabat.
Tips for Visiting
- Be careful of people offering to guide you inside; you do not need a guide for the kasbah.
- Respect residents; people live in these houses.
- Wear comfortable shoes for the slopes and stairs.
- Stay for tea at the cafe.
Rabat on Our Tours
Rabat is a stop on many of our tours from Casablanca and Tangier, such as the 7 days tour from Casablanca and the 7 days tour from Tangier to Marrakech.
Frequently Asked Questions
Where is the Kasbah of the Udayas?
In Rabat, on a hill at the mouth of the Bou Regreg River.
Is it free to visit?
Yes, entry to the kasbah is free; museums may have a fee.
Why is it blue and white?
Residents paint the lower walls blue and the upper walls white, a local tradition.
How long should I spend there?
About 1 to 2 hours.
Is it worth visiting?
Yes, it is the most charming spot in Rabat.
Final Thoughts on the Kasbah of the Udayas
The Kasbah of the Udayas combines history, quiet lanes, gardens and the ocean in one beautiful place. Want to include Rabat in your trip? Contact our local team for a free quote.
Explore our Morocco trips:
Tours from Marrakech: Cross the High Atlas to Ait Ben Haddou, the Todra Gorge and the dunes of Erg Chebbi.
Tours from Fes: Ride through the cedar forests of the Middle Atlas to the Sahara.
Tours from Casablanca: Discover the imperial cities, the mountains and the desert in one trip.
Contact us
Your Local Experts
Ibrahim and our Moroccan team plan your trip with care. Whether you land in Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir or Ouarzazate, we pick you up and shape each day around what you love.
Plan Your Trip
Click any destination to see more: