Walls of Marrakesh

City Gate and City Walls in Marrakesh

Bab al-Makhzen
CC BY-SA 2.0 / János Korom Dr

The Walls of Marrakesh are a set of defensive ramparts which enclose the historic medina districts of Marrakesh, Morocco. They were first laid out in the early 12th century by the Almoravid dynasty which founded the city in 1070 CE as their new capital. The walls have since been expanded several times by the addition of the Kasbah to the south at the end of the 12th century and by the later extension of the walls to encompass the neighbourhood around the Zawiya of Sidi Bel Abbes.

The Gates of Marrakesh were for the most part established since the original Almoravid construction of the city walls but most have been modified during later periods. Other gates were also added when the Almohads created the Kasbah, which itself has been expanded and re-worked many times since.

History of the Walls of Marrakesh

Almoravid foundation (11th-12th centuries)

Marrakesh was founded in 1070 by Abu Bakr ibn Umar, the early leader of the Almoravids. At first, the city’s only major fortification was the Ksar al-Hajjar (“Palace/Fortress of Stone”), a royal citadel built by Abu Bakr to protect the treasury. It was located right next to the site of the current Kutubiyya Mosque in the western part of the city. Like other kasbahs of its time, it probably occupied a quadrangular area and is assumed to have had multiple gates (of which the western gate may have roughly corresponded to the later Bab al-Makhzen gate in the city walls). Excavations in the 20th-century revealed that the citadel’s southern side was 218 metres long, indicating a fairly large structure.  It was the first monumental structure built by the Almoravids and marked their definitive transition from a nomadic Saharan people to an empire with a fixed base.

It was only in 1126 that Ali ibn Yusuf, a later Almoravid amir, decided to surround the city with a full circuit of walls, which were completed in January or February 1127.The decision to fortify the city with ramparts was likely due to rising threat of the Almohads at the time. Abu-l-Walid ibn Rushd, a qadi from Cordoba and the grandfather of the famous Ibn Rushd (Averroes), was reportedly the one who convinced the amir to undertake the construction. Historical sources also claim that construction took only 8 months and cost 70,000 gold dinars.  Prior to construction, the path of the walls was laid out with ropes and the amir’s astrologers were consulted for the most propitious date on which to start.

The main outline of the medina’s walls today is still broadly that of the original Almoravid walls, although with notable differences to the north and south. The resulting walled area formed an irregular polygon of vaguely quadrangular shape. Some of the irregularities in this outline may have been due to existing cemeteries and religious sites or to last-minute decisions to include more land within the walls. Many of the city’s main gates also date back to this period — at least in their locations if not necessarily in their current forms and names. These gates were, in clockwise order starting from the northeast: Bab Fes (later known as Bab el-Khemis), Bab Debbagh, Bab Aylan, Bab Aghmat, Bab Yintan, Bab as-Saliha, Bab Neffis (probably the predecessor of Bab er-Robb today), Bab ash-Shari’a, Bab al-Makhzen, Bab el-‘Arissa (also known as Bab ar-Raha), Bab Doukkala, Bab Moussoufa, and Bab Taghzout. Four of these gates — Bab ash-Shari’a, Bab Moussoufa, Bab Yintan, and Bab as-Saliha — disappeared some time ago and are only known from historical texts or from vestigial physical evidence.

Almohad period (late 12th to 13th centuries) of the Walls of Marrakesh

When the Almohad ruler Abd al-Mu’min conquered Marrakesh in 1147 he reportedly destroyed many Almoravid monuments (especially mosques) but the Ksar el-Hajjar and the palace of Ali ibn Yusuf were still used as the official residence of the new Almohad rulers for a time.The Almohad caliph Ya’qub al-Mansur (ruled 1184-1199), however, embarked on an ambitious construction project to create a vast new royal district, the Kasbah, attached to the south side of the city. Its creation was motivated in part by the rapid growth of the city’s population and an urgent need for more space within the city. However it may also have been motivated by the Almohad caliph’s desire to follow the example of other powerful Islamic rulers who built separate palace-cities from which to rule, such as the Ummayyad construction of Madinat al-Zahra near Cordoba or the Abbasid construction of Samarra in Iraq. Construction of the kasbah began in 1185 and finished by 1190.

The current western and southern outline of the kasbah today, including its walls, most likely still date back essentially to the Almohad construction. The kasbah’s main gate was Bab Agnaou: both a defensive and a ceremonial gateway, located just inside the city walls near Bab er-Robb (Bab Neffis) and forming the main public access to the kasbah for the city’s residents. The Almohads also established vast gardens and orchards near the kasbah, in particular the al-Buhayra garden now known as the Agdal Gardens. These were located further and were enclosed by their own separate walls.

The Saadian and Alaouite periods (15th century and after) of the Walls of Marrakesh

Following the demise of the Almohad regime, Marrakesh as a whole fell into decline. The following Marinid dynasty made Fes their capital and carried out few major constructions in Marrakesh. It wasn’t until the Saadian Dynasty (16th century to early 17th century) established Marrakesh as their capital that the city saw a resurgence.  The Saadians renovated the kasbah and expanded its northern outline slightly with new palaces such as El Badi. Sultan Moulay Abdallah al-Ghalib also transferred the Jewish population of the city to a new Mellah district on the east side of the Royal Palace, expanding the eastern outline of the kasbah in the process. Sultan Ahmad al-Mansur also renovated and replanted the Agdal Gardens, thus maintaining this large walled enclosure to the south of the city.

The Saadians, and their successors the Alaouites, also sponsored the construction and expansion of the zawiya and mosque complex around the mausoleum of Sidi Bel Abbes, which was located just outside the northern gate of the city, Bab Taghzout. Sidi Bel Abbes is often considered the patron saint of Marrakesh and his zawiya attracted more and more settlers to the area until a flourishing neighbourhood developed here outside the walls of the city. In the 18th century, under the reign of the Alaouite sultan Muhammad ibn Abdallah, the walls of the city were finally extended to encompass this neighbourhood, forming the new northern point of the city. In the same period, the sultan also extended the Kasbah southwards and extended the Agdal northwards, until the walls of both enclosures were joined together. This constituted the last major extension and modification of the city walls.

