Morocco flag

Morocco

UN member state · Africa · Northern Africa

Capital / administrative city
Rabat
Region
Africa
Subregion
Northern Africa
Scope
UN member state
Area
446,550 km²
Estimated population (2025)
38,430,770
Country codes
MA / MAR
Currencies in dataset
Moroccan dirham (MAD)
Languages in dataset
Arabic, Berber
Official name in dataset
Kingdom of Morocco

Population estimate: World Bank.

Morocco is listed in Africa, in the Northern Africa subregion. The atlas lists Rabat in its capital or administrative-city field.

Location on the map

Explore on OpenStreetMap · Pin shows an approximate reference point.

Land neighbors in the atlas

Algeria, Western Sahara, Spain

Geography notes

Rabat is on the Atlantic coast of Morocco. The country also faces the Mediterranean, with the Strait of Gibraltar offering an easy visual reference point.

Try this map exercise

Compare Rabat and Madrid, then find the body of water between northern Morocco and southern Spain.

Read the map and coordinates

The atlas places the reference point for Morocco at 32° N, 5° W. Use the point to locate the entry on a world map, then zoom in to see the capital, islands, or coastline. The border list connects this map view with 3 neighboring entries in the directory.

Physical geography

The terrain notes for Morocco identify mountains, plateaus, plains, river valleys and desert. The archived climate description includes arid or semiarid and Mediterranean conditions.

Highest point
Jebel Toubkal 4,165 m
Lowest point
Sebkha Tah -59 m
Mean elevation
909 m
Coastline
2,945 km
Forest cover
12.8% (2023 est.)
Agricultural land
66.7% (2023 est.)

Coastline length is an archive estimate. The reported length can change with the measurement scale or the inclusion of small offshore features.

Physical geography source: archived CIA World Factbook profile for Morocco.

Compare with Algeria

Algeria is a useful land-border comparison. The atlas lists Algeria at 2,381,741 km² and Morocco at 446,550 km². On the map, locate Rabat and Algiers. Trace the shared border, then compare where the capitals sit in relation to that boundary. Open the comparison tool with Morocco selected.

Morocco in context

By total area, Morocco ranks 57th among the 195 UN members and observers, at 446,550 km² (172,414 mi²). The nearest matches in size are Uzbekistan and Sweden. The World Bank estimate for 2025 is 38,430,770 people, about 86 per km². That ranks 41st of 215 atlas entries with population data and makes Morocco close to the typical settlement density.

The reference point is at 32° N, 5° W, in the Northern Hemisphere and in the Western Hemisphere. It shares land borders with 2 sovereign neighbors: Algeria and Spain. It is one of 7 atlas entries in Northern Africa, within Africa. The dataset lists 2 languages: Arabic and Berber; 1 currency: Moroccan dirham (MAD).

Landscape and climate

Morocco faces both the Atlantic Ocean and the Mediterranean Sea. The Rif Mountains run along the northern coast, and the Atlas ranges cross the country from southwest to northeast, separating the fertile Atlantic plains from the Sahara in the south and east. Rivers rise in the mountains and feed irrigated plains near the coast. The climate is Mediterranean in the north, cooler in the mountains, and desert in the far south.

Facts worth knowing about Morocco

  • Toubkal in the High Atlas is the highest peak in North Africa.
  • Morocco has coastlines on both the Atlantic and the Mediterranean.
  • The Strait of Gibraltar separates northern Morocco from Spain.
  • Rabat is the capital, while Casablanca is the largest city.

Common questions

What is the capital of Morocco?

The atlas lists Rabat as the capital.

How many people live in Morocco?

The World Bank estimate for 2025 is 38,430,770. The series is dated and can be revised. Check that the geographic coverage matches before comparing it with another source.

More places to explore

How the atlas data is sourced