Marrakech was founded by the Almoravids between 1062 and 1070, depending on the source, a Berber dynasty from the south, who made it the capital of their empire. This "Red City" owes its nickname to the colour of its ramparts and buildings, made of ochre-red rammed earth. Nine centuries later, the history of the city can still be read in its monuments.
The origins: the Almoravids (11th century)
In the middle of the 11th century, the Almoravids, a Berber dynasty, extended their power from the Sahara to the Maghreb and Muslim Spain. They founded Marrakech (the date varies according to the source, between 1062 and 1070) first as a camp, then as a capital, on the edge of the Haouz plain and the Atlas Mountains. Its location was strategic: the city controlled the routes between the desert and the coast.
The Almoravids built the first ramparts there, along with a network of underground channels, the khettaras, which brought water into the city and its gardens.
The age of the Almohads (12th century)
In the middle of the 12th century, the Almohads, who came from the Atlas, took Marrakech and made it their capital. They embellished it extensively: the Koutoubia, whose minaret remains the emblem of the city, dates from this period, as do large gardens and monumental gates in the city walls.
Decline, then renaissance under the Saadians (16th century)
After the Almohads, power shifted towards other imperial cities such as Fez, and Marrakech lost some of its lustre. It regained its rank in the 16th century under the Saadian dynasty, which once again made it its capital. The Saadians left behind major achievements: the El Badi Palace and the Saadian Tombs, rediscovered in the 20th century.
The Alaouites and the modern city (since the 17th century)
The Alaouite dynasty, still in power in Morocco today, came to the fore from the 17th century onwards. Marrakech remains one of the kingdom's great imperial cities, alongside Fez, Meknes and Rabat. At the end of the 19th century, rich palaces were built, such as the Bahia Palace, which illustrates the lifestyle of Moroccan high society at the time.
The protectorate and the birth of Guéliz (20th century)
In 1912, Morocco became a French protectorate. The authorities built a new town with wide avenues outside the medina: Guéliz. This separation between the medina and the modern city still shapes the face of Marrakech today. Morocco regained its independence in 1956.
Marrakech today
The medina of Marrakech has been a UNESCO World Heritage Site since 1985, and Jemaa el-Fna square has been recognised for its intangible cultural heritage. The city has become one of Morocco's major tourist destinations, combining crafts, restored riads, gardens and nightlife. To discover it, see our pages What to see in Marrakech and The districts of Marrakech.
To place this history in its national context, read the history of Morocco.
Monuments to remember
| Era | Monument | What to see |
|---|---|---|
| Almoravids | Ramparts, water network | The medina's city walls |
| Almohads | Koutoubia | Iconic minaret |
| Saadians | El Badi Palace, Saadian Tombs | Ruins and mausoleums |
| 19th century | Bahia Palace | Reception rooms and patios |
| Protectorate | Guéliz | New town |
FAQ
Who founded Marrakech?
Marrakech was founded by the Almoravids, a Berber dynasty originating from the south of Morocco, between 1062 and 1070, depending on the source.
Why is Marrakech called the Red City?
Because its ramparts and most of its buildings are made of red-ochre rammed earth, which takes on a pinkish hue at sunset.
Has Marrakech been the capital of Morocco?
Yes. It was the capital under the Almoravids, the Almohads and the Saadians, and remains one of the kingdom's four imperial cities.
What is the oldest monument in Marrakech?
The original Almoravid ramparts are among the oldest elements. The Koutoubia, from the Almohad period, is the most iconic monument.
Is the medina of Marrakech a UNESCO World Heritage Site?
Yes, the medina has been inscribed on the UNESCO World Heritage List since 1985.
Une expérience à partager, une précision à apporter ? Rejoignez la discussion sur le forum.
