Morocco
Kingdom of Morocco
- Capital
- Rabat
- Population
- 38.4 million 2025
- Area
- 446,550 km²
- Neighbours
- 2
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
| Measure | Figure | World | Africa |
|---|---|---|---|
| Population | 38,430,7702025, World Bank | 41st of 194 | 12th of 54 |
| Area | 446,550 km²world-countries | 57th of 195 | 25th of 54 |
| GDP | US$182.4 billion2025, World Bank, current US$ | 57th of 191 | 5th of 52 |
| GDP per capita | US$4,6722025, World Bank, current US$ | 122nd of 191 | 11th of 52 |
| Population density | 86 per km²population 2025, World Bank; area, world-countries | 98th of 194 | 22nd of 54 |
| Life expectancy | 75.5 years2024, World Bank | 81st of 194 | 5th of 54 |
| Urban population | 63.1%2025, World Bank | 99th of 194 | 15th of 54 |
| Forest area | 12.8% of land2024, World Bank | 140th of 194 | 33rd of 54 |
| Population growth | +0.91% a year2025, World Bank | 104th of 194 | 51st of 54 |
| Internet users | 91.2%2024, World Bank | 49th of 188 | 1st of 53 |
| Fertility rate | 2.21 births per woman2024, World Bank | 88th of 194 | 49th of 54 |
| Land neighbours | 2world-countries; among the 195; also borders Western Sahara | 112th of 195 | 41st of 54 |
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 kmRabat to Madrid, capital to capital; border too short to draw at the 1:50m scale of this map
- Algeria946 kmRabat to Algiers, capital to capital
- Western Sahara977 kmRabat 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)