A comprehensive data analysis project examining Kenya's coffee production decline and regional competitive positioning in East Africa. This project reveals how political instability and policy failures contributed to a 37% production decline and loss of market position.
This analysis investigates Kenya's coffee sector decline from 1990 to 2018, examining production trends, regional competitive dynamics, and the correlation between political events and agricultural output. Through data-driven analysis, the project identifies root causes and proposes strategic recovery pathways.
Central Finding: Kenya's coffee production fell 37% over three decades, and the country lost its #3 position in East African production to Tanzania in 2004, highlighting the devastating impact of political instability on agricultural sectors.
- 1990 Production: 1,485 thousand 60kg bags
- 2018 Production: 930 thousand bags
- Total Decline: 37% over 28 years
- Peak Year: 1995 (1,664 thousand bags)
- Lowest Point: 2008 (541 thousand bags - 67% below peak)
- Historical Ranking: 3rd in East Africa (1990-2003)
- Current Ranking: 4th place (2004-2018)
- Overtaken By: Tanzania in 2004
- Current Gap: Only 200 tonnes behind Tanzania
- Market Share: 7% of East African production (down from historical ~12%)
- 2003-2004: Sharp decline following end of Moi era and unfulfilled reform expectations
- 2007-2008: Production collapsed to historic low during post-election violence
- 2011: Government policy reforms yielded 8.3% production increase
- Pattern: Political instability = production collapse; policy support = recovery
- Ethiopia: 7,000+ thousand bags (54% regional share)
- Uganda: 4,000+ thousand bags (31% regional share)
- Tanzania: 1,100+ thousand bags (8% regional share)
- Kenya: 930 thousand bags (7% regional share)
- Rwanda: 200 thousand bags (1.5% regional share)
- Burundi: 100 thousand bags (0.8% regional share)
The Overtaking (2004): Kenya held a 554-tonne advantage over Tanzania in 1990 but fell behind by 28 tonnes in 2004βa stunning 582-tonne reversal. This shift marked not just statistical change but fundamental transformation in regional coffee dynamics.
The Recovery Opportunity: With only a 200-tonne gap to third place, Kenya could reclaim its historical position through targeted policy intervention. This represents a 22% production increaseβachievable given that 2011 reforms alone produced 8.3% growth.
Political Stability Premium: Comparison with Tanzania reveals a stark lesson: while Kenya's production collapsed during political crises (2007-2008), Tanzania's stability enabled steady growth. The data proves political stability is not merely beneficial but essential for agricultural sector health.
Kenya's production declined 37% from 1990-2018, with catastrophic drops during political crises
Kenya ranks 4th among East African producers, dominated by Ethiopia and Uganda
Tanzania surpassed Kenya in 2004, with the gap narrowing to 200 tonnes by 2018
- Microsoft Excel - Data analysis, calculations, and visualization
- Microsoft Word - Report compilation and documentation
- Data Analysis Techniques - Trend analysis, comparative analysis, correlation studies
- International Coffee Organization (ICO) - Historical production data (1990-2018)
- Agriculture and Food Authority (AFA), Kenya - Export and market data
- Kenya National Bureau of Statistics (KNBS) - Supplementary production statistics
- Trend Analysis - Examined 29-year production trajectory
- Comparative Analysis - Benchmarked Kenya against 5 East African producers
- Historical Contextualization - Correlated data with political and economic events
- Gap Analysis - Assessed competitive positioning and recovery feasibility
- Policy Impact Assessment - Evaluated 2011 reform outcomes
kenya-coffee-analysis/
β
βββ README.md # Project documentation
βββ data/
β βββ ICO_Coffee_Production.xlsx # Source data (1990-2018)
βββ analysis/
β βββ Kenya_Coffee_Analysis.xlsx # Excel workbook with analysis
βββ report/
β βββ Kenya_Coffee_Report.md # Full written report
βββ images/
βββ kenya_trend.png # Production trend chart
βββ east_africa_coffee_production_comparison.png # Regional ranking chart
βββ kenya_vs_tanzania_coffee_production.png # Competitive analysis chart
1. Political Instability (Primary Driver)
- 2002-2004: Regime transition uncertainty destroyed farmer confidence
- 2007-2008: Post-election violence displaced farmers and disrupted operations
- Clear correlation: Every major production drop followed political crisis
2. Policy and Institutional Failures
- Weakened SACCO (cooperative) systems
- Inadequate government support during crises
- Delayed implementation of promised reforms
- Inconsistent pricing and payment mechanisms
3. Economic Pressures
- Competition from tea and horticulture (more reliable returns)
- Global coffee price volatility
- Rising input costs vs declining profit margins
- Land subdivision reducing farm viability
4. Structural Challenges
- Aging coffee trees requiring replacement investment
- Aging farmer population with limited youth engagement
- Climate variability affecting yields
- Small farm sizes limiting economies of scale
- Sustain Policy Support - 2011 reforms proved effective; expand and institutionalize
- Revitalize SACCO Systems - Restore cooperative reliability and farmer trust
- Quality Differentiation - Leverage Kenya's premium Arabica reputation
- Reclaim Third Position - Close 200-tonne gap with Tanzania (achievable 22% increase)
- Long-term Production Recovery - Target 1,200-1,500 thousand bags over 5-10 years
- Political Stability Protection - Depoliticize sector governance, create crisis buffers
- Youth Engagement - Modernize coffee farming, attract next generation
- Climate Adaptation - Introduce resilient varieties, support sustainable practices
Through this project, I developed expertise in:
Analytical Skills:
- Multi-year trend analysis and pattern recognition
- Comparative benchmarking across countries
- Root cause analysis using multiple data sources
- Correlation studies between economic and political factors
Technical Skills:
- Advanced Excel data manipulation and visualization
- Statistical calculations (percentages, growth rates, comparisons)
- Data cleaning and preparation
- Professional report writing and documentation
Business Acumen:
- Agricultural sector economics understanding
- Policy impact assessment
- Strategic recommendation development
- Stakeholder communication (technical to non-technical)
Domain Knowledge:
- East African coffee market dynamics
- Kenya's political and economic history (1990-2018)
- International commodity trading patterns
- Agricultural policy frameworks
| Metric | Value |
|---|---|
| Years Analyzed | 29 years (1990-2018) |
| Countries Compared | 6 East African producers |
| Data Points | 174+ production measurements |
| Total Decline | -37% (555 thousand bags) |
| Largest Single-Year Drop | -47% (1995-1997) |
| Deepest Crisis | 2008 (67% below peak) |
| Policy Reform Impact | +8.3% (2011) |
| Recovery Opportunity | 200 tonnes to reclaim 3rd place |
This analysis provides:
- Evidence-based policy guidance for Kenya's coffee sector recovery
- Comparative intelligence for understanding regional agricultural dynamics
- Historical lessons on political stability's economic importance
- Strategic roadmap with concrete, achievable recovery targets
- Kenya government agricultural policymakers
- Coffee industry stakeholders and cooperatives
- Development organizations supporting agricultural sectors
- Academic researchers studying political economy and agriculture
- Investors evaluating East African commodity markets
Potential extensions of this analysis:
-
Temporal Extension
- Incorporate 2019-2024 data to assess recent trends
- Analyze COVID-19 pandemic impact on production
-
Deeper Granularity
- Sub-county level production analysis
- Varietal-specific performance (SL28, SL34, Ruiru 11, Batian)
- Quality grade distribution trends
-
Expanded Scope
- Global coffee market integration analysis
- Price correlation studies
- Value chain analysis (farm gate to export)
- Comparison with other commodity sectors (tea, horticulture)
-
Predictive Modeling
- Production forecasting based on policy scenarios
- Climate impact projections
- Recovery timeline modeling
Beryl Achieng Odoyo
Data Analyst | Nairobi, Kenya
- π§ Email: [email protected]
- πΌ Portfolio: berylodoyo.github.io/portfolio
- π» GitHub: @BerylOdoyo
Other Projects:
- Fashion E-Commerce Customer Analysis - Python-based analysis of 23,000+ customer reviews
This project is open source and available for educational purposes.
Citation: If you use this analysis or methodology in your work, please cite:
Odoyo, B.A. (2026). Kenya Coffee Production Analysis (1990-2018):
Understanding Decline and Regional Competitive Positioning.
Data Analysis Portfolio Project.
- International Coffee Organization for providing comprehensive historical production data
- Agriculture and Food Authority (AFA), Kenya for market intelligence and export data
- Kenya National Bureau of Statistics for supplementary economic data
- Kaggle community for data accessibility and open data sharing
Questions, suggestions, or collaboration opportunities?
- Open an issue on this repository
- Email: [email protected]
- Connect via portfolio website
Project Status: β
Complete
Last Updated: February 2026
Documentation Version: 1.0
This analysis demonstrates data-driven storytelling, combining quantitative analysis with historical context to generate actionable insights for Kenya's coffee sector recovery.


