Morocco occupies the northwestern corner of Africa. United Nations statistics list a surface area of about 446,550 square kilometres, while Moroccan official usage commonly gives a larger figure by including Western Sahara, most of which Morocco administers and claims although the United Nations continues to treat the territory as a Non-Self-Governing Territory. Morocco proper borders Algeria to the east and Western Sahara to the south, and also meets the Spanish-administered enclaves of Ceuta and Melilla on the Mediterranean shore. The Atlantic coast turns through the Strait of Gibraltar into the western Mediterranean, placing Rabat, the capital, within a densely settled northern and western zone whose largest metropolis is Casablanca. Inland, the Rif rises across the north; broad Atlantic plains and plateaus lead toward the Middle Atlas and High Atlas, where Jebel Toubkal reaches 4,167 metres, before the land descends through the Anti-Atlas toward the arid southeast. The Sebou, Oum Er-Rbia, Moulouya, Souss and Draa basins help organize farming, reservoirs and settlement across these contrasting regions.
Climate varies sharply with latitude, altitude and exposure to the Atlantic. Northern and western lowlands have Mediterranean-type rainfall concentrated from autumn to spring, with comparatively mild coastal temperatures, while inland plateaus experience greater summer heat and winter cold. The Rif and Atlas ranges receive more precipitation than surrounding lowlands and can hold seasonal snow at higher elevations; beyond them, rain-shadow effects contribute to steppe and desert conditions toward the southeast and south. This gradient makes rainfall decisive for cereal harvests, rangelands, reservoirs and groundwater recharge. Water scarcity has therefore become a structural constraint rather than an occasional emergency: the World Bank estimated that renewable water availability fell from about 2,560 cubic metres per person in 1960 to roughly 620 in 2020. Recurrent drought, groundwater depletion and rising demand from cities, irrigation and industry have intensified pressure on river basins, while flash flooding, soil erosion and coastal exposure create different risks in wetter or more urbanized parts of the country.
These climatic divisions support ecosystems ranging from cork-oak and cedar forests in the Rif and Middle Atlas to juniper uplands, Atlantic wetlands, steppe, argan woodland, oases and Saharan vegetation. The southwest is especially associated with Argania spinosa: UNESCO’s Arganeraie Biosphere Reserve covers about 2.5 million hectares between the High Atlas, Anti-Atlas and Atlantic, where the endemic tree supports biodiversity as well as rural livelihoods and the argan-oil economy. Agriculture follows the same environmental geography. Rain-fed cereals and livestock dominate large parts of the northern and central plains and uplands, while irrigated districts produce olives, citrus, vegetables, fruit and export-oriented horticulture, notably in Souss-Massa and other developed basins. Forested land represented about 12.9% of national land area in the latest UN series for 2022. Pressure from drought, overgrazing, fire, erosion and expanding water demand affects both natural habitats and farming systems, making dams, aquifers and increasingly desalination central to the relationship between land use and settlement.
Human occupation of present-day Morocco long predates written history, and the population developed from deep Amazigh roots shaped by Mediterranean and Saharan connections. Phoenician and later Carthaginian traders established coastal contacts, while Rome incorporated the north into Mauretania Tingitana after the first century CE; Volubilis became an important provincial city without eliminating indigenous political continuity beyond Roman-controlled zones. Arab-Islamic expansion reached the western Maghreb in the early eighth century, after which Islamization and Arabization proceeded gradually through alliances, migration, scholarship and state formation. The Idrisids established an influential polity in the late eighth century, and Fez, founded in the ninth century, became a political, commercial and religious center. From the eleventh century, Amazigh-led Almoravid and Almohad empires linked Morocco to al-Andalus and trans-Saharan networks, with Marrakesh serving as a major capital; Marinid rule later restored Fez to prominence. Portuguese and Spanish coastal expansion from the fifteenth century, together with Muslim and Jewish migration from Iberia, further reshaped urban commerce before the Saadian and then Alaouite dynasties consolidated power.
European pressure intensified in the nineteenth and early twentieth centuries as France and Spain expanded political, commercial and military influence. The Treaty of Fez of 30 March 1912 established a French protectorate over most of Morocco; Spain administered zones in the north and south, while Tangier later acquired an international regime. Colonial rule altered landholding, infrastructure and urban development and created political inequalities, while resistance ranged from armed movements, including the Rif revolt of the 1920s, to nationalist organization in the cities. The exile of Sultan Mohammed V in 1953 strengthened the independence movement, and France recognized Moroccan independence in 1956, followed by the end of most Spanish protectorate arrangements. Morocco later recovered Tarfaya and Ifni, while Spain’s 1975–76 withdrawal from Western Sahara opened a conflict between Morocco and the Polisario Front; a UN-backed ceasefire began in 1991, but the territory’s final status remains unresolved. Post-independence politics centered on a strong monarchy, periodic confrontation and gradual institutional reform. The 2011 constitution retained the constitutional monarchy while expanding elected institutions and recognizing Tamazight alongside Arabic as an official language.
Morocco’s economy combines agriculture that remains highly sensitive to rainfall with increasingly diversified manufacturing and services. Provisional national accounts from the High Commission for Planning put real GDP growth at 4.9% in 2025, up from 4.4% in 2024, as agriculture rebounded while non-agricultural activity also expanded. Phosphate mining and fertilizer production remain strategic export industries, but automotive and aerospace manufacturing, agri-food processing, textiles, tourism, construction, finance and business services have broadened the productive base. The European Union was Morocco’s largest goods-trading partner in 2025, accounting for 33.7% of its merchandise trade, reflecting proximity and industrial supply chains linking Moroccan factories to European markets. Ports, rail and motorway investment has reinforced that integration. Growth, however, has not removed labor-market pressures: HCP reported 13.0% unemployment in 2025, with much higher rates among young people and graduates, while underemployment and informal work remain important. Water scarcity, imported energy needs and uneven regional opportunity continue to constrain productivity and household incomes.
The 2024 national census recorded a legal population of 36,828,330 on 1 September 2024, including 36,680,178 Moroccan citizens and 148,152 foreign residents; average annual population growth had slowed to 0.85% since 2014. Settlement is heavily concentrated in the Atlantic-facing north and center, the Saïs basin, the Mediterranean north and irrigated valleys, while mountains, steppe and desert zones are much more sparsely populated. Urbanization reached 62.8% in 2024, with 23.1 million people living in urban areas. Casablanca remained the largest city at about 3.24 million residents, followed by Tangier at 1.28 million and Fez at 1.18 million; Marrakesh exceeded one million, while Rabat forms part of a larger conurbation with Salé and Temara. Economic concentration around Casablanca, the Rabat-Salé axis, Tangier and other coastal centers helps explain continuing metropolitan growth. Administratively, the state is organized into 12 regions, 62 provinces and 13 prefectures, with elected regional and local councils operating alongside centrally appointed territorial authorities.
Arabic and Tamazight are the official languages under the 2011 constitution, but everyday linguistic life is more varied. Moroccan Arabic, or Darija, is the most widespread spoken lingua franca, while Amazigh varieties including Tarifit, Central Atlas Tamazight and Tashelhit remain important across the Rif, Atlas and southwest. Standard Arabic dominates many formal domains; French is widely used in business, higher education and parts of administration, while Spanish retains a regional presence in the north. Islam is the state religion, and Sunni Maliki practice has historically shaped institutions and public culture; Morocco also preserves a substantial Jewish historical legacy despite the much smaller present community. Cultural identity developed through Amazigh, Arab, Andalusi, Saharan, Jewish, Mediterranean and sub-Saharan exchanges. Fez’s medina embodies medieval scholarly and artisanal traditions, while Gnawa music and ritual, Andalusi music, Malhun poetry, zellij tilework and regional textile and woodworking traditions reflect overlapping social histories rather than sealed ethnic categories.
Transport infrastructure is densest along the Atlantic and Mediterranean urban-industrial corridor. Autoroutes du Maroc operates about 1,800 kilometres of motorway linking the largest metropolitan areas, ports, airports and industrial zones, while secondary-road quality is less consistent in remote mountain and desert districts. Rail connects the principal northern and central cities and freight centers; Al Boraq, opened in 2018 between Tangier and Casablanca, was Africa’s first high-speed rail service, and the high-speed network is now being extended toward Marrakesh. Tanger Med is the pivotal maritime logistics platform, handling about 10.24 million TEU in 2024 and serving container, automotive and roll-on/roll-off traffic linked to nearby industrial zones. Casablanca Mohammed V is the main international air gateway, supplemented by major airports at Marrakesh, Agadir and Tangier. Electricity capacity reached 12,016 MW in 2024, with renewables representing 45.3% of installed capacity; the national transmission network extended 29,806 km, reflecting sustained investment in wind, solar and grid integration.
Morocco’s regional weight derives from Atlantic-Mediterranean geography, proximity to Europe, West African commercial ties and a strategy centered on logistics, manufacturing, fertilizers and renewable energy. It belongs to the United Nations, African Union and World Trade Organization, while trade agreements and transport links tie it closely to Europe; the EU absorbed about one-third of Moroccan goods exports in 2025. Tanger Med and expanding rail and motorway corridors strengthen its role as a production and distribution platform between Europe and Africa. At the same time, the unresolved Western Sahara dispute and rivalry with Algeria constrain Maghreb integration and complicate regional diplomacy. Medium-term development will depend on managing severe water stress, creating productive employment for a more urban and educated population, reducing territorial disparities and matching renewable-energy expansion with industrial demand and grid capacity. Morocco’s significance therefore rests on whether it can convert geographic connectivity and accumulated infrastructure into broader, more water-efficient and employment-intensive growth.