Where Is Morocco

Where Is Morocco? Location, Map and Travel Guide

Where is Morocco located? Morocco is a country in northwestern Africa, close to southern Europe. It sits between the Atlantic Ocean and the Mediterranean Sea, offering a remarkable mix of historic cities, mountain landscapes, beaches and desert scenery.

Whether you are planning a holiday or simply learning about world geography, this guide explains where Morocco is on the map, which countries surround it, what its capital is and why its location makes it such a fascinating destination.

Explore Morocco Packages
Official Morocco Travel Guide

Where Is Morocco Located on the World Map?

Morocco is located in the northwestern corner of the African continent. It belongs to the Maghreb, a region of North Africa that includes several countries along the Mediterranean and Atlantic sides of the continent.

Look at a world map and find Spain and Portugal in southwestern Europe. Just south of Spain, across the Strait of Gibraltar, lies Morocco. This narrow stretch of water connects the Atlantic Ocean with the Mediterranean Sea and separates North Africa from the Iberian Peninsula.

Morocco’s position has influenced its history, trade, architecture and culture. For centuries, the country has connected African, Arab, Amazigh, Mediterranean and European influences. Today, visitors can see this diversity in its historic medinas, coastal towns, traditional markets and modern cities.

The country faces the Atlantic Ocean to the west and the Mediterranean Sea to the north. Algeria lies to the east. The southern geographic and political context involves Western Sahara, whose status is disputed internationally. Descriptions of the southern boundary therefore vary by source and by the territorial definition being used.

Quick answer: Morocco is in Africa, specifically northwestern Africa. It is separated from Spain by the Strait of Gibraltar and has coastlines on both the Atlantic Ocean and the Mediterranean Sea.

Morocco at a Glance

Continent Africa
Region Northwest Africa / Maghreb
Capital city Rabat
Largest city Casablanca
Official languages: Arabic and Amazigh
Currency: Moroccan dirham (MAD)

Morocco is a constitutional monarchy. Rabat is the national capital and an important administrative centre, while Casablanca is the country’s major commercial hub. Marrakech, Fez, Tangier and Agadir are also well-known cities, each with its own character and attractions.

Arabic and Amazigh are the official languages. Moroccan Arabic, commonly called Darija, is widely spoken in everyday life. French is also used in many business and professional settings, while Spanish is common in parts of the north and English is increasingly used in tourism.

Map of Morocco and Its Geographic Position

A map helps explain why Morocco is such a varied destination. The country’s northern coast faces Europe across the Mediterranean, while its western coast stretches along the Atlantic. Mountain ranges cross the interior, and arid landscapes extend towards the Sahara region.

Use the map below to explore Morocco’s position in North Africa. For a detailed political map, city locations and regional information, consult a trusted atlas or the official tourism website.

Geographic location map of Morocco in northwestern Africa

View the Morocco location map on Wikimedia Commons.

For another useful reference, the Moroccan National Tourist Office’s geography guide explains the country’s coastlines, mountain ranges and natural landscapes.

Which Countries Border Morocco?

Morocco’s geographic neighbours include Algeria to the east and the territory of Western Sahara to the south. The political and legal status of Western Sahara is disputed, so maps and country profiles may present this area differently.

Morocco is also closely connected to Spain. The Spanish-administered cities of Ceuta and Melilla are located on the North African coast and share land boundaries with Morocco. Across the Strait of Gibraltar, Spain is only a short distance away.

  • East: Algeria.
  • South: Western Sahara, a territory whose status is disputed.
  • North: the Mediterranean Sea and the Strait of Gibraltar, with Spain across the water.
  • West: the Atlantic Ocean.

Because borders and territorial claims can be politically sensitive, it is useful to check a current official map when researching Morocco’s exact boundaries.

Is Morocco in Africa or Europe?

Morocco is in Africa, not Europe. It is part of the African continent and lies in the northwest, directly across the Strait of Gibraltar from Spain. Its proximity to Europe makes it one of the most accessible North African destinations for many European travelers.

Although Morocco has strong historical, cultural and economic connections with Europe, its geographic location is African. These connections have developed through centuries of trade, migration, travel and cultural exchange across the Mediterranean.

For travellers, this location offers a distinctive opportunity: within one trip, you can experience historic North African cities, Amazigh mountain villages, Atlantic beaches and desert landscapes. The country’s identity reflects many influences while retaining its own rich traditions.

