Souks of Marrakech
Labyrinthine market alleys stretching north from Jemaa el-Fna, selling everything from hand-woven carpets and leather goods to aromatic spices and traditional lanterns.
North Africa's largest historic Islamic college, a 14th century masterpiece of zellige, carved cedar, and intricate stucco artistry.
The Ben Youssef Madrasa is a former Islamic college in the northern Medina of Marrakech, named after the adjacent Ben Youssef Mosque founded by the Almoravids. A madrasa was both a religious and secular boarding school — students lived on site while studying Quranic sciences, law, grammar, theology, mathematics and astronomy. For nearly four centuries, this was the most important place of higher learning in Morocco.
At its peak the madrasa housed up to 900 students in around 130 small cells arranged over two floors. The plan is built around a great rectangular courtyard with a long marble basin, framed by arcades of carved cedar, stucco panels and zellige mosaic. A separate prayer hall with a mihrab sits at the far end, signalling the building's dual role as both classroom and oratory.
Closed as a working school in 1960, the building stood half-restored for decades. A major refurbishment campaign ended in 2020, and it reopened to the public as a heritage site managed alongside the neighbouring Marrakech Museum. Today it is one of the most-photographed interiors in the city, and the largest surviving madrasa in North Africa.
The first madrasa on this site was founded in the 14th century by the Marinid sultan Abu al-Hasan, who built religious schools across his realm from Fez to Marrakech as part of a sweeping educational programme. That early structure stood next to the Almoravid Ben Youssef Mosque, and gave the institution its name.
The building you walk through today is essentially a later one. In 1565, the Saadi sultan Abdallah al-Ghalib demolished the Marinid madrasa and ordered a complete reconstruction on a far grander scale, designed to outshine its rivals in Fez. Saadi craftsmen and the architect Mohamed Bel Hassan spent years applying carved stucco, geometric zellige and cedar to almost every surface, drawing on traditions from Andalusia, Fez and the Sahara. Quranic verses in formal Kufic calligraphy were cut directly into the plaster, including a panel above the prayer-hall entrance recording the patron's name.
For the next four centuries the madrasa kept teaching, even as the surrounding Medina shifted under Saadi, Alaouite and finally colonial rule. After Moroccan independence the institution was wound down, and the doors closed for good in 1960. A first restoration in 1982 stabilised the structure; the most recent campaign, completed in 2020, reopened the upper-floor cells, repaired the marble courtyard basin and added new visitor circulation, lighting and signage.
Step through the long entry passage and the main courtyard suddenly opens out — about 30 metres long, paved in marble, with a shallow rectangular basin at its centre. The basin once served for ritual ablutions and as a sound mirror that pulled cool air through the building. The columns around it are Italian Carrara marble, an unusual luxury for the period, complemented by Moroccan craftsmanship above.
Look up and the decoration unfolds in layers. The lower walls are zellige: hand-cut glazed terracotta tiles forming eight-, twelve- and sixteen-pointed stars in deep ochres, blues and greens. Above the tile dado, the surface switches to carved stucco — interlaced arabesques, palmettes and bands of Kufic Quranic inscription. Higher still, broad bands of carved cedar form a deep cornice running around the courtyard, supporting the upper gallery.
At the south end of the courtyard, a small prayer hall opens off the main axis, with a deeply carved mihrab niche facing Mecca and a ceiling of intricate muqarnas vaulting — honeycomb-like stalactite cells that catch and break the light. Around the courtyard a narrow stair climbs to the upper floor, where the corridor of around 130 student cells runs in two wings. Each cell is barely two metres wide and lit only by a small high window onto the courtyard, with sleeping niches carved into the walls.
The overall effect is studied and quiet rather than ostentatious. Saadi designers used pattern and material — not gold and gemstones — to create a sense of cosmic order, suitable for a building dedicated to the recitation of the Quran.
Entry: 70 MAD for foreign visitors (about 7 EUR / 7.50 USD) in 2026, reduced rates are available for Moroccan residents and students with valid ID. The same ticket counter often offers a combined ticket with the neighbouring Marrakech Museum and the Almoravid Koubba — ask at the desk if you plan to visit all three.
Hours: Open daily, generally 9:00 to 18:00, with last entry around 30 minutes before closing. During Ramadan, hours are typically shortened to roughly 9:00–16:00. The site does not close on a weekly rest day in the way some Marrakech palaces do.
How long to allow: Most visitors spend 45–90 minutes here. Photographers and architecture fans easily fill 90 minutes between the courtyard, the prayer hall and the upper-floor cells.
On site: There is no official audio guide inside the madrasa. Licensed local guides at the entrance typically charge 100–200 MAD for a 30–45 minute private tour. Photography is permitted throughout — bring a small tripod only if you have one on hand and avoid using flash near restored stucco. The building has no cafe or shop; large rucksacks are not encouraged.
Dress: Although the madrasa is no longer an active religious site, modest dress is appreciated — covered shoulders and knees keep things respectful inside what is still a former oratory.
Arrive at opening. The courtyard is empty and softly lit between 9:00 and 10:00, before tour groups and cruise excursions reach the northern Medina. The marble basin reflects the upper galleries cleanly at this hour and you can take photographs without other visitors in the frame.
Or come late. If you can't manage the morning, the second-best window is around 16:00–17:00, when the western wall of the courtyard catches a warm golden light and most coach tours have moved on. Avoid the 11:00–14:00 peak when guided groups arrive in waves.
Climb to the upper floor. Many visitors miss the student cells. Take the narrow stair up to the gallery: the perspective looking back down into the courtyard is the most photographed angle of the building, and you can step inside one or two restored cells to feel how confined student life was.
Pair the visit with sound. The midday call to prayer (Dhuhr) from the adjacent Ben Youssef Mosque carries directly into the courtyard. If you can time a visit around 13:30 in summer or 12:45 in winter, you'll hear the building as it was meant to be experienced.
Bring small bills. Tickets, guides and any tips inside the souks are easier with notes of 20, 50 and 100 MAD. ATMs sit back at Jemaa el-Fna, not nearby. Wheelchair access is partial — the ground-floor courtyard is reachable, but the upper cells and prayer hall steps are not.
The Ben Youssef Madrasa lies deep in the northern Medina, roughly a 15-minute walk from Jemaa el-Fna. The classic route goes up Souk Semmarine (the main covered alley leaving the square to the north), continues through Souk el-Kebir, and emerges in a small square in front of the Marrakech Museum. The madrasa entrance is directly across that square; the small domed Almoravid Koubba stands between the two.
By taxi: Petit-taxis cannot enter the souk lanes. The closest drop-off points are at Jemaa el-Fna, Bab Doukkala or Mouassine; from any of these you'll finish on foot. Expect 20–30 MAD from Gueliz.
By GPS: Set your phone to walking directions and aim for 'Marrakech Museum' rather than the madrasa itself — the Museum has clearer signage at street level. Several alley names along the route (Rue Assouel, Souk el-Khemis) can change without notice, so the museum landmark is more reliable.
Help on the ground: If you lose your way, ask a shopkeeper, not a freelance 'guide'. Most stallholders will point you in the right direction without expecting a tip, and the museum-madrasa cluster is one of the easiest northern Medina landmarks to ask after.
The streets around the madrasa are one of the most rewarding clusters in the Medina. You can easily build a half-day morning circuit linking three or four sites without long walks in between.
Almoravid Koubba — directly between the madrasa and the Marrakech Museum. This small domed structure is the oldest surviving building in Marrakech, dating to the 12th century, and the only Almoravid monument still standing in the city. Entry is included with the Marrakech Museum ticket.
Marrakech Museum — housed in the 19th-century Dar Mnebhi palace, 70 MAD entry. A smaller, less crowded counterpart to the madrasa, and a useful contrast: Almoravid, Saadi and Alaouite craft traditions in the same square.
Maison de la Photographie — a 3-minute walk further north, with an excellent rooftop cafe. The collection of vintage Moroccan photography is one of the most under-rated stops in the Medina.
Dar el-Bacha — 10–12 minutes west via Rue Mouassine. The early 20th-century pasha's palace pairs especially well with the madrasa: Saadi austerity in the morning, Glaoui opulence with a Bacha Coffee afterwards.
Le Jardin Secret — also around 10 minutes away, in the same Mouassine quarter. Add it for a full northern-Medina morning ending with mint tea in a restored garden.
For a wider plan, see all the places to visit in Marrakech.
It is a former Islamic college (madrasa) in the northern Medina of Marrakech, where students lived and studied Quran, law, grammar and the sciences. At its peak it housed up to 900 students in around 130 cells around a vast marble-paved courtyard. It is the largest surviving madrasa in North Africa.
The original madrasa was founded in the 14th century by the Marinid sultan Abu al-Hasan. The current building is largely a 1565 reconstruction commissioned by the Saadi sultan Abdallah al-Ghalib, so most of the carved cedar, stucco and zellige you see today is Saadi-era work.
Entry is 70 MAD (about 7 EUR) for foreign visitors in 2026. Reduced rates are available for Moroccan residents and students with ID. Combined tickets covering the Marrakech Museum and Almoravid Koubba are sometimes offered at the same counter — ask on arrival.
The madrasa is open daily, generally from 9:00 to 18:00, with last entry around 30 minutes before closing. During Ramadan, hours are typically reduced to roughly 9:00–16:00. There is no fixed weekly closing day.
No. The madrasa stopped operating as an active Islamic college in 1960, after Moroccan independence. Following a first restoration in 1982 and a major campaign completed in 2020, it now functions purely as a heritage site and museum.
Most visitors spend 45 to 90 minutes here. Allow extra time if you want to photograph the courtyard from the upper floor or explore the student cells. Architecture and photography enthusiasts can comfortably stretch to two hours.
The main highlights are the large marble-paved courtyard with its central basin, the prayer hall with its carved mihrab and muqarnas ceiling, around 130 student cells on the upper floor, and the layered decoration of zellige, carved stucco and cedar inscribed with Kufic Quranic verses.
Partially. The main entrance and central courtyard are reachable on the ground floor, though some thresholds are uneven. The upper-floor cells, the prayer hall steps and the narrow internal staircases are not wheelchair accessible.
Yes, photography is permitted throughout the building. Tripods are generally fine in the courtyard if it is not crowded. Avoid using flash near restored stucco surfaces, and be mindful of other visitors in the narrow upper galleries.
It is roughly a 15-minute walk north from the square. Follow Souk Semmarine into the souks and continue through Souk el-Kebir until you reach the small square in front of the Marrakech Museum — the madrasa is directly opposite. Taxis cannot enter the souk lanes, so you'll need to finish on foot from Jemaa el-Fna, Bab Doukkala or Mouassine.
The Almoravid Koubba (the oldest building in Marrakech) and the Marrakech Museum are within 100 metres. The Maison de la Photographie is a 3-minute walk north, while Dar el-Bacha and Le Jardin Secret are both 10–12 minutes west in the Mouassine quarter — a natural morning circuit.