World SurveyPlay
Comparison · land neighboursKEN · SOM

Kenya and Somalia compared

Two neighbours in Eastern Africa: people, land, economy and capitals side by side

Locator map of Kenya and SomaliaKENYASOMALIANairobiMogadishuETHIOPIADR CONGOSUDANTANZANIASOUTH SUDANUGANDAYEMEN0500 km
Kenya and Somalia hatched in opposite directions; Nairobi and Mogadishu marked with triangles and joined by a dashed line; countries that border both are shaded. Orthographic projection centred on 3.7°N 42.6°E; the scale bar is true at that point.

In Eastern Africa, Kenya and Somalia share a land border, with 1,021 km in a straight line between their capitals, Nairobi and Mogadishu. Somalia covers 10% more area than Kenya (637,657 km² against 580,367 km², world-countries), but Kenya has 2.9 times as many people: 57.5 million against 19.7 million in 2025 (World Bank).

The economy of Kenya is 10 times the size of that of Somalia: a GDP of US$135.9 billion against US$13.0 billion in 2025 (World Bank, current US$). Life expectancy at birth is 4.8 years longer in Kenya: 63.8 years against 59.0 years in 2024 (World Bank). Both also border Ethiopia.

Side by side larger figure in bold

World Bank figures are the latest for each country, with the year beside each one; a figure older than 2018 is shown but not compared. Area, land neighbours, capitals, languages and currencies: world-countries, which gives no year. Density is population divided by area.
MeasureKenyaSomaliaDifference
PopulationWorld Bank57,532,493 202519,654,739 2025Kenya2.9 times as many people
Areaworld-countries580,367 km²637,657 km²Somalia10% larger
Population densitypopulation ÷ area99.1 per km² 202530.8 per km² 2025Kenya3.2 times as dense
GDPWorld Bank, current US$US$135.9 billion 2025US$13.0 billion 2025Kenya10 times as large
GDP per capitaWorld Bank, current US$US$2,363 2025US$661 2025Kenya3.6 times as high
Life expectancyWorld Bank63.8 years 202459.0 years 2024Kenya4.8 years longer
Land neighboursworld-countries53Kenya2 more
Capitalworld-countriesNairobiMogadishu1,021 kmapart, in a straight line
Languagesworld-countriesEnglish, SwahiliArabic, Somalinone in common
Currencyworld-countriesKenyan shilling (KES)Somali shilling (SOS)none in common

Shared neighbours 1 country borders both