Africa · Northern Africa

Morocco

Morocco covers 446,550 km², making it the 57th-largest of the 197 countries in our list by area. About 38,430,770 people lived there in 2025, the 41st-largest population. Its capital is Rabat. Official languages include Arabic and Berber. The currency is the Moroccan dirham (MAD).

Flag of Morocco
Capital
Rabat
Population
38,430,770(2025)
Area
446,550 km² (#57)
Official languages
Arabic, Berber
Currency
Moroccan dirham (MAD)
Time zone
UTC+00:00
Calling code
+212
Internet domain
.ma
Land neighbours
2
Coastline
2,945 km
Highest point
Jebel Toubkal 4,165 m
Lowest point
Sebkha Tah -59 m

Where is Morocco?

Morocco is a country in Northern Africa, part of Africa. It shares land borders with 2 countries: Algeria and Spain. Its geographic centre lies at about 30° north and 9° west, in the Northern and Western Hemispheres. The CIA World Factbook describes its location as: “Northern Africa, bordering the North Atlantic Ocean and the Mediterranean Sea, between Algeria and Mauritania.”

Other countries close by include Mauritania, Portugal, Mali and Senegal.

Geography and climate

Terrain. Mountainous northern coast (Rif Mountains) and interior (Atlas Mountains) bordered by large plateaus with intermontane valleys, and fertile coastal plains; the south is mostly low, flat desert with large areas of rocky or sandy surfaces .

Climate. Mediterranean in the north, becoming more extreme in the interior; in the south, hot, dry desert; rain is rare; cold offshore air currents produce fog and heavy dew.

Natural hazards. In the north, the mountains are geologically unstable and subject to earthquakes; periodic droughts; windstorms; flash floods; landslides; in the south, a hot, dry, dust/sand-laden sirocco wind can occur during winter and spring; widespread harmattan haze exists 60% of time, often severely restricting visibility.

Major rivers. Draa - 1,100 km.

Geography note. Strategic location along Strait of Gibraltar; the only African nation to have both Atlantic and Mediterranean coastlines; the waters off the Atlantic coast are particularly rich fishing areas.

Geography text quoted from the CIA World Factbook (final 2026 edition, public domain).

Capital city: Rabat

The capital of Morocco is Rabat, at 34.01° N, 6.83° W.

Name origin. Derives from the Arabic name Ribat el-Fath, from the words ribat (fortified monastery) and fath (conquest); the third Almohad sultan, Abu Yusuf Yaqub al-Manṣur, gave the name to a fort on the site in the 12th century. (CIA World Factbook)

Flag of Morocco

Red with a green pentacle (five-pointed linear star) known as Sulayman's (Solomon's) seal in the center of the flag. Red and green are traditional colors in Arab flags, although the use of red is more commonly associated with the Arab states of the Persian Gulf. More about the flag of Morocco →

National symbols: Pentacle symbol, lion. National colours: red, green.

Independence and history

2 March 1956 (from France). (CIA World Factbook)

Neighbouring countries

Test what you know

Morocco: quick answers

Where is Morocco?

Morocco is a country in Northern Africa, part of Africa. It shares land borders with 2 countries: Algeria and Spain.

What is the capital of Morocco?

Rabat.

How many people live in Morocco?

About 38,430,770 (2025), according to World Bank.

What countries border Morocco?

Algeria, Spain.

Sources

Settings

ThemePaper (light) or Night Chart (dark)
EffectsCinematic uses the 3D globe; Lite is lighter; Off removes motion
Sound effectsOff by default. Never plays until you turn it on.
Distance units
Colour-blind paletteBlue and orange instead of green and red
HapticsShort vibrations on phones that support them
Your dataStats live only in this browser

Language

English is the original. Other languages are machine-translated in your browser when you pick them; the layout stays the same. Country names in games and quizzes are matched in English.

Search

Try "France", "capitals", "blank map" or "flag quiz". ↑ ↓ to move, Enter to open.