Kenya: a history from the cradle of humankind to the modern republic

Kenya's Swahili coast traded with Arabia and India for a thousand years. Pakistan is the largest buyer of Kenyan tea, and the 2022 killing of journalist Arshad Sharif near Nairobi shook both countries.

By Last reviewed

Kenya
Kenya and its neighbours. Borders approximate.

Key facts

Capital
Nairobi
Independence
12 December 1963
President
William Ruto, since September 2022
Population
About 56 million
Languages
Swahili and English
Link with Pakistan
Pakistan is the largest buyer of Kenyan tea; a long-established community of South Asian origin

Through the ages

The main periods of Kenya's history, 70000 BCE to today. Recent centuries are drawn wider so they can be read.

  1. Early humans and herders70000 BCE to 500 CE
  2. Swahili city-states800 CE to 1498
  3. Portuguese and Omani rule on the coast1498 to 1895
  4. British East Africa1895 to 1963
  5. Independent Kenya1963 to today

Timeline

  1. c. 800 CE
    Civilisation

    Swahili towns

    Trading towns grow along the coast, and Islam spreads through contact with Arabia and Persia.

  2. c. 1100
    Culture and faith

    Gedi

    The Swahili town of Gedi is built near Malindi. Its ruins are now in the forest.

  3. 1498
    Empires and dynasties

    Vasco da Gama at Malindi

    Vasco da Gama finds a pilot at Malindi to guide him across the Indian Ocean to India.

  4. 1593
    Empires and dynasties

    Fort Jesus

    The Portuguese build Fort Jesus to control Mombasa.

  5. 1698
    Wars and conflict

    Omani rule

    After a long siege, Omani forces take Fort Jesus and drive the Portuguese from the coast.

  6. 1837
    Empires and dynasties

    Mombasa under Zanzibar

    Sultan Said of Oman and Zanzibar takes Mombasa from the Mazrui family.

  7. 1895
    Empires and dynasties

    British East Africa

    Britain declares a protectorate over the interior.

  8. 1896
    Economy

    The Uganda Railway

    Building of the railway from Mombasa begins. About 32,000 workers are brought from British India, including today's Pakistan.

  9. 1899
    Politics

    Nairobi

    A railway depot is set up at Nairobi, which becomes the capital.

  10. 1920
    Empires and dynasties

    Kenya Colony

    Kenya becomes a crown colony. White settlers take the fertile highlands.

  11. October 1952
    Wars and conflict

    Mau Mau

    Britain declares an emergency against the Mau Mau uprising. Tens of thousands are detained in camps, and thousands are killed.

  12. 12 December 1963
    Independence

    Independence

    Kenya becomes independent, with Jomo Kenyatta as leader.

  13. 1978
    Politics

    Moi

    Kenyatta dies and Daniel arap Moi becomes president for 24 years.

  14. 1984
    Culture and faith

    Turkana Boy

    Scientists find the skeleton of a boy who lived about 1.5 million years ago near Lake Turkana, among the most complete early human fossils.

  15. 7 August 1998
    Wars and conflict

    Embassy bombing

    Al-Qaeda bombs the US embassy in Nairobi, killing more than 200 people.

  16. December 2007
    Politics

    Post-election violence

    A disputed election leads to violence that kills about 1,100 people.

  17. 2010
    Politics

    New constitution

    A new constitution devolves power to 47 counties.

  18. 23 October 2022
    Politics

    Arshad Sharif killed

    Pakistani journalist Arshad Sharif is shot dead by Kenyan police near Nairobi. A Kenyan court later rules the killing unlawful.

  19. June 2024
    Politics

    Gen Z protests

    Youth-led protests against tax rises storm parliament; the finance bill is withdrawn.

Cradle of humankind

Kenya lies on the equator in East Africa, from the Indian Ocean coast across savanna and highlands to Lake Victoria. The Great Rift Valley runs through it, and around Lake Turkana scientists have found some of the most important early human fossils, including the skeleton of a boy who lived about 1.5 million years ago. Over thousands of years herders, farmers and hunters settled the land, among them the ancestors of today’s Kikuyu, Luo, Kalenjin and Maasai.