Other works by Alaouite sultans still added to the existing walls and gates of the city. Sultan Muhammad ibn Abdallah is also responsible for much of the construction and redevelopment of the royal palace (Dar al-Makhzen) following years of neglect, giving it more or less its present-day form. The southern side of the Kasbah was expanded to accommodate new gardens, new neighbourhoods for palace servants and troops, and a series of walled squares known as mechouars (an official square/courtyard at the entrance of a royal palace). A multitude of gates were built to regulate passage between these new southern annexes. Many of them are of minor architectural interest, though Bab Ahmar (the easternmost gate) has a unique design that includes an elevated platform for light artillery. Lastly, following its destruction by the Rehamna in 1862, the western wall of the Agdal Gardens was rebuilt by Sultan Muhammad ibn Abd al-Rahman. At the same time, the sultan added a fort called Sqallat al-Mrabit to defend this part of the ramparts.

Description and design of the walls of Marrakesh

The walls have a fairly regular construction typical of medieval Morocco and al-Andalus, standing between 6 and 8 meters in height and fortified every 25 to 30 meters by square towers or bastions.   The walls vary between 1.4 and 2 meters in thickness, while the towers vary in thickness between 8 and 14 meters. Originally the walls were topped by a narrow path (wall walk) which was protected by battlements with merlons, though many of these have since disappeared. There is evidence that the walls were originally surrounded by a ditch or moat, though this may not have played a significant defensive role.

Constructions methods and maintenance of the Walls of Marrakesh

The walls of Marrakesh, like those of Fes and most historic cities in Morocco, were built in rammed earth, an ancient building technique found across the Near East, Africa, and beyond. It is also known as “pisé” (from French) or “tabia” (from Arabic). It generally made use of local materials and was widely used thanks to its low cost and relative efficiency. This material consisted of mud and soil of varying consistency (everything from smooth clay to rocky soil) usually mixed with other materials such as straw or lime to aid adhesion. The addition of lime also made the walls harder and more resistant overall, although this varied locally as some areas had soil which hardened well on its own while others did not. For example, the walls of Marrakesh are composed of up to 17% lime, while those of Fes and nearby Meknes contain up to 47%. The technique is still in use today, though the composition and ratio of these materials has continued to change over time as some materials (like clay) have become relatively more costly than others (like gravel).

The walls were built from bottom to top one level at a time. Workers pressed and packed in the materials into sections ranging from 50 and 70 cm in length that were each held together temporarily by wooden boards. Once the material was settled, the wooden restraints could be removed and the process was repeated on top of the previously completed level. This process of initial wooden scaffolding often leaves traces in the form of multiple rows of little holes visible across the face of the walls. In many cases walls were covered with a coating of lime, stucco, or other material to give them a smooth surface and to better protect the main structure.

This type of construction required consistent maintenance and upkeep, as the materials are relatively permeable and are more easily eroded by rain over time; in parts of Morocco, (especially near the Sahara) kasbahs and other structures made with a less durable composition (typically lacking lime) can begin to crumble apart in less than a couple of decades after they’ve been abandoned. As such, old structures of this type remain intact only insofar as they are continuously restored; some stretches of wall today appear brand new due to regular maintenance, while others are crumbling.

City Gates of Marrakesh

Location of the main gates of Marrakesh

Aside from those of the Kasbah, the city’s main gates all date back to the Almoravid period when the city walls were first built, but most of them have undergone subsequent modifications in later periods. Many of the medieval gates had complex “bent entrances” designed for greater defensiveness. Nowadays, simple archways have been opened alongside many of them to allow for easier passage in and out of the medina, along with other gaps in the city walls created to accommodate new roads.

Gates of the medina

The following are the main historical gates of the medina (the main walled city; not counting the Kasbah to the south). The gates are described below in order, starting from the northeast corner of the medina and proceeding in a clockwise fashion.

Bab el-Khemis

This gate is located in the northern/northeastern corner of the city walls and dates back to the Almoravid period. It was originally known as Bab Fes (“Gate of Fes”), but this name was apparently lost during the Marinid era.The gate’s current name (el-Khemis) refers to the souk or open-air market which historically took place here every Thursday (al-Khamis in Arabic). Nowadays, the market continues almost all week right outside the gate,[16] while a permanent flea market, Souk al-Khemis, has been constructed a few hundred meters to the north.[20][21] Also just outside the gate is a qubba (domed mausoleum) housing the tomb of a local marabout or Muslim saint.

The gate’s outer entrance is flanked on either side by square bastions. The gate’s passage originally consisted of a bent entrance which effected a single 90-degree turn; one entered the gate from the north and then exited westwards into the city. According to legend, the door leaves of the gate were brought from Spain by a victorious Yusuf ibn Tashfin.During the Almohad period, the gatehouse was expanded such that its passage effected three more right-angle turns before exiting southwards. This gave it a similar form and layout to several other major Almohad gates such as Bab er-Rouah. The outline of the gate’s original exit, now walled-up, can still be seen in its interior western wall.The gate underwent a significant renovation in 1803-04 on the orders of Sultan Moulay Slimane, noted by a marble inscription found inside. At some point in the 20th century, the inner wall of the passage was opened up to allow a straight passage directly through the gate in order to facilitate the heavy traffic in the area, resulting in the current form of the gate.

Bab ad-Debbagh

