Since · 1062 CE

A city dossier

Marrakesh.

In Morocco Marrakesh-Safi

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.

By Updated

Population
1M
Area
230 km²
Founded
1062 CE
Region
Marrakesh-Safi
Coordinates
31.6295°N · 7.9811°W
04 · About

On the city.

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.

FieldValueNote
CountryMorocco—
RegionMarrakesh-Safiwithin country
Population1Mmetropolitan area
Area230km²
Founded1062 CE—
Latitude31.6295degrees
Longitude-7.9811degrees
Climate bandsub-tropicalderived 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.

Frequently asked questions

Why is Marrakesh called the Red City?

Because of the reddish-pink earthen walls and buildings of the medina.

How old is Marrakesh?

It was founded around 1070 by the Almoravid dynasty.

Is Marrakesh the capital of Morocco?

No. Rabat is the capital; Marrakesh is a former imperial capital and the country’s most visited city.

When is the best time to visit Marrakesh?

In spring, from March to May, and autumn, from September to November.

05 · Essentials

Things to know.

Practical information pulled from country-level data — useful before you travel.

Languages
Arabic, Berber
Currency
Moroccan Dirham (MAD) · د.م.
Time zone
WET (UTC+1)
Calling
+212
Plug type
—
Drives on
Right
Climate
Subtropical
Best season
May – Sep (warm)
Density
4,348/km²
Age
about 10 centuries old
Dispatch 29 · NOV · 26

A small thing, worth noting.

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.

— filed from Marrakesh

Reference

Knowing Marrakesh

Practical, computed reference: where the city sits on the planet, what to expect from the climate, and how it connects to the rest of the world.

Geography & climate of Marrakesh

Hemisphere
Northern hemisphere
Latitude
31.6295°
Longitude
-7.9811°
Time-zone band
UTC−01
Daylight at June solstice
14h 04m
Daylight at December solstice
9h 56m

Subtropical — warm to hot summers, mild winters, and a long growing season. Snow is rare or unknown.

When to visit Marrakesh

May to early June and September to October offer mild weather and lighter crowds. Summer (July–August) is hottest and busiest; winter is quieter but cold.

This is a climate-band heuristic — the best time for any specific traveller depends on what they want to do (festivals, beach, mountains). Treat as a starting point.

How far is Marrakesh from the major hubs?

Great-circle distances — the shortest distance over the surface of the Earth, used by long-haul aircraft. Actual flight time is roughly distance ÷ 800 km/h plus an hour or two for the climb, descent, and headwinds.

  • London 2,302 km / 1,430 mi
  • New York 5,873 km / 3,649 mi
  • Dubai 6,143 km / 3,817 mi
  • Tokyo 11,805 km / 7,335 mi
  • Singapore 11,974 km / 7,440 mi
  • Sydney 18,057 km / 11,220 mi

Cities near Marrakesh

Other cities in the encyclopedia, sorted by great-circle distance. Some are realistic day trips; others are regional context. Always check actual road or rail journey times — they differ from straight-line distance by a lot in mountainous or island geography.

The antipode of Marrakesh

If you drilled straight through the centre of the Earth from Marrakesh, you'd come out at -31.6295°, 172.0189°, in the South Pacific Ocean — coordinates -31.6295°, 172.0189°.

About 71% of the planet is ocean, so most antipodes land in the sea — a little geographic curiosity for the next pub quiz.