Nairobi is the capital and largest city of Kenya, a high-altitude city that grew from a railway depot in 1899 into East Africa’s main business hub, known for the national park on its doorstep, the Giraffe Centre, the Karen Blixen Museum and as a gateway to safaris.
Location, geography & climate
Nairobi lies in the south-central highlands of Kenya at about 1,795 metres above sea level, just south of the equator, on the edge of the Athi plains. The Nairobi River and its tributaries cross the city, the Ngong Hills rise to the west, and Mount Kenya stands to the north. The city-county covers 696 km². Its name comes from the Maasai phrase Enkare Nyirobi, “place of cool waters”.
Because of the altitude the climate is mild all year, with warm days and cool nights; in June and July evening temperatures can fall to about 9 °C. There are two rainy seasons, the long rains from March to May and the short rains around November.
History & founding
Nairobi was founded as a depot on the Uganda Railway being built from Mombasa to Lake Victoria; the rails arrived on 30 May 1899. The settlement grew quickly, became capital of British East Africa in 1905–07 in place of Mombasa, was declared a municipality in 1919 and gained city status in 1954. In the colonial period it was a base for big-game hunting and for European settlers in the highlands.
Independence and after
Nairobi became capital of independent Kenya in 1963. A truck bomb attack on the United States embassy in August 1998 killed more than 200 people. Under the 2010 constitution the city became Nairobi City County in 2013. It is now one of the fastest-growing cities in Africa.
Districts, character & architecture
The central business district is a compact grid of offices around the Kenyatta International Conference Centre, opened in 1973, with Uhuru Park beside it. Westlands and Upper Hill are newer business districts, and Karen, named after the Danish writer Karen Blixen, who farmed there from 1917 to 1931, and Lang’ata are leafy suburbs in the south-west. Kibera, one of the largest informal settlements in Africa, lies close to the centre; estimates of its population range from under 200,000 to a million.
Nairobi National Park, within the city boundary, is home to lions, rhinos, giraffes and zebras, with the skyline as a backdrop. Nearby are the elephant orphanage of the Sheldrick Wildlife Trust and the Giraffe Centre.
Population, economy & daily life
The 2019 census counted 4,397,073 people in the city, and a 2026 estimate puts the figure at about 5.6 million. English and Swahili are the official languages, and the urban slang Sheng mixes both with other Kenyan languages.
Nairobi is the financial, transport and technology hub of East Africa, sometimes called “Silicon Savannah” for its mobile-money and start-up scene. It hosts the world headquarters of the UN Environment Programme and UN-Habitat, the only UN headquarters in Africa. Its nickname is the “Green City in the Sun”.
Culture, food & nightlife
The National Museum covers Kenya’s natural history and the fossil record of human origins, and the Karen Blixen Museum occupies the farmhouse described in Out of Africa. Benga, a guitar-driven popular music, developed in the city.
The favourite local meal is nyama choma, roasted goat or beef, eaten with ugali (maize porridge) and kachumbari salad. Other staples are sukuma wiki, chapati, samosas and mandazi, with Kenyan tea and coffee. Westlands and Kilimani have the busiest restaurants and nightlife.
Getting around & visiting
Jomo Kenyatta International Airport is south-east of the centre, to which it is linked by the elevated Nairobi Expressway, opened in May 2022; Wilson Airport handles safari flights. The Madaraka Express, running on a standard-gauge railway inaugurated in May 2017, reaches Mombasa in about five hours. Within the city, ride-hailing is the easiest way around; minibuses called matatus are cheap but chaotic.
The dry seasons, January to February and June to October, are the best times to visit. Visitors should take normal big-city precautions, particularly after dark.
At a glance
Sort or filter the table to compare values for the city.
| Field | Value | Note |
|---|---|---|
| Country | Kenya | — |
| Region | Nairobi | within country |
| Population | 4.4M | metropolitan area |
| Area | 696 | km² |
| Founded | 1899 CE | — |
| Latitude | -1.2921 | degrees |
| Longitude | 36.8219 | degrees |
| Climate band | tropical | derived from latitude |
Did you know?
Nairobi National Park is the only national park in the world located within a major capital city's limits — and giraffes can be seen there with the city skyline behind.





