Flag of Morocco

Morocco

Kingdom of Morocco

CapitalRabat
Population · 202638,762,441
Area710,850 km²
LanguageArabic and Berber (Amazigh)
CurrencyMoroccan Dirham (MAD)
GovernmentParliamentary constitutional monarchy

Population: UN WPP 2024, revision 1, projection for 1 July 2026. Sources and methodology.

Geography and territory

Morocco occupies a strategic perch at the northwestern tip of Africa, separated from Europe by a mere 14 kilometers across the Strait of Gibraltar. Covering 710,850 square kilometers, the country encompasses an extraordinary range of landscapes, from Atlantic and Mediterranean coastlines to the snowcapped summits of the Atlas Mountains and the vast reaches of the Sahara Desert. Few countries in Africa pack such geographic variety into a single national territory.

The Atlas range forms the backbone of Morocco’s terrain, running roughly 2,500 kilometers from southwest to northeast. The High Atlas contains the highest peak in North Africa, Jbel Toubkal, which rises to 4,167 meters. To the north, the Rif Mountains hug the Mediterranean coast in a landscape of steep slopes and fertile valleys. Between the mountains and the desert lie arid plateaus dotted with oases, where date palms create pockets of green amid otherwise unforgiving terrain.

Morocco’s coastline stretches more than 3,500 kilometers, washed by the Atlantic Ocean to the west and the Mediterranean Sea to the north. The Atlantic shore, exposed to steady trade winds, offers long beaches popular with surfers, while the Mediterranean coast tends toward more sheltered coves. The climate ranges from Mediterranean in the north to desert in the south, with continental conditions across the mountainous interior, a diversity that supports both varied agriculture and rich biodiversity. Morocco shares land borders with Algeria to the east and Mauritania to the south, and Spain maintains a physical presence on the North African mainland through the enclaves of Ceuta and Melilla.

History

Morocco’s history stretches back millennia, with evidence of human habitation dating to the Paleolithic era. The Berbers, or Amazigh, the indigenous people of North Africa, inhabited these lands long before successive waves of Phoenician, Carthaginian, and Roman settlers established colonies and cities along the coast. The Roman province of Mauretania Tingitana, centered on the city of Volubilis, left behind an archaeological legacy so significant that its ruins are now a UNESCO World Heritage Site.

The Arab conquest of the seventh century transformed the region profoundly, introducing Islam and the Arabic language, which blended with the existing Berber culture. In 788, Idris I founded Morocco’s first ruling dynasty and established Fez as its capital, turning the city into a leading center of scholarship and religious life. The Almoravid and Almohad dynasties later extended Moroccan power into the Iberian Peninsula and much of the Maghreb, leaving behind an extraordinary architectural legacy of mosques, madrasas, and palaces that still define the country’s historic cities.

The modern era brought rivalry among European powers for control of Moroccan territory. The 1912 Treaty of Fez established a French protectorate over most of the country, while Spain controlled the north and the Western Sahara. Mohammed V led the independence movement that culminated in Moroccan independence on March 2, 1956. Since then, the Alaouite monarchy has steered the country’s modernization, including significant constitutional reforms in 2011 that expanded civil rights and decentralized political power.

Culture and society

Moroccan culture is the product of a remarkable convergence of Berber, Arab, Andalusian, sub-Saharan, and European influences that together have shaped a truly distinctive identity. Moroccan craftsmanship enjoys an international reputation, with centuries-old traditions in ceramics, pottery, leatherwork, woodcarving, and carpet weaving. The souks of cities like Fez and Marrakech are living labyrinths of workshops where these crafts are still passed down from one generation to the next.

Moroccan music spans an unusually wide range of genres reflecting the country’s cultural diversity. Gnawa music, rooted in sub-Saharan traditions, blends hypnotic rhythms with ritual chanting and has been recognized by UNESCO as an element of intangible cultural heritage. Andalusian classical music, inherited from the golden age of Al-Andalus, is still performed by orchestras in cities such as Fez and Tétouan. Chaabi, Morocco’s urban popular music, and the distinct rhythms of the Atlas and Rif regions round out an exceptionally rich musical landscape.

Moroccan society places a high value on hospitality and communal life. The hammam, the traditional public bathhouse, remains a central social institution in everyday life. Religious observances such as Ramadan, Eid al-Adha, and Mawlid mark the rhythm of the social calendar throughout the year. Traditional domestic architecture, embodied in the riad with its interior garden courtyard and fountains, reflects a distinctly Moroccan idea of the home as a private sanctuary shielded from the noise of the outside world.

