In 788, about a century after the Arab conquest of North Africa, a series of Moroccan Muslim dynasties began to rule in Morocco. In the 16th century, the Sa’adi monarchy, particularly under Ahmad al-MANSUR (1578-1603), repelled foreign invaders and inaugurated a golden age. The Alaouite Dynasty, to which the current Moroccan royal family belongs, dates from the 17th century. In 1860, Spain occupied northern Morocco and ushered in a half-century of trade rivalry among European powers that saw Morocco’s sovereignty steadily erode; in 1912, the French imposed a protectorate over the country. A protracted independence struggle with France ended successfully in 1956. The internationalized city of Tangier and most Spanish possessions were turned over to the new country that same year. Sultan MOHAMMED V, the current monarch’s grandfather, organized the new state as a constitutional monarchy and in 1957 assumed the title of king. Since Spain’s 1976 withdrawal from Western Sahara, Morocco has extended its de facto administrative control to roughly 75% of this territory; however, the UN does not recognize Morocco as the administering power for Western Sahara. The UN since 1991 has monitored a cease-fire, which broke down in late 2020, between Morocco and the Polisario Front - an organization advocating the territory’s independence - and restarted negotiations over the status of the territory in December 2018. On 10 December 2020, the US recognized Morocco’s sovereignty over all of Western Sahara.King MOHAMMED VI in early 2011 responded to the spread of pro-democracy protests in the North Africa region by implementing a reform program that included a new constitution, passed by popular referendum in July 2011, under which some new powers were extended to parliament and the prime minister, but ultimate authority remains in the hands of the monarch. In November 2011, the Justice and Development Party (PJD) - a moderate Islamist party - won the largest number of seats in parliamentary elections, becoming the first Islamist party to lead the Moroccan Government. In September 2015, Morocco held its first direct elections for regional councils, one of the reforms included in the 2011 constitution. The PJD again won the largest number of seats in nationwide parliamentary elections in October 2016, but it lost its plurality to the probusiness National Rally of Independents (RNI) in September 2021. In December 2020, Morocco signed a normalization agreement with Israel, similar to those that Bahrain, the United Arab Emirates, and Sudan had concluded with Israel earlier in 2020.
land: 716,300 sq km
water: 250 sq km
border countries (3): Algeria 1,941 km; Mauritania 1,564 km; Spain (Ceuta) 8 km and Spain (Melilla) 10.5 km
note: an additional 75-meter border segment exists between Morocco and the Spanish exclave of Penon de Velez de la Gomera
contiguous zone: 24 nm
exclusive economic zone: 200 nm
continental shelf: 200-m depth or to the depth of exploitation
note: data does not include former Western Sahara
lowest point: Sebkha Tah -59 m
mean elevation: 909 m
arable land: 17.5% (2018 est.)
permanent crops: 2.9% (2018 est.)
permanent pasture: 47.1% (2018 est.)
forest: 11.5% (2018 est.)
other: 21% (2018 est.)
note: does not include the area of the former Western Sahara, which is almost exclusively desert
37,067,420 (2023 est.)
note: includes Western Sahara
noun: Moroccan(s)
adjective: Moroccan
Arab-Berber 99%, other 1%
note: does not include data from the former Western Sahara
Arabic (official), Berber languages (Tamazight (official), Tachelhit, Tarifit), French (often the language of business, government, and diplomacy); note - the proportion of Berber speakers is disputed
major-language sample(s):
كتاب ديال لحقائق متاع العالم، احسن مصدر متاع المعلومات الأساسية (Arabic)
The World Factbook, the indispensable source for basic information.
Muslim 99% (official; virtually all Sunni, <0.1% Shia), other 1% (includes Christian, Jewish, and Baha’i); note - Jewish about 3,000-3,500 (2020 est.)
note: does not include data from the former Western Sahara
Morocco is undergoing a demographic transition. Its population is growing but at a declining rate, as people live longer and women have fewer children. Infant, child, and maternal mortality rates have been reduced through better health care, nutrition, hygiene, and vaccination coverage, although disparities between urban and rural and rich and poor households persist. Morocco’s shrinking child cohort reflects the decline of its total fertility rate from 5 in mid-1980s to 2.2 in 2010, which is a result of increased female educational attainment, higher contraceptive use, delayed marriage, and the desire for smaller families. Young adults (persons aged 15-29) make up almost 26% of the total population and represent a potential economic asset if they can be gainfully employed. Currently, however, many youths are unemployed because Morocco’s job creation rate has not kept pace with the growth of its working-age population. Most youths who have jobs work in the informal sector with little security or benefits.During the second half of the 20th century, Morocco became one of the world’s top emigration countries, creating large, widely dispersed migrant communities in Western Europe. The Moroccan Government has encouraged emigration since its independence in 1956, both to secure remittances for funding national development and as an outlet to prevent unrest in rebellious (often Berber) areas. Although Moroccan labor migrants earlier targeted Algeria and France, the flood of Moroccan “guest workers” from the mid-1960s to the early 1970s spread widely across northwestern Europe to fill unskilled jobs in the booming manufacturing, mining, construction, and agriculture industries. Host societies and most Moroccan migrants expected this migration to be temporary, but deteriorating economic conditions in Morocco related to the 1973 oil crisis and tighter European immigration policies resulted in these stays becoming permanent.A wave of family migration followed in the 1970s and 1980s, with a growing number of second generation Moroccans opting to become naturalized citizens of their host countries. Spain and Italy emerged as new destination countries in the mid-1980s, but their introduction of visa restrictions in the early 1990s pushed Moroccans increasingly to migrate either legally by marrying Moroccans already in Europe or illegally to work in the underground economy. Women began to make up a growing share of these labor migrants. At the same time, some higher-skilled Moroccans went to the US and Quebec, Canada.In the mid-1990s, Morocco developed into a transit country for asylum seekers from Sub-Saharan Africa and illegal labor migrants from Sub-Saharan Africa and South Asia trying to reach Europe via southern Spain, Spain’s Canary Islands, or Spain’s North African enclaves, Ceuta and Melilla. Forcible expulsions by Moroccan and Spanish security forces have not deterred these illegal migrants or calmed Europe’s security concerns. Rabat remains unlikely to adopt an EU agreement to take back third-country nationals who have entered the EU illegally via Morocco. Thousands of other illegal migrants have chosen to stay in Morocco until they earn enough money for further travel or permanently as a “second-best” option. The launching of a regularization program in 2014 legalized the status of some migrants and granted them equal access to education, health care, and work, but xenophobia and racism remain obstacles.
0-14 years: 26.01% (male 4,919,266/female 4,722,463)
15-64 years: 65.92% (male 12,124,939/female 12,311,552)
65 years and over: 8.06% (2023 est.) (male 1,455,355/female 1,533,845)
note: does not include data from the former Western Sahara
total dependency ratio: 52.2
youth dependency ratio: 40.9
elderly dependency ratio: 11.3
potential support ratio: 8.9 (2021 est.)
note: does not include data from the former Western Sahara
total: 30.2 years (2023 est.)
male: 29.8 years
female: 30.7 years
note: does not include data from the former Western Sahara
0.88% (2023 est.)
note: does not include data from the former Western Sahara
17.1 births/1,000 population (2023 est.)
note: does not include data from the former Western Sahara
6.6 deaths/1,000 population (2023 est.)
note: does not include data from the former Western Sahara
-1.7 migrant(s)/1,000 population (2023 est.)
note: does not include data from the former Western Sahara
the highest population density is found along the Atlantic and Mediterranean coasts; a number of densely populated agglomerations are found scattered through the Atlas Mountains as shown in this
urban population: 65.1% of total population (2023)
rate of urbanization: 1.88% annual rate of change (2020-25 est.)
note: data does not include former Western Sahara
3.893 million Casablanca, 1.959 million RABAT (capital), 1.290 million Fes, 1.314 million Tangier, 1.050 million Marrakech, 979,000 Agadir (2023)
at birth: 1.05 male(s)/female
0-14 years: 1.04 male(s)/female
15-64 years: 0.98 male(s)/female
65 years and over: 0.95 male(s)/female
total population: 1 male(s)/female (2023 est.)
note: does not include data from the former Western Sahara
72 deaths/100,000 live births (2020 est.)
note: does not include data from the former Western Sahara
total: 18.7 deaths/1,000 live births (2023 est.)
male: 20.9 deaths/1,000 live births
female: 16.4 deaths/1,000 live births
note: does not include data from the former Western Sahara
total population: 74 years (2023 est.)
male: 72.3 years
female: 75.7 years
note: does not include data from the former Western Sahara
2.27 children born/woman (2023 est.)
note: does not include data from the former Western Sahara
1.11 (2023 est.)
70.8% (2018)
note: does not include data from the former Western Sahara
improved: urban: 98.3% of population
rural: 79.1% of population
total: 91% of population
unimproved: urban: 1.7% of population
rural: 20.9% of population
total: 9% of population (2017 est.)
note: does not include data from the former Western Sahara
6% of GDP (2020)
note: does not include data from the former Western Sahara
0.73 physicians/1,000 population (2017)
note: does not include data from the former Western Sahara
1 beds/1,000 population (2017)
note: does not include data from the former Western Sahara
improved: urban: 98.2% of population
rural: 72.4% of population
total: 88.8% of population
unimproved: urban: 1.8% of population
rural: 27.6% of population
total: 11.2% of population (2020 est.)
note: does not include data from the former Western Sahara
26.1% (2016)
note: does not include data from the former Western Sahara
total: 0.51 liters of pure alcohol (2019 est.)
beer: 0.18 liters of pure alcohol (2019 est.)
wine: 0.24 liters of pure alcohol (2019 est.)
spirits: 0.09 liters of pure alcohol (2019 est.)
other alcohols: 0 liters of pure alcohol (2019 est.)
total: 14.5% (2020 est.)
male: 28.2% (2020 est.)
female: 0.8% (2020 est.)
2.8% (2019/20)
note: does not include data from the former Western Sahara
58.8% (2023 est.)
women married by age 15: 0.5%
women married by age 18: 13.7% (2018 est.)
6.8% of GDP (2020)
note: does not include data from the former Western Sahara
definition: age 15 and over can read and write
total population: 75.9%
male: 84.8%
female: 67.4% (2021)
note: does not include data from the former Western Sahara
total: 14 years
male: 14 years
female: 14 years (2021)
note: does not include data from the former Western Sahara
in the north, land degradation/desertification (soil erosion resulting from farming of marginal areas, overgrazing, destruction of vegetation); water and soil pollution due to dumping of industrial wastes into the ocean and inland water sources, and onto the land; in the south, desertification; overgrazing; sparse water and lack of arable land
note: data does not include former Western Sahara
party to: Biodiversity, Climate Change, Climate Change-Kyoto Protocol, Climate Change-Paris Agreement, Comprehensive Nuclear Test Ban, Desertification, Endangered Species, Hazardous Wastes, Law of the Sea, Marine Dumping-London Convention, Marine Dumping-London Protocol, Nuclear Test Ban, Ozone Layer Protection, Ship Pollution, Wetlands, Whaling
signed, but not ratified: Environmental Modification
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
note: data does not include former Western Sahara
agricultural land: 67.5% (2018 est.)
arable land: 17.5% (2018 est.)
permanent crops: 2.9% (2018 est.)
permanent pasture: 47.1% (2018 est.)
forest: 11.5% (2018 est.)
other: 21% (2018 est.)
note: does not include the area of the former Western Sahara, which is almost exclusively desert
urban population: 65.1% of total population (2023)
rate of urbanization: 1.88% annual rate of change (2020-25 est.)
note: data does not include former Western Sahara
0.13% of GDP (2018 est.)
0% of GDP (2018 est.)
particulate matter emissions: 13.44 micrograms per cubic meter (2019 est.)
carbon dioxide emissions: 61.28 megatons (2016 est.)
methane emissions: 17.16 megatons (2020 est.)
note: data does not include former Western Sahara
municipal solid waste generated annually: 6.852 million tons (2014 est.)
municipal solid waste recycled annually: 548,160 tons (2014 est.)
percent of municipal solid waste recycled: 8% (2014 est.)
note: data does not include former Western Sahara
Draa - 1,100 km
municipal: 1.06 billion cubic meters (2020 est.)
industrial: 210 million cubic meters (2020 est.)
agricultural: 9.16 billion cubic meters (2020 est.)
note: data does not include former Western Sahara
29 billion cubic meters (2020 est.)
note: data does not include former Western Sahara
lower middle-income North African economy; ongoing recovery from recent drought; rebounding via tourism, manufacturing, and aeronautics industries; major US free trade agreement; developing energy exporter
$303.336 billion (2021 est.)
$281.049 billion (2020 est.)
$302.813 billion (2019 est.)
note: data are in 2017 dollars
7.93% (2021 est.)
-7.19% (2020 est.)
2.89% (2019 est.)
$8,100 (2021 est.)
$7,500 (2020 est.)
$8,200 (2019 est.)
note: data are in 2017 dollars
$118.858 billion (2019 est.)
1.4% (2021 est.)
0.71% (2020 est.)
0.3% (2019 est.)
Fitch rating: BB+ (2020)
Moody’s rating: Ba1 (1999)
Standard & Poors rating: BBB- (2010)
note: The year refers to the year in which the current credit rating was first obtained.
agriculture: 14% (2017 est.)
industry: 29.5% (2017 est.)
services: 56.5% (2017 est.)comparison rankings:
household consumption: 58% (2017 est.)
government consumption: 18.9% (2017 est.)
investment in fixed capital: 28.4% (2017 est.)
investment in inventories: 4.2% (2017 est.)
exports of goods and services: 37.1% (2017 est.)
imports of goods and services: -46.6% (2017 est.)
wheat, sugar beet, milk, potatoes, olives, tangerines/mandarins, tomatoes, oranges, barley, onions
automotive parts, phosphate mining and processing, aerospace, food processing, leather goods, textiles, construction, energy, tourism
6.84% (2021 est.)
11.814 million (2021 est.)
11.47% (2021 est.)
11.45% (2020 est.)
9.28% (2019 est.)
total: 27.2% (2021 est.)
male: 26.7%
female: 28.7%
note: does not include data from the former Western Sahara
4.8% (2013 est.)
39.5 (2013 est.)
on food: 34% of household expenditures (2018 est.)
on alcohol and tobacco: 1.4% of household expenditures (2018 est.)
lowest 10%: 2.7%
highest 10%: 33.2% (2007)
revenues: $30.697 billion (2019 est.)
expenditures: $35.591 billion (2019 est.)
-3.6% (of GDP) (2017 est.)
65.1% of GDP (2017 est.)
64.9% of GDP (2016 est.)
20.02% (of GDP) (2020 est.)
calendar year
-$3.261 billion (2021 est.)
-$1.368 billion (2020 est.)
-$4.407 billion (2019 est.)
$47.078 billion (2021 est.) note: data are in current year dollars
$37.545 billion (2020 est.) note: data are in current year dollars
$44.048 billion (2019 est.) note: data are in current year dollars
Spain 20%, France 19%, India 5%, Brazil 5%, Italy 5% (2021)
cars, fertilizers, insulated wiring, phosphoric acid, clothing and apparel (2021)
$60.047 billion (2021 est.) note: data are in current year dollars
$46.358 billion (2020 est.) note: data are in current year dollars
$54.097 billion (2019 est.) note: data are in current year dollars
Spain 19%, France 11%, China 9%, United States 7%, Germany 5%, Turkey 5%, Italy 5% (2019)
refined petroleum, cars and vehicle parts, natural gas, wheat, coal (2021)
$35.648 billion (31 December 2021 est.)
$35.998 billion (31 December 2020 est.)
$26.413 billion (31 December 2019 est.)
$52.957 billion (2019 est.)
$51.851 billion (2018 est.)
Moroccan dirhams (MAD) per US dollar -
Exchange rates:
8.988 (2021 est.)
9.497 (2020 est.)
9.617 (2019 est.)
9.386 (2018 est.)
9.692 (2017 est.)
electrification - total population: 100% (2021)
installed generating capacity: 14.187 million kW (2020 est.)
consumption: 29,447,883,000 kWh (2019 est.)
exports: 624 million kWh (2020 est.)
imports: 856 million kWh (2020 est.)
transmission/distribution losses: 6.703 billion kWh (2019 est.)comparison rankings:
fossil fuels: 81.6% of total installed capacity (2020 est.)
nuclear: 0% of total installed capacity (2020 est.)
solar: 1.1% of total installed capacity (2020 est.)
wind: 13% of total installed capacity (2020 est.)
hydroelectricity: 4.4% of total installed capacity (2020 est.)
tide and wave: 0% of total installed capacity (2020 est.)
geothermal: 0% of total installed capacity (2020 est.)
biomass and waste: 0% of total installed capacity (2020 est.)
production: 0 metric tons (2020 est.)
consumption: 9.321 million metric tons (2020 est.)
exports: 0 metric tons (2020 est.)
imports: 9.321 million metric tons (2020 est.)
proven reserves: 14 million metric tons (2019 est.)
total petroleum production: 0 bbl/day (2021 est.)
refined petroleum consumption: 307,500 bbl/day (2019 est.)
crude oil and lease condensate exports: 0 bbl/day (2018 est.)
crude oil and lease condensate imports: 0 bbl/day (2018 est.)
crude oil estimated reserves: 700,000 barrels (2021 est.)
66,230 bbl/day (2017 est.)
9,504 bbl/day (2015 est.)
229,300 bbl/day (2015 est.)
production: 105.678 million cubic meters (2019 est.)
consumption: 1,051,658,000 cubic meters (2019 est.)
exports: 0 cubic meters (2021 est.)
imports: 950.765 million cubic meters (2019 est.)
proven reserves: 1.444 billion cubic meters (2021 est.)
60.2 million metric tonnes of CO2 (2019 est.)
from coal and metallurgical coke: 20.267 million metric tonnes of CO2 (2019 est.)
from petroleum and other liquids: 37.834 million metric tonnes of CO2 (2019 est.)
from consumed natural gas: 2.099 million metric tonnes of CO2 (2019 est.)
24.59 million Btu/person (2019 est.)
number of registered air carriers: 3 (2020)
inventory of registered aircraft operated by air carriers: 76
annual passenger traffic on registered air carriers: 8,132,917 (2018)
annual freight traffic on registered air carriers: 97.71 million (2018) mt-km
CN
62 (2021)
36
civil airports: 7
military airports: 5
joint use (civil-military) airports: 4
other airports: 20
note: paved runways have a concrete or asphalt surface but not all have facilities for refueling, maintenance, or air traffic control; the length of a runway required for aircraft to safely operate depends on a number of factors including the type of aircraft, the takeoff weight (including passengers, cargo, and fuel), engine types, flap settings, landing speed, elevation of the airport, and average maximum daily air temperature; paved runways can reach a length of 5,000 m (16,000 ft.), but the “typical” length of a commercial airline runway is between 2,500-4,000 m (8,000-13,000 ft.)
26
note: unpaved runways have a surface composition such as grass or packed earth and are most suited to the operation of light aircraft; unpaved runways are usually short, often less than 1,000 m (3,280 ft.) in length; airports with unpaved runways often lack facilities for refueling, maintenance, or air traffic control
1 (2021)
944 km gas, 270 km oil, 175 km refined products (2013)
total: 2,067 km (2014)
standard gauge: 2,067 km (2014) 1.435-m gauge (1,022 km electrified)
total: 57,300 km (2018)
total: 93 (2022)
by type: container ship 6, general cargo 5, oil tanker 2, other 80
major seaport(s): Ad Dakhla, Agadir, Casablanca, Jorf Lasfar, Laayoune (El Aaiun), Mohammedia, Safi, Tangier
container port(s) (TEUs): Tangier (7,173,870) (2021)
LNG terminal(s) (import): Jorf Lasfar (planned)