Morocco flag

Morocco Neighboring Countries

Morocco is located in Northern Africa (Africa), with its capital in Rabat. The official languages are Arabic, Berber. The currency is Moroccan dirham.

What are the neighboring countries of Morocco? Morocco shares land borders with 3 countries. These Morocco neighboring countries create a unique geographical position that places Morocco at an important crossroads, facilitating cultural exchange, trade, and diplomatic relations with its neighboring nations.

The Morocco neighboring countries are: Algeria, Western Sahara and Spain. Each of these countries has its own unique cultural heritage, language, and traditions, creating a diverse and dynamic border region.

Below you'll find detailed information about each neighboring country, including their capitals and an interactive map showing the geographical relationship between Morocco and its border countries. The map highlights Morocco in green and its neighboring countries in yellow for easy visualization.

Interactive Map of Countries Neighboring Morocco

Main Country (Green) Neighboring Countries (Yellow)

Frequently Asked Questions

How many countries border Morocco?

Morocco shares land borders with 3 countries.

What are the neighboring countries of Morocco?

The neighboring countries of Morocco are: Algeria, Western Sahara and Spain.

Which other countries in Africa have the same number of neighbors as Morocco?

Countries in Africa with 3 land borders: Burundi, Ghana, Djibouti, Togo, Liberia, Somalia, Malawi, Gabon, Eritrea, Western Sahara.

Which countries in Africa have more neighbors than Morocco?

Countries in Africa with more than 3 land borders: Senegal, Sudan, Botswana, Benin, Namibia, Nigeria, Central African Republic, Mauritania, Zambia, Ethiopia, and 21 more....

Which countries in Africa have fewer neighbors than Morocco?

Countries in Africa with fewer than 3 land borders: Mauritius, Mayotte, Sierra Leone, Saint Helena, Ascension and Tristan da Cunha, Gambia, Madagascar, Réunion, Equatorial Guinea, Comoros, Lesotho, and 7 more....

What are the capitals of countries bordering Morocco?

The capitals of countries bordering Morocco are:
  • Algeria: Algiers
  • Western Sahara: El Aaiún
  • Spain: Madrid

What are the country codes of Morocco's neighboring countries?

The ISO country codes of Morocco's neighbors are:
  • Algeria: DZ (ISO 2) / DZA (ISO 3)
  • Western Sahara: EH (ISO 2) / ESH (ISO 3)
  • Spain: ES (ISO 2) / ESP (ISO 3)