The floor plan of Bab Debbagh, showing the interior passage which turns multiple times. (The outer entrance is on the right, the inner side is on the left; the lightly-shaded areas indicate roofed-over or vaulted spaces.)Bab ad-Debbagh (or simply Bab Debbagh) is the northernmost of the two eastern gates of the city, dating back to the Almoravid period. Its name means “Gate of the Tanners” and refers to the nearby tanneries which have been present here since the Almoravid period. It has the most complicated layout of any gate: its passage bends 5 times, in an almost S-like path, passing through two open-air courts and one covered chamber.[2] A staircase in the southeastern corner of the structure grants access to the roof of the gate. Scholars believe, however, that only the central part of the gate (the vaulted chamber) dates back to the original Almoravid gate and that the Almohads added the inner and outer courtyard sections. The gate thus originally would have had a “simple” bent entrance (i.e. it turned 90-degrees only once).

Bab Aylan

Bab Aylan is the other (southernmost) eastern gate of the city, south of Bab Debbagh. It is named after the Aylan tribe (pronounced Haylana in Arabic), which was part of the Berber Masmuda confederacy. The gate was the site of the Battle of al-Buhayra in 1130 in which the Almoravids defeated an assault by the Almohads. (The battle was named after a garden, Buhayrat al-Raka’ik, which was located here near the eastern gates of the city.) The original Almoravid gate had a simple bent passage (i.e. turning 90-degrees once) located within a bastion on the outer side of the ramparts. Some time after the Almoravid period another bent passage was added on the inner side of the gate, such that one enters the gate from the south, turns twice (first left, then right), and emerges into the city facing north.

Bab Aghmat

This gate was named after Aghmat, the early capital of the Almoravids before Marrakesh, which lay in this direction (i.e. to the south/southeast). The gate may have also been called Bab Yintan, though this is uncertain and this name may have referred to another nearby gate which has since disappeared. Like other Almoravid gates of the city, it has been significantly modified since its initial construction. Originally, it most likely consisted of a bent passage which effected a full 180-degree turn, forming a symmetrical structure around the axis of the wall: one entered from the west through a bastion on the outer side of the city wall, passing through a roofed vestibule, then exited westwards from the bastion on the inner side of the wall, passing through an open-air court.In a much later period a walled courtyard with a very different construction style was added on the outer end of the gate, forcing traffic to effect one more 180-degree turn (though in recent times the northern wall of this courtyard has been knocked down to allow a more direct passage). A staircase in the northeastern corner of the gatehouse leads to the roof. A major cemetery, the Bab Aghmat Cemetery, occupies a wide area just outside the gate.

Bab er-Robb (Bab Neffis)

Bab er-Robb is one of the most unusual gates in the city, and the only one to be located in an angle or corner of the walls. While historians Deverdun and Allain believes the gate to be of Almohad origin (specifically under Ya’qub al-Mansur) due to its location relative to the Almohad Kasbah, historian Quentin Wilbaux more recently argued that its location in the wider schema of the city suggests it was an original Almoravid gate. All of them believe that Bab Neffis, another gate described in historical sources and named after the nearby Neffis (or N’fis) River, was most likely another name for the same gate. The word Robb or Rubb refers to a type of cooked wine whose vineyards were cultivated along the Neffis River and thus imported and regulated through this gate. A water basin measuring approximately 70 by 40 metres once existed outside this gate, in an area now covered by a cemetery, and was used for swimming practice.

The main structure of the gate is a bastion inside which a bent passage enters from the north, performs a 180-degree turn, and then exits again to the north. Today, the walls in the area have been moved around the gate’s bastion such that both entrances of the gate, facing north, open inside the city walls, obscuring its original role as an entrance to the city. However, when the gate was studied by French scholars in 1912 the surrounding city wall had a different configuration: rather than attaching to the side of the gatehouse it attached to the middle of the gate’s northern facade, between its two doorways, such that the eastern doorway was outside the city wall while the western one was inside the walls. Since both entrances still faced north, this meant that the outer entrance was not actually directly visible to outsiders coming from the countryside because it faced back towards the city walls; as a result, travelers arriving from the south had to walk all the way around to the far side of the bastion and enter it from the north. Because of this uncharacteristic configuration, and based on comparisons with other gates of the city, Wilbaux has hypothesized that the city’s ramparts in this area were previously altered and moved around the gate such that the entrances were originally reversed: the eastern doorway, which was the outer entrance in 1912, was originally located inside the city walls, while the western doorway (the inner entrance in 1912) was originally outside the city walls. This way, the bastion of the gate straddled the city wall and its design was thus quite similar to the original configuration of Bab Aghmat, the other southern gate of the city.

Bab al-Makhzen

Bab al-Makhzen is one of the western gates of the city, located west of the Kutubiyya Mosque. It dates back to the Almoravid period. It was probably named after the palace (Dar al-Makhzen) which existed near here in the Almoravid period as part of the former Ksar el-Hajjar. The gate is flanked by octagonal towers and has been much modified. It originally had a simple bent passage (turning 90 degrees to the north) but the gatehouse has since disappeared and only a simple arched opening remains today. At the beginning of the 20th century the gate was walled-up and closed, but today a road passes through it.

Bab al-‘Arisa (Bab ar-Raha)

Bab al-‘Arisa (meaning “Gate of the Bride”; also spelled as Bab Larissa or Bab Lrissa) is also known as Bab al-‘Arais (“Gate of the Fiancés”) and formerly as Bab ar-Raha (Raha possibly meaning “abundance” or “well-being”; it is also a surname in Marrakesh). It is the other western gate of the city, located north of Bab el-Makhzen in an angle of the ramparts, and dates back to the Almoravid period.[3] Like Bab al-Makhzen to the south, the gate is flanked by octagonal towers and originally had a simple bent passage (turning 90 degrees to the north), but has since been modified. It was walled-up at the beginning of the 20th century but today it has a simple opening through which a local road passes.

Bab Doukkala

Bab Doukkala is the northwestern gate of the medina. Its name, Doukkala, was that of both a Berber tribe and of a region between Marrakesh and Casablanca today. The gate is also of Almoravid construction, but unlike many others it has not been subject to major modifications (at least in its floor plan) and retains its original sophisticated bent entrance design. The passage inside the gate bends at a straight angle twice: one enters from the west, turns south, then turns east before emerging into the city. Today the gate is flanked by other simple openings in the wall to allow for easy circulation.

