Preprint · Urban mobility · v1.0

Nairobi's traffic isn't just a road problem. It's a coordination problem.

Open research on where commuters' time is lost, what it costs, and who can act on it, and the coordination system we're building in the open, with anyone willing to help.

AR

Allan Robinson

VP AI Engineering, Nalla Labs · ORCID

23 Nov 2026 · 66 pages · Open for contribution

Why we're doing this

Two hours. Sometimes three. Every single day.

You've just finished a long day of work. The matatu hasn't moved in twenty minutes. Ahead, a junction is locked from every side. Nobody is directing it, and nobody can. Two hours later, sometimes three, you get home with nothing left for your family, your rest or yourself. At 6 a.m. it starts again.

It doesn't matter whether you're in a matatu, an Uber, on a boda or behind your own wheel. The feeling is the same: helpless. You can't leave earlier forever. You can't take another road; it's stuck too. And no one you could complain to seems to be in charge of the whole picture.

Even on an average day, two peak trips cost a commuter about 122 hours a year, roughly fifteen working days, sitting still. People cope by leaving home earlier, paying in sleep and family time.

That missing owner is what we can't stop thinking about. The jam isn't bad luck, and it isn't only too many cars. It's a system failing millions of people every day, and systems can be studied, measured and fixed.

The real problem

More roads alone won't fix it.

Nairobi is already investing: between KSh 113 and 137 billion has been announced for smart signals at 210 junctions, traffic systems, speed cameras and bus rapid transit. Those investments may well be needed. But JICA's own forecasts show speeds still falling even after every planned road and BRT line is built, and cities worldwide find that new road space fills with new traffic.

So we're testing a different explanation. Five systems shape peak road space, and each optimises for something reasonable on its own terms:

Infrastructure

Agencies that build capacity, measured by works delivered.

Operators

Matatu SACCOs and crews, working to daily cash targets.

Enforcement

Police and NTSA, judged on visible presence on the road.

Road users

Millions of drivers, riders and walkers, each taking their own fastest route.

Institutions

Planning bodies working to annual budgets and multi-year projects.

Every actor can be doing their job well, and the combined result is still a jam.

Our working hypothesis is that a real share of daily peak delay comes from coordination failures: problems that recur every evening, are seen by many people and owned by no one, while the information that could locate their cause sits scattered across agencies, operators and platforms. The research is designed to test that, including the chance that it's wrong.

What it costs

Lost hours add up to a lost economy.

Fact

8.3 km/h

Average peak-hour speed in Nairobi City in 2023, down from 27.5 km/h in 2013

Estimate

KSh 46bn

Estimated yearly cost of weekday peak congestion (90% interval 33.6–70.8bn)

Estimate

~1m hrs

Person-hours lost to peak delay across the metro area every weekday

Fact

KSh 113–137bn

Already announced for smart signals, traffic systems, cameras and BRT

Facts are cited from published sources. Estimates come from our open, reproducible cost model and always carry an uncertainty range. Every source is listed in the paper.

What we're building

Measure together. Move together.

Our long-term goal is a shared, AI-assisted traffic coordination system for Kenya: open to the public, and built to be adopted by government agencies and private operators. We get there one tested step at a time, through research done in the open, together.

  1. 01

    Research in the open

    Publish the evidence, the models, the code and our own limitations. Anyone can re-run the numbers, and corrections go into the next version.

  2. 02

    Diagnose before we fix

    Eight to ten weeks on one route and one stage, observing passengers, vehicles and junctions on a common clock, to find where delay starts, not just where the queue shows.

  3. 03

    Give every problem an owner

    Agree one costed change with a named road authority and a willing SACCO, record it in a shared accountability log, and measure passengers against a comparison site.

  4. 04

    Build the coordination system

    Grow the log into a shared, AI-assisted system that government agencies and operators can adopt. AI measures, detects, diagnoses and routes; named institutions decide and answer for results.

Inside v1.0

What the paper finds, and how sure we are.

The paper labels every claim by how strong it is: estimated from data, illustrated in a model, inferred from documents, or proposed for testing. No fieldwork has been done yet. That's the next step.

  1. 01
    EstimatedWeekday peak congestion costs the metro area about KSh 46.3 billion a year. The roughly one million person-hours lost each weekday is the firmer number; what an hour is worth drives most of the uncertainty.
  2. 02
    InferredCapacity isn't the whole story. JICA's own forecasts show speeds still falling, to 6.8 km/h on major roads by 2045, even with every planned road and BRT line built.
  3. 03
    IllustratedWhere a queue shows isn't always where it starts. A stage seat-supply model shows how delays on vehicles' return trips could leave passengers queuing at central stages.
  4. 04
    InferredThe parts exist but aren't connected. Cameras, signal systems and data are arriving, but nothing links them to named owners or to passenger outcomes. Nairobi can increasingly see its traffic, but has no clear way to turn that into accountable action.
  5. 05
    ProposedDiagnose first, then change one thing. A pilot should go ahead only with a baseline, a named owner, an agreed change, comparison sites and a pre-registered evaluation.