The Swahili coast

From around the eighth century trading towns grew along the coast, such as Lamu, Malindi, Mombasa and Gedi. Their merchants traded ivory, gold and mangrove poles with Arabia, Persia and India, and Islam spread among them. Out of this mix came the Swahili language and culture. In 1498 Vasco da Gama found a pilot at Malindi to guide him to India, and the Portuguese soon dominated the coast, building Fort Jesus at Mombasa in 1593. In 1698, after a long siege, Omani forces took the fort, and the coast came under Oman and later the Sultanate of Zanzibar.

British Kenya

Britain declared a protectorate in 1895 and built the Uganda Railway from Mombasa to Lake Victoria. About 32,000 workers were brought from British India, including what is now Pakistan, to build it; many died, and others stayed, founding a South Asian community that became important in trade. Nairobi grew from a railway depot into the capital. White settlers took the fertile highlands, and Africans were pushed into reserves and forced to work. In 1952 the Mau Mau uprising broke out, mainly among the Kikuyu. Britain declared an emergency, detained tens of thousands in camps and executed more than a thousand people. In 2013 Britain paid compensation to survivors of abuse.

Independent Kenya

Kenya became independent on 12 December 1963, with Jomo Kenyatta as leader. Daniel arap Moi succeeded him in 1978 and ruled for 24 years, much of it as a one-party state. Multi-party politics returned in 1991, and in 2002 the opposition won. A disputed election in 2007 led to violence that killed about 1,100 people, and a new constitution in 2010 devolved power to counties. William Ruto became president in 2022. In June 2024 young protesters forced the government to withdraw a tax bill. Kenya is the economic hub of East Africa and led a UN-backed security mission to Haiti.

Kenya and Pakistan

Pakistan is the largest buyer of Kenyan tea, and trade between the two countries has grown. On 23 October 2022 the Pakistani journalist Arshad Sharif was shot dead by Kenyan police at a roadblock near Nairobi; in 2024 a Kenyan court ruled the killing unlawful. His death caused deep grief and anger in Pakistan.

For our latest reporting on Kenya, see the news listed on this page.

Landmarks and heritage

1593

Fort Jesus

Mombasa

The Portuguese fort that changed hands many times. A UNESCO World Heritage Site.

From the 14th century

Lamu Old Town

Lamu

The oldest and best-preserved Swahili town in East Africa. A UNESCO World Heritage Site.

Natural and fossil sites

Lake Turkana National Parks

North

Desert lakes rich in early human fossils. A UNESCO World Heritage Site.

12th to 17th centuries

Gedi Ruins

Near Malindi

The ruined Swahili town of Gedi, with its mosques and palace.

Terms you will meet in the news

Swahili
The Bantu language and coastal culture shaped by centuries of trade with Arabia and Persia.
Mau Mau
The uprising of the 1950s against British rule and land seizures.
Harambee
Swahili for pulling together, Kenya's national motto.
Maasai
Herding people of southern Kenya and northern Tanzania.

Quick answers

What links Kenya and Pakistan?

Pakistan is the largest buyer of Kenyan tea. Kenya has a long-established community of South Asian origin, many descended from workers on the Uganda Railway. In 2022 Pakistani journalist Arshad Sharif was killed by Kenyan police near Nairobi.

What was the Mau Mau uprising?

A rebellion in the 1950s, mainly among the Kikuyu, against British rule and the seizure of land. Britain detained tens of thousands in camps.

What happened to Arshad Sharif?

The Pakistani journalist was shot dead by Kenyan police at a roadblock near Nairobi on 23 October 2022. In 2024 a Kenyan court ruled that the killing was unlawful.

Where is the Swahili coast?

The East African coast from Somalia to Mozambique, including Mombasa, Malindi and Lamu in Kenya.

Sources and further reading

Compiled by The Indus Compass from the sources above and standard reference works, and reviewed 29 November 2026. Dates before the modern era are approximate and some are debated by historians. Spotted a mistake? Tell the newsroom and we will correct it.