In Marsabit, 3,107 votes separated the two presidential candidates. In a county of 166,944 registered voters, that’s roughly 27 votes per polling station on average. Flip 14 votes per station and the county changes hands. That’s the reality of close races in Kenya. And in 2022, there were more of them than most people realise.
When we talk about Kenya’s 2022 general election, the headline number is the 233,211-vote national presidential margin. But zoom into the county level and the margins shrink to numbers that should keep every campaign manager awake at night.
Seven counties were decided by less than 15 percentage points in the presidential race. Several more had gubernatorial and parliamentary races that came down to a few hundred votes. Let’s look at where the closest battles happened.
The Closest Presidential Margins
Here are the seven counties where the presidential race was decided by less than 15 percentage points:
Let’s walk through each one:
1. Marsabit (2.70% margin, Ruto by 3,107 votes). This was the tightest county in the entire election. Ruto won 58,782 votes to Odinga’s 55,675 in a county of 166,944 registered voters. Turnout was 69.12%. The margin was so slim that a shift of just 1,554 voters would have flipped it. Marsabit is a diverse county with Borana, Gabbra, Rendille, and Samburu communities, and its politics reflect that diversity. In 2017, Kenyatta won Marsabit with 92,696 votes (83.6%) to Odinga’s 16,003 (14.4%) — so the swing to 2022 was massive.
2. Kajiado (3.27% margin, Odinga by 10,107 votes). With 463,389 registered voters, Kajiado is one of the largest swing counties. Odinga won 158,556 to Ruto’s 148,449. This county flipped from Kenyatta’s column in 2017 (186,481 to 138,405) to Odinga’s in 2022. Kajiado’s proximity to Nairobi means its demographics are shifting rapidly.
3. Narok (3.61% margin, Odinga by 11,145 votes). Another Maasai-majority county that flipped. Odinga won 159,455 to Ruto’s 148,310. Narok had impressive 77.73% turnout, suggesting the tight result was due to genuine competition, not low participation.
4. Trans Nzoia (6.25% margin, Odinga by 15,664 votes). With 399,230 registered voters, this Western Kenya county saw Odinga win 132,440 to Ruto’s 116,776. The Luhya-Kalenjin demographic mix makes this a perennial battleground.
5. Lamu (6.56% margin, Odinga by 3,284 votes). Kenya’s smallest county by registration (81,468 voters) was also one of its most competitive. Odinga won 26,160 to Ruto’s 22,876. In raw numbers, 3,284 votes is tiny — a single large polling station could swing it.
6. Isiolo (9.92% margin, Ruto by 5,853 votes). Ruto took 32,302 to Odinga’s 26,449 in this northeastern county of 89,535 registered voters. The margin was wider in percentage terms but only 5,853 votes in absolute terms.
7. Tana River (10.57% margin, Odinga by 9,885 votes). Odinga won 51,390 to Ruto’s 41,505. Tana River straddles the Coast and northeastern regions and has historically been competitive.
All Counties Within 10% Margin
If we expand the lens to all counties within a 10 percentage point margin, we get a clearer picture of Kenya’s true battleground map:
These six counties — Marsabit, Kajiado, Narok, Trans Nzoia, Lamu, and Isiolo — contained a combined 1,299,236 registered voters. Together they produced margins totalling just 49,260 votes. That’s 49,260 votes across 1.3 million registrations — an average margin of less than 3.8%.
For any serious presidential campaign, these six counties are where ground-level strategy matters most. They’re not won by national messaging or television ads. They’re won by having agents at every polling station, knowing your turnout numbers in real time, and responding to problems as they happen.
The Pattern: Diversity Creates Competition
Look at what the closest counties have in common. They’re all ethnically diverse. Marsabit has four major communities. Kajiado and Narok are Maasai-majority but with significant Kikuyu and other populations. Trans Nzoia splits between Luhya and Kalenjin. Lamu divides between indigenous coast communities and upcountry settlers.
In Kenya’s ethnically structured politics, diversity equals competition. The counties where one community dominates — Homa Bay (98.9% for Odinga), Bomet (95.3% for Ruto) — are not competitive. They’re locked in. The competitive counties are the ones where no single community can deliver a winner on its own.
This is also why these counties matter disproportionately for 2027. They’re the places where demographic shifts, economic arguments, and local alliances actually change outcomes. The IEBC’s boundary review data shows continued population growth in several of these counties, meaning their electoral weight will only increase.
How Close Was the Overall Race?
To appreciate how close 2022 really was at the presidential level, consider this: Ruto won 50.49% of valid votes. He needed 50%+1. His margin above that threshold was just 0.49 percentage points — about 69,569 votes above the mathematical 50%+1 line.
Now look at the swing counties. If you could move 35,000 votes from Ruto to Odinga across Marsabit, Kajiado, Narok, and Trans Nzoia, the national margin would have closed to under 163,000 votes. Add another 35,000 from improved turnout in Mombasa (43.76%) and Kilifi (49.03%), and the race would have been essentially tied.
These are not hypothetical numbers. They represent real, achievable shifts in specific, identifiable counties. According to analysis from The Standard, political strategists on both sides identified these same counties as the key battlegrounds before the election. The difference came down to which side executed better on the ground.
Lessons for 2027
The 2022 close races teach us several clear lessons:
- National strategy is not enough. You can’t win by campaigning nationally and hoping for the best. You need county-specific strategies for Marsabit, Kajiado, Narok, Trans Nzoia, Lamu, and Isiolo.
- Ground game wins swing counties. In a county decided by 3,107 votes, the party with better agent coverage at polling stations has a decisive advantage. One unchallenged irregularity in one station can swing the county.
- Turnout is strategy, not luck. Narok had 77.73% turnout. Mombasa had 43.76%. That’s not a natural phenomenon — it’s the result of mobilisation. The party that drives turnout in their lean-counties while maintaining stronghold turnout wins.
- Data beats intuition. Real-time monitoring of results, turnout, and rejected ballots lets you respond to problems as they happen. In a race decided by 233,211 votes nationally and 3,107 votes in the closest county, response time matters.
For the full national results analysis, see Ruto vs Odinga: The Closest Race Since 2013. For a deep dive into the two tightest large counties, read our Narok and Kajiado battleground analysis. And for the turnout story behind these numbers, check out 2022’s historic low turnout.
3,107 votes in Marsabit. 10,107 in Kajiado. 11,145 in Narok. These are the margins that decide Kenyan elections. Votrack’s parallel vote tallying system gives you station-level visibility in every county, so you see the race developing in real time. Don’t leave the closest races to chance. Request a demo and build your 2027 data operation.
Share this article
Need Real-Time Election Tracking?
Votrack provides secure, parallel vote tallying for every electoral position in Kenya.
Learn More About Votrack