A Guide to visiting the Ben Youssef Madrasa, Marrakech

Posted by

·

Without a doubt my favourite site on a recent trip to Marrakech was the incredible Ben Youssef Madrasa. I walked in and couldn’t stop saying wow – the architecture is just absolutely stunning, and after a recent renovation – in perfect condition. If you’re visiting Marrakech then make sure you don’t miss this wonderful place. Here’s everything you need to know about a visit!


  1. Contents
  2. History of Ben Youssef Madrasa
  3. What to see at Ben Youssef Madrasa
    1. The Main Courtyard
    2. The Prayer Room
    3. The Student Rooms
    4. Ablutions Chamber
  4. Important Information about Ben Youssef Madrasa

Madrasa means ‘school’ and the first school founded on this site was in the 1300s, though that building was later replaced by the one you see today.

The incredible place you find today was commissioned in 1564 as a place of learning by the Saadian sultan Abdallah al-Ghalib. At its height, it accommodated 900 students and was the largest Islamic college in the Maghreb. It contains over 130 rooms and students lived, studied and prayed in this building.

Ben Youssef was a vital place of learning across Morocco and Andalusia, spreading knowledge and understanding across the region. It wasn’t closed until the 1960s, and wasn’t opened as a tourist attraction until 1982. It was closed between 2018 – 2022 for restoration, and now it’s doors are open to its full glory again.

Entering the Madrasa’s main courtyard


The Madrasa is a typical Riad – square in shape with no doors or windows to the outside (bar the entrance), but opening in to a huge open courtyard with the rooms leading off of it. There are then lots of mini Riads off the main centre, around which the student rooms are situated, across 3 floors and totalling 1,680sqm.

The Main Courtyard is the centre piece of the Madrasa, and you access it via a thin entrance way from the street. This process of entry, like in many Islamic buildings, is carefully designed to inspire revelation and astonishment in an unexpected opening of space into the main courtyard. it worked on me. WOW. The courtyard is itself is also centered around a large shallow reflective pool, adding to the space’s beauty. I also absolutely loved the symmetry everywhere.

Entering the courtyard

Just off the courtyard to the south is the incredible Prayer Hall, equipped with a mihrab (which shows the direction of prayer towards Mecca). The decoration here is especially rich stucco, and utterly breathtaking again. Interestingly in Islamic decoration, calligraphy and shapes are the most common decorations and you won’t see any human/animal art as this is considered idolism. The most common shapes to see are pentagons (representing the 5 pillars of Islam) and octagons (representing the 8 gates to heaven).

Inside the Prayer Hall

The layout of the Ben Youssef madrasa contains student dormitory cells clustered around the first and second levels of the central courtyard. There are cells on the ground floor, arranged round a mini Riad, while two stairways from the vestibule give access to similar corridors on the second level. The dorm rooms are additionally arranged around a series of six small courtyards which open on both levels from these corridors.

I was really surprised by how small some of the dormitories were – those on the ground floor were the smallest, and could sleep up to 6! The rooms on the upper floors were bigger, and normally for the best students in the Madrasa.

On the ground floor, the eastern corridor from the vestibule also gives access to an ablutions chamber in the northeastern corner of the building. The chamber has a square floor plan with four marble columns upholding four arches, and the middle of the chamber is occupied by a square water basin, surrounded by a number of toilets around the perimeter.


  • Opening Times: 09:00 – 17:30 daily
  • Cost: 50MAD (10 MAD for children under 12), cash only
  • Visit Early: The crowds here get overwhelming. I visited first thing in the morning in March (off season) and the main courtyard was still pretty full at 09:10!
  • There is no dress code to enter the Madrasa, however, I do recommend dressing conservatively to respect local traditions.


What do you think of the Madrasa? I absolutely loved my visit, and it was definitely one of the highlights of my visit to Marrakech. Let me know what you think in the comments below! Stay safe and happy travelling!

