Geography · Africa

Geography

Morocco

Kingdom of Morocco · Northern Africa

  • 36.8 million people (2024)
  • 446,550 km² area
  • Rabat capital
Flag of Morocco
Flag of Morocco
Morocco
Photo: Petar Milošević · CC BY-SA 4.0 · via Wikimedia Commons

Quick answerMorocco is a country in Northern Africa, with a population of 36,828,330 (2024). Its capital is Rabat, its official languages are Arabic and Tamazight, and its currency is the Moroccan dirham (MAD). It covers 446,550 square kilometres (172,414 square miles), and its time zone is Africa/Casablanca.

Morocco is a country in North Africa, home to about 37 million people. Its capital is Rabat, its largest city is Casablanca, and its official languages are Arabic and Tamazight.

Key facts

CapitalRabat
Population36,828,330 (2024) · 36.8 million
Population density82.5 people per km² (land area)
Area446,550 km² (172,414 sq mi) total · 446,300 km² (172,317 sq mi) land
Official languagesArabic (official), Tamazight (official)
CurrencyMoroccan dirham (MAD, د.م.)
Time zoneAfrica/Casablanca
GovernmentUnitary parliamentary semi-constitutional monarchy
Coastline1,835 km
Highest pointJebel Toubkal, 4,167 m
Life expectancy75.3 years (2023)
Calling code+212
Driving sideRight
Internet domain.ma

Overview

Morocco sits in the Maghreb region of North Africa, on the Atlantic Ocean to the west and the Mediterranean Sea to the north, just 14 kilometres from Spain across the Strait of Gibraltar. It has land borders with Algeria to the east and with the Spanish exclaves of Ceuta and Melilla on its northern coast, and the disputed territory of Western Sahara lies to the south. It covers 446,550 square kilometres, not counting Western Sahara, with 1,835 kilometres of coastline. The Atlas Mountains run across the country, rising to Jebel Toubkal, the highest peak in North Africa at 4,167 metres, and the Sahara begins to the south of them.

About 36.8 million people lived in Morocco in the 2024 census, and the population has since risen to about 37 million. Around 67 per cent of Moroccans live in towns and cities, above all in Casablanca, the largest city, with about 3.2 million people, and the Rabat-Salé area around the capital. Arabic and Tamazight are the official languages, and French is widely used in business, education and the media. Life expectancy at birth was 75.3 years in 2023, and the median age was 30.6 years.

The region has been inhabited for more than 300,000 years, and the first Moroccan state was founded by Idris I in 788. Under the Almoravid and Almohad dynasties Morocco ruled an empire stretching across North Africa and into Spain, and the Alaouite dynasty has ruled since 1631. France and Spain set up a protectorate in 1912, and Morocco regained independence in 1956. King Mohammed VI has reigned since 1999, and the country is a unitary parliamentary monarchy with an elected parliament.

Today Morocco's economy rests on farming, phosphates, car manufacturing and tourism, and it is Africa's leading industrial economy. Its cities are among the most visited in Africa: the medinas of Fez and Marrakesh, the blue streets of Chefchaouen, the Atlantic port of Essaouira and the desert town of Merzouga. Morocco will co-host the 2030 FIFA World Cup with Spain and Portugal, and its national team reached the semi-finals of the 2022 World Cup, the first African team ever to do so.

Notable facts

How Morocco compares

Comparison table — Morocco next to 3 similar countries (neighbours first, then the same subregion).

CountryPopulationAreaDensityCapital
Morocco ★ 36,828,330 (2024) 446,550 km² 82.5 people per km² Rabat
Algeria 47,435,312 (2025) 2,381,741 km² 19.9 people per km² Algiers
Spain 49,801,559 (2026) 505,992 km² 99.8 people per km² Madrid
Egypt 120,101,175 (2026) 1,010,408 km² 120.7 people per km² Cairo

Cities in Morocco

See all 4 cities in Morocco →

Frequently asked questions

What is the capital of Morocco?

The capital of Morocco is Rabat, on the Atlantic coast in the north-west of the country, at the mouth of the Bou Regreg river. It has about 516,000 people in the city itself (2024 census) and about 2.1 million in the metropolitan area with Salé and Témara. Rabat has been the capital since 1912 and is home to the Royal Palace, the parliament and the Hassan Tower.

What is the population of Morocco?

Morocco had a population of 36,828,330 in the 2024 census, the seventh national census, held from 1 to 30 September 2024. The population has since risen to about 37 million. About 67 per cent of Moroccans live in towns and cities, above all in Casablanca, the largest city, with about 3.2 million people.

What language is spoken in Morocco?

Arabic and Tamazight are the official languages of Morocco. Moroccan Arabic, called Darija, is the language of daily life for most people, and about a quarter of Moroccans speak a Berber language, above all Tashelhit, Central Atlas Tamazight and Tarifit. French is widely used in business, education and the media, although it is not an official language.

What currency is used in Morocco?

Morocco uses the Moroccan dirham (MAD, symbol د.م.). Banknotes come in denominations up to 200 dirhams. Cash is still common in markets and small shops, but cards are widely accepted in hotels, restaurants and larger stores in the cities. The dirham is not freely convertible outside Morocco, so visitors change money on arrival.

Where is Morocco?

Morocco is in North Africa, in the Maghreb, on the Atlantic Ocean and the Mediterranean Sea. It borders Algeria to the east and the Spanish exclaves of Ceuta and Melilla on its northern coast, and the disputed territory of Western Sahara lies to the south. Spain is just 14 kilometres away across the Strait of Gibraltar. The Atlas Mountains run across the country, and the Sahara begins to the south of them.

What time zone is Morocco in?

Morocco uses the Africa/Casablanca time zone, which is UTC+1 for most of the year. Unusually, the clocks go back to UTC+0 during the month of Ramadan, then return to UTC+1. There is a single time zone across the whole country, from Tangier in the north to the edge of the Sahara in the south.

Quick quiz

Three questions from the facts on this page. No sign-up, no score is saved.

1. What is the capital of Morocco?

2. What was the population of Morocco in 2024?

3. What currency is used in Morocco?

Keep exploring

Sources & last updated

Last updated: . Figures are shown with their year; where sources disagree, the value is left out rather than estimated.