Marrakesh is one of Morocco’s four imperial cities, the “Red City” of pink-walled ramparts at the foot of the Atlas Mountains, known for the square of Jemaa el-Fnaa, the Koutoubia minaret, labyrinthine souks, palaces and gardens.
Location, geography & climate
Marrakesh lies on the Haouz plain in south-central Morocco, at an elevation of about 466 metres, with the snow-capped High Atlas, whose peaks average above 3,000 metres, rising to the south. The city covers about 230 km².
The climate is hot and semi-arid. Winters are mild, averaging about 12 °C, with cold nights; summers average 26 to 30 °C, with afternoon peaks well above 40 °C. Rainfall is only about 220 mm a year, falling mainly between November and April.
History & founding
The city was founded around 1070 by the Almoravids, a Berber dynasty from the Sahara, under Abu Bakr ibn Umar and his successor Yusuf ibn Tashfin, who made it the capital of an empire stretching into Spain. The Almoravids built the first walls and the underground irrigation channels that water its gardens. The Almohads captured the city in 1147 and built the Koutoubia Mosque, whose 77-metre minaret became a model for the Giralda in Seville.
Later dynasties
The Marinids took Marrakesh in 1269 and moved the capital to Fez, but the city flourished again in the 16th century under the Saadians, who built the El Badi Palace and the Saadian Tombs. It was an important base of the Alaouite sultans and, from 1912 to 1956, part of the French protectorate, when the new town of Gueliz was laid out. A strong earthquake in the Atlas in September 2023 damaged parts of the medina.
Districts, character & architecture
The medina, enclosed by about 19 km of red earthen walls, has been a UNESCO World Heritage Site since 1985. At its heart is Jemaa el-Fnaa, a vast square that fills each evening with food stalls, storytellers and musicians. North of it spread the souks, where some 40,000 people work in 18 markets, and the Ben Youssef Madrasa. To the south are the Kasbah, the Saadian Tombs, the ruined El Badi Palace and the 19th-century Bahia Palace.
Gueliz and Hivernage form the modern city of boulevards, cafés and hotels. Gardens are a feature of Marrakesh: the Menara and Agdal gardens date from the 12th century, and the Majorelle Garden, with its cobalt-blue villa, has been open to the public since 1947.
Population, economy & daily life
The city had about one million residents in 2024. Moroccan Arabic and Amazigh (Berber) languages are spoken, and French is widely used.
Tourism dominates the economy: Marrakesh is the most visited city in Morocco, receiving well over two million visitors a year, many staying in riads, traditional courtyard houses converted into guesthouses. Handicrafts such as leather, carpets, metalwork and pottery remain important.
Culture, food & nightlife
The spectacle of Jemaa el-Fnaa is itself recognised by UNESCO as a masterpiece of oral and intangible heritage. The International Film Festival of Marrakech has been held since 2001.
The local speciality is tanjia, meat slow-cooked in a clay urn in the embers of a hammam furnace. Tagines, couscous, pastilla, harira soup and mint tea are everywhere, flavoured with the spice blend ras el hanout. Alcohol is served in licensed restaurants and hotels.
Getting around & visiting
Marrakesh Menara Airport is only about 3 km south-west of the centre. Trains run to Casablanca, Rabat, Fez and Tangier, and buses and shared taxis cross the Atlas. The medina is closed to cars and is explored on foot; petits taxis serve the rest of the city.
March to May and September to November are the best times to visit. Bargaining is expected in the souks, and dress should be modest. The Ourika Valley, the Atlas village of Imlil and the coastal town of Essaouira are popular excursions.
At a glance
Sort or filter the table to compare values for the city.
| Field | Value | Note |
|---|---|---|
| Country | Morocco | — |
| Region | Marrakesh-Safi | within country |
| Population | 1M | metropolitan area |
| Area | 230 | km² |
| Founded | 1062 CE | — |
| Latitude | 31.6295 | degrees |
| Longitude | -7.9811 | degrees |
| Climate band | sub-tropical | derived from latitude |
Did you know?
Marrakesh's Jemaa el-Fnaa square has been listed by UNESCO as a 'Masterpiece of the Oral and Intangible Heritage of Humanity' for its storytelling traditions.





