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.

DetailInfo
LocationAvenue Mohammed V, next to Jemaa el-Fnaa, Marrakech medina
Built byThe Almohad dynasty, starting with Caliph Abd al-Mu’min
First mosqueBegun in 1147, right after the Almohads took Marrakech
Current mosqueRebuilt around 1158
Koutoubia minaretAbout 77 m including the spire, finished under Yaqub al-Mansur in the 1190s
NameFrom kutubiyyin, “booksellers”
Can non-Muslims enter?No, but the grounds and the Koutoubia Gardens are open to everyone
Entry feeNone for the gardens and exterior
Best timeEarly morning or the hour before sunset
Time needed30 to 60 minutes

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.

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

YearEvent
Around 1070The Almoravids found Marrakech
1147The Almohads take the city; work starts on the first mosque
Around 1158The second mosque is built and used for prayer
1190sThe Koutoubia minaret is completed under Yaqub al-Mansur
20th centuryThe ruins of the first mosque are excavated and the gardens laid out
September 2023The Al Haouz earthquake cracks the minaret
March 2024The 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?.

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.

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.

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.

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.

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.

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.

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.

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.

TimeWhat you get
Sunrise to 9:00Soft light, empty gardens, cool air
MiddayHarsh light; better to visit other sights
One hour before sunsetWarm golden light on the sandstone
After darkThe 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.

  • 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.

  • 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.

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.

StopWalking timeWhy go
Koutoubia Mosque and gardensStartMinaret, ruins, gardens
Jemaa el-Fnaa5 minutesJuice stalls, musicians, storytellers
Souk Semmarine10 minutesThe main covered market street
Ben Youssef area15 minutesMadrasa and museums
Back via Riad Zitoun20 minutesToward 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.

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.

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.

TopicDetails
Opening hoursGardens and exterior accessible every day; the mosque is reserved for prayer
PriceFree
Dress codeModest clothes recommended around the mosque
AccessibilityFlat paths in the gardens, suitable for strollers and wheelchairs
ToiletsLimited; use cafés around Jemaa el-Fnaa
SafetyBusy and safe area; watch your belongings at night
WeatherVery hot at midday in summer; see the weather in Marrakech
  1. Non-Muslims cannot go inside; enjoy the exterior and the gardens.
  2. Visit early or just before sunset for the best light.
  3. Dress modestly near the mosque: shoulders and knees covered.
  4. Keep your voice low during the call to prayer.
  5. Do not photograph people praying.
  6. Look at each face of the minaret: they are all different.
  7. Find the ruins of the first mosque on the north side.
  8. Sit in the Koutoubia Gardens to rest between sights.
  9. Combine the visit with Jemaa el-Fnaa and the souks.
  10. Ignore anyone who insists on guiding you for money.
  11. Come back after dark to see the minaret lit up.
  12. Use the tower as your landmark if you get lost in the medina.
MistakeBetter choice
Trying to enter the prayer hallAdmire it from outside and from the gardens
Visiting at noon in summerGo early morning or late afternoon
Wearing beachwear near the mosqueChoose modest clothing
Only taking a photo from the streetWalk into the Koutoubia Gardens for better views
Following unofficial guidesExplore on your own or with an official guide
TowerCityBuiltToday
Koutoubia minaretMarrakech12th centuryComplete, still used as a minaret
GiraldaSeville, Spain12th centuryBell tower of Seville Cathedral, with a Renaissance top
Hassan TowerRabatLate 12th centuryUnfinished, about 44 m, next to the Mausoleum of Mohammed V
  • 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

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.

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.


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.

Name
Lahcen Saadi, a professional local guide from the Exploring Morocco Trips team, in traditional attire in front of a 4x4 in the Sahara dunes

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.

Scroll to Top