Map of Marrakesh, Morocco
Marrakesh is the administrative centre of Marrakesh-Safi, Morocco, with a population of about 995,871. It lies at 31.6342°N, 7.9999°W. Marrakesh is about 286 km (178 mi) southwest of Rabat, the capital. The nearest city on our map is Ait Ourir, 33 km to the east.
Marrakesh at a glance
Country
Region
Marrakesh-Safi
Population
995,871GeoNames
Coordinates
31.6342, -7.999931°38′03″N 8°00′00″W
Time zone
Africa/CasablancaUTC+01:00
Local time
–
Distance to Rabat
286 km (178 mi)
Where is Marrakesh?
- The 5th largest city in Morocco by recorded population.
- The largest city in Marrakesh-Safi on this site.
- Located in the Northern and Western hemispheres.
- Daylight ranges from about 10 h 05 min on the shortest day to 14 h 13 min on the longest day (around 21 December and 21 June).
Cities near Marrakesh
- Ait Ourir — 33 km east
- Ben Guerir — 68 km north
- El Kelaa des Srarhna — 72 km northeast
- Youssoufia — 84 km northwest
- Sidi Bennour — 120 km north
- Tabount — 131 km southeast
- Ouarzazate — 132 km southeast
- Azilal — 140 km east
- Souq Sebt Oulad Nemma — 143 km northeast
- Taroudant — 154 km southwest
Largest cities in Marrakesh-Safi
- Safi — 336,883
- El Kelaa des Srarhna — 103,982
- Ben Guerir — 96,777
- Essaouira — 85,137
- Youssoufia — 73,848
- Ait Ourir — 42,705
Largest cities in Morocco
- Casablanca — 3,665,954
- Rabat — 1,655,753
- Fes — 1,191,905
- Tangier — 1,035,141
- Salé — 972,299
- Agadir — 698,310
- Meknes — 568,295
- Oujda — 539,711
- Kenitra — 470,949
- Tétouan — 415,810
Map of Morocco and all its cities →
Sources: place names, coordinates, populations and time zones from GeoNames (CC BY 4.0, data retrieved October 2026). Population figures are the latest values recorded in GeoNames; depending on the country they refer to the city proper, a municipality or a wider urban area, so they can differ from census or metro-area figures. Map © OpenStreetMap contributors.