Borders of Time

Kenya

Who ruled Nairobi?

Nairobi dates from about 1899 CE. On our historical maps, the ground it stands on has been drawn inside 6 different states, empires and peoples. Read the history of Kenya.

Daniel Case · CC BY-SA 4.0 · Wikimedia Commons
Nairobi skyline from Gem Hotel

Nairobi skyline from Gem Hotel

Daniel Case · CC BY-SA 4.0 · Wikimedia Commons

The history of Nairobi

Hear the whole article read aloud
Kenyatta International Convention Centre 02
Francis Akuka for the Wikimedia Foundation · CC0 · Wikimedia Commons
Kenyatta International Convention Centre 02

Kenyatta International Convention Centre 02

Francis Akuka for the Wikimedia Foundation · CC0 · Wikimedia Commons

Nairobi stands on the highlands of southern Kenya, about 1,700 metres above sea level, on the edge of the open plains where Maasai herders grazed their cattle and close to the forested ridges farmed by the Kikuyu. Unlike most African capitals it has no pre-colonial town behind it. It was born in 1899 as a depot on a British railway, and its history is short, fast and shaped by the colonial division of land and people, by the struggle for independence and by its later role as a hub for East Africa and the international organisations based there.

A railway town

The Nairobi Expressway in Chiromo
Allan Kamaliki · CC BY-SA 4.0 · Wikimedia Commons
The Nairobi Expressway in Chiromo

The Nairobi Expressway in Chiromo

Allan Kamaliki · CC BY-SA 4.0 · Wikimedia Commons

The name comes from a Maasai phrase usually translated as "cool waters", after a stream that crossed the swampy plain. The surrounding country had long been home to Bantu-speaking farmers, among them the Kikuyu and Kamba, part of the much older Bantu expansion across the continent, and to the pastoral Maasai. In the Scramble for Africa Britain declared a protectorate over the region in 1895 and began building the Uganda Railway from Mombasa on the coast towards Lake Victoria, largely with labourers brought from British India. In May 1899 the line reached a flat, well-watered spot just before the steep climb up the escarpment, and the engineers made it their main depot and workshops.

The tented camp grew rapidly into a town of tin-roofed shops, offices and bungalows. In the first decade of the twentieth century it took over from Mombasa as the seat of government of the East Africa Protectorate, which became the colony of Kenya in 1920 within the British Empire. The town was planned on racial lines: Europeans took the airy hills to the west and north, Indian merchants the bazaar near the centre, while Africans, needed as workers but not welcomed as residents, were confined to crowded "locations" to the east. White settlers took over large areas of the fertile highlands, and the Maasai were pushed off land to the south. In 1922 police fired on a crowd protesting the arrest of the activist Harry Thuku, killing a number of people, an early landmark of African political protest in the city.

Emergency, independence and growth

External views of the Nairobi National Museum 05
Aliceinthealice · CC0 · Wikimedia Commons
External views of the Nairobi National Museum 05

External views of the Nairobi National Museum 05

Aliceinthealice · CC0 · Wikimedia Commons

Nairobi was granted city status by royal charter in 1950, but behind its growth lay deep discontent. After the Second World War African frustration over land, wages and political exclusion grew into the Mau Mau rebellion, and the colonial government declared a state of emergency in 1952. In April 1954 the security forces sealed off Nairobi in Operation Anvil, screened its African population and sent tens of thousands of Kikuyu men to detention camps. Kenya became independent on 12 December 1963, with Nairobi as capital and Jomo Kenyatta as its first leader, as part of the wider decolonisation of Africa.

After independence the city grew quickly as Kenyans moved in from the countryside, and large informal settlements such as Kibera spread alongside new office towers. The UN Environment Programme, founded in 1972, made its headquarters there, and Nairobi became a base for regional business, diplomacy and aid agencies. It has also suffered violence, including the bombing of the US embassy in August 1998, which killed over 200 people, and the attack on the Westgate shopping centre in 2013. With about 4.4 million people counted in the 2019 census, Nairobi is the capital and largest city of Kenya and one of the main economic centres of East Africa.

In pictures

2 images · scroll →
Lascar Statue of Dedan Kimathi Waciuri
Jorge Láscar from Australia · CC BY 2.0 · Wikimedia Commons
Lascar Statue of Dedan Kimathi Waciuri

Lascar Statue of Dedan Kimathi Waciuri

Jorge Láscar from Australia · CC BY 2.0 · Wikimedia Commons
UAP Towers seen from Uhuru Park, Nairobi
Dchiedo · CC BY-SA 4.0 · Wikimedia Commons
UAP Towers seen from Uhuru Park, Nairobi

UAP Towers seen from Uhuru Park, Nairobi

Dchiedo · CC BY-SA 4.0 · Wikimedia Commons

Timeline

11 periods
  1. 123,000 BCE – 10,000 BCEHomo heidelbergensisMap of 123,000 BCE →
  2. 10,000 BCE – 8000 BCENo state drawn here on the mapMap of 10,000 BCE →
  3. 8000 BCE – 1500 BCEBantuMap of 8000 BCE →
  4. 1500 BCE – 800 CEKhoisanMap of 1500 BCE →
  5. 800 CE – 1530 CEBantu peoplesMap of 800 CE →
  6. 1530 CE – 1914 CENo state drawn here on the mapMap of 1530 CE →
  7. 1914 CE – 1920 CEBritish East Africaunder United Kingdom of Great Britain and IrelandMap of 1914 CE →
  8. 1920 CE – 1938 CEKenyaMap of 1920 CE →
  9. 1938 CE – 1945 CEKenyaunder United KingdomMap of 1938 CE →
  10. 1945 CE – 1960 CEKenyaunder United KingdomMap of 1945 CE →
  11. 1960 CE – todayKenyaMap of 1960 CE →

Quick answers

Who rules Nairobi today?
On the latest map, Nairobi is in Kenya.
Who ruled Nairobi the longest?
On our maps, the Bantu peoples, for about 730 years (800 CE to 1530 CE).
How many times has Nairobi changed hands?
Our maps show it passing to a new ruler 6 times since 1 CE.
Who ruled Nairobi in 1 CE, 1000, 1500 and 1900?
In 1 CE: Khoisan. In 1000: Bantu peoples. In 1500: Bantu peoples. In 1900: no state on the map.

Dates are the years of our map snapshots, which are decades or centuries apart, so a change shown between two years happened at some point in that gap. The borders come from the historical-basemaps project and are approximate, especially for the ancient world and for peoples without fixed frontiers.

Nairobi on this site

Died in Nairobi
Wangari Maathai (1940–2011)
Nairobi in the guided tours
The British Empire

Visit today

See Nairobi for yourself

Walking tours, museum and monument tickets, and guided visits to the places where Nairobi's history happened.

Tours and tickets in Nairobi

On GetYourGuide. We may earn a commission if you book. See our disclosure.