Kenya has a long coast on the Indian Ocean, and the state still does not sit on the water. Nairobi lies in the highlands, and Mombasa is the port. To tell the country from the coast is to describe the door. To understand it, you have to take the city that grew up on the railway.
The equator crosses Kenya. The capital lies south of it, in the cooler highlands. That site follows a railway built from the port inland, which needed a settlement along the way. That settlement became Nairobi. The corridor from the coast to countries without a port of their own is older than the present constitution, and it is still the axis the state hangs on.
![]()
Kenya at a glance
Capital
Nairobi
Area
580,367 km²
Population
57.5 million
Official language(s)
Kiswahili, English
Currency
Kenyan shilling
Continent
Africa
Distinctive fact
Highland capital, far from the coast
A capital that came from the railway
Kenya covers 580,367 square kilometres and has 57,532,493 inhabitants. People do not live first of all on the beach. They live in the highlands and along the routes that run west from the coast. Nairobi became the political city out of that geography, the seat of government and of the offices. It does not lie on a bay. It lies where the colonial railway needed an operating point, and the independent state kept that point.
The neighbours are Ethiopia, Somalia, South Sudan, Tanzania and Uganda. None of them explains Nairobi on its own. Uganda does explain the direction: the railway was named for the country beyond Kenya. The Kenyan state is the stretch of that route which has its own law, its own capital and its own coast. The highlands are the place in between, high enough for a large city and tied into the roads in every direction.
Mombasa opens, Nairobi decides
Mombasa is the great port on the Indian Ocean and the old city of the Swahili coast. Goods that do not stay in Kenya pass through it, and so do goods without which Nairobi does not work. The port is the opening. It is not parliament. Stand in Mombasa and you see the sea and the old town. Stand in Nairobi and you see the highlands and the offices. Both views belong to the country, and they cannot be swapped.
Between them lies the Rift, the long fracture that divides the highlands. It is geography, not a state border. The state holds both sides and the road that joins them. Kenya is therefore more than a coastal strip with a pleasant hinterland. The populated part is the highland, and the coast is its door. Administration, and argument about the country, meet up in the altitude, not on the quay.
Mombasa opens the country to the sea. Nairobi decides what that opening becomes.
— TerraTally · Countries desk
Kiswahili and English in one constitution
The 2010 constitution makes Kiswahili the national language and makes both Kiswahili and English official. That records the history without repeating it. Kiswahili is the language of the coast and the shared language across the boundaries of peoples. English is the language in which much of the law and much of administration have been conducted since the colonial period. The state kept both, instead of turning either into a mere memory.
The currency is the Kenyan shilling of the central bank. A currency of one's own belongs to a corridor state that is easily read as nothing but a passage between a port and a neighbour. Kenya is that passage, and it is a state with its capital in the highlands. The coast remains the opening to the world. Government sits where the railway produced a city, and no later constitution has moved that city back to the beach.
Kenya can be seen from Mombasa and governed from Nairobi. The equator crosses the country, the port lies on the Indian Ocean, and the seat of the state remains the highland city that began as a railway settlement.