Nairobi is Kenya's capital and its largest city, sitting on the southern edge of the Central Highlands at roughly 1,700 metres above sea level. It is one of sub-Saharan Africa's most consequential urban centres: a continental hub for diplomacy, finance, technology, and the arts, and the practical gateway for the vast majority of Kenya's safari travellers. Understanding it a little – its history, its tensions, its contemporary energy – makes the time you spend here, however brief, considerably more rewarding.
The short version
Nairobi is the capital city of Kenya and the country's economic, political, and cultural centre. Founded by British colonial engineers in 1899 as a railway depot, it has grown into a metropolitan area of several million people. It sits at approximately 1,700 metres elevation on the Athi Plains, giving it a mild, temperate climate unusual for a city so close to the equator. Today it is home to the African headquarters of the United Nations, a thriving tech and creative sector, and Nairobi National Park – the world's only wildlife reserve sharing a fence with a capital city.
Historical context
The land on which Nairobi stands was not empty before the railway arrived. The Maasai knew the area as Enkare Nairobi – "place of cool waters" – and used the Athi Plains as dry-season grazing. The Kikuyu farmed the ridges to the north. When the Imperial British East Africa Company and then the colonial administration began pushing the Uganda Railway inland from Mombasa in the 1890s, they chose a flat, well-watered site at mile 327 as a supply depot. It was a pragmatic, unglamorous choice, not a grand founding.
The colonial city that grew from that depot was built on dispossession. Land was alienated from Kikuyu farmers and Maasai pastoralists under a series of legal instruments – the Crown Lands Ordinance of 1915 being among the most consequential – that classified African-occupied land as "waste and unoccupied" and transferred it to the Crown. The racial geography of early Nairobi was deliberate: European residential areas on the higher, cooler ridges; Asian traders and artisans in a middle zone; African workers confined to locations such as Pumwani and Pangani, with movement controlled by the kipande pass system. This spatial logic still echoes in the city's uneven development today.
Resistance was constant. The early 20th century saw labour strikes, the rise of the East African Association under Harry Thuku, and the gradual consolidation of Kikuyu political organisation that would eventually feed into the Kenya African Union and, later, the Mau Mau movement. The Emergency declared in 1952 brought mass detention, forced villagisation in Central Province, and the construction of detention camps whose histories are still being fully reckoned with. Nairobi itself was a site of surveillance and violence, but also of clandestine organising. Caroline Elkins's Imperial Reckoning (2005), which drew on extensive archival and oral research and won the Pulitzer Prize, remains one of the most thorough accounts of this period in English; Kenyan scholars including Bethwell Ogot and Maina wa Kinyatti have written from perspectives closer to the ground.
Independence in 1963, with Jomo Kenyatta as the first prime minister and then president, brought Nairobi its formal status as capital of the new republic. The Kenyatta years and those of his successor Daniel arap Moi were marked by rapid urban growth, significant corruption, the concentration of political power, and periodic crackdowns on dissent. The multiparty reforms of the 1990s and the new constitution of 2010 reshaped the political landscape substantially, though debates about land, ethnicity, and inequality remain live. The post-election violence of 2007–08, which killed over a thousand people and displaced hundreds of thousands, is part of Nairobi's recent memory, not distant history.
What the encyclopaedias tend to underweight is how much Nairobi has also been a city of intellectual and creative production. The University of Nairobi's Department of Literature – where Ngũgĩ wa Thiong'o taught before his detention in 1977 – was a centre of radical literary thought. The magazine Transition, later Ch'indaba, passed through Nairobi in the 1970s. Today, publications like The Elephant (theelephant.info) carry on serious political and cultural analysis rooted in Kenyan and East African scholarship.
Nairobi today
The city that safari travellers fly into is genuinely complex. Nairobi has a population that various estimates put in the several millions – the exact figure depends on how you draw the metropolitan boundary, and the Kenya National Bureau of Statistics is the right place to check current census data. It is young, connected, and increasingly self-confident about its place in the world.
The tech sector centred on "Silicon Savannah" – a term Nairobians use with varying degrees of irony – has produced significant fintech innovation, most famously M-Pesa, the mobile money platform that changed how East Africans transact. The creative industries are equally energetic: Nairobi has a substantial film and television production sector, a music scene that spans gengetone, afrobeats crossover, and a reviving jazz tradition, and a contemporary art ecosystem anchored by spaces like the Nairobi Gallery and the GoDown Arts Centre.
The Maasai, Kikuyu, Luo, Luhya, Kamba, Kalenjin, Somali, and many other communities that make up Nairobi's population are not museum exhibits. They are professionals, entrepreneurs, artists, and politicians navigating the same urban pressures – housing costs, traffic, climate stress, political uncertainty – that characterise any large African city. The casual exoticisation that some travel writing applies to Nairobi's residents is both inaccurate and, frankly, tiresome to the people it purports to describe.
The National Museums of Kenya at Museum Hill is the single most useful institution for a visitor wanting grounded context. Its collections span palaeontology (the Turkana Boy fossil is housed here), ethnography, natural history, and contemporary art. The Nairobi Gallery on Kenyatta Avenue, a branch of the same institution, focuses on art and political history and is worth an hour of anyone's time.
What to know as a visitor
Nairobi rewards a little preparation and penalises assumptions.
Language. Swahili and English are both official languages, and most Nairobians in business and hospitality contexts speak fluent English. Sheng – a Nairobi street creole blending Swahili, English, Kikuyu, and other languages – is widely spoken and is a marker of urban identity rather than a sign of educational deficit. Learning a handful of Swahili phrases (habari, asante, tafadhali) is appreciated and not patronising if done without performance.
Safety. Nairobi has a reputation for petty crime that is partly deserved and partly overstated. Pickpocketing in crowded areas – bus stages, markets, the CBD – is a real risk. Bag-snatching from car windows in slow traffic happens. Walking alone at night in unfamiliar areas is unwise. None of this is unique to Nairobi, and none of it should be treated as a reason to avoid the city or to view its residents with suspicion. Your government's travel advisory (the US State Department, UK FCDO, and Australian DFAT all publish current assessments) is the right place to check the current security picture before you travel.
Photography. Ask before photographing people. This is not a Nairobi-specific rule – it is basic courtesy anywhere – but it matters more in a city where tourists with cameras have a long history of treating residents as scenery. In markets and informal settlements especially, a camera pointed without permission can reasonably be read as disrespectful. Many people are happy to be photographed if you ask; some are not; both responses deserve respect.
Tipping and transactions. Tipping is customary in restaurants (roughly 10 per cent where service is not included), with guides, and with drivers. Haggling is appropriate in markets and not appropriate in fixed-price shops and restaurants. M-Pesa is ubiquitous; many smaller vendors prefer it to cash.
Traffic. Nairobi's traffic is genuinely severe, particularly during morning and evening rush hours. If you have a flight or a departure to catch, build in far more time than you think you need. This is not a cliché – it is practical advice that experienced operators give their clients repeatedly.
What to avoid
The most common mistake visitors make in Nairobi is treating it as a transit stop to be endured rather than a city worth engaging with. A close second is engaging with it only through the lens of a curated tourist experience – the craft market, the giraffe centre, the obligatory sundowner – without any curiosity about the city's actual life.
Avoid "slum tours" that present informal settlements like Kibera as spectacles for outside observation. Some community-based organisations do run genuine engagement programmes in these areas, but the distinction between a community-led initiative and a poverty-tourism operation is not always obvious from a hotel brochure. If you want to engage with Nairobi beyond the tourist circuit, ask your operator or accommodation for introductions to local guides with genuine community ties, and be prepared to spend money in ways that circulate locally.
Be cautious of unsolicited approaches from strangers offering to show you around, take you to a "special" market, or introduce you to a relative who makes crafts. These approaches are sometimes genuine and sometimes the opening of a confidence scam. Nairobi residents themselves navigate these dynamics and do not take offence at polite refusal.
Do not photograph military installations, government buildings, or police officers without permission. This applies across Kenya and can cause genuine trouble.
Where to learn more
The reading list that follows is deliberately weighted towards Kenyan voices.
Ngũgĩ wa Thiong'o's novels – Weep Not, Child, A Grain of Wheat, Petals of Blood – are set partly in and around Nairobi and give a literary account of colonial and post-colonial experience that no guidebook can replicate. His memoir Dreams in a Time of War is more directly autobiographical.
Binyavanga Wainaina's essay "How to Write About Africa," published in Granta in 2005, is essential reading for any visitor who wants to examine their own assumptions before they arrive. It is short, precise, and funny.
The Elephant (theelephant.info) publishes long-form analysis of Kenyan politics, economics, and society by Kenyan and East African writers. It is free to read online and considerably more useful than most travel journalism.
The Kenya National Library Service maintains archives and reading resources that are accessible to researchers.
For film, Wanuri Kahiu's Rafiki (2018) – banned in Kenya on release and then briefly unbanned to qualify for awards consideration – is a Nairobi love story that tells you more about the city's contemporary social tensions than any amount of background reading. Nairobi Half Life (2012), directed by David Tosh Gitonga, is a grittier portrait of the city's informal economy and is widely considered one of the best Kenyan films made.
The podcast The Kenyan Podcast and the journalism platform The Standard and Daily Nation (Nation Media Group) give you a sense of what Nairobians are actually talking about on any given week.
Practical implications for your safari
Most Kenya safaris begin and end in Nairobi, and many travellers spend no more than a night or two here. That is a reasonable itinerary, but it is worth thinking about what you do with those nights.
Jomo Kenyatta International Airport sits southeast of the city centre, roughly 15 kilometres out depending on traffic – which, again, is the operative variable. Wilson Airport, used by light aircraft and charter flights to the Maasai Mara, Amboseli, and other parks, is closer to the city. If you are flying out to a camp on a small aircraft, confirm which airport your departure uses and allow time accordingly.
If you are doing a 3-day Maasai Mara safari from Nairobi, the city is your logistical base, and knowing the airport geography and traffic patterns matters more than you might expect. For longer stays, the question of where to stay in Nairobi is worth thinking through: the city has everything from international business hotels to well-run guesthouses in quieter residential areas, and Airbnb Nairobi options have expanded considerably in recent years for travellers who prefer a more residential experience.
The best time to visit Kenya from a wildlife perspective shapes your Nairobi experience too: the long rains (roughly March to May) can make roads difficult and some smaller airstrips temporarily unusable, while the dry seasons bring clearer skies and easier movement. Nairobi's elevation means it is rarely hot by tropical standards – evenings can be genuinely cool, and a light layer is worth packing regardless of when you travel.
For travellers arriving from the United States, flights to Nairobi from major hubs typically route through Europe or the Gulf; journey times are long, and building in a recovery day in Nairobi before heading to a camp is not indulgence – it is sensible logistics. If you need a vehicle for independent movement in the city or surroundings, car hire in Nairobi is widely available, though driving in the city itself requires patience and local knowledge.
The city is also a reasonable base for day trips to Nairobi National Park, where lion, cheetah, black rhino, and large herds of plains game can be seen against the improbable backdrop of the city skyline. The park is not a substitute for the Mara or Amboseli, but it is a genuinely wild place, and the conservation story it embodies – a national park under sustained pressure from urban encroachment and infrastructure development – is one of the more honest introductions to the tensions that run through Kenyan conservation more broadly.
Nairobi, in other words, is not a waiting room. It is the country's centre of gravity, and arriving with some sense of its history, its contradictions, and its considerable vitality will make everything that follows – the long drives, the early mornings, the conversations with guides who grew up in this city or migrated to it from somewhere else – considerably richer.
Frequently asked questions
Is Nairobi the capital of Kenya?
Yes. Nairobi is the capital city of Kenya and has been since independence in 1963. It is also the country's largest city and its primary hub for government, commerce, and international institutions.
Where is Nairobi, Kenya?
Nairobi sits in southern Kenya, on the northern edge of the Athi Plains and close to the southern boundary of the Central Highlands. It lies roughly 140 kilometres south of the equator. On a map, it is positioned in the interior of the country, well west of the Indian Ocean coast and southeast of the Rift Valley.
What is the elevation of Nairobi, Kenya?
Nairobi sits at approximately 1,700 metres above sea level – some sources cite figures between 1,660 and 1,800 metres depending on the specific location within the city. This altitude gives the city a notably mild climate: warm days, cool evenings, and none of the oppressive humidity of the coast. It is one reason the British chose the site for a colonial administrative centre, and one reason the city remains comfortable for visitors year-round.
What is the population of Nairobi?
Nairobi's population is in the several millions, though the precise figure depends on whether you measure the city proper or the broader metropolitan area, and census data shifts with each count. For current figures, the Kenya National Bureau of Statistics publishes official census results and is the authoritative source.
What language do people speak in Nairobi?
Swahili and English are Kenya's two official languages, and both are widely used in Nairobi. In practice, most urban Nairobians are multilingual: they may speak a mother tongue at home (Kikuyu, Luo, Luhya, Kamba, and many others), use Swahili in the street and market, and switch to English in professional and formal contexts. Sheng, the city's distinctive urban creole, blends all of these and is a living marker of Nairobi identity.
Is Nairobi safe for tourists?
Nairobi carries real risks – primarily petty theft and opportunistic crime in busy public areas – but it is not uniquely dangerous among major African cities, and millions of visitors pass through without incident each year. Sensible precautions (avoiding ostentatious displays of valuables, using reputable transport, staying aware in crowds) reduce risk significantly. Check your government's current travel advisory before departure for up-to-date assessments.
What is the climate like in Nairobi?
Nairobi's elevation produces a temperate climate that surprises many visitors expecting tropical heat. Daytime temperatures typically range from the low 20s°C in the cooler months to the upper 20s°C at the warmest. Evenings can drop to the low teens. There are two rainy seasons – the long rains roughly from March to May, and the short rains from October to December – though patterns have become less predictable in recent years. For safari planning, the dry seasons (January–February and June–October) generally offer the best wildlife viewing conditions.