Economy

Morocco possesses one of the most diversified economies in Africa, with a gross domestic product of roughly $182.4 billion that places it among the leading economic powers of the region. The services sector leads economic activity, buoyed by a tourism industry that draws more than 13 million visitors a year and generates a substantial share of foreign currency earnings. The country has invested heavily in modernizing its infrastructure, building highways, high-speed rail, and major ports such as Tanger Med, one of the largest in the Mediterranean.

Agriculture remains a cornerstone of the Moroccan economy, employing close to 40 percent of the workforce. Morocco is the world’s largest exporter of phosphates and one of the leading producers of olives, citrus fruit, tomatoes, and early-season produce destined for European markets. The Green Morocco Plan has driven modernization of the agricultural sector, promoting higher-value farming and more sustainable water management amid growing climate pressures.

Industry has expanded notably in recent decades, with automakers such as Renault and Stellantis building major manufacturing plants that have made Morocco the leading vehicle producer in Africa. Aerospace, textiles, and electronics further strengthen an increasingly sophisticated industrial base. Morocco has also emerged as a continental leader in renewable energy, with ambitious projects such as the Noor solar power complex near Ouarzazate, one of the largest of its kind in the world.

Food and cuisine

Moroccan cuisine ranks among the most refined and complex in the Arab and African culinary worlds, a legacy of centuries of exchange among Berber, Arab, Andalusian, and sub-Saharan traditions. Spices are the soul of Moroccan cooking: cumin, saffron, cinnamon, ginger, turmeric, and ras el hanout, a blend that can include as many as thirty different spices, give dishes a depth of flavor that few culinary traditions can match.

The tagine, a slow-cooked stew named for the conical clay pot in which it is prepared, is perhaps Morocco’s most iconic dish, appearing in countless variations, from lamb with prunes and almonds to chicken with olives and preserved lemon, as well as vegetable and fish versions. Couscous, traditionally served on Fridays after midday prayers, is another emblematic dish, made from steamed semolina and topped with vegetables, meat, and chickpeas. Pastilla, a flaky pastry filled with pigeon or chicken, almonds, and cinnamon and dusted with powdered sugar, represents the pinnacle of Moroccan culinary sophistication.

Moroccan mint tea, poured from a height to create a light foam, is far more than a beverage; it is a ritual of hospitality central to social life throughout the country. Moroccan pastry offers a dazzling array of sweets built on almonds, honey, orange blossom water, and sesame, including gazelle horns, chebakia, and briouates. Bustling spice markets and street food stalls round out a sensory culinary experience that few destinations can rival.

Tourism and landmarks

Marrakech, the Red City, is Morocco’s most popular destination and one of the most visited cities in all of Africa. Jemaa el-Fna square, recognized by UNESCO as intangible cultural heritage, transforms every evening into an unrepeatable spectacle of storytellers, musicians, acrobats, and food vendors. The Marrakech medina holds treasures such as the Bahia Palace, the Saadian Tombs, the Ben Youssef Madrasa, and the Majorelle Garden, famously restored by fashion designer Yves Saint Laurent.

Fez, the kingdom’s spiritual capital, contains the largest car-free urban area in the world, a medieval medina of more than 9,000 narrow lanes where time seems to have stopped. The Chouara Tannery, the Bou Inania and Al-Attarine madrasas, and the University of al-Qarawiyyin, widely considered the oldest continuously operating institution of higher learning in the world, are essential stops. Chefchaouen, the Rif’s famous blue city, enchants visitors with streets washed in shades of indigo that create a strikingly photogenic atmosphere.

The Sahara Desert around Merzouga and Zagora offers unforgettable experiences, from camel treks and nights in Berber camps under brilliant starry skies to the towering dunes of Erg Chebbi. The Todra and Dades Gorges carve dramatic landscapes into the Atlas Mountains, while the Atlantic coast ranges from the walled city of Essaouira, another UNESCO World Heritage Site, to the surf beaches of Taghazout and the cosmopolitan bustle of Casablanca, home to the towering Hassan II Mosque.

