Skip to content
Magnificent Travel
Colorful market scene with traditional Moroccan architecture and merchandise on display in a sunlit alley.

Map of Morocco: Major Cities, Atlas Mountains and Sahara Desert

By Magnificent Travel · Updated November 17, 2026
Map of Morocco: Major Cities, Atlas Mountains and Sahara Desert

Map of Morocco: Major Cities, Atlas Mountains and Sahara Desert

Morocco's geography is shaped by two coastlines, several mountain ranges and the dry expanses of the southeast. The Atlantic Ocean borders the west, the Mediterranean lies to the north, and the Atlas Mountains rise between fertile plains and the northern fringes of the Sahara. These contrasts help explain why Morocco's major cities occupy such different settings.

On a map of Morocco, Casablanca and Rabat line the Atlantic coast, Tangier faces the Strait of Gibraltar, and Fes sits inland. Marrakech spreads across a plain below the High Atlas, while Ouarzazate and Merzouga belong to the increasingly arid southeast. The mountains, more than straight-line distances, make sense of how these places relate to one another.

Where Is Morocco Located on the World Map?

Morocco occupies the northwestern corner of Africa, facing the Atlantic Ocean to the west and the Mediterranean Sea to the north. Across the Strait of Gibraltar, southern Spain lies on the European side of the waterway.

Algeria borders Morocco to the east. To the south is Western Sahara, a disputed territory largely administered by Morocco. Its final political status remains unresolved under the United Nations process, and maps may depict the boundary differently.

The country's geography ranges from coastal lowlands and cultivated inland plains to mountain ranges, stony plateaus and Saharan environments.

Casablanca, Rabat and Morocco's Atlantic Coast

The Atlantic coast is home to Morocco's largest urban concentration. Casablanca, the country's largest city, developed beside the ocean southwest of Rabat. The capital, Rabat, stands near the mouth of the Bou Regreg River, opposite Salé.

Southward, the coastline passes Essaouira, a historic port on an exposed Atlantic headland, before reaching Agadir near the western end of the Anti-Atlas region. Behind these cities, the terrain shifts from broad northern plains to increasingly rugged country farther south.

This long Atlantic frontage is distinct from the shorter Mediterranean coastline, where mountains approach the sea much more closely.

Tangier, Chefchaouen and the Rif Mountains

Tangier sits near the Strait of Gibraltar, where the Atlantic connects with the Mediterranean. Southern Spain is visible across the narrow waterway in clear conditions, placing northern Morocco close to Europe.

East of Tangier, the Rif Mountains curve across the north of the country. Tetouan stands near their northern foothills, and Al Hoceima occupies the Mediterranean coast farther east.

Chefchaouen, known for its blue-painted old town, is tucked into the Rif foothills south of Tetouan. Its inland mountain setting distinguishes it from Tangier and the coastal settlements, even though all belong to northern Morocco.

Fes, Meknes and the Northern Interior

Away from the coast, Fes occupies an inland valley near the northern approaches to the Middle Atlas. Its historic medina developed within this sheltered setting, surrounded by hills and agricultural land.

Meknes lies west of Fes, on a fertile plateau. To its north, the Roman ruins of Volubilis overlook the plains near Moulay Idriss Zerhoun.

The relationship between these cities and their surroundings is revealing: Morocco's historic urban centres are not confined to its seaboard. The northern interior supports major settlements between the Rif Mountains and the Middle Atlas.

Map of Morocco showing major cities, regions, and the national flag.

Where Are the Atlas Mountains in Morocco?

Three major mountain systems shape much of Morocco's interior. The Middle Atlas occupies the north-central uplands, including the cedar-forested country around Ifrane and Azrou. The High Atlas extends across the central and southern interior, forming the country's highest and most prominent range.

Jebel Toubkal, southwest of Marrakech, reaches approximately 4,167 metres and is Morocco's highest peak. Farther southwest, the Anti-Atlas forms a separate range of older, rugged mountains approaching the Atlantic hinterland.

Together, these ranges influence where valleys, towns and cultivated plains occur. Beyond parts of the High Atlas, the land becomes markedly drier toward the Saharan southeast.

Marrakech and the Haouz Plain

Marrakech is not a mountain city, despite its close association with the Atlas. It stands on the Haouz Plain, with the High Atlas rising dramatically to the south.

The plain extends around the city, while valleys such as Ourika cut into the mountains beyond it. Higher passes, including Tizi n'Tichka, cross the range toward the Ouarzazate area on its southern side.

This difference in elevation is central to locating Marrakech: the city belongs to the broad inland plain, not the steep mountain terrain visible on the horizon.

Ouarzazate, Aït Benhaddou and the Southern Valleys

Beyond the High Atlas, Ouarzazate sits amid arid plateaus and valleys near the southern mountain foothills. Northwest of the city, Aït Benhaddou rises beside the Ounila Valley, its earthen buildings blending into the surrounding hills.

Farther east, the Dades Valley cuts through rocky country dotted with oasis settlements. The Todra Gorge, near Tinghir, belongs to a separate valley system and is distinguished by its steep rock walls.

These narrow cultivated corridors interrupt otherwise dry terrain. They mark a gradual change from the Atlas Mountains to the desert landscapes farther south and east, rather than a sudden boundary where mountains end and sand begins.

Merzouga, Erg Chebbi and the Saharan Southeast

Merzouga sits beside Erg Chebbi, a prominent field of sand dunes in southeastern Morocco near the Algerian border. The dunes are a distinctive feature of the region, but they do not represent the whole Moroccan Sahara.

Around them are rocky plateaus, gravel plains and oasis settlements. Farther west, the Draa Valley extends southward from the Atlas foothills, with Zagora among its best-known towns.

Merzouga and Zagora occupy different parts of Morocco's arid southeast. Their positions show why a physical map of the Sahara contains far more than continuous sand: mountain margins, river valleys and isolated dune fields all form part of the region.

Frequently asked questions

Morocco is in northwestern Africa, with Atlantic and Mediterranean coastlines. It borders Algeria, while disputed Western Sahara lies along its southern boundary.

Marrakech stands on the Haouz Plain, immediately north of the High Atlas. The mountains rise south of the city rather than surrounding its centre.

Casablanca lies southwest of Rabat on Morocco's Atlantic coast. Rabat is the national capital, while Casablanca is the country's largest city.

Chefchaouen is inland in northern Morocco, among the Rif foothills. It lies south of Tetouan and away from the Mediterranean shoreline.

No. Fes is an inland city near the Middle Atlas foothills, east of Meknes. It is separated from Morocco's Atlantic and Mediterranean coastlines.

Merzouga lies in southeastern Morocco near Algeria, beside the Erg Chebbi dunes. The surrounding Saharan terrain also includes rocky plains and oasis settlements.

Yes. Morocco faces the Atlantic Ocean to the west and the Mediterranean Sea to the north. The two meet near the Strait of Gibraltar.

Tours in Morocco

All Morocco tours

Travel guides: Morocco

All travel guides

A stunning aerial view of the Greek islands in Fira at sunset. Serene seascape and sky.

Tell us where you would like to go

Share your plans and get a personalized itinerary and quote from our travel experts.