Mosque Cadi Ayad

Discover cities like never before.

Enjoy over self-guided city exploration with our app ‘Explory’. Learn all about the history and discover hidden more than 500.000 hidden gems, that only locals know about. Build custom tours, find nearby places, and start exploring instantly.

Did you know that the Kasbah Mosque, now known as Mosque Cadi Ayad, boasts a rich history that stretches back to the Almohad Empire? It is one of the most important historic mosques in Marrakesh.

Let’s step back in time. Imagine Marrakesh in the late 12th century. Yaqub al-Mansur, the Almohad Caliph, is commissioning the construction of a new imperial kasbah. This citadel will serve as his residence and the seat of government. A key part of this grand project is a congregational mosque. This mosque is our very own Mosque Cadi Ayad.

Construction likely began around 1185 and finished by 1190. The Kasbah Mosque was not just any mosque. It was meant for the caliph himself and the royal district. Rulers would attend prayers here.

Even after the Almohad Empire fell, the Kasbah Mosque remained highly esteemed. It even rivaled the Kutubiyya Mosque in prestige. Rulers and important figures were buried in a cemetery south of the mosque. This eventually became the Saadian dynasty’s royal necropolis, the Saadian Tombs.

But the story of Mosque Cadi Ayad doesn’t end there. In the late 16th century, disaster struck. A massive explosion at a nearby gunpowder store severely damaged the mosque. The exact year isn’t certain. It was either 1562 or sometime between 1573 and 1574.

The Saadi sultan Moulay Abd Allah al-Ghalib undertook extensive repairs. The southern part of the mosque was possibly the most damaged. Scholars believed the repairs preserved the original Almohad design. However, the stucco decoration inside is likely entirely Saadian. It replaced any earlier decoration. One study suggests the Saadian reconstruction changed the mosque’s internal layout. Even after these repairs, long cracks in the minaret remained visible until the 20th century.

Later, in the second half of the 18th century, Alaouite sultan Sidi Muhammad Ibn Abd Allah also restored the mosque. The wooden cupola at the central entrance to the prayer hall dates from this time. Despite these changes, it seems later sultans preserved the original form of the mosque.

Fast forward to August 16, 1907. A group led by Madani El Glawi gathered at the mosque. They pledged allegiance to Abdelhafid as their sultan. This was during a time of upheaval in Morocco.

Today, Mosque Cadi Ayad is still used for prayer. Non-Muslims are not allowed to enter, as with other mosques in Morocco.

The mosque’s exterior is imposing. High walls are crowned with merlons above a row of corbels. Large pointed horseshoe arches line the walls. Some are walled in, while others frame the gates.

The minaret has a square base and is divided into two parts. The main part features plain walls of rubble stone. Above the mosque’s roof, the minaret is made of brick and decorated. Three narrow horseshoe arches are topped by larger polylobed arches on each side. An interlacing sebka pattern is sculpted in brick and filled with green faience. A large frieze of green and white geometric mosaic tiles wraps around the minaret.

Inside, the mosque is roughly square. The floor plan is dominated by a large courtyard divided into five parts. A large central rectangular courtyard and four minor rectangular courtyards at its corners. The prayer hall is on the south side of the courtyard. It is a hypostyle space with rows of arches.

Like most Almohad mosques, the interior is relatively austere. The rhythmic repetition of arches creates an aesthetic effect. The area around the mihrab is the most decorated. Stucco decoration features elaborate arabesques.

The minbar of the Kasbah Mosque is similar in style to the Almoravid minbar of the Kutubiyya Mosque. It is made of wood and decorated with marquetry and inlaid carved decoration.

Interestingly, the mosque is not oriented towards the true qibla. Its qibla is oriented towards the south.

Mosque Cadi Ayad stands as a testament to the enduring legacy of Marrakesh’s Islamic heritage. Its walls have witnessed centuries of history. It has been a place of worship and a symbol of power.

Exploring Mosque Cadi Ayad in Marrakesh is just the beginning. With Explory’s Marrakesh guide, every walk becomes a discovery. The intuitive Marrakesh city guide links stories with locations, turning your visit into a personalized Marrakesh city tour that brings the city closer to you. Explory helps you see Marrakesh differently. The Marrakesh guide introduces you to culture, history, and hidden details. Using the Marrakesh audio guide, you can listen to stories that bring the atmosphere alive. Beyond the highlights, Explory points you to Marrakesh hidden gems that reveal the city’s true character. With the Marrakesh city guide, you enjoy freedom and insights combined. Each curated Marrakesh city tour is designed for authentic Marrakesh exploration, allowing you to connect with the city on a deeper level. By emphasizing Marrakesh hidden gems and immersive Marrakesh exploration, Explory ensures your experience is unique. Download the Explory App now and explore more than 300 cities and 500,000 POIs and stories worldwide. Whether you’re searching for a reliable Marrakesh guide, an inspiring Marrakesh audio guide, or a flexible Marrakesh city tour, Explory gives you the perfect way to travel.

More Places in Marrakesh

Mosque Ben Saleh

Have you ever wondered what lies behind the intricate patterns and graceful arches of Mosque Ben Saleh? It’s a captivating

Explore

Oulad Hassoune

Is there something magical about a name? Oulad Hassoune, a charming rural commune nestled on the outskirts of Marrakesh, seems

Explore

Bab Ghemat

Fancy stepping back in time? Right here, at Bab Ghemat, you are invited to discover Morocco’s rich cultural heritage. Bab

Explore

ISTA OFPPT

Stepping onto the grounds of ISTA OFPPT in Marrakesh, you might feel a quiet hum of ambition. It’s the sound

Explore