Where Is Morocco in Africa? The Complete Answer with Facts, Maps, and Context
Yes — Morocco is in Africa. Specifically, Morocco is located in the northwestern corner of the African continent, in a sub-region called the Maghreb, just 14 kilometres from Spain across the Strait of Gibraltar, making it the African country geographically closest to Europe. The confusion is understandable. Morocco speaks Arabic. It practices Islam. It is a member of the Arab League. All of these things are also true of Middle Eastern countries — and that overlap leads millions of people every year to search “is Morocco in Africa or the Middle East?” or “what continent is Morocco in?” before booking their trip. This guide answers that question definitively, explains why the confusion exists, and gives you every geographic fact about Morocco’s location you actually need.
The short answer is yes. The longer answer — explaining why so many people ask the question in the first place — is the rest of this guide.
Where Is Morocco in Africa? The Direct Answer
Morocco is in Africa — unambiguously, geographically, and politically — classified as a North African country in the Maghreb sub-region, a member of the African Union since 2017, and consistently listed under Africa in every international classification system including the United Nations, World Bank, UNESCO, and the International Monetary Fund.
There is no geographic ambiguity here. Morocco:
- Sits on the African continental plate
- Shares its only land borders with African countries (Algeria, and Mauritania via Western Sahara)
- Is a full member of the African Union
- Is classified as Africa by every international body
- Has its capital, its largest city, its Sahara desert, and its Atlas Mountains all on the African continent
Where Is Morocco’s Location in Africa: The Geographic Facts
Morocco occupies the northwestern corner of Africa, sitting between latitudes 27°N and 36°N and longitudes 1°W and 13°W — coordinates that place it squarely in the Northern Hemisphere and at the westernmost edge of North Africa, where the continent narrows toward the Strait of Gibraltar.
| Geographic Fact | Detail |
|---|---|
| Continent | Africa |
| Sub-region | North Africa / Maghreb |
| Position on continent | Northwestern corner |
| Closest country (different continent) | Spain, 14 km across the Strait of Gibraltar |
| Northern coast | Mediterranean Sea |
| Western coast | Atlantic Ocean |
| Eastern border | Algeria |
| Southern territory | Western Sahara (administered) |
| Total area | 710,850 km² |
| Africa rank by size | 5th largest country |
| Global rank by size | 57th |
What Continent Is Morocco In?
Morocco is in Africa — the continent’s northwestern corner, to be precise.
Morocco’s continental identity is confirmed by every classification:
- United Nations: Morocco is grouped under the Northern Africa sub-region of Africa
- African Union: Morocco rejoined the African Union in 2017, confirming its continental political identity
- World Bank: Classifies Morocco in the Middle East and North Africa (MENA) region for economic reporting — note that MENA is an economic and cultural grouping, not a geographic continent classification
- FIFA: Morocco competes in the African Football Confederation (CAF), not UEFA (Europe) or AFC (Asia)
- Olympics: Morocco competes as an African nation
- Geographic convention: All major atlases and geographic reference systems place Morocco in Africa
The one nuance worth understanding: the World Bank’s MENA classification groups Morocco economically with Middle Eastern countries because of shared economic characteristics (oil-adjacent economies, development patterns, trade relationships). This is an administrative convenience, not a geographic statement — Morocco remains in Africa regardless of which economic reporting group it belongs to.
Where Is Morocco in Africa or the Middle East? Why People Ask
Morocco is in Africa, not the Middle East — but the confusion persists because Morocco shares four major characteristics with Middle Eastern countries: the Arabic language, the Islamic religion, Arab League membership, and a broadly shared cultural history rooted in the 7th-century Islamic expansion.
Here is why the confusion exists — and why each factor, on examination, does not change the geographic answer:
Morocco Speaks Arabic — But That Does Not Make It Middle Eastern
Arabic is Morocco’s official language (alongside Tamazight since 2011), but Arabic-speaking countries exist across North Africa, East Africa, and the Arabian Peninsula. Language does not determine continent. The Arabic-speaking countries of North Africa — Morocco, Algeria, Tunisia, Libya, and Egypt — are all geographically in Africa, regardless of the language they share with the Middle East.
Morocco’s dialect, Darija, is also distinctly Moroccan — heavily influenced by Tamazight (Berber), French, and Spanish in ways that distinguish it clearly from Gulf or Levantine Arabic.
Morocco Is Muslim — But So Are Many African Countries
Islam is Morocco’s state religion, practised by approximately 99% of the population. However, Islam is practiced across a vast geographic range that includes Indonesia, Pakistan, Sub-Saharan Africa, Central Asia, and the Balkans — none of which are considered Middle Eastern for that reason alone. Senegal, Mali, Niger, Somalia, and Nigeria are all predominantly Muslim African countries.
Morocco Is in the Arab League — But the Arab League Is Not a Geographic Term
The Arab League is a political and cultural organisation whose membership is based on linguistic and cultural criteria, not geography. Its 22 members span a geographic range from Mauritania on Africa’s Atlantic coast to Oman on the Arabian Sea — a distance of over 8,000 km across two continents.
The Middle East Begins East of the Suez Canal
By the most commonly accepted geographic definition, the Middle East refers to the region spanning the Arabian Peninsula, the Levant, Mesopotamia (Iraq), and Persia (Iran). Morocco is over 4,000 kilometres west of the nearest Middle Eastern country — Libya separates Morocco from Egypt, which itself is considered a bridge between North Africa and the Middle East. Morocco shares no land border with any Middle Eastern country.
Where Is Morocco in Africa? A Breakdown by Region
Morocco sits in a specific sub-region of Africa called the Maghreb — a term from the Arabic word for “west” (الـمَغرب, al-Maghrib) that describes the North African countries sharing a common western Mediterranean and Atlantic geographic position.
| Country | Position in Maghreb | Capital |
|---|---|---|
| Morocco | Westernmost | Rabat |
| Algeria | Central | Algiers |
| Tunisia | Central-east | Tunis |
| Libya | Eastern | Tripoli |
| Mauritania | Southwestern | Nouakchott |
Morocco is the westernmost of these, positioned where the Maghreb meets the Atlantic Ocean — which is why the country’s Arabic name, Al-Maghrib, translates literally as “the place where the sun sets” or “the West.”
How Close Is Morocco to Europe? Africa’s Gateway to Europe
Morocco is the African country closest to Europe — separated from Spain by just 14 kilometres of water across the Strait of Gibraltar, a distance small enough that on clear days the coastlines of both continents are visible to the naked eye from either shore.
This 14-kilometre crossing explains Morocco’s unique position in Africa: it is simultaneously a North African country with deep Saharan and sub-continental African connections to its south, and the African country most deeply shaped by European proximity and exchange to its north. The Umayyad army crossed this stretch in 711 CE and went on to shape the Iberian Peninsula for nearly 800 years. The result is a country that feels like neither a simplified “African” nor “Middle Eastern” destination — but something genuinely its own.
Travel distances from Morocco’s major cities to Europe:
| Route | Distance | Flight Time | Ferry Time |
|---|---|---|---|
| Tangier → Tarifa, Spain | 14 km (Strait) | 25 min flight | 35–60 min ferry |
| Casablanca → Madrid | ~1,500 km | ~2h 30m | N/A |
| Marrakech → London | ~2,400 km | ~3h 30m | N/A |
| Marrakech → Paris | ~2,100 km | ~3h 00m | N/A |
| Marrakech → Lisbon | ~1,100 km | ~1h 30m | N/A |
It is roughly 3,600 miles from the US East Coast. Direct flights from New York to Casablanca take about 7 to 8 hours, making Morocco one of the closest African and Arab-world destinations to the United States.
Morocco’s African Geography: Mountains, Desert, and Two Oceans
Morocco is the only country in Africa with coastlines on both the Atlantic Ocean and the Mediterranean Sea simultaneously — a dual-ocean coastal position that gives it over 3,500 kilometres of combined shoreline and one of the most geographically diverse landscapes of any country on the continent.
Morocco’s internal geographic diversity is distinctly African in character:
- The Sahara Desert (south and southeast): Morocco contains two of Africa’s most spectacular dune fields — Erg Chebbi at Merzouga (dunes reaching 150m) and Erg Chigaga near M’Hamid. The Moroccan Sahara connects directly to the same desert that stretches across Algeria, Mali, Niger, and beyond.
- The Atlas Mountains (centre): Three ranges — High Atlas (peaking at 4,167m at Jebel Toubkal, the highest point in North Africa outside the Tibesti), Middle Atlas, and Anti-Atlas — form the country’s geological spine and divide the Mediterranean north from the desert south.
- The Atlantic coast (west): Over 2,500 km of Atlantic shoreline, including the major port cities of Casablanca, Rabat, and Agadir, and the world-class surf of Taghazout.
- The Mediterranean coast (north): A 500-km Mediterranean coastline from Tangier to Nador, sharing the same geological plate as southern Spain and the Rif Mountains that mirror the Sierra Nevada across the water.
- The Rif Mountains (north): A distinct mountain chain running parallel to the Mediterranean coast, connected geologically to the Spanish Betic Cordillera on the other side of the Strait.
This combination of Saharan desert, Atlantic coast, Mediterranean coast, and three mountain ranges within a single country is uniquely North African — no Middle Eastern country contains this specific geographic combination.
Morocco in Africa: Historical Context
Morocco’s African identity is not simply a geographic designation — it is rooted in centuries of interconnection with the rest of the African continent through trans-Saharan trade routes, shared Berber cultural heritage predating both Arab and European contact, and a pre-colonial political history that extended Morocco’s influence deep into West Africa.
Key moments in Morocco’s African historical identity:
- Trans-Saharan trade: For over a millennium, Moroccan merchants, particularly from Marrakech and Fes, controlled the northern terminus of trade routes connecting sub-Saharan Africa (gold, slaves, ivory, salt) to Mediterranean markets. The city of Sijilmassa near Rissani was the most important trans-Saharan gateway in the medieval world.
- Amazigh (Berber) indigenous heritage: Morocco’s indigenous Amazigh people predate the Arab conquest by thousands of years and share cultural and linguistic roots with Berber communities across North Africa — from Morocco to Libya to the Tuareg of the Sahara.
- Saadian dynasty expansion into West Africa: In 1591, Sultan Ahmad al-Mansur sent a Moroccan army across the Sahara to conquer the Songhai Empire (present-day Mali), establishing Moroccan political authority over Timbuktu for several decades — the furthest south any Moroccan empire extended.
- African Union membership: Morocco was a founding member of the Organisation of African Unity in 1963, withdrew in 1984 over the Western Sahara dispute, and rejoined the reconstituted African Union in 2017 — reaffirming its continental political identity.
Where Is Morocco African or Arab? Understanding the Identity
Morocco is both African and Arab — these are not mutually exclusive identities, and reducing Morocco to either one misses the full picture. A more complete answer is that Morocco is an Amazigh (Berber) country with an Arab cultural and linguistic overlay, a Saharan geographic connection to sub-Saharan Africa, a Mediterranean cultural connection to southern Europe, and an Atlantic coastal identity all its own.
| Identity Layer | What It Means | Evidence |
|---|---|---|
| Geographically African | Located on the African continent | Continental plate, African Union membership |
| Indigenous Amazigh | Berber people predate Arab arrival by millennia | Tamazight official language since 2011, ~40% identify as Berber |
| Arab culturally | Arab language and Islamic culture since 7th century | Arabic official language, Arab League member |
| Mediterranean | Northern coastline, historical Andalusian connection | Chefchaouen’s blue architecture from Andalusian refugees |
| Atlantic | Western coastline, Atlantic facing | Essaouira, Agadir, Casablanca economy |
| Saharan | Southern desert, trans-Saharan trade history | Merzouga, Zagora, Draa Valley |
Visitors who arrive in Morocco expecting it to resemble either a simplified “African” or “Middle Eastern” destination typically discover within the first day that it is neither — and that this specificity, this in-between quality that is actually a fully developed identity of its own, is one of the most compelling things about it.
Morocco Compared to Its African Neighbours
Morocco is geographically, culturally, and economically one of the more developed and diversified countries in Africa — classified as a lower-middle-income developing country by the World Bank, ranked as Africa’s 6th largest economy by purchasing power, and one of the continent’s top tourism destinations with nearly 17 million international visitors in 2024.
| Country | Location in Africa | GDP per capita (PPP) | Notable Feature |
|---|---|---|---|
| Morocco | Northwest | ~$10,600 | Closest to Europe; two coastlines |
| Algeria | Northwest | ~$14,000 | Largest country in Africa; oil/gas exporter |
| Tunisia | North | ~$12,000 | Smallest Maghreb country; strong olive oil sector |
| Egypt | Northeast | ~$14,500 | Most populous Arab country; Nile civilisation |
| Senegal | West | ~$4,200 | Predominantly Muslim West African country |
| South Africa | South | ~$15,400 | Most developed sub-Saharan economy |
Morocco’s position in this table — comparable to Algeria and Tunisia in per-capita wealth — places it firmly in North Africa’s middle tier, distinctly above the sub-Saharan average but well below European standards.
Morocco in Africa: What This Means for Travelers
Understanding that Morocco is in Africa — not the Middle East, and not Europe — matters for travelers because it correctly frames expectations around climate, landscape, infrastructure, cultural norms, and accessibility.
What Morocco’s African location means practically for your trip:
- Climate: Morocco’s Saharan south can reach 44°C in summer — distinctly continental African desert heat, not the Mediterranean heat of coastal European countries
- Landscape: The Atlas Mountains, Erg Chebbi dunes, Draa Valley oases, and Atlantic surf beaches are all expressions of a specifically North African geography
- Culture: Morocco’s Amazigh Berber indigenous heritage — older than Arab, older than Islamic, older than Roman — is an African cultural foundation that shapes everything from the architecture to the carpet patterns to the food
- Accessibility: From Europe, Morocco is the closest African country — 14 km by sea, 1.5 hours by air from Lisbon, 3.5 hours from London — making it uniquely accessible for a first African travel experience
Frequently Asked Questions: Is Morocco in Africa?
Is Morocco part of Africa?
Yes — Morocco is part of Africa. It is located in the northwestern corner of the African continent, in the North African sub-region known as the Maghreb. Morocco’s territory, its borders, and its political membership in the African Union all confirm its African identity.
What continent is Morocco in?
Morocco is in Africa — specifically North Africa. Despite sharing linguistic and cultural characteristics with Middle Eastern countries (Arabic language, Islamic religion, Arab League membership), Morocco is geographically on the African continent and is classified as African by every international geographic and political authority.
Is Morocco in Africa or the Middle East?
Morocco is in Africa, not the Middle East. The Middle East geographically begins east of the Suez Canal and encompasses the Arabian Peninsula, the Levant, and Mesopotamia — Morocco is over 4,000 km to the west. The confusion arises because Morocco is Arabic-speaking and Muslim, characteristics shared with Middle Eastern countries, but these cultural similarities do not change Morocco’s geographic location on the African continent.
Is Morocco part of North Africa?
Yes — Morocco is a North African country and one of the five core members of the Maghreb sub-region of North Africa, alongside Algeria, Tunisia, Libya, and Mauritania.
Is Morocco the closest African country to Europe?
Yes — Morocco is the African country closest to Europe, separated from Spain by just 14 kilometres of water across the Strait of Gibraltar. The ferry from Tangier to Tarifa takes 35–60 minutes.
Does Morocco consider itself African?
Yes — Morocco rejoined the African Union in 2017, competes as an African nation in all international sporting competitions including FIFA’s African Football Confederation (CAF), and officially identifies as both an African and Arab-world nation. Morocco hosted the 2025 Africa Cup of Nations and is preparing to co-host the 2030 FIFA World Cup alongside Spain and Portugal.
Is Morocco part of the Arab world?
Yes — Morocco is a member of the Arab League and considers itself part of the Arab world culturally and linguistically. This Arab identity coexists with its African geographic identity. Morocco is simultaneously African and Arab, just as Egypt is simultaneously African and Arab — these are complementary identities, not contradictory ones.
Is Morocco a Middle Eastern country?
No — Morocco is not a Middle Eastern country by any geographic definition. It is a North African country. The confusion between Morocco and the Middle East arises from cultural and linguistic similarities (Arabic language, Islam), not from geographic fact.
What is Morocco’s capital city in Africa?
Morocco’s capital city is Rabat, located on the Atlantic coast of North Africa at the mouth of the Bou Regreg river. Casablanca is Morocco’s largest city. Marrakech is its most visited tourist city.
Visiting Morocco: Africa’s Most Accessible Destination
Now that you know Morocco is in Africa — specifically the northwestern corner, 14 km from Spain, at the crossroads of the Sahara Desert, the Atlas Mountains, and two oceans — the natural next question is what to do when you get there.
At Over Morocco Tours, we are based in Marrakech, Morocco, Africa. We run private desert tours across the Atlas Mountains and into the Sahara every week of the year, starting from the city that most European visitors land in first and radiating outward toward the dunes, the gorges, the ancient kasbahs, and the palm oases that make this corner of Africa one of the most extraordinary landscapes on earth.
Our most popular starting points:
- First-time visitor: 3-day Sahara desert tour from Marrakech → Ait Ben Haddou → Merzouga
- One week: 7-day Morocco circuit covering Marrakech, Sahara, and Fes
- Two weeks: Grand circuit from Casablanca or Tangier through every major region
Contact Us to Plan Your Africa Trip →
*Based in Merzouga, Morocco, North Africa. Running private tours since 2012.*
