Geography Games
Morocco

Morocco

Kingdom of Morocco

Located in Northern Africa, Africa, Morocco covers 446,550 km² and is home to roughly 38,081,173 people. Its capital is Rabat.

Where is Morocco?

Morocco is in Northern Africa, Africa, bordering Algeria, Spain. Drag or zoom the map, or open the full interactive world map.

Key facts

Capital
Rabat
Continent
Africa
Subregion
Northern Africa
Population
38,081,173
Land area
446,550 km²
ISO codes
MA / MAR
Languages
Arabic, Berber
Coastline
Has a coastline
Currency
Moroccan dirham (MAD)
Calling code
+212
Internet domain
.ma

How Morocco compares

In Africa, Morocco counts about 38,081,173 people and 446,550 km² of land, between Algeria and Spain. That is 11th by population within the continent and 40th worldwide on these pages.

Population rank
40th of 194
Land-area rank
57th of 194
Share of world population
0.5%
Population rank in Africa
11th of 54
Land-area rank in Africa
25th of 54
Land borders
2

Countries by population · Countries by area

The flag of Morocco, measured

Every pixel of the flag artwork was counted and grouped by shade.

Measured shadeShare of flagColour family
#C1272D98.1%red
#0062331.9%green
  • No flag has more red than this one: 98.1% of the area, the largest share among the 150 flags that contain it.
  • Only one other flag uses exactly red and green: Bangladesh.
  • The closest palettes belong to China (differs on 2.8% of the area), Türkiye (6.9%) and Vietnam (7.8%).

Closest palettes

Ranked by how much of the flag's area would have to change colour family to match.

Did you know?

  1. The medinas of Fez and Marrakech are among the world's best-preserved medieval walled cities.
  2. Moroccan mint tea poured from a height is a ritual of hospitality found in homes and cafés nationwide.
  3. Chefchaouen's blue-painted streets make it one of the most photographed mountain towns in Africa.
  4. The Atlas Mountains divide Morocco's fertile coast from the Sahara and shelter Berber villages.
  5. On a clear day, Morocco's coast is visible from Spain across the Strait of Gibraltar.

Bordering countries