Other minor gates of the medina

A few other gates, mainly from recent centuries, can be found around the city and have their own names, in addition to a number of non-notable openings in the walls which have been created to improve free movement in and out of the medina. These include:

Bab Nkob: Bab Nkob is a recent gate created during the French Protectorate period (1912-1956) to connect the old medina with the new city districts created by the French known as Gueliz. Today it is simply a gap in the walls through which a major road passes.

Bab Jdid: Bab Jdid (“New Gate”) is another recent gate to the west of the Kutubiyya Mosque and near the Mamounia hotel and gardens. A modern road passes through it.
Bab Qchich: Bab Qchich (also spelled Bab Kechich, or Kechiche) is a recent gate located between Bab el-Khemis and Bab ad-Debbagh, at the northeastern tip of the old medina. A modern road passes through this modest archway named after the former landlord of the nearby garden.

Visiting Walls of Marrakesh

Address: Bab Agnaou, Marrakesh, Morocco
Duration: 20 minutes

Tours and Activities from Marrakesh

Latest Blogs from Marrakesh

The three valleys in the Atlas mountains are an easy day trip from Marrakech. What are they and why should you visit them?

The Atlas Mountains separate the Sahara Desert from the Mediterranean Sea and the Atlantic Ocean; the name “Atlantic” is derived from the mountain range. It stretches around 2,500 km (1,600 mi) through Morocco, Algeria and Tunisia. The range’s highest peak is Toubkal, which is in central Morocco, with an elevation of 4,167 metres (13,671 ft). The Atlas mountains are primarily inhabited by Berber populations. It is known by local Berbers as ‘Idraren Draren’ (Mountains of Mountains).

Ourika Valley

Ourika valley is known for its stunning gorges and terraced fields along the river, is a popular destination for day trips due to its beautiful scenery, refreshing air, and proximity to Marrakech. The popularity of the area can be seen in the numerous restaurants and souvenir stalls along the route, as well as plans for a property development funded by Dubai.

The valley begins at the village of Souk Tnine de l’Ourika (Akhlij), which hosts a market on Mondays and attracts tourists like the nearby Asni Village market on Saturdays. 

During the warmer months, it is possible to hike to the peak of Jebel Oukaïmeden (3,263 meters/10,705 feet) from the village. The moderate 650-meter (2,133-foot) ascent offers beautiful views, particularly at sunset. This area is a good choice for a peaceful and refreshing break, as it is about 10 degrees cooler here in the summer than in Marrakech. Birdwatchers may want to look for the elusive crimson-winged finch that lives in this area.

At the end of the tarred road in the Ourika Valley is the village of Setti Fatma, which was rebuilt after devastating floods in 1995 and now has a mix of modern concrete housing blocks and traditional homes. Despite the development, the village’s setting among grassy terraces, walnut groves, and mountain peaks is still beautiful and makes it a good starting point for treks to Jebel Toubkal and the surrounding area. A 30-minute scramble up the rocky foothills above Setti Fatma leads to a series of waterfalls (called cascades by the locals) with cafes nearby. The lower falls are easy to access, but the higher ones may be more challenging. Guides are available to take visitors to the higher falls. 

Oukaimden Valley

Oukaimden valley, and taking a secluded mountain road route standing at 1800 meters above sea level, you will pass through traditional Berber villages built from adobe and stones, and discover the authentic life of Berber people. It is a ski base during the winter and a beautiful starting point for trekking during the warmer months. If a proposed property development is approved, the village will be transformed into a golf course and ski resort with a water park, exclusive shops, and artificial beachfront. The chairlift on Jebel Oukaïmeden, previously the highest in the world at an elevation of 3,273 meters (10,739 feet), may also be renovated.

Ansi Valley

Asni valley is famous by its fruit trees (Apples, walnut, almonds, peaches…), this is where you can enjoy the sight of the snowy summits of the High Atlas Mountains. Tourists visiting Imlil may encounter aggressive touts, but the weekly Saturday market, or souk, is worth checking out. The market offers a variety of local produce and livestock, as well as services such as dentistry and barbering. Visitors may also see a large group of mules with brightly colored saddles. This is a good opportunity to purchase supplies for trekking, although it is advisable to arrive early to avoid the crowds of day-tripping tourists. Above the village are the lower, forested slopes of the Kik Plateau, which is a beautiful place to go for a walk, especially in spring when it is covered in alpine flowers.

Azzaden Valley

Azzaden Valley, just south of Imlil, is often touted as the quieter alternative to Imlil. It is possible to walk from Imlil to Azzaden Valley (about six hours). You can also start the hike to the summit of Jbel Toubkal from here.

Ouirgane Valley

Ouirgane Valley in the foothills of the High Atlas Mountains Marigha. The Ouirgane valley is at its most beautiful in spring. At this time, flowers line the valley floor and the crops are a bright green. It is in the middle of the Toubkal National Park. It contains the villages of Ouirgane, Marigha, Torord and Tinmel. Salt is mined from huge wells of brine in the valley. The brine is left for the water to evaporate on salt pans before it is gathered and carried on donkeys to the neighbouring villages to be sold. 

The Oued Nfis river which runs through the valley has been dammed to form a reservoir.

The valley has the Tinmal Mosque or Great Mosque of Tinmal, a 12th-century mosque located in the village of Tinmel. Although no longer operating as a mosque today, its remains are preserved as a historic site.

Tours and Activities from Marrakesh

Latest Blogs from Marrakesh

If you’re planning on spending some time in Marrakesh and want to avoid feeling overwhelmed by the hustle and bustle of the city, it’s a good idea to take breaks in the many beautiful gardens and parks scattered throughout the city. These green spaces not only offer a chance to relax and get back to nature, but they’re also great destinations in their own right. Many of the gardens are free or only cost a small fee of 10 dirhams, making it easy to take a quick break and unwind. If you find yourself feeling overwhelmed by the crowds and chaos of the medina, make sure to visit one of these peaceful gardens to rejuvenate your spirits.

