Compost Troubleshooting
Almost every compost problem is one of four things — too wet, too dry, too much nitrogen, or too little air. Find your symptom below, and you'll find the cause and the fix.
A healthy compost pile is nearly odorless, warm in the middle, and slowly shrinking. When something goes wrong, the pile tells you exactly what it needs — you just have to read the signal. The table below is a quick index; the sections after it explain the why and the how for each problem. Nearly all of it traces back to the same four variables you set when you start a pile: moisture, carbon-to-nitrogen balance, air, and size.
| Symptom | Most likely cause | Fix |
|---|---|---|
| Rotten-egg / sulfur smell | Anaerobic — too wet or compacted | Turn for air; add dry browns |
| Ammonia (urine) smell | C:N too low — excess nitrogen | Mix in carbon-rich browns |
| Flies, rodents, raccoons | Exposed food; meat/dairy/oils | Bury scraps; exclude animal products; enclose |
| Slimy, matted, soggy | Waterlogged, no air spaces | Add bulky browns; turn; cover from rain |
| Dry and inactive | Too little moisture | Water to wrung-out-sponge feel |
| Just sits there, won't heat | Too small, too dry, or low N | Build up size, add water and greens |
Odor problems
A correctly running pile should smell like damp forest floor. Two distinct bad smells point to two opposite problems, so the smell itself is your diagnosis.
Rotten eggs, sewage, or sour
This is the smell of anaerobic decomposition — the pile is so wet or so compacted that oxygen can't reach the core, and oxygen-hating bacteria take over, producing hydrogen sulfide and other sulfurous gases.[3] The fix is air and dryness: turn the pile thoroughly to break up the wet mass, and fork in dry, bulky browns — straw, wood chips, shredded cardboard — to soak up water and prop open air channels. If rain is the culprit, cover the pile.
Ammonia
A sharp ammonia smell is the opposite problem: too much nitrogen relative to carbon. When the C:N ratio drops below about 20:1 — typically from a load of grass clippings, kitchen scraps, or fresh manure — the microbes can't use all the nitrogen, and the excess escapes as ammonia gas.[4] You're literally smelling nitrogen (and future fertilizer) leaving the pile. Mix in browns to bring the ratio back into the 25–35:1 range; the C:N Ratio Calculator shows how much to add.
Pests: flies, rodents, and larger animals
Pests are drawn to a pile that offers an easy, exposed meal. The single most effective control is what you put in and where you put it. Keep meat, fish, dairy, grease, and oily cooked food out of a home pile entirely — these rot slowly, smell strongly, and attract rats and raccoons,[1] and they're the materials the what-to-compost guide flags as keep-out.
For the food scraps you do add, bury them in the center under several inches of browns rather than leaving them on the surface. A hot, actively turned pile also helps — heat and disturbance make a poor nesting site. If animals are persistent, switch to an enclosed bin with a secured lid and a rodent-proof base (hardware cloth underneath). Fruit flies and gnats around an open pile or kitchen caddy are harmless but annoying; a covering layer of browns and a lidded caddy usually ends them.
Too wet or too dry
Moisture is the variable beginners misjudge most. The target is 40–65% moisture — the feel of a wrung-out sponge.[5]
A soggy, slimy, matted pile is waterlogged: water has filled the spaces that should hold air, the pile has gone anaerobic (see the rotten-egg smell above), and grass or leaves have matted into airless sheets. Break it apart, fork in plenty of dry bulky browns, turn to rebuild air spaces, and cover it from rain. A bone-dry pile has the opposite issue — below about 40% moisture, microbial activity slows to a crawl and the pile just sits there looking unchanged. Water it as you turn until it reaches the wrung-out-sponge feel; dry browns resist wetting, so add water in stages and give it time to soak in. The Moisture Calculator includes the squeeze test and estimates how much water a dry pile needs.
The pile just sits there
If nothing is obviously wrong but the pile isn't shrinking or heating, work through the usual suspects in order: size (is it a full cubic yard?), moisture (wrung-out sponge?), nitrogen (enough greens, or is it all leaves and cardboard?), and particle size (are there whole branches and intact stalks that need chopping?). Large pieces have less surface area for microbes to attack, so shredding leaves, chopping stalks, and breaking down cardboard all speed things up.
Slow-but-steady isn't a failure, though — a cold pile still becomes compost, just over six months to two years instead of weeks. If you specifically want heat and speed, the why isn't it heating up guide is a focused walkthrough of every reason a pile stays cold, and the Pile Temperature Tracker helps you tell an active pile from a stalled one.
A few other common sights
White, cobweb-like growth is usually actinomycetes and fungi — beneficial decomposers, not a problem. Bugs, worms, and beetles in a cool or curing pile are normal and helpful. Steam rising when you turn a pile on a cold morning is a good sign: it means the core is hot and working. The things to act on are the smells, the pests, and the moisture extremes above — most everything else is the ecosystem doing its job.
Frequently Asked Questions
Why does my compost smell like rotten eggs?
A rotten-egg or sulfur smell means the pile has gone anaerobic — too wet or too compacted, so oxygen can't reach the microbes. Turn it to add air and mix in dry browns (straw, shredded cardboard, dry leaves) to absorb moisture and open air spaces.
Why does my compost smell like ammonia?
Ammonia means too much nitrogen relative to carbon — the C:N ratio is too low, usually from too many grass clippings, food scraps, or fresh manure. Mix in carbon-rich browns to raise the ratio back toward 25–35:1 and the smell stops.
How do I keep rats and flies out of my compost?
Never add meat, fish, dairy, or oily food, and bury fresh scraps in the center rather than on the surface. Keep the pile turned and hot, and use an enclosed bin with a lid and rodent-proof base if animals persist.
My compost is slimy and wet — how do I fix it?
A slimy, matted pile is waterlogged and airless. Break it apart, mix in plenty of dry bulky browns (straw, wood chips, shredded cardboard), turn to restore air spaces, and cover it from rain. Aim for 40–65% moisture.
Why won't my compost break down?
Usually it's too dry, too small to hold heat, short on nitrogen, or made of pieces too large to decompose quickly. Add water or greens as needed, build it up to at least a cubic yard, and chop or shred bulky materials.