Nairobi and Kenya in numbers

30 series and 1,319 data points, most of them running back to 1960. Open any chart to read it year by year, with its lowest and highest points named.

Most of this is Kenya, not Nairobi

Very little economic data is published for Nairobi alone. Everything marked Kenya is national and is labelled that way on purpose.

Nobody publishes an inflation series, a school enrolment series or sixty years of GDP for Nairobi on its own, so this page does not pretend to. You can filter to the Nairobi figures alone, of which there are few.

What there is for Nairobi

Not much, and it is worth being plain about why. The census runs once a decade, and the Kenya National Bureau of Statistics has published the size of each county's economy only since 2019. So the Nairobi record is six population counts on today's boundary, what the latest census found about its homes, the county's area, and five years of its output.

Nairobi at every census

Census People Per km² Share of Kenya
1969 509,286 722 4.7%
1979 827,775 1,174 5.4%
1989 1,324,570 1,879 6.2%
1999 2,143,254 3,040 7.5%
2009 3,138,369 4,452 8.1%
2019 4,397,073 6,237 9.2%

8.6 times more people in 2019 than in 1969, on the county's 705 km². The city's boundary was extended to about today's in 1963, so earlier counts - for a city a seventh the size - are left out rather than shown as growth. The share divides each count by Kenya's count at the same census.

How Nairobi lived at the 2019 census

The 2019 census is Kenya's latest — the next is due around 2029 — and it counted more than people. Nairobi's 1,506,888 households:

People per household2.9
Renting their home90.6%
Lit by mains electricity96.5%
Water piped to the home or plot51.1%
Water from vendors15.4%
On the main sewer54.3%
Cooking with gas or electricity69.5%
Cooking with paraffin26.5%
People aged 3+ using the internet52.4%
People aged 3+ using a computer28.0%

One census, so these are a picture of 2019 rather than a series. Every figure is also on the map, sub-county by sub-county. From the census's Volumes II and IV as tabulated by census.ke (CC BY).

Nairobi's share of the economy

The Kenya National Bureau of Statistics, Gross County Product 2024 puts Nairobi City at 27.5% of Kenya's economy, on average, from 2019 to 2023. The next largest county, Kiambu, made 5.6%. Nairobi's economy grew by 6.1% a year over those five years, against 4.6% for Kenya. It made 36.9% of the country's manufacturing and 37.4% of its services.

Year Output per person in Nairobi
2019 KSh 591,475
2020 KSh 594,095
2021 KSh 653,704
2022 KSh 735,768
2023 KSh 802,344

In 2023 that was 2.7 times Kenya's KSh 293,229. These are shillings of each year, not adjusted for inflation, and the share and growth are five-year averages as KNBS reports them — stored that way rather than stretched into series. — The report

Every series, and what it covers

First value, last value, and how many observations there are. The scope is the important part.

Nairobi itself (2)

Series Unit First Latest Points Source
People in Nairobi people 509,286
1969
4.4m
2019
6 Kenya census counts, 1969 to 2019 (KNBS and its predecessors)
Output per person in Nairobi KSh KSh 591,475
2019
KSh 802,344
2023
5 KNBS, Gross County Product 2024, Annexe IV (current prices)

Derived from two sourced series (2)

Series Unit First Latest Points Source
People per square kilometre in Nairobi per km² 722.4
1969
6,237
2019
6 Census counts divided by the county's 705 km²
Share of all Kenyans living in Nairobi % 4.7%
1969
9.2%
2019
6 Census counts for Nairobi over census counts for Kenya

Kenya as a whole, not Nairobi (26)

Series Unit First Latest Points Source
Population of Kenya people 7.7m
1960
57.5m
2025
66 World Bank, indicator SP.POP.TOTL
Population growth % a year 3.7%
1961
1.9%
2025
65 World Bank, indicator SP.POP.GROW
Urban population people 633,595
1960
18.5m
2025
66 World Bank, indicator SP.URB.TOTL
Share of Kenyans living in towns and cities % 8.2%
1960
32.2%
2025
66 World Bank, indicator SP.URB.TOTL.IN.ZS
Urban population growth % a year 6.2%
1961
2.9%
2025
65 World Bank, indicator SP.URB.GROW
Life expectancy at birth years 48.5
1960
63.8
2024
65 World Bank, indicator SP.DYN.LE00.IN
Births per woman births 7.7
1960
3.2
2024
65 World Bank, indicator SP.DYN.TFRT.IN
Under fifteens % of population 48.7%
1960
36.3%
2025
66 World Bank, indicator SP.POP.0014.TO.ZS
GDP US$ $791.3m
1960
$135.9bn
2025
66 World Bank, indicator NY.GDP.MKTP.CD
GDP per person US$ $102.8
1960
$2,363
2025
66 World Bank, indicator NY.GDP.PCAP.CD
GDP growth % a year -7.8%
1961
4.6%
2025
65 World Bank, indicator NY.GDP.MKTP.KD.ZG
Inflation % a year 1.2%
1960
4.1%
2025
66 World Bank, indicator FP.CPI.TOTL.ZG
Shillings to the US dollar KES 7.1
1960
129.3
2025
66 World Bank, indicator PA.NUS.FCRF
Money sent home from abroad US$ $7.3m
1970
$5.1bn
2025
56 World Bank, indicator BX.TRF.PWKR.CD.DT
Exports % of GDP 31.1%
1960
15.8%
2025
66 World Bank, indicator NE.EXP.GNFS.ZS
Unemployment % of labour force 2.8%
1991
5.4%
2025
35 World Bank, indicator SL.UEM.TOTL.ZS
Finishing primary school % of age group 47.3%
1970
102.2%
2016
16 World Bank, indicator SE.PRM.CMPT.ZS
Enrolled in secondary school % of age group 32.9%
2000
47.4%
2009
9 World Bank, indicator SE.SEC.NENR
Enrolled in tertiary education % of age group 0.8%
1970
10.4%
2024
28 World Bank, indicator SE.TER.ENRR
Government spending on education % of GDP 3.9%
1971
4%
2024
43 World Bank, indicator SE.XPD.TOTL.GD.ZS
Access to electricity % of population 10.9%
1993
77%
2024
32 World Bank, indicator EG.ELC.ACCS.ZS
Basic drinking water % of population 45.4%
2000
65.6%
2024
25 World Bank, indicator SH.H2O.BASW.ZS
Basic sanitation % of population 23.6%
2000
40.9%
2024
25 World Bank, indicator SH.STA.BASS.ZS
Using the internet % of population 0%
1990
35%
2024
31 World Bank, indicator IT.NET.USER.ZS
Mobile subscriptions per 100 people 0
1960
126.5
2024
53 World Bank, indicator IT.CEL.SETS.P2
Health spending % of GDP 3.6%
2000
4.4%
2023
24 World Bank, indicator SH.XPD.CHEX.GD.ZS

Where all of this comes from

WhatSourceLicence
National indicators, 1960 onwards World Bank Open Data CC BY 4.0
Nairobi census counts Kenya National Bureau of Statistics Official statistics
Nairobi's output and its share of the economy Kenya National Bureau of Statistics, Gross County Product 2024 Official statistics
Nairobi's households at the 2019 census KNBS census tables via census.ke (Open Institute) CC BY

Fetched on 2026-10-15. Nothing here is modelled, interpolated or forecast: where a series is sparse it stays sparse, and the charts draw the observations rather than joining across the gaps.

— The map of Nairobi, constituency by constituency ⇒
— What living in Nairobi costs ⇒
— Nairobi's neighbourhoods ⇒
— Where you can fly nonstop from Nairobi ⇒

Buy me a coffee