Flag of Morocco
Country

🇲🇦Morocco

المغرب

Africa · Northern AfricaSovereign stateAUAL
ISOMA · MAR · 504
LAT,LNG32.00, -5.00
TEL+212

Morocco is a sovereign country in Northern Africa, Africa. Its capital is Rabat. It has a population of about 36,910,558 across 446,550 km² — roughly 83 people per km². The currency is the Moroccan dirham (MAD د.م.). The official language is Arabic. Its ISO 3166 codes are MA, MAR, 504, and the international calling code is +212.

Capital
Rabat
#40
Population
36,910,558
#59
Area
446,550 km²
#121
Density
83 /km²

Key facts about Morocco

GET/alpha/MA
Calling code
+212
Currencies
MAD د.م.
Languages
Arabic
Timezones
UTC
Demonym
Moroccan
Top-level domain
.ma
ISO codes
MA · MAR · 504
Coordinates
32.00, -5.00
Capital
Rabat

Other names for Morocco

Kingdom of MoroccoAl-Mamlakah al-MaġribiyahMarocMarruecosMarokkoMaroccoMarrocosモロッコ

Largest cities in Morocco (12)

GET/cities?country=MA

Countries bordering Morocco (3)

GET/borders/morocco

Frequently asked questions about Morocco

What is the capital of Morocco?

The capital of Morocco is Rabat.

What is the population of Morocco?

Morocco has a population of about 36,910,558, the 40th largest in the world.

What currency is used in Morocco?

Morocco uses the Moroccan dirham (MAD, symbol د.م.).

What languages are spoken in Morocco?

The main language of Morocco is Arabic.

What is the calling code for Morocco?

The international dialing code for Morocco is +212.

Which countries border Morocco?

Morocco shares land borders with Algeria, Western Sahara, and Spain.

Query Morocco from the API

Every value on this page is available from the free REST API — no key required. Each endpoint below is filled in for Morocco; copy any URL and run it.

This country
GET countries.dev/alpha/MA
Full record by ISO alpha-2 codeDocs
GET countries.dev/alpha/MAR
Full record by ISO alpha-3 codeDocs
GET countries.dev/numericcode/504
Look up by ISO numeric codeDocs
GET countries.dev/cioc/MAR
Look up by IOC (Olympic) codeDocs
GET countries.dev/name/morocco
Search by country nameDocs
Places in this country
GET countries.dev/cities?country=MA
Largest cities in MoroccoDocs
GET countries.dev/borders/morocco
Neighbouring countries (full records)Docs
GET countries.dev/cities/near?lat=32&lng=-5
Nearest cities to its centre pointDocs
Find similar countries
GET countries.dev/region/Africa
Countries in AfricaDocs
GET countries.dev/subregion/Northern%20Africa
Countries in Northern AfricaDocs
GET countries.dev/currency/MAD
Countries using the Moroccan dirhamDocs
GET countries.dev/lang/ar
Countries that speak ArabicDocs
GET countries.dev/callingcode/212
Countries with calling code +212Docs
GET countries.dev/timezone/UTC
Countries in UTCDocs
GET countries.dev/tld/ma
Countries on the .ma domainDocs
GET countries.dev/demonym/Moroccan
Countries whose people are "Moroccan"Docs
GET countries.dev/capital/Rabat
Find a country by capital (Rabat)Docs
See Morocco on the interactive map