Marrakesh is one of Morocco’s four historic imperial cities and the one that gave the kingdom its name. Founded in the mid-eleventh century on the fertile Haouz Plain, it has alternated for nearly a thousand years between periods as a ruling capital and periods as a provincial center, while its walled medina, known for its red clay buildings, has remained a defining feature throughout.
Where Is Marrakesh Located?
Marrakesh lies at the center of the fertile, irrigated Haouz Plain, south of the Tensift River, and serves as a commercial hub for the High Atlas region and for trade routes reaching toward the Sahara. The city has an international airport and rail and road links to Safi and Casablanca. Its population was 823,154 at the 2004 census.[1]
A Brief History of Marrakesh
Marrakesh was founded in the mid-eleventh century by Yusuf ibn Tashufin of the Almoravid dynasty, and it served as the Almoravid capital until the rival Almohad dynasty captured it in 1147. It is counted as the first of Morocco’s four imperial cities and lent its name to the country as a whole.[1]
The Marinid dynasty took control in 1269 but preferred Fes as their own capital, and Marrakesh’s fortunes rose again under the Saadi dynasty, who made it their flourishing capital in the sixteenth century. Later Alawite rulers generally governed from Fes or Meknes, keeping Marrakesh mainly as a military post, and under the French protectorate, from 1912 to 1956, the city was administered by the Glaoui family on the French administration’s behalf.[1]
The Medina: A UNESCO World Heritage Site
Marrakesh’s old walled city, the medina, was inscribed by UNESCO as a World Heritage Site in 1985. Its beaten-clay buildings and ramparts have earned Marrakesh its nickname, the “Red City.” At the medina’s heart lies Jemaa el-Fna, a triangular public square that has served as a symbol of the city since the eleventh century. UNESCO separately recognized the cultural space of Jemaa el-Fna Square in 2008 on its Representative List of the Intangible Cultural Heritage of Humanity, describing it as a unique concentration of popular Moroccan traditions expressed through storytelling, music, and performance, from Berber musicians and Gnaoua dancers to bards who improvise on ancient oral texts for modern audiences. The square has been protected as part of Morocco’s artistic heritage since 1922, though UNESCO notes that urbanization, tourism, and related pressures continue to pose risks to these living traditions.[1][2]
What Is Marrakesh Known For?
Rising above the medina is the Koutoubia Mosque, built in the twelfth century with a minaret 77 meters (253 feet) tall, reportedly constructed by Spanish captives, and it remains Marrakesh’s most recognizable single landmark, visible across much of the city. Other notable sites within the medina include the Saadian Tombs, the Dar el-Beida Palace, the Bahia Palace, and the Bab Agnaou gate, along with the Menara olive grove and the roughly 1,000-acre Agdal Gardens, still irrigated in part by an Almoravid-era system.[1]
Why Marrakesh Matters
Marrakesh matters as one of the clearest surviving examples of a North African imperial capital, where successive dynasties built, abandoned, and rebuilt a single city’s institutions over nearly a millennium. Its combination of a UNESCO-listed built heritage, in the medina and the Koutoubia Mosque, and a UNESCO-listed living heritage, in the performers and traditions of Jemaa el-Fna, makes it a rare case where both the physical city and its everyday culture are formally recognized as world heritage.
Key Takeaways
- Marrakesh was founded in the mid-11th century by the Almoravid ruler Yusuf ibn Tashufin and became the first of Morocco’s four imperial cities.[1]
- Its medina, known for red clay buildings, was inscribed as a UNESCO World Heritage Site in 1985.[1]
- Jemaa el-Fna Square, at the medina’s heart, was separately recognized by UNESCO in 2008 for its living cultural traditions.[2]
- The Koutoubia Mosque’s 77-meter minaret, built in the 12th century, is Marrakesh’s most iconic landmark.[1]
- The city’s population was 823,154 at the 2004 census.[1]
Sources
- Encyclopaedia Britannica | “Marrakech” | Undated | https://www.britannica.com/place/Marrakech | Accessed 2026-10-21
- UNESCO Intangible Cultural Heritage | “Cultural space of Jemaa el-Fna Square” | 2008 (inscription) | https://ich.unesco.org/en/RL/cultural-space-of-jemaa-el-fna-square-00014 | Accessed 2026-10-21
Key facts
- Marrakesh was founded in the mid-11th century by the Almoravid ruler Yusuf ibn Tashufin.1
- Its medina was inscribed as a UNESCO World Heritage Site in 1985.1
- Jemaa el-Fna Square was separately recognized by UNESCO in 2008 for its living cultural traditions.2
- The Koutoubia Mosque's 77-meter (253-foot) minaret, built in the 12th century, is the city's most iconic landmark.1
- Marrakesh's population was 823,154 at the 2004 census.1
Quick checkWho founded Marrakesh, and in what dynasty?Show answer
Yusuf ibn Tashufin of the Almoravid dynasty, in the mid-11th century.
Sources
- Encyclopaedia Britannica. Marrakech. Undated (accessed 2026-10-21)
- UNESCO Intangible Cultural Heritage. Cultural space of Jemaa el-Fna Square. 2008 (accessed 2026-10-21)
Editorially reviewed by Specialty Digest Editorial TeamLast reviewed October 21, 2026Researched and drafted with AI assistanceReport an issue