Jardin Majorelle

Le Jardin Des Majorelle
CC BY-SA 2.0 / Viault

Jardin Majorelle is a must-visit garden in Marrakesh and a popular spot for tourists to take selfies. The 12-acre botanical garden is centered around a stunning riad with Moroccan architectural elements, and features vibrant blue and yellow colors. Visitors can wander through the shady lanes surrounded by exotic plants and relax by tranquil streams with floating lilies and lotus flowers. The garden was named after French artist Jacques Majorelle, who designed the building in the 1920s and 1930s. It also houses a small archaeological museum with interesting displays on Islamic art and Berber culture. To enjoy the garden in peace and quiet, it’s recommended to visit early in the morning before the crowds arrive or later in the afternoon after they have left.

Read more about the Jardin Majorelle

Bahia Palace Gardens

Bahia Palace Large Court
CC BY-SA 4.0 / Val Traveler

The Bahia Palace is a must-see destination for anyone interested in traditional Marrakeshi palaces and gardens. Located inside the old medina of Marrakesh, the palace boasts beautiful Andalusian-style architecture and intricate zelij mosaic and woodwork. The exact dates of construction are unknown, but it is believed to have been in use as early as 1859 and completed by 1900. The palace was built in two stages by Si Moussa and his son, resulting in an irregular and disjointed layout that adds to the sense of adventure and discovery as you explore its different sections. The materials used in the palace’s construction, including zelij, ceramic, and wood, were sourced from all over North Africa. Consider taking a guided tour to learn more about the history and geography of Morocco through the palace’s architecture. It’s best to visit the Bahia Palace early in the morning to avoid the crowds.

Read more about the Bahia Palace

Sunken Gardens of El Badi Palace

Badia Palace Marrakesh
CC BY-SA 2.0 / Pedro

El Badi Palace is a ruined palace located in the Mellah district of Marrakesh, a short walk from the Bahia Palace. The palace, which was commissioned by Arab Saadian sultan Ahmad-al-Mansur and completed in 1593, is currently being renovated and restored. Despite its state of disrepair, many visitors prefer El Badi to Bahia Palace due to its unique charm. The palace complex took 25 years to build and was constructed using the most expensive materials available at the time, including gold and onyx. Visitors can explore the sunken gardens and pavilions and marvel at the superb examples of Saadian architecture on display. El Badi Palace can be easily combined with a visit to Bahia Palace for a full day of exploring Marrakesh’s rich history and culture.

Read more about the Badi Palace

The Palmeraie Gardens

La Palmeraie De Marrakech
CC BY-SA 2.0 / Viault

The Palmeraie is a vast palm grove on the northern outskirts of Marrakesh, covering an area of 54 square miles and stretching for 5 miles in length. At one time, it was one of the largest palm groves in North Africa. While there are hotels and restaurants located within the oasis, such as the Palmeraie Golf Palace, you can also get a feel for the area by simply driving through it. Camels and guides can often be found along the roadside, waiting to take tourists on camel rides through the oasis. There is a legend that the Palmeraie was created from the date seeds thrown on the ground by Arab warriors, but it was actually developed during the Almoravid period using a system of underground irrigation channels known as qanats. Today, the irrigation system has run dry, but you can still see traces of it if you walk through the grove.

Read more about the Palmeraie (Marrakesh)

The Menara Gardens

Menara Gardens Marakesh
pixabay / Marco Federmann

The Menara garden is located west of Marrakesh, near the gates to the Atlas mountains. It is often referred to as the “little sister” of the Agdal garden. Both gardens were established by the Almohad dynasty and feature large basins that were used to irrigate the surrounding groves and orchards using an advanced system of underground channels. The Menara garden gets its name from the small green pyramid-roofed pavilion (menzeh) located within it, which translates to “light house.” However, the name does not refer to any actual lighthouse function, but rather to the pavilion’s religious significance. The Menara garden has a similar feel to the Agdal and is a peaceful place to relax and enjoy nature.

Read more about the Menara Gardens

Koutoubia Gardens and Cyber Park

Koutoubia Mosque In Marrakesch
CC BY-SA 4.0 / Max221B

If you’re looking for a quick and easy way to escape the hustle and bustle of the medina in Marrakesh, there are several parks and gardens located near the Koutoubia Mosque that are worth checking out. Simply cross the road from Djemma El Fna and take a stroll through the parks and fountains behind the mosque. The Cyber Park is also just a short 2-minute walk from the Koutoubia and offers a slightly more modern atmosphere. It’s a popular spot for locals to relax and is a great place to sit under a palm tree and read a book or watch the world go by. These parks are convenient and offer a welcome respite from the busy city.

Read more about the Koutoubia Gardens (Lalla Hassna Park)

Agdal Gardens

Agdal Garden, Marrakech
CC BY-SA 2.0 / mwanasimba

The Agdal Gardens are perhaps the most important garden in Marrakesh and were built by the Almohad dynasty in the 12th century. The gardens were originally created as an orchard and cover an area of over 400 hectares. The name “Agdal” derives from an Amazigh word meaning “walled meadow,” which reflects the lines of groves that make up the vast expanse of the garden. These groves include orange, lemon, fig, apricot, and pomegranate trees, as well as rows of olive groves. While some visitors may find the Agdal gardens a bit underwhelming, as there is no specific trail to follow or museum on site, the panoramic view over the water and groves is breathtaking. The true spectacle of the Agdal gardens lies in their sophisticated irrigation system, which includes a network of underground channels that bring water from the Atlas mountains to a vast water basin that feeds the groves and orchards all year round.

Read more about the Agdal Gardens (Aguedal Park Gardens)

Tours and Activities from Marrakesh

Latest Blogs from Marrakesh

