Marrakech
Morocco
The name of Morocco’s fourth-largest city derives from the phrase murrākush, meaning “the land of God,” but for most of its history, outsiders knew it by a simpler, more alarming title: Morocco City. For nearly a thousand years, the very concept of Morocco—the country, its culture, its mystique—has been filtered through this one place, its red walls rising from a plain at the point where the High Atlas Mountains descend into a pre-desert plateau.
The city stands 471 meters above sea level on the Haouz Plain, an alluvial apron of gravel, sand, and silt washed down from the mountains. To the north and west, the plain extends toward the Atlantic; to the south and east, it dissolves into the semi-arid steppe of the interior. The key to its location is water, not from a single river, but from a system of seasonal streams, or wadis, that channel snowmelt and rain from the High Atlas. The most significant of these is the Oued Tensift, which skirts the city’s northern edge. The land here proposed a reliable water table and fertile soil, but more importantly, it proposed a crossroads. It was the natural terminus for caravans descending from mountain passes like Tizi n’Tichka, carrying gold, salt, and slaves from sub-Saharan Africa, and a logical gathering point for the Amazigh (Berber) tribes of the plains and mountains before they pushed north toward the rival power centers of Fes and the Mediterranean coast.
The Almoravids, a puritanical Sanhaja Amazigh dynasty from the Sahara, founded the city in 1062 CE. Their leader, Abu Bakr ibn Umar, chose the site not for agriculture but for war. It was a military camp, a ribāṭ, from which to control the tribes of the Haouz and project power northward. Under his successor, Yusuf ibn Tashfin, Marrakech became a capital. The Almoravids diverted the Oued Tensift’s waters through a sophisticated network of underground channels called khettara to irrigate vast palm groves, creating a green belt around the city. This artificial oasis was a statement of permanence and dominion. They constructed the first core of the Ksar el-Bekri, an administrative and residential complex whose remnants lie beneath the later dynastic palaces, and began the Ben Youssef Mosque, establishing the city’s religious footprint. Their rule imported Andalusian artisans and scholars, beginning a centuries-long cultural exchange with Islamic Spain.
The succeeding Almohad dynasty, another reformist Amazigh movement from the High Atlas, captured Marrakech in 1147 and systematically erased Almoravid monuments, branding them heretical. They rebuilt the city in their own monumental image. The Almohads enlarged the city walls, constructing the iconic red sandstone Bab Agnaou gate. Their greatest legacy is the Koutoubia Mosque, begun around 1150. Its 77-meter minaret, completed in 1199, became the prototype for the Giralda in Seville and the Hassan Tower in Rabat. Its location was strategic, built on the site of a former Almoravid palace to assert spiritual authority over the conquered city’s center. The Almohads also built the first extensive qasba, or citadel, and vast irrigated gardens, like the Menara, with its central reservoir fed by a 30-kilometer khettara. These gardens were not merely aesthetic; they were displays of hydrological engineering prowess, demonstrating control over the land’s most vital resource.
For centuries, the city’s economy was tethered to the trans-Saharan caravan trade. Goods from Timbuktu and the Sudan—gold, ivory, rock salt, and enslaved people—were exchanged here for manufactured goods from the north. The Jemaa el-Fnaa, now a square, began as a vast marketplace at the crossroads of these caravan routes. Its name, often translated as “assembly of the dead,” likely refers to a fināʾ, an open space before a mosque, though folk etymology links it to a public execution ground. By the 16th century, the Saadian dynasty revived Marrakech’s status after a period of decline. They sealed off the caravan wealth behind high walls, constructing the opulent Saadian Tombs and the El Badi Palace in the late 1500s. The El Badi, built with materials paid for by a ransom from the Portuguese, was adorned with gold, onyx, and marble from Italy, a testament to the global reach of Marrakech’s trade networks. The palace’s vast courtyard, sunken to provide coolness, and its sophisticated irrigation were direct responses to the Haouz’s climate—blistering summer heat and precious water.
The Alawite sultan Moulay Ismail moved the capital to Meknes in the 17th century, stripping El Badi of its riches and diminishing Marrakech’s political role. It became a secondary capital, a place of rebellion and occasional royal retreat. Power, and the economic currents of the Atlantic trade, shifted northward. The city shrank within its walls, and its palmeraie, or palm grove, contracted. Its modern revival began with the French protectorate, established in 1912. The French built Gueliz, a new colonial city with a geometric grid to the west of the historic medina, redirecting the economy. They installed modern water and electricity infrastructure and promoted Marrakech as a “tourist station” for the colonial elite. The La Mamounia hotel, opened in 1923 in a former royal garden, became an international symbol of this new, curated exoticism.
Independence in 1956 re-centered Moroccan political power in Rabat and Casablanca, but Marrakech found a new economic engine in mass tourism. The Jemaa el-Fnaa evolved from a regional market into a nightly spectacle of storytellers, musicians, and food stalls, declared a UNESCO Masterpiece of the Oral and Intangible Heritage of Humanity in 2001. The medina’s souks, organized by craft—dyeing, metalwork, leather, carpentry—became a primary destination. This transition strained the ancient water systems. The khettara networks fell into disrepair as groundwater was pumped unsustainably for hotels, golf courses, and a growing population, which exceeds 1.2 million. The city’s famous palmeraie, once containing over 100,000 trees, has significantly declined due to groundwater depletion and a fatal fungal disease, Bayoud.
The ongoing conversation between land and people here is now dominated by water scarcity and thermal pressure. The High Atlas snowpack, the city’s historical reservoir, is receding. In response, there are attempts to revive ancient hydrology. Some khettara are being cleared and restored. A massive irrigation project channels water from the distant Oued Zat. The city’s distinctive architecture—thick pisé (rammed earth) walls, shaded courtyards, and narrow medina alleyways that create their own cooling airflow—is a centuries-old adaptation to the climate that modern building often ignores. The red oxide pigment used in the walls, derived from the local soil, gives the city its “Red City” moniker and provides a practical, weathering surface.
Marrakech endures not as a political capital but as a cultural one, a place where the deep south of Morocco engages with the world. The sounds of the Jemaa el-Fnaa at dusk—the clatter of cooking pots, the call of the muezzin from the Koutoubia, the circle of spectators around a poet—are the sounds of a marketplace that has never truly stopped being a crossroads. It is a city built on the memory of caravans, where the most precious commodity traded now is memory itself.