Abstract

Traffic Jam: A Passenger-Centred Diagnostic Framework for Congestion, Public Transport Operations and Institutional Coordination in Nairobi, Kenya

Urban congestion in Nairobi is commonly addressed through road building, enforcement and transport technology, yet recurring delays may also arise from interactions among road capacity, public transport operations, traffic management, road-user behaviour and institutional coordination. This paper develops a passenger-centred framework for identifying where delay originates rather than only where it is observed, and sets out a research programme to test it. Using secondary data from the Japan International Cooperation Agency’s 2023 household survey, TomTom speed indicators and national statistics, a wage-based model estimates the economic cost of weekday peak congestion in the Nairobi Metropolitan Area at about KSh 46.3 billion a year under central assumptions; a Monte Carlo analysis gives a 90% uncertainty interval of KSh 33.6–70.8 billion, with the value of travel time and peak delay accounting for most of the variance. An illustrative stage seat-supply model shows how delays on inbound vehicle trips could produce passenger queues at central stages; it requires field calibration. A review of congestion economics, from Pigou and Vickrey to recent field experiments, and of Nairobi’s monitoring systems informs a proposed diagnosis-first pilot with a named operating owner, comparison sites and a pre-specified difference-in-differences evaluation, and a staged design for an AI-assisted coordination system in which decisions remain with responsible institutions. No primary fieldwork has yet been conducted. The contributions are a preliminary estimate, a diagnostic framework, an operational model, and a protocol for validation and replication in other cities.

Keywords: Nairobi traffic, urban congestion, passenger travel time, paratransit, matatu, traffic diagnosis, institutional coordination, congestion pricing, AI-assisted transport management, Kenya

Open for contribution

This is open-source research. Everyone stuck in traffic is a stakeholder.

No one organisation can solve a city's coordination problem alone, including us. Traffic Jam has no funding and no sponsor; the evidence improves fastest when others test, correct and extend it. Contribution is voluntary, and here's where you fit:

Commuters, crews & marshals

Tell us how the peaks really work on your route and at your stage. Your observations are evidence.

Researchers

Take one of the fifteen open problems (P1–P15), or replicate the cost, bottleneck and stage models under your own assumptions.

Engineers & data scientists

Test AI counting, incident detection and delay attribution against simple baselines on Nairobi data (P13). The model code is MIT-licensed.

Government & agencies

Name an owner for one site, measure ITS junctions before and after switch-on, and help start a shared accountability log.

SACCOs & operators

Work through one operational change with us, and share GPS and dispatch records under a data agreement.

Funders & other cities

Fund the eight- to ten-week diagnosis, or apply the framework in your own city using the minimum dataset in Appendix C.

Join the research

Read the paper

Read it here, or take it with you.

Free to read, download and share. Please cite the version number, as figures can change between versions.

Published 23 Nov 2026 · 66 pages · 0.5 MB

Version history

A living document.

Every published version stays available, with its date and what changed, so you can see how the thinking moved and cite the exact version you read.

  1. v2.0In progressUpcoming
    • — Folding in reader feedback, corrections, replications and new sources on v1.0.
  2. v1.0Current23 Nov 2026
    • — First public preprint. Not yet peer reviewed.
    • — Companion 13-slide stakeholder briefing, Beyond the Traffic Jam: the problem, the evidence and the plan.
    • — Reproducible cost model with a Monte Carlo uncertainty analysis: about KSh 46.3bn a year (90% interval 33.6–70.8bn).
    • — Central-Stage Seat Supply and Passenger Queue Model, to be calibrated in the field.
    • — Diagnosis-first pilot protocol with a pre-specified difference-in-differences evaluation.
    • — Fifteen open problems (P1–P15) for contributors.

Feedback

Tell us what we got wrong.

Views, comments, criticism, a better source, an offer of help. All feedback is welcome. The most useful notes point to a page number and say what should change.

We read every submission. Corrections that hold up go into the next version, credited to you.

Goes straight to hello@nallalabs.xyz. We may credit substantive contributions in the next version. Tell us in your comments if you'd rather stay anonymous.