Ben Youssef Mosque in Marrakech: the old heart of the medina
City games in Marrakech (2) ↓The Ben Youssef Mosque in Marrakech is one of the oldest and most important mosques of the city, in the northern part of the medina, a short walk from the souks behind Jemaa el-Fna. It was founded by the Almoravids in the 12th century and gave its name to the neighbouring Ben Youssef Madrasa, one of the finest buildings in Morocco. Non-Muslims cannot enter the mosque, but the area around it holds several of the city's best sights. Here you read its story, what to look for, what is nearby and how our detective game passes it.
- from €4.99 per person1 player €8.95 · 4 players €19.95
- Start any time within 12 months
- Free cancellation until you start

Choose your game in Marrakech
Detective Murder Mystery Game Marrakech
1.5–2 hours · 1–4 players per team · free Loquiz appGroup games: teams against each other

City ConquestRace Through MarrakechA city game where teams play against each other: at least 2 teams of 1–4 players, each team on its own phone.What players in other cities say
- ★★★★★
Had So much fun playing while exploring the city
Philip C.March 2026 · via google - ★★★★★
I had a fantastic experience with CityGame! The concept is creative, engaging, and a great way to explore a city in a completely new way. The games are well-designed, combining puzzles, storytelling, and adventure so you’re constantly discovering something interesting around every corner. What I especially love is how CityGame turns a normal walk through the city into an interactive experience. It’s perfect for friends, families, or team outings, and it makes sightseeing much more exciting than the usual tours. Everything was easy to use, the challenges were fun and clever, and it really encouraged us to look closer at the city and its hidden details. Highly recommended if you’re looking for a unique and memorable way to explore!
Jessica S.March 2026 · via google
How we check reviews
These reviews were left by players on Google and other review sites and are copied from there as they are, with their source.
Leaderboard: Marrakech
| # | Team | Game | Points | Time |
|---|
No team has played in this period yet.
What is the Ben Youssef Mosque?
The Ben Youssef Mosque is a Friday mosque in the north of the medina of Marrakech. It is named after the Almoravid sultan Ali ibn Yusuf, "Ben Youssef" meaning "son of Yusuf": his father, Yusuf ibn Tashfin, was the ruler under whom Marrakech became the capital of a great empire.
For centuries this was one of the main mosques of the city, and the neighbourhood around it grew into a centre of religious learning and trade. Today it is still an active mosque, so it is a place of prayer first and a monument second.
Most visitors know the name through the Ben Youssef Madrasa, the Islamic college right next to the mosque. The madrasa is named after the adjacent mosque, and the two buildings, together with the nearby Almoravid Koubba, form one of the most interesting historic corners of Marrakech.
Had So much fun playing while exploring the city
From Almoravid foundation to today
Ali ibn Yusuf founded the mosque in the early 12th century, when the Almoravids ruled a realm that stretched from the Sahara to al-Andalus in Spain. Marrakech was then a young city, and this mosque was meant to be its great centre of worship.
Little of that first building survives. When the Almohads took Marrakech in the mid 12th century, they built new mosques of their own, including the Koutoubia, and the Ben Youssef Mosque went through long periods of neglect and repeated rebuilding. The building you see today largely dates from a reconstruction in the early 19th century under the Alaouite sultan Moulay Slimane.
The mosque's importance as a place of learning grew when the Saadian sultan Abdallah al-Ghalib commissioned the madrasa next to it in 1564 to 1565. At its height the Ben Youssef Madrasa was the largest Islamic college in the Maghreb, and students lived and studied there in small cells around its courtyard. The madrasa is now a historical site, widely seen as a high point of Saadian and Moroccan architecture.
What you can see from outside
Entry to the Ben Youssef Mosque is reserved for Muslims, but there is still plenty to notice from the lanes around it.
Look for the minaret rising above the rooftops of the medina, the most visible part of the mosque from the surrounding streets and from the roof terraces of nearby cafés. Its square shape and decorated upper section follow the classic Moroccan style also seen at the Koutoubia.
Around the entrances you see carved wooden doors and plaster decoration, and the lane outside is lined with small shops and craftsmen. At prayer times you hear the call to prayer from the minaret and see people gathering, which tells you this is a living part of the neighbourhood.
For a photo of the mosque, a rooftop terrace nearby gives the best view of the minaret over the flat roofs of the medina, especially in the late afternoon. In the lanes, be discreet with your camera at the doors of the mosque and avoid photographing people at prayer.
What's nearby within a short walk
The streets around the mosque hold several of the best sights in Marrakech, all within a few minutes on foot.
Right next door is the Ben Youssef Madrasa, with its marble courtyard, central pool and walls covered in zellige tilework, carved stucco and cedar wood. Upstairs you can see the small rooms where students once lived. The madrasa's official website has information about the site and its restoration, and about current opening hours and tickets.
Just opposite lies the Almoravid Koubba, a small domed pavilion from the 12th century and a rare surviving trace of Almoravid architecture in the city, with a richly carved interior dome. Close by, the Marrakech Museum is housed in Dar Menebhi, a 19th-century palace with a large covered courtyard and a huge hanging lantern.
A little further are Le Jardin Secret, a restored riad garden in the medina, and the Maison de la Photographie with historic photographs of Morocco. To the south, the covered souks lead you back towards Jemaa el-Fna.
Practical tips for your visit
Plan around half a day for the area if you combine the mosque from outside with the madrasa, the Almoravid Koubba and the Marrakech Museum. The madrasa alone deserves about an hour.
The mosque lies north of Jemaa el-Fna, about 15 minutes on foot through the souks. The lanes are a maze, so follow the main souk streets north and look for signs to the madrasa or the museum, which lead you to the right square.
Go in the morning if you can. The souks are calmer, the light in the madrasa courtyard is soft, and you avoid the busiest hours. Fridays around midday prayer the mosque is especially busy, so expect crowded lanes.
Dress modestly, with shoulders and knees covered, as you are walking past an active mosque. Watch out for motorbikes in the narrow streets, and politely decline offers from people who want to guide you to a "closed" sight or a shop: a firm "no, thank you" is usually enough. Opening hours of the madrasa and museums can change, so check their official information before you go.
Pass the mosque with Detective murder mystery game Marrakech
Our Detective murder mystery game Marrakech passes the Ben Youssef Mosque. You play a detective murder mystery on foot through the medina of Marrakech, from Jemaa el-Fna to the Bahia Palace, at your own pace. The story is based on Sherlock Holmes, and riddles and photo tasks make you look closely at doors, fountains and street corners. On the way you see places such as the Saadian Tombs, the Bahia Palace, the Ben Youssef Mosque and the Marrakech Museum.
The game takes 1.5 to 2 hours and you play it in the browser on your own phone, no app needed. Start whenever you like, and stop for mint tea in between: the game waits for you.
For the southern part of the city, Secrets of Marrakech is a self-guided walking tour from the Bab Agnaou gate to the El Badi Palace, with puzzles and photo tasks along the way.
Each team plays together on one phone, at most four players per phone. The price depends on the number of players: €8.95 for one player, €14.95 for two, €19.95 for three or four. That works out from €4.99 per person.
More information
Can non-Muslims visit the Ben Youssef Mosque in Marrakech?
No, entry is reserved for Muslims. You can see the minaret and entrances from outside and visit the neighbouring Ben Youssef Madrasa.
Who founded the Ben Youssef Mosque?
The Almoravid sultan Ali ibn Yusuf founded it in the early 12th century. The present building largely dates from an early 19th-century reconstruction.
What is the difference between the mosque and the madrasa?
The mosque is a place of prayer, while the madrasa next to it was an Islamic college, commissioned in 1564 to 1565 and named after the mosque. Today the madrasa is a historical site open to visitors.
How do I get there from Jemaa el-Fna?
Walk north through the souks for about 15 minutes. Signs to the madrasa and the Marrakech Museum help you find the way.
What should I wear?
Dress modestly with shoulders and knees covered, as the mosque is an active place of worship.
Does a City Game pass the Ben Youssef Mosque?
Yes, Detective murder mystery game Marrakech passes it. It takes 1.5 to 2 hours and you play it in the browser on your own phone.





