Nairobi - The Capital of Kenya

Population
4,397,073
Language
Swahili
Continent
Africa
Since
1963
Eco Ranking
144/195

Source: Environmental Performance Index 2024.

About Nairobi

Nairobi was established in 1899 as a railway depot and supply camp during the construction of the Uganda Railway by British colonial authorities. It grew rapidly into a colonial administrative center and became the capital of the British East Africa Protectorate, and later of the Colony and Protectorate of Kenya. When Kenya gained independence on December 12, 1963, Nairobi became the capital of the new republic. The city was the scene of the 1952-1960 Mau Mau uprising, a major anti-colonial revolt against British rule that significantly shaped Kenya's path to independence. Nairobi is the headquarters of the United Nations Environment Programme (UNEP) and UN-Habitat, making it the only city in Africa, and in a developing country, to host two UN agency headquarters. The city houses Kenya's executive, legislative, and judicial institutions, and is the dominant economic center of East Africa. Nairobi has also experienced terrorist attacks, including the 1998 US Embassy bombing by Al-Qaeda, which killed 213 people, and the 2013 Westgate shopping mall attack by Al-Shabaab. Nairobi is the most economically significant city in East and Central Africa.

About Kenya

Kenya is a presidential republic. The 2010 constitution significantly restructured Kenyan governance, introducing a devolved system of 47 counties and expanding civil rights protections following the 2007-2008 post-election violence that killed over 1,000 people. Kenya has been governed by three presidents since multiparty elections were restored in 1991: Daniel arap Moi, Mwai Kibaki, Uhuru Kenyatta, and William Ruto (elected 2022). The country is a member of the African Union, the East African Community, and hosts major UN institutions. Nairobi functions as a regional hub for international organizations, NGOs, and multinational corporations operating across East Africa.

View Nairobi on the map

View Nairobi - The Capital of Kenya on the map

Flight time from Nairobi to other capitals

CityDistance (km)Flight Time
Abu Dhabi34004h 0m
Cape Town41004h 49m
Rome54006h 21m
Paris65007h 39m
London68008h 0m
Singapore75008h 49m
Buenos Aires1040012h 14m
Tokyo1130013h 18m
Canberra1190014h 0m
Washington, D.C.1210014h 14m

Capitals with similar population to Nairobi

CityPopulation
Cape Town4,618,000
Kabul4,601,789
Nairobi4,397,073
Kuwait City4,270,571
Yaoundé4,164,296
Amman4,061,150
Dakar3,732,284

Capitals with similar eco ranking to Nairobi

CityEco Rank
Banjul143
Accra144
Maseru144
Port Moresby144
Nairobi144
Conakry145
Port-au-Prince146

Source: Environmental Performance Index 2024.

Frequently Asked Questions

  • Why did Nairobi become the capital of Kenya?

    Nairobi grew from a railway depot established in 1899 into the main colonial administrative center of British East Africa. By the time of Kenya's independence in 1963, it was the largest and most developed city in the country, making it the natural choice for capital status.

  • When did Nairobi become the capital of Kenya?

    Nairobi became the capital of independent Kenya on December 12, 1963, when Kenya gained independence from Britain. It had previously served as the capital of the British East Africa Protectorate and the Colony and Protectorate of Kenya.

  • Why are UN headquarters located in Nairobi?

    The United Nations Environment Programme (UNEP) was established in Nairobi in 1972, following the Stockholm Conference on the Human Environment. UN-Habitat followed in 1978. Nairobi was selected in part due to Kenya's advocacy for locating UN institutions in developing countries. It remains the only African city to host UN agency headquarters.

  • What was the Mau Mau uprising and how did it affect Nairobi?

    The Mau Mau uprising (1952-1960) was an armed revolt against British colonial rule in Kenya, led primarily by Kikuyu fighters. The British declared a state of emergency and conducted mass detentions, including in and around Nairobi. The uprising accelerated the political process toward Kenyan independence, which was achieved in 1963.

  • Is Nairobi the largest city in Kenya?

    Yes. Nairobi is Kenya's largest city, with a population of approximately 4.4 million in the city proper and significantly more in the metropolitan area. It is also the largest city in East Africa and functions as the region's primary hub for finance, commerce, and international institutions.

Sights and landmarks

Nairobi is unique as the only world capital with a national park within its city limits: Nairobi National Park, established in 1946, is home to lions, rhinoceroses, giraffes and zebras against a city skyline backdrop. The David Sheldrick Wildlife Trust cares for orphaned elephant calves, and the Giraffe Centre allows direct encounters with Rothschild giraffes. The Karen Blixen Museum, housed in the former farmhouse of the Danish author of Out of Africa, lies at the foot of the Ngong Hills. The National Museum holds fossils discovered by the Leakey family in Olduvai Gorge, including casts of early hominids. The Maasai Market and the August 7th Memorial Park complete the cultural offering.

Climate and best time to visit

Thanks to an altitude of 1,795 metres, Nairobi has a pleasant subtropical highland climate (Cfb/Cwb), unusual for a city so close to the equator. Temperatures remain mild year-round, between 12 and 26 degrees Celsius. There are two rainy seasons: the 'long rains' from March to May and the 'short rains' in November. July and August are the coolest months with a chance of morning mist. Annual rainfall is around 870 millimetres. The best travel time is January–February or June–October, dry months that also coincide with the Great Migration of wildebeest in the nearby Maasai Mara.

Regional significance

Nairobi is considered the economic capital of East Africa and houses regional headquarters of Google, Microsoft, IBM, Visa and General Electric for sub-Saharan Africa. The Nairobi Securities Exchange is one of the largest on the continent after Johannesburg and Lagos. The city is often called 'Silicon Savannah' due to its thriving tech sector: the Kenyan-developed M-Pesa mobile money platform by Safaricom, launched in 2007, is a global leader in financial inclusion. Jomo Kenyatta International Airport is the third busiest in sub-Saharan Africa after Addis Ababa and Johannesburg. Unlike many African capitals, Nairobi is a planned colonial centre, not a pre-colonial settlement.
Nairobi, capital of Kenya
Nairobi, capital of Kenya

Capitals quiz

Test how many of the 195 national capitals you can name, by continent or worldwide.

Start quiz
What is the capital of New Zealand?