Marrakesh, one of Morocco’s four Imperial Cities, was founded in the 11th century and is known for its abundance of mosques, palaces, and museums. It is the most popular tourist destination in the country. The medina, the historic walled city, is the centre of Marrakesh and is characterized by its narrow, cobblestone streets and vibrant souks. The streets are primarily used by pedestrians and donkey carts, and have remained largely unchanged for centuries.

Jemaa el-Fnaa square

Djemaa El Fna,Marrakesh
CC BY-SA 3.0 / Boris Macek

The Jemaa el-Fnaa square ishe bustling hub of activity in Marrakech. it is situated in Medina, its wide, open space contrasts with the narrow, maze-like streets around. You can find so many various food and other goods stalls here that it’s overwhelming. By day, snake charmers and henna ladies dot the square and scout for customers. When the sun goes down, the smoke from numerous cauldrons with soup and grill with meat rises and floats above Jemaa el-Fnaa.

Read more about the Jemaa el-Fnaa

Marrakesh's Medina

Marrakech Street
CC BY-SA 4.0 / Edviges

Marrakesh’s Medina is the equivalent to “Old Town” in European cities. It’s basically a maze of winding, tiny streets filled with shops and old style apartments. If you don’t mind the ubiquitous chaos, mess and noise – it’s a good place to stay – you will be close to most of the attractions around. Remember that no cars are allowed in Medina – taxis stop outside the main gate. But beware of motorcycles. They can appear out of nowhere and the drivers don’t seem to care much about the passer-by. Here, in the souks (street stalls and markets), you can buy many herbs, spices and souvenirs. You must know how to bargain though, as the sellers can be pushy and intimidating.

Souk Semmarine

Located next to the city’s main square, Jemaa al-Fnaa, the visually appealing Souk Semmarine is the largest market in the whole of Morocco, where traders have been selling goods for the past 1,000 years. If you’re after colorful accessories such as authentic bags, shoes, or clothes, then this is the right place to wander around. The henna artists, hawkers and other locals trying to take advantage of tourists can get somewhat overwhelming, but that is all part of the experience.

Rahba Kedima Square

This is one of the best market squares (though really more of a triangle) in the Medina district and is friendlier and more spacious than the souks, with ready-to-haggle vendors setting up their wares on the ground or on trestle tables. More traditional and more street-market-style than other, busier spots, it’s also a great area to see basket weavers in action.

Souk Zrabia (Carpet Market)

Souk Zrabia is found on the left side of the Rahba Kedima. Here you will find handmade rugs, carpets and kilims that are brightly painted and at reasonable price. There are also embroidered sheep wool hats found on this market.

Souk des Teinturiers (Dyer’s market)

The Souk des Teinturiers is probably one of the most picturesque in Marrakech. For many, it is the favourite Instagram spot in the city. The souk is maintained despite the industrial dyes because nowadays it is primarily a tourist attraction. Here you can see workshops with steam emanating from the tanks and big skeins of wool hanging to dry.

Read more about the Souks of Marrakech

Le Jardin Secret

Le Jardin Secret
CC BY-SA 2.0 / duncan cumming

Le Jardin Secret was in the 19th century one of the largest riads in the medina of Marrakech and belonged to the Chancellor of Sultan Moulay ‘Abd-al-Hāfiz, who was the last sultan of Morocco before the French protectorate.

The riad includes two courtyards. The larger has been restored as an Islamic paradise garden, reflecting the pure geometry and Koranic symbolism of its progenitors. The smaller garden shows another view of paradise, as described in the Old Testament book of genesis, where “out of the ground the Lord God caused to grow every tree that is pleasing to the sight and good for food.”

Read more about the Le Jardin Secret

Dar el Bacha

Dar El Bacha
CC BY-SA 4.0 / 74913002A

The Dar el Bacha Museum, located near the entrance to the medina of Marrakech, is considered one of the most beautiful places in the Red City. The Dar el Bacha Museum was once the home of Thami El Glaoui, the pacha of Marrakech. It underwent a restoration project led by the National Museum Foundation, and reopened as a museum in December 2017.

Read more about the Dar el Bacha

Almoravid Koubba

Marrakesh, Almoravid Koubba
CC BY-SA 2.0 / Michal Osmenda

The Koubba is a 12th-century building in Morocco that is the only surviving Almoravid structure in the country. It was renovated in the 16th century and was later covered by an outbuilding attached to the Ben Youssef Mosque. The Koubba was discovered during excavation work in 1948 and can now be accessed by a flight of stairs. It is known for its ornate dome, decorative windows, and intricate interior motifs, including acanthus leaves, palms, pine cones, and calligraphy from the Quran. The Koubba was used for ritual washing before prayer and has an inscription in ancient cursive Maghrebi script that reads, “I was created for science and prayer.”

Read more about the Almoravid Koubba

Musee de Marrakech (Marrakech Museum)

Marrakesch Marrakesch Museum
CC BY-SA 3.0 / giggel

Housed in the 19th century Dar Menebhi Palace, which was beautifully restored in 1997 by the Omar Benjelloun Foundation, the Musée de Marrakech is worth visiting to see one of the best examples of Arab/Spanish architecture. With its calming fountains, seating areas and detailed tile work, the central courtyard, which functions as the museum’s atrium, was once open to the sky but now has been covered with glass. Its show-stopper is, undoubtedly, the huge hanging chandelier made of metal shards, each one delicately decorated with inscriptions and geometric symbols. The side rooms around the courtyard have lovely painted wooden ceilings and house several pieces of interest, such as historical books and manuscripts, jewel-encrusted daggers and swords, clothes, coins, carpets and pottery from Arab, Berber and Jewish civilizations. The museum also holds temporary exhibitions on modern Moroccan art, but sadly, the explanations of each item, along with those in the permanent exhibition, are all in Arabic/French.

Read more about the Marrakech Museum

Ben Youssef Madrasa

Ben Youssef Madrasa Marrakesh, Morocco
CC BY-SA 2.0 / yeowatzup

