How far is Mogadishu from the sea?
Mogadishu sits right on the coast: the nearest shoreline is only 0.3 km (0.2 miles) away. The nearest stretch of coast is in Banaadir, Somalia.
To the coast
0.3 km
0.2 miles · straight line
Nearest land border
321 km
with Ethiopia
Setting
On the coast
852nd farthest from the sea of 861 cities
MogadishuNearest point on the coast
How far are you from the sea?
Measure from where you are standing. On a phone this uses GPS, so the answer is for your exact spot, not the city centre.
Mogadishu at a glance
- Coordinates
- 2.0371° N, 45.3438° E
- Region
- Banaadir, Somalia
- Distance to the coast
- 0.3 km (0.2 miles), in a straight line
- Nearest point on the coast
- 2.0345° N, 45.3445° E (Banaadir, Somalia)
- Nearest land border
- 321 km (199 miles), with Ethiopia
Nearby cities and the coast
| City | Country | To the coast |
|---|---|---|
| Mombasa | Kenya | 2.4 km (1.5 miles) |
| Nairobi | Kenya | 409 km (254 miles) |
| Addis Ababa | Ethiopia | 498 km (309 miles) |
| Kakamega | Kenya | 690 km (429 miles) |
| Dar es Salaam | Tanzania | 1.9 km (1.2 miles) |
| Aden | Yemen | 0.5 km (0.3 miles) |
Explore Somalia
Questions
How far is Mogadishu from the sea?
Mogadishu sits right on the coast: the nearest shoreline is only 0.3 km (0.2 miles) away. The nearest stretch of coast is in Banaadir, Somalia.
Is that the driving distance?
No. 0.3 km (0.2 miles) is the straight-line distance from the city centre to the nearest point on the shore. The drive to a beach is longer, often much longer, and depends on the roads.
How far is Mogadishu from the nearest border?
Mogadishu is 321 km (199 miles) from the nearest land border, with Ethiopia, in a straight line.
Where in Mogadishu is this measured from?
From the city's centre point (2.0371° N, 45.3438° E). A large city spreads out, so some neighbourhoods are closer to the sea than this and some farther. For an exact figure from where you are, use your own location.
Measured by MapGO on October 19, 2026 with the same coastline data as the distance to coastline calculator. All distances are straight lines over the Earth's surface.