Koutoubia Mosque Marrakech: History, Minaret, Gardens and Visitor Guide
The first time you walk from Jemaa el-Fnaa toward the west, the Koutoubia minaret appears above the palm trees, pink in the morning and almost red at sunset. For our guides, who were born in Merzouga and have worked in Marrakech for years, it is the one landmark every visitor remembers.
This guide covers the Koutoubia Mosque Marrakech from every angle: its Koutoubia Mosque history, how the Koutoubia minaret was built, whether non-Muslims can enter, the Koutoubia Gardens, the legends, the 2023 earthquake, and practical tips on light, photos and nearby sights.
Koutoubia Mosque Marrakech at a Glance
| Detail | Info |
|---|---|
| Location | Avenue Mohammed V, next to Jemaa el-Fnaa, Marrakech medina |
| Built by | The Almohad dynasty, starting with Caliph Abd al-Mu’min |
| First mosque | Begun in 1147, right after the Almohads took Marrakech |
| Current mosque | Rebuilt around 1158 |
| Koutoubia minaret | About 77 m including the spire, finished under Yaqub al-Mansur in the 1190s |
| Name | From kutubiyyin, “booksellers” |
| Can non-Muslims enter? | No, but the grounds and the Koutoubia Gardens are open to everyone |
| Entry fee | None for the gardens and exterior |
| Best time | Early morning or the hour before sunset |
| Time needed | 30 to 60 minutes |
What Is the Koutoubia Mosque?
Quick answer: The Koutoubia Mosque is the largest mosque in Marrakech and the city’s best-known landmark. It was built by the Almohad dynasty in the 12th century. Its square sandstone minaret, about 77 meters tall, rises next to Jemaa el-Fnaa and can be seen from most of the medina.
Ask anyone in Marrakech for directions in the old city and there is a good chance they will point at the Koutoubia minaret. For more than 800 years it has been the city’s compass. Drivers use it, shopkeepers use it, and visitors who lose themselves in the souks use it to find their way back to the main square.
The Koutoubia Mosque Marrakech is also an active place of worship. Five times a day the call to prayer starts here, and on Fridays the mosque fills with men in white and cream djellabas. For travelers, it is the first monument they see when they arrive, and often the last photo they take before leaving the city. Our drivers usually start city tours here, because from the foot of the tower you can walk to almost every major sight in the old town.
Koutoubia Mosque History: Two Mosques in One
Quick answer: The Almohad caliph Abd al-Mu’min began the first Koutoubia Mosque in 1147, after conquering Marrakech. A second mosque was built beside it around 1158, and the minaret was completed under his grandson Yaqub al-Mansur in the 1190s. The mosque standing today is that second building.
The Koutoubia Mosque history begins with a change of power. Marrakech was founded around 1070 by the Almoravids, an Amazigh dynasty from the Sahara. In 1147 a rival Amazigh movement from the High Atlas, the Almohads, captured the city. Their leader, Abd al-Mu’min, ordered a new great mosque next to the old Almoravid palace, partly to replace the mosques of the defeated dynasty.
Why Was It Built Twice?
Only a few years after the first mosque was finished, a second one was built right next to it, with almost the same size. Historians still discuss why. The most common explanation is that the first building was not correctly oriented toward Mecca. Other researchers think the Almohads simply wanted a bigger and grander mosque. The foundations of the first prayer hall were excavated in the 20th century, and you can still see their outline on the north side of the minaret.
Timeline of the Koutoubia Mosque
| Year | Event |
|---|---|
| Around 1070 | The Almoravids found Marrakech |
| 1147 | The Almohads take the city; work starts on the first mosque |
| Around 1158 | The second mosque is built and used for prayer |
| 1190s | The Koutoubia minaret is completed under Yaqub al-Mansur |
| 20th century | The ruins of the first mosque are excavated and the gardens laid out |
| September 2023 | The Al Haouz earthquake cracks the minaret |
| March 2024 | The mosque reopens to worshippers after repairs |
The Koutoubia Mosque history is closely tied to the story of Morocco and Spain. The same dynasty ruled much of the Iberian Peninsula, and its builders used the Koutoubia as a model for other great towers. Read more in our guides to the history of Marrakech and Is Morocco in Europe?.
The Koutoubia Minaret: Design and Details
Quick answer: The Koutoubia minaret is a square tower about 12.8 meters wide and 69 meters high, or about 77 meters to the tip of its spire. It has six rooms stacked inside, linked by a ramp instead of stairs. Each face has different carved arches and a band of turquoise tiles near the top.
Stand in front of the Koutoubia minaret and look closely: the four faces are not identical. Each side has its own pattern of windows and pointed or lobed arches, carved in stone and brick. Near the top, a strip of glazed turquoise tiles catches the light. Above the main tower sits a smaller lantern, then a spire with metal orbs.
- Shape: a square tower, typical of North Africa and Andalusia, unlike the round minarets of Turkey.
- Proportions: the height is about five times the width, a ratio that later became a standard for Moroccan minarets.
- Inside: a ramp winds around six rooms, one above the other. Tradition says it was wide enough for a horse to carry the muezzin to the top.
- Materials: sandstone and brick. The warm pink-orange color changes through the day.
- Height: local building rules keep the medina low, so the tower still dominates the skyline.
The Koutoubia minaret is often called the mother of two famous towers: the Giralda in Seville and the Hassan Tower in Rabat. All three were built by the Almohads within a few decades of each other.
Almohad Architecture Explained
Quick answer: Almohad architecture is simple and strong. The Almohads preferred clean lines, large arches and geometric patterns to rich color. The Koutoubia Mosque, the Tinmel Mosque in the High Atlas and the Hassan Tower in Rabat are the best examples of this style in Morocco.
To understand the Koutoubia Mosque history, it helps to know who the Almohads were. They began as a religious reform movement in the High Atlas, led by Ibn Tumart, who preached a strict and simple form of Islam. That simplicity shows in their buildings. Compared with the colorful Saadian Tombs or the painted ceilings of the Bahia Palace, Almohad monuments look calm and sober, with decoration carved directly into brick and stone.
- Lobed and interlacing arches on the minaret and around the doors.
- Sebka patterns: a diamond-shaped net of interlaced arches, very common on Almohad towers.
- Muqarnas (honeycomb vaulting) in a few domes inside the prayer hall.
- Limited color: mostly the natural tone of stone and brick, with small touches of glazed tile.
The Tinmel Mosque, the Almohads’ first great mosque in the mountains, was badly damaged in the 2023 earthquake and is being restored. Many of our travelers visit both sites to follow the Almohad story from the Atlas to the city.
Inside the Prayer Hall
Although non-Muslims cannot enter, it is interesting to know what lies behind the walls. The prayer hall is huge, with a forest of white horseshoe arches resting on pillars and dividing the space into about seventeen long aisles. The central aisle, leading to the mihrab (the niche that shows the direction of Mecca), is wider and higher than the others. The plan, with a cross aisle along the qibla wall, forms a “T”, a layout that became a model for later mosques in Morocco and Andalusia. Several small domes above the mihrab area are decorated with carved muqarnas.
Why Is It Called Koutoubia?
Quick answer: The name Koutoubia comes from the Arabic word kutubiyyin, meaning booksellers. In the Almohad period, dozens of booksellers and manuscript sellers had their shops around the mosque, so people called it the Mosque of the Booksellers. The name has stayed for more than eight centuries.
Today there are no bookshops left around the mosque, but the name reminds us that Marrakech was once a center of learning, with scholars, copyists and students gathering near its main mosque. The Almohad caliphs were patrons of philosophers and scientists, including the great thinker Ibn Rushd (Averroes), who spent time at their court in Marrakech.
Can Non-Muslims Visit the Koutoubia Mosque?
Quick answer: Non-Muslims cannot enter the Koutoubia Mosque or climb its minaret. This rule applies to most active mosques in Morocco. Everyone can walk around the exterior, see the ruins of the first mosque and relax in the Koutoubia Gardens, which are free and open every day.
Morocco is one of the few Muslim countries where most mosques are closed to non-Muslims. The main exception is the Hassan II Mosque in Casablanca, which offers guided tours. At the Koutoubia, visitors can still see a lot from outside: the minaret, the walls, the ablution area from a distance, and the open-air ruins. On Fridays, when the doors are open for prayer, you may catch a glimpse of the white arches inside, but please do not stand in the doorway or take photos of people praying. Read our guide Is Morocco a Muslim country? for more on daily religious life.
The Koutoubia Gardens
Quick answer: The Koutoubia Gardens lie on the south and west sides of the mosque. They have palm trees, orange trees, rose beds, fountains and shaded benches. Entry is free, and they are one of the best places in Marrakech to photograph the minaret and escape the noise of Jemaa el-Fnaa.
Locals come to the Koutoubia Gardens to walk, chat and rest in the shade, especially in the late afternoon. Families sit on the benches, students study under the palms, and older men play cards. In spring, the rose beds bloom and the orange trees fill the air with the scent of blossom.
- Best view: the path near the fountain on the south side frames the whole Koutoubia minaret.
- Lalla Zohra’s tomb: a small white domed shrine near the gardens, linked to a local legend.
- Quiet hours: mornings are calm; evenings are lively with families.
- Facilities: benches, shade, and small kiosks nearby.
The Koutoubia Gardens connect easily with other green spaces in the city. If you like gardens, also read our guide to Jardin Majorelle.
Legends and Stories of the Koutoubia
The Golden Orbs
The metal orbs on top of the spire are the subject of the most famous legend. One version says they were made from the melted gold jewelry of Yaqub al-Mansur’s wife, as penance for eating during a day of Ramadan. Another says the orbs were protected by spirits and that anyone who tried to steal them would fail. Historians believe they are made of gilded copper, but locals still tell the stories.
The Muezzin Who Could See Too Much
Another old tale says that only blind muezzins were allowed to climb the tower, so they could not look down into the private courtyards and gardens of the palace. It is probably just a story, but it shows how high the Koutoubia minaret seemed to people in the past.
The Famous Minbar
The mosque once held a magnificent wooden pulpit (minbar), made in Córdoba in the 12th century for the Almoravids and later moved here by the Almohads. Its carved and inlaid wood is a masterpiece of Islamic art. Today it is displayed in the El Badi Palace, a short walk away, where you can see it up close.
The Koutoubia Mosque After the Al Haouz Earthquake
On 8 September 2023, a strong earthquake struck the High Atlas south of Marrakech. In the city, the Koutoubia minaret swayed, and inspectors found significant cracks. The mosque closed for safety checks and restoration. After several months of work, it reopened to worshippers in March 2024. The tower still stands over the medina, and the gardens are open as before. If you look closely at the upper part of the minaret, you can sometimes see traces of the repair work, a reminder of how close the city came to losing part of its oldest skyline. The earthquake hit mountain villages much harder than the city, and many travelers now support local communities by visiting the Atlas with local guides.
Best Time to Visit and Photo Tips
| Time | What you get |
|---|---|
| Sunrise to 9:00 | Soft light, empty gardens, cool air |
| Midday | Harsh light; better to visit other sights |
| One hour before sunset | Warm golden light on the sandstone |
| After dark | The minaret is lit up; beautiful from Jemaa el-Fnaa |
- Photograph the Koutoubia minaret from the gardens with palm trees in the foreground.
- From Jemaa el-Fnaa, the tower rises behind the square at dusk as food stalls light up.
- Rooftop cafés around the square give a higher angle, with the Atlas behind on clear winter days.
- Avoid photographing people praying or entering the mosque.
For the best evening light, read our guide to the sunset in Marrakech.
How to Get to the Koutoubia Mosque Marrakech
- From Jemaa el-Fnaa: about 3 to 5 minutes on foot. Walk west toward the tower.
- From the Majorelle Garden: about 10 minutes by taxi or 35 minutes on foot.
- From the train station: about 10 to 15 minutes by petit taxi.
- From Gueliz: follow Avenue Mohammed V south; the minaret is at the end of the avenue.
Petit taxis can drop you on Avenue Mohammed V, right next to the mosque. Ask the driver to use the meter. If you are staying in a riad in the medina, you will probably pass the tower every day without even planning it.
What to See Near the Koutoubia
- Jemaa el-Fnaa: the main square, 5 minutes away. Read our guide to Jemaa el-Fnaa Square.
- The souks: start just north of the square.
- Bahia Palace: about 15 minutes on foot. See our Bahia Palace guide.
- El Badi Palace: home of the Koutoubia minbar.
- Saadian Tombs: next to the Kasbah Mosque, about 15 minutes away.
- Dar El Bacha: a palace museum with a famous coffee salon. Read about Dar El Bacha.
Planning your days in the city? See what to see in Marrakech.
Visiting on Fridays and During Ramadan
Friday midday prayer is the most important of the week. Around 12:30 to 14:00, the area around the Koutoubia Mosque Marrakech becomes very busy, and the streets fill with worshippers. It is a beautiful moment to observe from a respectful distance, but not the best time for photos. During Ramadan, the atmosphere changes: the call to prayer at sunset signals the end of the fast, and families gather in the Koutoubia Gardens and around Jemaa el-Fnaa for the evening. Read our guide to Ramadan in Morocco.
A Short Walking Route From the Koutoubia
| Stop | Walking time | Why go |
|---|---|---|
| Koutoubia Mosque and gardens | Start | Minaret, ruins, gardens |
| Jemaa el-Fnaa | 5 minutes | Juice stalls, musicians, storytellers |
| Souk Semmarine | 10 minutes | The main covered market street |
| Ben Youssef area | 15 minutes | Madrasa and museums |
| Back via Riad Zitoun | 20 minutes | Toward the Bahia Palace and the Mellah |
This loop takes half a day at an easy pace. For more structure, use our travel itinerary planner or join a private city tour with a local guide.
The Koutoubia at Night
After sunset, spotlights light the Koutoubia minaret, and the tower glows above the smoke of the food stalls in Jemaa el-Fnaa. Walking from the square to the gardens at night is safe and pleasant, and the view of the illuminated tower against the dark sky is one of the classic images of Marrakech. On cool winter evenings, the call to prayer echoing across the square is something most visitors never forget.
Is the Koutoubia Mosque Worth Visiting?
Quick answer: Yes. Even without going inside, the Koutoubia Mosque is worth 30 to 60 minutes. You see one of the oldest and best-preserved Almohad minarets in the world, the ruins of the first mosque, and free gardens with the best view of the tower. It is also right next to Jemaa el-Fnaa.
Some travelers feel disappointed when they learn they cannot enter. Our advice is to treat the Koutoubia as an open-air monument rather than an indoor visit. Walk around all four sides, compare the decoration on each face of the minaret, look for the foundations of the first prayer hall, and end in the gardens. If you visit at sunset and come back after dark, you will see the tower in two completely different moods.
Practical Information
| Topic | Details |
|---|---|
| Opening hours | Gardens and exterior accessible every day; the mosque is reserved for prayer |
| Price | Free |
| Dress code | Modest clothes recommended around the mosque |
| Accessibility | Flat paths in the gardens, suitable for strollers and wheelchairs |
| Toilets | Limited; use cafés around Jemaa el-Fnaa |
| Safety | Busy and safe area; watch your belongings at night |
| Weather | Very hot at midday in summer; see the weather in Marrakech |
12 Must-Know Visitor Tips
- Non-Muslims cannot go inside; enjoy the exterior and the gardens.
- Visit early or just before sunset for the best light.
- Dress modestly near the mosque: shoulders and knees covered.
- Keep your voice low during the call to prayer.
- Do not photograph people praying.
- Look at each face of the minaret: they are all different.
- Find the ruins of the first mosque on the north side.
- Sit in the Koutoubia Gardens to rest between sights.
- Combine the visit with Jemaa el-Fnaa and the souks.
- Ignore anyone who insists on guiding you for money.
- Come back after dark to see the minaret lit up.
- Use the tower as your landmark if you get lost in the medina.
Common Mistakes
| Mistake | Better choice |
|---|---|
| Trying to enter the prayer hall | Admire it from outside and from the gardens |
| Visiting at noon in summer | Go early morning or late afternoon |
| Wearing beachwear near the mosque | Choose modest clothing |
| Only taking a photo from the street | Walk into the Koutoubia Gardens for better views |
| Following unofficial guides | Explore on your own or with an official guide |
Koutoubia, Giralda and Hassan Tower Compared
| Tower | City | Built | Today |
|---|---|---|---|
| Koutoubia minaret | Marrakech | 12th century | Complete, still used as a minaret |
| Giralda | Seville, Spain | 12th century | Bell tower of Seville Cathedral, with a Renaissance top |
| Hassan Tower | Rabat | Late 12th century | Unfinished, about 44 m, next to the Mausoleum of Mohammed V |
Quick Cheat Sheet
- Built by the Almohads, first mosque 1147, current mosque around 1158
- Koutoubia minaret: about 77 m with the spire
- Name means “booksellers”
- No entry for non-Muslims; gardens are free
- Best light: early morning and before sunset
- 5 minutes from Jemaa el-Fnaa
Frequently Asked Questions
Can tourists go inside the Koutoubia Mosque?
No. The Koutoubia Mosque is an active mosque and only Muslims may enter. Tourists can visit the exterior, the ruins of the first mosque and the Koutoubia Gardens.
How tall is the Koutoubia minaret?
About 69 meters for the tower and about 77 meters including the lantern and spire.
Who built the Koutoubia Mosque?
The Almohad dynasty. Caliph Abd al-Mu’min started it in 1147, and Yaqub al-Mansur completed the minaret in the 1190s.
Is there an entry fee for the Koutoubia Gardens?
No. The Koutoubia Gardens are free and open every day.
What does Koutoubia mean?
It comes from the Arabic kutubiyyin, meaning booksellers, because booksellers once worked around the mosque.
Was the Koutoubia Mosque damaged in the 2023 earthquake?
Yes, the minaret was cracked. The mosque was restored and reopened to worshippers in March 2024.
How long do I need to visit?
About 30 to 60 minutes, including a walk in the gardens.
Final Thoughts
The Koutoubia Mosque Marrakech has watched over the city since the 12th century. You cannot go inside unless you are Muslim, but you do not need to: the Koutoubia minaret, the ruins of the first mosque and the Koutoubia Gardens tell the story well enough. Come early or late, walk around all four sides, and sit in the gardens for a while before heading back into the medina.
Want a local guide to show you the Koutoubia and the rest of the medina? Contact us, and we will add a private city tour to your trip before heading to the Atlas and the Sahara on our Marrakech desert tours.
Explore our Morocco trips:
Tours from Marrakech: Start at the foot of the Koutoubia minaret, then cross the High Atlas to Ait Ben Haddou, the Dades Valley and the dunes of Erg Chebbi.
Morocco Desert Tours: From an Almohad tower to the silence of the Sahara: camel trekking in Merzouga and a night in an Erg Chebbi desert camp.
Tours from Fes: Compare the Koutoubia with the great mosques and madrasas of Fes, then travel through the Middle Atlas to the desert.
Tours from Ouarzazate: See the kasbahs and film studios of the south, built in the same earth and stone tones as the Koutoubia.
Tours from Tangier: Begin in the north, follow the Almohad trail from Spain to Morocco, and finish in Marrakech under the Koutoubia minaret.
Tours from Casablanca: Visit the Hassan II Mosque, which non-Muslims can enter, then continue to Marrakech and the Koutoubia.
Contact us

Your Local Experts
Our Moroccan team organizes private tours from every major city in Morocco: Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir, Ouarzazate and more. Wherever you land, we pick you up and design your trip around your dates and interests.
Plan Your Trip
Click any destination to see more:
Marrakech Desert Tours
- 2 Days Desert Tour from Marrakech
- 3 Days Marrakech to Merzouga
- 3 Days Marrakech to Fes
- 4 Days Marrakech to Merzouga
- 4 Days Marrakech to Fes
- 5 Days Marrakech to Merzouga
- 5 Days Morocco Tour from Marrakech
- 6 Days Morocco Tour from Marrakech
- 7 Days Morocco Tour from Marrakech
- 8 Days Morocco Tour from Marrakech
- 8 Days with Imperial Cities
- 9 Days Morocco Tour from Marrakech
- 10 Days Morocco Tour from Marrakech
- 12 Days Morocco Tour from Marrakech
- 14 Days Morocco Tour from Marrakech