The Ben Youssef Madrasa was the largest and most important Islamic school in Marrakech and Morocco. Built almost 500 years ago, the Ben Youssef Madrasa in Marrakech feels like it has changed very little in that time.

You’ll find the Ali Ben Youssef Madrasa in the Medina district of Marrakech and you shouldn’t miss a trip to visit this important building, renovated and opened to the public in 1982. Founded in the 14th century and rebuilt in the 16th, during the Saadian Dynasty, the Madrasa was part of the complex of the nearby Almoravid mosque which was founded by Ali Ben Youssef during his reign between 1106-42, to which it was once attached.

Read more about the Ben Youssef Madrasa

Tours and Activities from Marrakesh

Latest Blogs from Marrakesh

Marrakesh has it all colourful souks, Moorish architecture, intimate gardens and boutique hotels. This self guided tour will take you from the quiet courtyards and snaking alleyways of the historic Medina, alongside stunning palaces leading to the 12th century Koutoubia Mosque.

Jemaa el-Fnaa

Djemaa El Fna,Marrakesh
CC BY-SA 3.0 / Boris Macek

Jemaa el-Fnaa is a great place to start our tour. Look for the Minaret de la Koutoubia in the west. You will use this to orient yourself if you get lost!


The Jemaa el-Fnaa is Marrakech’s main square and the most important part of the medina. Jemaa el-Fna is the city’s top attraction and can be visited at all hours of the day.  At this fascinating spot, you’ll find snake charmers, the magical souk, monkeys and henna artists. The best view of Jemaa el Fna is from one of the roof terraces framing the edge of the square. Look for Le Grand Balcon du Café Glace – it is perfectly positioned to witness the full scale of the activity on the square below.

Read more about the Jemaa el-Fnaa

Musee Dar Si Said

Dar Si Said Museum
CC BY-SA 4.0 / C messier

Leave the square by the eastern road (away from the Minaret de la Koutoubia), turn right onto Rue Riad Zitoun el Jdid by the restaurant Marrakchi. About halfway down this street (by the Herboristerie La Musée – avoid this place), you nee to turn left – you may need to ask for directions or find the sign posts for the Musee Dar Si Said.


The Musée Dar Si Saïd, also known as the Museum of Moroccan Art, is housed in a stunning palace in Marrakech. The palace was built in the mid 19th century for Si Saïd ibn Moussa, the Minister of War, and boasts a beautiful courtyard with flowers, cypress trees, a gazebo, and a fountain. The exhibition rooms surrounding the courtyard are adorned with intricately carved doors, intricate stucco work, and mosaics, as well as a domed reception room and harem quarters.

The museum’s collection is highly regarded and includes jewellery from various regions in Morocco, carpets, oil lamps, pottery, and leather work. A standout piece in the collection is a 10th-century Spanish marble basin, which was brought to Marrakech by Sultan Ali ben Youssef in 1120 and initially placed in a mosque despite its depiction of an eagle and griffons, which goes against Islamic law. The basin was later moved to the Ben Youssef Madrasa and eventually donated to the museum after the college’s restoration.

Read more about the Dar Si Said

Bahia Palace

Bahia Palace Large Court
CC BY-SA 4.0 / Val Traveler

Head south from the Musée Dar Si Saïd, turn right onto Rue de la Bahia. You should pass the Tiskiwin Museum on your right. You shoudl turn left onto Rue Riad Zitoun el Jdid, at the end of which is theentrance to the Bahia Palace.


The Bahia Palace, also known as the “Palace of the Brilliant/Beautiful,” is a stunning late 19th century palace that spans 8 hectares, including a garden. Located close to the royal El Badi Palace and about 900 meters southeast of Jemaa el-Fnaa, the Bahia Palace is an oasis of calm in the midst of the bustling medina souk and offers a respite from the noise of traffic. The complex features 150 rooms, patios, courtyards, fountains, and gardens, and is adorned with intricate tile work, mosaics, coloured glass, carvings, and elaborate ceilings.

Originally built for Si Moussa, the Grand Vizier of Sultan Hassan I, the Bahia Palace was the largest and most luxurious palace in Morocco at the time. During the French Protectorate, it was the residence of General Hubert Lyautey, who added electricity, fireplaces, and heating. Although the rooms are not furnished with period furniture, the tiled walls and ceilings more than make up for it. Visitors can explore the palace in about 30 minutes, but it is also enjoyable to spend more time taking in all of the details of the palace.

Read more about the Bahia Palace

El Badi Palace

Badia Palace Marrakesh
CC BY-SA 2.0 / Pedro

From the Badia Palace head west and you will soon find yourself in the Place des Ferblantiers,a palm-lined square in the Mellah with artisans selling handcrafted tin lamps & housewares. People will probably approach you to tell you that the Badi palace is closed for lunch, but that is not the case. Don’t listen to them, the palace is open non-stop all day!Leave the square to the south through the archway. Turn right onto Rue de Berrima.


The El Badi Palace, also known as the “Incomparable Palace,” was once a grand and stately palace but now stands in ruins. Commissioned by Sultan Ahmed el-Massour of the Saadian Dynasty in 1572 to celebrate his victory over the Portuguese in the Battle of the Three Kings, the El Badi Palace was intended to be the most impressive building in Marrakech. However, the sultan died before the palace was completed in 1603.

The El Badi Palace was a massive complex with 360 rooms surrounding an interior courtyard that measured 135 meters by 110 meters and featured fountains and a large pond. The palace was funded using reparation debt imposed on Portugal after the battle and was decorated with mosaics from Italy, gold fittings from the gold mines of Sudan, and onyx, ivory, cedar wood, and semi-precious stones.

After the Saadian Dynasty fell to the Alaouites in 1683, Sultan Moulay Ismail stripped the El Badi Palace of its valuable decorations to use in his new palace in another town, and the El Badi Palace slowly fell into ruin. Visitors can explore the ruins of the palace and climb an internal staircase on the northeast side to a small terrace with a view of the complex. The palace also houses a small museum containing a restored 12th-century carved minbar (Imam’s pulpit) from the nearby Koutoubia Mosque.