Fun facts about Morocco

  • The University of al-Qarawiyyin in Fez, founded in 859 by Fatima al-Fihri, is recognized by UNESCO and Guinness World Records as the oldest continuously operating institution of higher learning in the world.
  • Morocco is the world’s only producer of argan oil, extracted from a tree species found exclusively in the country’s southwest, a region designated a UNESCO biosphere reserve.
  • Morocco co-hosted the 2030 FIFA World Cup, becoming the first African nation to help stage the tournament.
  • The Fez medina contains more than 9,000 alleyways and is so labyrinthine that GPS navigation does not reliably work inside it, leading most visitors to rely on local guides.
  • Morocco controls roughly three-quarters of the world’s known phosphate reserves, making it the planet’s largest exporter of the mineral.
  • Moroccan mint tea is traditionally served in three rounds, each carrying its own meaning, and declining an offer of tea is considered a serious breach of etiquette.

Morocco in numbers

Latest World Bank and UNDP observations, each with its own year. “World median” is the middle value among the countries that report the same indicator; “#” ranks from the highest value.

Population since 1960

Morocco had 11.6 million people in 1960 and 38.4 million in 2025 — 3.3 times as many.

010M20M30M40M19601970198019902000201020201960: 11,624,9331961: 11,931,0851962: 12,253,0921963: 12,577,5021964: 12,898,8861965: 13,239,1711966: 13,597,0651967: 13,968,1751968: 14,347,8991969: 14,734,2551970: 15,129,4491971: 15,527,2251972: 15,924,6921973: 16,326,2691974: 16,733,8421975: 17,150,7861976: 17,574,1821977: 18,014,7561978: 18,477,3851979: 18,955,5891980: 19,459,9431981: 19,985,4011982: 20,520,3181983: 21,060,6961984: 21,593,7781985: 22,113,9531986: 22,600,8031987: 23,054,3921988: 23,500,5241989: 23,939,4141990: 24,375,5511991: 24,799,0141992: 25,212,4681993: 25,614,5861994: 26,000,8221995: 26,399,4291996: 26,808,1071997: 27,213,3371998: 27,621,6481999: 28,027,1792000: 28,423,4352001: 28,814,6432002: 29,198,1422003: 29,571,4152004: 29,953,0182005: 30,358,1442006: 30,771,1782007: 31,186,4682008: 31,606,7672009: 32,030,7782010: 32,467,0162011: 32,912,5882012: 33,355,2412013: 33,787,5712014: 34,204,7802015: 34,607,5882016: 35,023,4572017: 35,446,3922018: 35,839,7602019: 36,210,8982020: 36,584,2082021: 36,954,4422022: 37,329,0642023: 37,712,5052024: 38,081,1732025: 38,430,770
World Bank, SP.POP.TOTL, mid-year estimates. These can differ slightly from the 2026 UN projection used in the key facts above.

People

63.1% of people live in towns and cities (world median 63.4%). 25.2% are under 15 and 8.5% are 65 or older — a middle-aged population. Women have 2.21 children on average, close to the replacement level of about 2.1.

Urban population63.1%2025 · World BankWorld median 63.4% · #99 of 194
Aged 0–1425.2%2025 · World BankWorld median 24.3% · #92 of 194
Aged 65+8.5%2025 · World BankWorld median 7.4% · #91 of 194
Births per woman2.212024 · World BankWorld median 1.99 · #88 of 194
Population growth a year+0.9%2025 · World BankWorld median +1.0% · #104 of 194
Infant deaths per 1,000 births14.72024 · World BankWorld median 12.8 · #87 of 193

Economy

The economy grew by 4.6% in real terms in 2025. Consumer prices rose by 0.7% in 2025. Services make up the largest share of output (52.3% of GDP); agriculture contributes 10.5%.

Real GDP growth+4.6%2025 · World BankWorld median +3.2% · #53 of 191
Inflation+0.7%2025 · World BankWorld median +3.2% · #156 of 182
Unemployment9.0%2025 · World BankWorld median 5.1% · #42 of 179
Services, share of GDP52.3%2025 · World BankWorld median 57.1% · #123 of 188
Industry, share of GDP25.2%2025 · World BankWorld median 24.1% · #83 of 189
Agriculture, share of GDP10.5%2025 · World BankWorld median 6.7% · #67 of 188

Development and environment

UNDP rates human development in Morocco as high, with an index of 0.710 in 2023 (rank 120 of 193). 91.2% of people use the internet and 100.0% have access to electricity. Forest covers 12.8% of the land (world median 32.8%).

Human Development Index0.7102023 · UNDPRank 120 of 193
Internet users91.2%2024 · World BankWorld median 81.4% · #49 of 192
Access to electricity100.0%2024 · World BankWorld median 100.0% · #1 of 194
Forest area, share of land12.8%2024 · World BankWorld median 32.8% · #140 of 194