What Ocean and Sea Surround Morocco?

The Atlantic Ocean

The Atlantic Ocean borders Morocco to the west. Its coastline includes major cities and seaside destinations such as Casablanca, Rabat, Essaouira and Agadir. Visitors can enjoy coastal walks, seafood, surf spots and long sandy beaches, depending on the location and season.

The Mediterranean Sea

The Mediterranean coast lies to the north. Cities and towns around Tangier, Tetouan and Al Hoceima offer a different coastal atmosphere, with beaches, harbours and views across the water. The region also reflects Morocco’s long connections with Mediterranean trade and culture.

Since the Atlantic and Mediterranean coasts have different landscapes and local climates, travellers should choose destinations according to their interests. Surfing, relaxing on the beach, exploring historic towns and visiting northern coastal areas can all be part of a Morocco itinerary.

Morocco’s Mountains, Plains and Desert Landscapes

Morocco is much more than a desert destination. Its geography includes mountain ranges, fertile plains, forests, valleys, coastlines and arid regions. This variety makes it possible to experience very different landscapes during a single journey.

Atlas Mountains in Morocco with rugged peaks and mountain scenery

The Atlas Mountains

The Atlas ranges cross central Morocco and create dramatic landscapes, traditional villages and opportunities for hiking. Mount Toubkal in the High Atlas is the highest peak in North Africa.

Explore Morocco itineraries

Golden sand dunes of Erg Chebbi near Merzouga in southeastern Morocco

The Sahara Region

Southern and southeastern Morocco include arid landscapes and famous dunes around Merzouga. Visitors can plan desert excursions, enjoy sunset views and stay in a desert camp.

Discover Morocco desert tours.

Blue-painted streets of Chefchaouen in northern Morocco

The Rif Mountains

The Rif range extends across northern Morocco. It surrounds scenic towns and green landscapes, including the region around Chefchaouen, famous for its blue-painted streets.

Browse Morocco travel packages

What Is the Capital of Morocco?

The capital of Morocco is Rabat, a coastal city on the Atlantic Ocean. It is home to national government institutions, diplomatic missions and historic landmarks. The city combines modern urban areas with historic neighborhoods and monuments.

Casablanca, however, is Morocco’s largest city and a major economic center. Travellers often arrive through Casablanca before continuing to other destinations. Marrakech is especially popular for its historic medina, gardens and traditional markets, while Fez is known for its historic urban fabric and crafts.

These cities are different places with different roles. If you are planning a holiday, consider combining a major gateway city with destinations that match your interests, whether those are architecture, food, mountains, beaches or the Sahara.

Why Is Morocco’s Location Important?

Morocco’s location has shaped its history and its importance as a crossroads between Africa and Europe. Its ports and coastal cities supported trade across the Atlantic and Mediterranean, while inland routes connected markets, oasis settlements and communities across the Sahara.

Over time, Amazigh, Arab, African, Mediterranean and European influences contributed to Morocco’s distinctive cultural heritage. You can see this in its languages, food, music, architecture and traditional crafts.

Historic places such as the medinas of Fez and Marrakech, the ksar of Ait-Ben-Haddou and the historic city of Rabat help illustrate this heritage. Several Moroccan cultural sites are listed by UNESCO as World Heritage properties.

Learn more through the UNESCO World Heritage page for Morocco.

Best Places to Visit in Morocco

Once you know where Morocco is located, the next question is often where to go. Your ideal itinerary depends on the time you have available, your arrival airport and the experiences you want to enjoy.

Koutoubia Mosque in Marrakech, one of Morocco's best-known landmarks

Marrakech

Discover lively markets, historic architecture, gardens and Moroccan cuisine. Marrakech is also a popular starting point for trips to the Atlas Mountains and desert.

Explore excursions from Marrakech

Erg Chebbi sand dunes for a Sahara Desert tour in Morocco

Merzouga and the Sahara

Experience a different side of Morocco with desert scenery, camel rides and overnight camp options. Travel times can be long, so allow enough days.

See a 3-day desert tour.

Chefchaouen blue city in the Rif Mountains of northern Morocco

Chefchaouen

Visit a picturesque mountain town known for its blue-painted buildings, narrow streets and relaxed atmosphere. It fits well into a northern Morocco itinerary.

