Morocco sits at the northwestern corner of Africa, where the Atlantic Ocean meets the Mediterranean Sea and the Atlas Mountains divide fertile coastal plains from the Sahara Desert. This position gives the country an unusually diverse landscape for its size, ranging from snowcapped peaks above 13,000 feet to sea-level sand dunes, with forested valleys, rocky plateaus, and over 1,800 miles of coastline in between.
The Atlas Mountains
The Atlas Mountains are the dominant geographic feature of Morocco, running roughly southwest to northeast and acting as a natural wall between the temperate north and the desert south. The range filters air masses and human movement, allowing east-west travel far more easily than north-south crossings. Three distinct sub-ranges define the system within Morocco: the High Atlas, the Middle Atlas, and the Anti-Atlas.
The High Atlas is the most dramatic of the three. Mount Toubkal, its highest peak, reaches 13,665 feet (4,165 meters), making it the tallest point in all of North Africa. The surrounding peaks hold snow well into summer, and deep river valleys cut through the massif where communities have farmed terraced slopes for centuries. The range was shaped by the slow collision of tectonic plates, and a 2023 earthquake near Al Haouz (magnitude 6.8) was a reminder that this compression is still active, generating seismic risk along ancient fault lines.
The Middle Atlas sits to the northeast, where the Tell Atlas and Saharan Atlas systems merge. It receives more rainfall than the High Atlas and supports thick forests of cedar and oak. The terrain here is gentler, with broad plateaus, lakes, and grasslands that serve as important grazing land. The Rif Mountains, a separate crescent-shaped range in the far north, arc between the cities of Ceuta and Melilla along the Mediterranean coast. Several points along the Rif crest exceed 5,000 feet, and Mount Tidirhine reaches 8,058 feet at its highest.
The Coastline
Morocco has two distinct coasts. The Mediterranean shore in the north is relatively short and rocky, shaped by the same geology that forms the Rif Mountains. It terminates at the Strait of Gibraltar, the narrow channel separating Africa from Europe. At its narrowest point, the strait is only 14 miles wide, with an average depth of about 1,200 feet. On the Moroccan side, Jebel Moussa is one of the traditional “Pillars of Heracles” marking the strait’s entrance.
The Atlantic coast stretches far longer, running south from Tangier past Casablanca, Essaouira, and Agadir before reaching the disputed Western Sahara region. This shoreline tends to be flatter and sandier than the Mediterranean side, with broad beaches, coastal cliffs, and wind-exposed plains. Cool ocean currents moderate temperatures along the Atlantic, keeping cities like Casablanca milder than inland areas at the same latitude. The contrast between the two coasts is stark: the Mediterranean side is warm, sheltered, and dry in summer, while the Atlantic side is cooler, windier, and more exposed to ocean swells.
The Sahara and Southern Deserts
South and east of the Atlas Mountains, rainfall drops sharply and the landscape transitions into desert. Morocco’s portion of the Sahara includes several distinct terrain types. Erg landscapes are the classic sandy deserts, with wind-blown dunes that can reach hundreds of feet tall. The Erg Chebbi dunes near Merzouga are among the most recognizable, rising from otherwise flat terrain. Hammada landscapes are rockier, consisting of weathered bedrock on elevated plateaus with very little sand. Reg surfaces, sometimes called desert pavement, are hard-packed ground covered in small stones and pebbles rather than loose sand.
The transition zone between the mountains and the deep desert is not abrupt. A band of semi-arid steppe runs along the southern flanks of the Atlas, where scattered drought-adapted shrubs survive on minimal rainfall. These steppe ecosystems gradually thin out as you move further south, giving way to the barren expanses of the deep Sahara.
Rivers and Water Resources
Morocco’s rivers originate in the Atlas Mountains and flow outward toward the coasts or into the desert, where many simply disappear into dry riverbeds. The Sebou River in the north is the largest river in North Africa by volume and supplies water to roughly a quarter of the Moroccan population. It drains a basin in the fertile plains between the Rif and Middle Atlas ranges before emptying into the Atlantic.
The Moulouya River flows northeast into the Mediterranean, draining much of eastern Morocco. The Draa, one of the longest rivers in the country, runs south from the High Atlas toward the Sahara but rarely reaches the Atlantic, losing its water to irrigation and evaporation long before it could reach the coast. The Oum Er-Rbia and Tensift rivers serve the central plains and are critical for agriculture in the Marrakech and Casablanca regions. Water availability is highly seasonal: rivers swell with snowmelt and winter rains, then shrink dramatically during summer.
Vegetation Zones and Climate Bands
Morocco contains roughly 4,200 plant species spread across climate zones that range from Mediterranean to Saharan. This diversity is unusual for North Africa and reflects the dramatic shifts in altitude, rainfall, and temperature across short distances.
The northern slopes of the Atlas and the Rif Mountains receive enough rain to support dense forests of cork oak, cedar, and pine. The Middle Atlas in particular is known for its cedar forests, some of which shelter Barbary macaques. As elevation increases in the High Atlas, forests give way to alpine grasslands. Researchers have identified at least four distinct grassland types at different altitude bands, from perennial ryegrass meadows between 1,300 and 2,300 meters up to high-mountain grasslands above 3,000 meters dominated by spiny, cold-adapted shrubs that produce large numbers of seeds to survive harsh conditions.
On the southern and eastern slopes, reduced rainfall creates arid steppe ecosystems dominated by esparto grass and wormwood shrubs. These steppes cover enormous areas of eastern Morocco and the pre-Saharan zone. Below the steppe, at the lowest elevations and driest conditions, vegetation becomes sparse to nonexistent, limited to oases fed by underground water and the occasional drought-resistant acacia in dry riverbeds.
The Fertile Plains
Between the mountains and the coasts lie several broad, flat plains that form Morocco’s agricultural heartland. The Gharb plain in the northwest, fed by the Sebou River, is one of the most productive farming regions in the country. The Chaouia plain around Casablanca and the Haouz plain near Marrakech are similarly important, supporting wheat, barley, citrus, and olive cultivation.
These plains exist because rivers carried sediment down from the Atlas for millions of years, building up deep, fertile soils on relatively flat terrain. They sit at low elevations with mild winters, making them ideal for agriculture. The majority of Morocco’s population lives in these lowland areas or along the coast, leaving the mountains and desert comparatively sparsely inhabited. This concentration reflects a basic geographic reality: the Atlas Mountains capture most of the country’s rainfall on their northern and western slopes, channeling water into the plains while leaving the south dry.