Sources: World Bank, World Development Indicators (CC BY 4.0), most recent observation from 2015 onward; UNDP Human Development Report 2025. Retrieved 2026-10-10. Sector shares need not add up to 100% because taxes and subsidies on products are excluded. Missing values are left blank rather than estimated. Sources and methodology.

Climate of Morocco

Averaged across Morocco, the warmest month is August (26.9 °C) and the coolest is January (9.9 °C), a seasonal swing of 17.0 °C. The annual mean is 18.1 °C.

About 313 mm of precipitation falls in a typical year. December is the wettest month (46 mm) and July the driest (3 mm). The wettest stretch is November to January, with 40% of the year's total.

Average temperature by month, °C — line: mean; band: average daily low to high
0°10°20°30°January: mean 9.9 °C, low 4.2 °C, high 15.7 °CFebruary: mean 11.6 °C, low 5.8 °C, high 17.4 °CMarch: mean 14.3 °C, low 8.4 °C, high 20.3 °CApril: mean 16.4 °C, low 10.5 °C, high 22.3 °CMay: mean 19.8 °C, low 13.7 °C, high 25.8 °CJune: mean 23.5 °C, low 17.1 °C, high 30.0 °CJuly: mean 26.8 °C, low 20.1 °C, high 33.7 °CAugust: mean 26.9 °C, low 20.3 °C, high 33.6 °CSeptember: mean 23.2 °C, low 17.0 °C, high 29.4 °COctober: mean 19.3 °C, low 13.4 °C, high 25.1 °CNovember: mean 14.5 °C, low 9.1 °C, high 20.0 °CDecember: mean 11.0 °C, low 5.5 °C, high 16.6 °CJanFebMarAprMayJunJulAugSepOctNovDec
Average precipitation by month, mm
0204060January: 39 mmFebruary: 36 mmMarch: 37 mmApril: 28 mmMay: 18 mmJune: 5 mmJuly: 3 mmAugust: 7 mmSeptember: 17 mmOctober: 35 mmNovember: 42 mmDecember: 46 mmJanFebMarAprMayJunJulAugSepOctNovDec
Show monthly values as a table
MonthMean °CLow °CHigh °CPrecipitation, mm
January9.94.215.739
February11.65.817.436
March14.38.420.337
April16.410.522.328
May19.813.725.818
June23.517.130.05
July26.820.133.73
August26.920.333.67
September23.217.029.417
October19.313.425.135
November14.59.120.042
December11.05.516.646

Figures are 1991–2020 averages across the whole land area of Morocco, from the World Bank Climate Change Knowledge Portal, CRU TS 4.08 (CC BY 4.0). They are not readings from one weather station: the capital, the coast and high ground can be much warmer, cooler, wetter or drier.

Travel essentials for Morocco

The practical details visitors ask about first. Traffic in Morocco drives on the right, like most of the world. Mains electricity is 220 V at 50 Hz, so devices made only for 110–120 V (common in North America) need a converter unless they are dual-voltage — most phone and laptop chargers are.

Emergency number
19Ambulance 15 · Fire 15
Driving side
Right
Plug types
Type C, Type EC: two round pins (Europlug); E: two round pins, earth pin in the socket
Voltage
220 V50 Hz
Dialling code
+212From abroad: your exit code, then 212 and the number
Currency
Moroccan Dirham (MAD)

Compiled from IEC plug and voltage standards, national emergency-service listings and the UN road-traffic conventions. Emergency numbers and local coverage can change — confirm them locally on arrival. Morocco's internet domain is .ma.

Where Morocco ranks in the world

Each position counts only the countries with data in that ranking guide. First place is the highest value — for price levels, the most expensive. Select a card to see the full table.

Browse all country rankings and lists →

Bordering countries of Morocco

Compare Morocco with another country

Frequently asked questions about Morocco

What is the capital of Morocco?

The capital of Morocco is Rabat.

What is the population of Morocco?

The UN World Population Prospects projection for Morocco is 38,762,441 people (38.8 million) on 1 July 2026. National statistical offices may publish different estimates.

What language is spoken in Morocco?

The official language of Morocco is Arabic and Berber (Amazigh).

What currency is used in Morocco?

The currency of Morocco is the Moroccan Dirham (MAD).

How big is Morocco?

Morocco covers an area of 710,850 km².

What type of government does Morocco have?

Morocco is a parliamentary constitutional monarchy.

Which countries border Morocco?

Morocco shares land borders with Algeria, Mauritania, Spain.

What is the highest point in Morocco?

The highest point in Morocco is Jbel Toubkal (4,167 m).

More countries in North Africa