World SurveyPlay
Sheet 115 of 195 · AfricaMAR · 31.8°N 6.7°W

Morocco

Kingdom of Morocco

Capital
Rabat
Population
38.4 million 2025
Area
446,550 km²
Neighbours
2
Locator map of MoroccoMOROCCORabatALGERIASPAINWESTERNSAHARAMALINorthAtlantic Ocean0500 km
Morocco hatched, Rabat marked with a triangle, land neighbours shaded. Orthographic projection centred on 28.7°N 9.0°W; the scale bar is true at the centre.

Morocco is a country in Northern Africa bordered by Algeria and Spain. It also borders Western Sahara. The land border with Spain is too small to draw at this map's scale. Its area of 446,550 km² puts it 57th in the world and 25th of 54 in Africa.

The World Bank counts 38.4 million people in 2025: 41st of 194 worldwide and 12th of 54 in Africa. That works out at 86 people per km². 63.1% of people lived in urban areas in 2025.

GDP per capita was US$4,672 in 2025 (World Bank, current US$), 122nd of 191 and 11th of 52 in Africa. Life expectancy at birth was 75.5 years in 2024.

Its main landmass lies entirely in the Northern and Western hemispheres. North to south it runs about 1,613 km, between 21.4°N and 35.9°N. Rabat's antipode is in the South Pacific Ocean, about 50 km from New Zealand, the nearest land.

How it compares Africa: 54 countries

MeasureFigureWorldAfrica
Population38,430,7702025, World Bank41st of 19412th of 54
Area446,550 km²world-countries57th of 19525th of 54
GDPUS$182.4 billion2025, World Bank, current US$57th of 1915th of 52
GDP per capitaUS$4,6722025, World Bank, current US$122nd of 19111th of 52
Population density86 per km²population 2025, World Bank; area, world-countries98th of 19422nd of 54
Life expectancy75.5 years2024, World Bank81st of 1945th of 54
Urban population63.1%2025, World Bank99th of 19415th of 54
Forest area12.8% of land2024, World Bank140th of 19433rd of 54
Population growth+0.91% a year2025, World Bank104th of 19451st of 54
Internet users91.2%2024, World Bank49th of 1881st of 53
Fertility rate2.21 births per woman2024, World Bank88th of 19449th of 54
Land neighbours2world-countries; among the 195; also borders Western Sahara112th of 19541st of 54
Ranks run from the largest value (1st) among the countries with data; equal values share a rank.

Closest in areaUzbekistan, Sweden and Iraq

Closest in populationUkraine, Angola and Uzbekistan

Neighbours 2 countries by land and 1 other area, nearest capital first

  • Spain762 km
    Rabat to Madrid, capital to capital; border too short to draw at the 1:50m scale of this map
  • Algeria946 km
    Rabat to Algiers, capital to capital
  • Western Sahara977 km
    Rabat to El Aaiún, capital to capital; no separate sheet: not one of the 195 countries in this atlas

Morocco also borders Western Sahara. It is listed here but not counted or ranked as neighbours.

Where on Earth main landmass

Hemispheres
Northern and Western
Capital
Rabat
34.03°N 6.84°W
Northernmost latitude
35.93°N
Southernmost latitude
21.42°N
Westernmost longitude
17.01°W
Easternmost longitude
1.06°W
North to south
about 1,613 km
Antipode of Rabat
34.03°S 173.16°E
in the South Pacific Ocean, about 50 km from the nearest land (New Zealand)