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 · Plot these coordinates
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

CityCountryTo the coast
MombasaKenya2.4 km (1.5 miles)
NairobiKenya409 km (254 miles)
Addis AbabaEthiopia498 km (309 miles)
KakamegaKenya690 km (429 miles)
Dar es SalaamTanzania1.9 km (1.2 miles)
AdenYemen0.5 km (0.3 miles)

Nearest big cities

The cities and towns around each of the big cities nearest to Mogadishu. Distances are straight lines.

Tools for Mogadishu

Plot Mogadishu's coordinates on a map

Paste a latitude and longitude and see it on the map.

Open in workspace
Height above sea level in Mogadishu

Height above sea level, or a profile along a line.

Open in workspace
Administrative areas of Mogadishu

Country, region and district for any point.

Open in workspace
What is within a radius of Mogadishu?

Find the places within a radius you choose.

Open in workspace
How far is Mogadishu from a border?

Straight-line distance to the nearest border.

Open in workspace
Draw lines and shapes over Mogadishu

Markers, lines, shapes and labels. Free, no sign-up.

Open in workspace
Find the acreage of a plot in Mogadishu

Trace a field or plot and read its area in acres or hectares.

Open in workspace

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.