Plan a Morocco itinerary

For more ideas, browse our Morocco travel packages, compare private Morocco tours, or read the official Morocco tourism guide.

When Is the Best Time to Visit Morocco?

The best time to visit Morocco depends on the region and the activities you have in mind. Spring and autumn are often comfortable for exploring cities and traveling between regions. Summer can be very hot in inland and desert areas, while coastal destinations may offer different conditions.

Winter can bring cool weather to cities and snow to parts of the Atlas Mountains. Desert nights may also become cold, even when daytime temperatures are pleasant. Therefore, pack according to the season and the destinations on your route.

  • Spring: often suitable for city visits, mountain scenery and multi-stop itineraries.
  • Summer: consider coastal destinations and plan outdoor desert activities carefully around the heat.
  • Autumn: often a good season for exploring historic cities and combining several regions.
  • Winter: prepare for cooler evenings, possible mountain snow and cold desert nights.

Check the forecast for each destination before departure, as conditions can vary significantly between the coast, mountains and desert.

How to Travel to Morocco

International visitors can reach Morocco by air, and some travelers arrive by ferry from southern Spain. The best arrival point depends on your itinerary. Casablanca and Marrakech are common choices for travelers exploring central and southern Morocco, while Tangier is convenient for some northern routes.

Before booking, check the current entry requirements for your nationality, passport validity, airline conditions and any visa requirements that apply to your trip. Requirements can change, so use official sources rather than relying only on old travel advice.

Once in Morocco, you can travel between cities by train, bus, rental car or private transfer, depending on the route. For a multi-city trip with stops in smaller towns or the desert, compare travel times carefully before deciding how many destinations to include.

If you prefer a customized itinerary, see our private trips in Morocco and Morocco itinerary ideas.

Frequently Asked Questions About Where Morocco Is

Where is Morocco located?

Morocco is located in northwestern Africa, in the Maghreb region. It lies between the Atlantic Ocean to the west and the Mediterranean Sea to the north, close to southern Europe.

Is Morocco in Africa or Europe?

Morocco is in Africa. It is separated from Spain by the Strait of Gibraltar, but its geographic location is on the African continent.

What continent is Morocco in?

Morocco is part of Africa, specifically the northwestern region of the continent.

Which countries border Morocco?

Morocco borders Algeria to the east. Western Sahara lies to the south, but its political status is disputed. The Spanish-administered cities of Ceuta and Melilla are also located on the North African coast and share land boundaries with Morocco.

What is the capital of Morocco?

Rabat is the capital of Morocco. Casablanca is the country’s largest city and a major commercial centre.

Is Morocco close to Spain?

Yes. Morocco lies just across the Strait of Gibraltar from Spain. The two countries are connected by air and ferry routes, although schedules and routes depend on the season and operator.

Does Morocco have beaches?

Yes. Morocco has both Atlantic and Mediterranean coastlines, with beach destinations, seaside towns and opportunities for surfing and other coastal activities.

Is the Sahara Desert in Morocco?

Parts of the Sahara region extend into Morocco. Merzouga and the Erg Chebbi dunes are among the country’s best-known destinations for desert trips.

What language do people speak in Morocco?

Arabic and Amazigh are the official languages. Moroccan Arabic, or Darija, is widely spoken, and French, Spanish and English are also used in different settings.

What is the best way to explore Morocco?

The best way depends on your schedule and interests. You can use trains and buses between major cities, rent a car, or arrange a private itinerary for destinations such as the Atlas Mountains and Sahara Desert.

Ready to Discover Morocco?

Now that you know where Morocco is, start planning a journey through historic cities, mountain villages, Atlantic beaches and the Sahara Desert. Explore our travel packages and choose an itinerary that fits your time and interests.

Explore Morocco Packages
Discover Private Tours

 

Top destinations

package morocco ,tangier holiday packages

Tours from Tangier

5 tours
View of Hassan Tower and Mausoleum of Mohammed V in Rabat, Morocco under a clear sky.

Tours from Rabat

6 tours
marrakech

Tours from Marrakech

11 tours
fes

Tours from Fes

6 tours
Hassan II Mosque in Casablanca tours from casablanca Morocco

Tours from Casablanca

6 tours
Tours from Agadir

Tours From Agadir

6 tours

Proceed Booking