29 responses to “A Guide to visiting the Ben Youssef Madrasa, Marrakech”

  1. I visited the Ben Youssef Madrasa while in Marrakesh, and it was certainly stunning! Definitely an architectural gem. Thanks for sharing, Han!

    Liked by 1 person

    1. Thanks Rebecca, it really was my favourite spot in the city, it’s just so beautiful! 🙂

      Liked by 1 person

  2. Wow it is in amazing condition. Is it still in use as a madrasa? We saw many in Uzbekistan, but even though restored, they aren’t nearly in as good condition. We’re heading to Morocco this fall so I’ll make sure this madrasa is in the list!

    Liked by 2 people

    1. It’s incredibly well preserved isn’t it, especially given the volume of tourists it has to accommodate! Oh you’ll love Morocco, and definitely add this to the list 🙂

      Liked by 1 person

  3. How gorgeous, especially the main courtyard! I love all the colourful tiles everywhere.

    Liked by 1 person

    1. It really did take my breath away 🙂

      Liked by 1 person

  4. If I was a student here, it would be difficult to study because I’d be distracted by the beauty! The colors are spectacular. Thanks for sharing!

    Liked by 1 person

    1. Hehe I couldn’t agree more and thought the same thing, it’s just stunning!

      Liked by 1 person

  5. Can I just also say WOW! It amazes me how architects can come up with something like this – imagine the vision they must have had of what the end product (building) must have looked like – astonishing!

    Liked by 1 person

    1. It’s incredible isn’t it, especially as it’s so old. Such an architectural masterpiece!

      Liked by 1 person

  6. The lack of windows might freak me out if I lived there, but I’d be up for a visit any day! I just love the tiling and intricately carved doors. I see Maggie from Monkey’s Tale commented below. This madrasa actually brought me back to her posts about the Stans. So much gorgeous Islamic styling.

    Liked by 1 person

    1. I loved it, and it didn’t feel dark as it had so much internal light via the courtyards. I can’t wait to get to the Stans one day, I’d love to see the tiles and architecture there 🙂

      Liked by 1 person

  7. Such a beautiful place to visit! Can’t imagine how busy it is in the peak season.

    Liked by 1 person

    1. Agreed, I’m glad I made it in offseason!

      Like

  8. Wow, the architecture is absolutely stunning! The detail, the color, the play with light- the whole effect is just incredible.

    Liked by 2 people

    1. I couldn’t agree more Meg, and thanks so much for taking the time to read and comment 🙂 Have a great weekend.

      Liked by 1 person

  9. Great guide! Looks stunning!!! Beautiful captures, Hannah!

    Liked by 1 person

    1. Thanks Jyothi – have a wonderful weekend 🙂

      Liked by 1 person

  10. The Madrasa was closed for renovation when I visited. I was very disappointed. You have confirmed that I missed a glorious place. I enjoyed reading this, and seeing your photographs. Thank you.

    Liked by 1 person

    1. Oh no, I’m so sorry about your timing. It was truly beautiful and I’m glad I could give you a tour of it freshly renovated 🙂

      Liked by 1 person

  11. Such a fabulous place Hannah showcasing the best in Moroccan architecture and art. I actually remember Ben Youssef’s name coming up in several places across Andalusia back in my Southern Spain days.

    Liked by 1 person

    1. That’s interesting as I could really see the links between Morocco and Andalusia from an architectural perspective!

      Liked by 1 person

  12. Wow, the madrasa looks incredible! I’ve made a note of this for when I’m in Marrakech later this year. Thanks Hannah!

    Liked by 1 person

    1. It’s beautiful – and you will love Marrakech 🙂

      Liked by 1 person

  13. Your photos are so beautiful, Hannah! I loved stepping into the enchanting realm of Marrakech, the Medersa Ben Youssef as it stands as a testament to Morocco’s illustrious history and architectural prowess. I also loved how the central courtyard, accentuated with a water basin evoked serenity. Thanks for sharing and have a good day 🙂 Aiva xx

    Liked by 1 person

    1. Thank you so much Aiva, that’s so kind of you to say. Hope you are having a lovely weekend 🙂 xx

      Liked by 1 person

  14. Like you, Hannah, the Ben Youssef Madrasa in Marrakech is breathtaking, with exquisite architectural features and a distinguished air of class and elegance. Thank you for sharing your adventures, my dear friend!

    Liked by 2 people

    1. Thanks Phil, it really is such a special and beautiful place. Have a wonderful Sunday 🙂

      Liked by 1 person

Leave a comment

About the author

Hi! My name is Hannah, I’m a travel blogger from the UK who fits travel around a full time (and full on) job. In this blog I share my adventures around the world and hopefully help you to find some inspiration for destinations, things to do or places to stay. Thanks for stopping by – stay safe and happy travelling.

You can also follow me on Instagram!

Type your email…