QuestionKenya
What Is the Capital of Kenya? Nairobi Explained

Nairobi is the capital of Kenya and, with 4,397,073 residents counted in the 2019 census, also its largest city. It lies in the south-central highlands at about 1,800 meters (5,900 feet) above sea level and is the seat of the president, parliament and Supreme Court of Kenya, as well as a major hub for East Africa.
Contents
Nairobi, the capital of Kenya
Nairobi is the political, economic and cultural center of the country. The State House, the Parliament Buildings and the Supreme Court all stand in the city, along with most government ministries, the Central Bank of Kenya and the Nairobi Securities Exchange.
Under the 2010 Constitution, Nairobi is also one of Kenya’s 47 counties. Nairobi City County has its own elected governor and county assembly, which run local services such as roads, markets and health clinics. The national government and the county government therefore share the city, each with its own responsibilities.
How Nairobi became the capital
Nairobi is a young city. Before the colonial period, the area was a swampy grazing ground used by Maasai herders and visited by Kikuyu and Kamba traders. Its name comes from the Maasai phrase Enkare Nairobi, meaning “cool water”, after a stream that ran through the plain.
The city was born with the Uganda Railway, which the British built from Mombasa on the coast toward Lake Victoria. Engineers chose the flat, well-watered site as a supply depot and rest stop before the steep climb into the highlands, and the railhead reached Nairobi on 30 May 1899. Workshops, warehouses and a small town quickly grew around the station.
At that time the capital of the British East Africa Protectorate was Mombasa. Because Nairobi sat at the center of the railway and close to the highland farms, the colonial administration moved its headquarters there in the first decade of the 20th century; sources date the move to 1905 or 1907. When Kenya became independent on 12 December 1963, Nairobi remained the capital of the new state.
Population and growth
Nairobi has grown from a railway camp to one of the largest cities in Africa in just over a century. Official census figures from the Kenya National Bureau of Statistics show how fast it has expanded:
| Census year | Population of Nairobi |
|---|---|
| 1969 | 509,286 |
| 2019 | 4,397,073 |
Source: Kenya National Bureau of Statistics censuses.
The built-up area now extends into the neighboring counties of Kiambu, Machakos and Kajiado, so the metropolitan population is much larger than the count for Nairobi County alone. People from every Kenyan community live in the city, and Swahili, English and Sheng, an urban slang that mixes the two with other languages, are heard on its streets. Read more in what language is spoken in Kenya.
Climate of the capital
Although Nairobi lies just south of the Equator, its altitude gives it a mild climate. Days are warm rather than hot for most of the year, nights can be cool, and July and August are the coolest months. Like much of Kenya, the city has two rainy seasons, the long rains from about March to May and the short rains from about October to December. This pleasant climate is one reason early colonial officials favored the site.
An international city
Nairobi is one of the main United Nations centers in the world. The United Nations Office at Nairobi is the only UN headquarters office in the Global South, alongside New York, Geneva and Vienna, and the city hosts the global headquarters of the UN Environment Programme (UNEP) and UN-Habitat, the agency for cities and human settlements.
Many companies, aid organizations and media groups run their African or regional offices from Nairobi. Jomo Kenyatta International Airport, east of the center, is one of the busiest airports in East Africa, and the city’s technology scene has earned it the nickname “Silicon Savannah”.
Landmarks of Nairobi
- Nairobi National Park: Kenya’s first national park, established in 1946 on the southern edge of the city, where lions, giraffes, zebras and black rhinos roam in sight of the skyline.
- Kenyatta International Convention Centre (KICC): a cylindrical tower opened in 1973 next to a large amphitheater, long the city’s most recognizable building; it appears on Kenya’s current banknotes.
- Nairobi National Museum: home to important collections on Kenya’s history, cultures and early human fossils.
- Uhuru Park and Central Park: green spaces in the city center used for public events.
- Karura Forest: a large urban forest in the north of the city, protected after long campaigns by environmental activists.
These are some of the reasons Kenya is known as a gateway to safari country.
Common confusions
Is Mombasa the capital of Kenya? No. Mombasa is the second-largest city and the main port, and it was the colonial capital until the early 20th century, but Nairobi has been the capital ever since.
Is Nairobi in the Rift Valley? Not quite. The city lies on a plateau just east of the Great Rift Valley; the escarpment that drops into the valley begins a short drive to the northwest.
Is Nairobi on the coast? No. Nairobi is inland, roughly 480 km (300 mi) northwest of Mombasa by road, and much cooler than the coast thanks to its altitude.
Frequently asked questions
Is Nairobi the capital of Kenya?
Yes. Nairobi is the capital of Kenya and the seat of its president, parliament and Supreme Court. Article 6 of the 2010 Constitution also makes it one of the country's 47 counties, Nairobi City County.
What was the capital of Kenya before Nairobi?
Mombasa, on the Indian Ocean coast, was the first capital of the British East Africa Protectorate. The colonial administration moved to Nairobi in the first decade of the 20th century, a move usually dated to 1905 or 1907.
How many people live in Nairobi?
The 2019 census counted 4,397,073 people in Nairobi City County, making it by far the largest city in Kenya. The wider metropolitan area, which spills into neighboring counties, is considerably larger.
What does the name Nairobi mean?
The name comes from the Maasai phrase Enkare Nairobi, usually translated as cool water or place of cool waters. It referred to a cold stream that flowed through the area before the town was built.
Is there a national park in Nairobi?
Yes. Nairobi National Park, established in 1946 as Kenya's first national park, lies on the southern edge of the city. Lions, giraffes, zebras and rhinos live there within sight of the city's office towers.
Is Nairobi the largest city in Kenya?
Yes. Nairobi is the largest city in Kenya by a wide margin. The second-largest city is the port of Mombasa, which had about 1.2 million residents in the 2019 census.
Sources and further reading
- Constitution of Kenya (2010)
- Kenya National Bureau of Statistics, "2019 Kenya Population and Housing Census"
- Encyclopaedia Britannica, "Nairobi"
Cite this page
“What Is the Capital of Kenya? Nairobi Explained.” Countries of the World, https://countries.bigworldlist.com/questions/what-is-the-capital-of-kenya/.
Kenya: more questions and guides
- Country profileKenya Facts: Capital, Population, Languages and Geography
- ListCountries That Start With K: All 6 With Capitals
- FlagFlag of Kenya: Meaning, Colors, Shield and History
- QuestionWhat Currency Does Kenya Use? The Kenyan Shilling Explained
- QuestionWhat Is Kenya Known For? Safaris, Runners, Tea and Culture
- QuestionWhat Is the National Animal of Kenya? The Lion Explained
- QuestionWhat Is the National Dish of Kenya? Ugali and Nyama Choma
- QuestionWhat Language Is Spoken in Kenya? Swahili, English and More