Read more about the Badi Palace

Saadian Tombs

Saadian Tombs Marrakesh
CC BY-SA 2.0 / David Stanley

Continue along the Rue de Berrima to the Saadian Tombs.


The Saadian Tombs, located in the Kasbah of the royal district in the medina of Marrakech, offer a glimpse into the beauty of ancient Morocco. The tombs were commissioned by Sultan Ahmed Al-Mansur of the Saadian dynasty in 1554 for himself and his family, and are the only surviving remnants of the dynasty’s reign, which lasted from 1554 to 1659. When the dynasty fell to the Alaouites, the new sultan attempted to destroy all evidence of the Saadians’ rule, but spared the tombs, which were partially sealed off (although important individuals were still buried there until 1792).

The Saadian Tombs are incredibly well-preserved due to their partial sealing and protection from external elements. The “Hall of the Twelve Columns,” where Al-Mansur and 60 members of the Saadian family are entombed, is adorned with imported Italian marble, intricate tile work, gilded honeycomb muqarnas, and elaborate, detailed and colorful ceilings. The “Hall of the Three Niches” houses important princes, while approximately 170 chancellors and their wives are buried in the garden.

The tombs were discovered in 1917 through aerial photography and were lovingly restored by the French organization, the Beaux-Arts Service. The tombs offer a peaceful resting place for those interred within.

Read more about the Saadian Tombs

Kasbah Mosque

Kasbah Mosque
CC BY-SA 4.0 / Yastay

The Kasbah Mosque is one of the oldest and largest mosques in Marrakech, having been built in 1190. It is the second-best-known mosque in the city after the Koutoubia Mosque and features typical Almohad architecture. The mosque opens onto a square surrounded by interesting buildings and has a distinct minaret, which served as a prototype for many later minarets in the Maghreb and al-Andalus and is decorated differently from the minaret of the Koutoubia Mosque. The exterior of the mosque is imposing, with high walls topped by merlons above a row of corbels and large pointed horseshoe arches, some of which are now walled-in, while others frame the gates of the mosque or house shops.

The Kasbah Mosque has undergone multiple restorations and is now in excellent condition. It is an active place of worship, with the call to prayer drawing in hundreds of worshipers daily (although it has the capacity to accommodate many thousands more). Non-Muslims are not permitted to enter the mosque, but it is still enjoyable to sit outside and take in the atmosphere. The area around the mosque is quieter and more open than other parts of the medina, and there are several nice cafes where visitors can sit and appreciate the surrounding architecture.

Read more about the Kasbah Mosque

Bab Agnaou & the Walls of Marrakech

Bab al-Makhzen
CC BY-SA 2.0 / János Korom Dr

Bab Agnaou, located in the southwest corner of Marrakech, is one of the 19 huge gates that once guarded entry into the city as part of its protective walls. It is the most noteworthy of the surviving gates, with rich decoration reflecting the 12th-century fortification design and embellishments. At one point, the gate served as an entrance to the El Badi Palace, home to the royal family, and was more of a decorative feature than a defensive one.

The entryway of the Bab Agnaou gate is a large horseshoe arch with concentric circles of symmetrical carvings – four semi-circular carved arcs, one above the other, with geometric floral patterns and a frieze along the top inscribed with verses from the Koran in Kufic lettering. The gate is constructed of Gueliz sandstone, which gives it its blue/ochre color. The two broken areas at each end of the top suggest that two slender towers once stood in this location, which may be the source of the gate’s name, “Agnaou,” which means “sheep without horns” in ancient Berber.

Today, the Bab Agnaou gate is a popular photo opportunity in the old city of Marrakech, a UNESCO World Heritage Site.

Read more about the Walls of Marrakesh

Koutoubia Gardens (Lalla Hassna Park)

Koutoubia Mosque In Marrakesch
CC BY-SA 4.0 / Max221B

From Bab Agnaou head north to see Lalla Hasna Park and the Koutoubia Mosque.


Lalla Hasna Park is a pretty garden just west of the Koutoubia. Laid out with pools, roses, palms and orange trees. it’s the prefect place to stroll or sit while enjoying views of the mosque.

Read more about the Koutoubia Gardens (Lalla Hassna Park)

Koutoubia Mosque

Panoramic view of Koutoubia mosque, Marrakesh.
CC BY-SA 4.0 / C messier

The Koutoubia Mosque and minaret, located 200 meters west of Jemaa el-Fnaa on Avenue Mohammed V, is the largest mosque in Marrakech and serves as a useful landmark for orienting oneself within the medina’s labyrinth. The mosque’s name, “Koutoubia,” is derived from the Arabic “al-Koutoubiyyin,” which means “bookseller,” as the area was once home to many sellers of books and manuscripts. The mosque is closed to non-Muslims, but everyone can enjoy the adjacent park, which features trees (palms, orange, olives), flower beds, fountains, and benches, at all times for free.

A smaller predecessor mosque was built on this site in 1147 by the Almohad dynasty after they defeated the Almoravides and took control of Marrakech. However, the qiblah wall of the mosque, which should have faced Mecca, was incorrectly oriented, so instead of correcting its position, the Almohades built a new, larger mosque nearby and the old one fell into disuse. The current mosque is constructed of reddish-brown sandstone and is decorated with curved window arches and pointed “merlons” or crenellations.

The Koutoubia’s minaret is a square structure that stands 69 meters high and 13 meters wide, with six rooms stacked on top of one another and crowned with a ceramic strip, small tower, and four gilded copper balls decreasing in size. The north-western side of the minaret contains ruins and cisterns from an Almoravid palace that stood on the site before the Almohades took over.

Read more about the Koutoubia Mosque

Tours and Activities from Marrakesh

Latest Blogs from Marrakesh