Guide

Composting for Kenyan smallholders: A step-by-step guide

Discover how composting for Kenyan smallholders can restore soil fertility, lower input costs, and improve crop yields using simple, local materials.

PA
Polycarp Andabwa·MSc agricultural environmental engineering·founder, ShambaIQ
·· 6 min read
Composting for Kenyan smallholders: A step-by-step guide

Composting for Kenyan smallholders: a step-by-step guide

Key takeaways - Building a low-cost compost pit restores soil organic matter and buffers pH levels. - A proper balance of nitrogen-rich greens and carbon-rich browns prevents bad odors and speeds up decomposition. - Integrating homemade compost can significantly lower your seasonal expenditure on commercial fertilizers.

Effective soil management is the foundation of high-yielding agriculture, and composting offers a practical, low-cost way to restore tired soils. Many shambas across the country suffer from continuous cultivation without organic replenishment, leading to declining yields and compacted earth. By recycling crop residues, kitchen waste, and animal manure, you can create a nutrient-rich soil conditioner that improves water retention and crop performance.

Why composting for Kenyan smallholders is a game-changer

Continuous use of synthetic fertilizers like DAP without organic matter can lead to soil acidification, especially in high-rainfall regions like Uasin Gishu and the Central Highlands. Adding organic compost helps buffer soil pH, making essential nutrients more available to your crops. If you want to check your specific county soil status and understand local nutrient deficiencies, read our Nyandarua County soil health report.

Using compost is an excellent strategy for reducing fertilizer costs in Kenya using soil data. It complements synthetic fertilizers by improving soil structure so crops can absorb mineral nutrients more efficiently. The Kenya Agricultural and Livestock Research Organisation recommends integrating organic compost with micro-doses of mineral fertilizers to improve soil organic carbon and long-term crop yields.

Organic matter acts like a sponge, holding moisture in the root zone during dry spells. This is particularly beneficial for crops like Irish potatoes (such as the popular Shangi variety) and hybrid maize, which require consistent moisture to thrive. When planting potatoes, use clean planting material alongside your compost; learn more about managing these crops in our potato farming guide.

Understanding compost ingredients: greens versus browns

To make high-quality compost, you need a balanced mix of nitrogen-rich "green" materials and carbon-rich "brown" materials. Getting this ratio right is crucial for attracting the beneficial microbes that break down the organic matter. Green materials provide nitrogen for microbial growth, while brown materials provide carbon as the primary energy source for decomposition.

Material categoryExamples on a Kenyan farmPrimary nutrient/roleMoisture content
Green materials (Nitrogen-rich)Fresh weeds, kitchen vegetable waste, banana peels, cow dung, poultry manure, fresh Napier grassNitrogen (for microbial growth and protein synthesis)High
Brown materials (Carbon-rich)Dry maize stalks, dry grass, sawdust, dry leaves, coffee husks, shredded cardboardCarbon (for microbial energy)Low
Soil & Ash (Additives)Topsoil, clean wood ash from the kitchenIntroduces local microbes and adds potassium/calciumLow to Medium

Avoid adding meat scraps, dairy products, dog manure, or diseased plants to your pit. Potato plants infected with late blight or tomatoes with bacterial wilt should never be composted, as the heat in a simple pit may not kill these pathogens. To protect your crops, always source certified planting materials inspected by the Kenya Plant Health Inspectorate Service.

Step-by-step guide to building a low-cost compost pit

Step 1: Selecting the right site Choose a flat, well-drained area on your farm that is sheltered from direct sunlight and strong winds to prevent drying. The site should be close to your water source and easily accessible from your kitchen and animal sheds. Avoid waterlogged spots, as excess water drowns beneficial microbes and causes anaerobic rotting.

Step 2: Digging the pit For a typical smallholder farm, a pit measuring 1.5 meters wide, 1.5 meters long, and 1 meter deep is ideal. Digging deeper makes it difficult to turn the compost, while wider pits are harder to manage. Save the excavated topsoil to use as a starter layer that introduces beneficial local microbes into the pile.

Step 3: Layering the materials Start with a 15 cm layer of coarse brown materials, such as chopped maize stalks or dry twigs, at the bottom of the pit for aeration. Add a 15 cm layer of green materials, followed by a thin 5 cm layer of animal manure to introduce nitrogen-boosting microbes. Sprinkle a handful of topsoil and a light dusting of clean wood ash over this layer to reduce acidity.

Step 4: Covering and monitoring Repeat these layers until the pit is slightly mounded, lightly watering each layer so it is damp but not soggy. Cover the pit with dry grass, banana leaves, or a heavy-duty polythene sheet to retain heat and moisture. Insert a long, pointed stick into the center; if it feels hot and damp when pulled out weekly, the decomposition is working.

Step 5: Turning the compost Every 3 to 4 weeks, use a garden fork to turn the compost, moving the outer, drier materials to the center. This aeration process introduces fresh oxygen, which speeds up decomposition and ensures an even breakdown. Under typical Kenyan highland conditions, your compost should be ready in 12 to 16 weeks, turning into a dark, crumbly, sweet-smelling organic fertilizer.

The typical cost of composting for Kenyan smallholders

A major advantage of composting for Kenyan smallholders is the low financial investment required. Most materials are already available on the farm as agricultural waste, meaning you rarely need to purchase expensive inputs.

The primary costs involve initial labor for digging the pit and purchasing a basic cover sheet if banana leaves or old iron sheets are unavailable. The table below outlines the typical, illustrative 2026 costs for setting up a standard 1.5m x 1.5m compost pit.

Item descriptionUnit of measureTypical quantityEstimated unit cost (KES)Total estimated cost (KES)Notes / Alternatives
Casual labor (Digging pit)Person-days1500 - 800500 - 800Can be done by family labor to save costs
Fork jembe / SpadePiece1800 - 1,200800 - 1,200Standard farm tools already owned
Polythene cover sheetMeter2150 - 200300 - 400Can use old iron sheets or banana leaves instead
WaterLiters2000 - 1000 - 100Use harvested rainwater or greywater
Crop residues & manureBagsVariable00Sourced directly from the shamba
Total Estimated Cost---1,600 - 2,500Often under KES 500 if using existing tools and family labor

Using this compost can dramatically reduce your seasonal expenditure on commercial fertilizers. Instead of applying full rates of expensive synthetic fertilizers, you can combine a half-rate of your standard planting fertilizer with well-rotted compost. This approach maintains high yields while protecting long-term soil health.

Get your free ShambaIQ farm plan

Get a free soil-matched fertilizer plan, a dated season calendar, and reminders — for your exact farm.

Free forever · 47 counties · English & Kiswahili

Continue reading

Get personalized soil advice

Free precision fertilizer recommendations for your county and crop.

Get Free Advice →