How far is Nairobi from the sea?
Nairobi lies well inland, 409 km (254 miles) from the nearest coastline in a straight line. The nearest stretch of coast is in Kilifi, Kenya.
To the coast
409 km
254 miles · straight line
Nearest land border
124 km
with Tanzania
Setting
Far inland
32nd farthest from the sea of 182 cities
NairobiNearest 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.
Nairobi at a glance
- Coordinates
- 1.2833° S, 36.8167° E
- Region
- Nairobi, Kenya
- Distance to the coast
- 409 km (254 miles), in a straight line
- Nearest point on the coast
- 2.7540° S, 40.1879° E (Kilifi, Kenya)
- Nearest land border
- 124 km (77 miles), with Tanzania
Nearby cities and the coast
Questions
How far is Nairobi from the sea?
Nairobi lies well inland, 409 km (254 miles) from the nearest coastline in a straight line. The nearest stretch of coast is in Kilifi, Kenya.
Is that the driving distance?
No. 409 km (254 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 Nairobi from the nearest border?
Nairobi is 124 km (77 miles) from the nearest land border, with Tanzania, in a straight line.
Where in Nairobi is this measured from?
From the city's centre point (1.2833° S, 36.8167° 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 8, 2026 with the same coastline data as the distance to coastline calculator. All distances are straight lines over the Earth's surface.