Guide · Fixing Problems

Compost Troubleshooting

Almost every compost problem comes down to one of four things — too wet, too dry, too much nitrogen, or too little air. Find your symptom below and you'll get the cause and the fix.

A healthy pile is nearly odorless, warm in the middle, and steadily shrinking. When something's off, the pile is telling you exactly what it needs — you just have to read the signal. The table below is a quick index; the sections after it walk through the why and the how for each problem. Almost 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.

SymptomMost likely causeFix
Rotten-egg / sulfur smellAnaerobic — too wet or compactedTurn for air; add dry browns
Ammonia (urine) smellC:N too low — excess nitrogenMix in carbon-rich browns
Flies, rodents, raccoonsExposed food; meat/dairy/oilsBury scraps; exclude animal products; enclose
Slimy, matted, soggyWaterlogged, no air spacesAdd bulky browns; turn; cover from rain
Dry and inactiveToo little moistureWater to wrung-out-sponge feel
Just sits there, won't heatToo small, too dry, or low NBuild up size, add water and greens

Odor problems

A pile that's running right smells like damp forest floor, more or less. Two distinct bad smells point to two opposite problems, so the smell itself is basically your diagnosis.

Rotten eggs, sewage, or sour

That's the smell of anaerobic decomposition — the pile is so wet or so compacted that oxygen can't reach the core, so oxygen-hating bacteria move in and start 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 the water and prop open air channels. If rain's 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 — usually from a load of grass clippings, kitchen scraps, or fresh manure — the microbes can't use all that 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 will tell you how much to add.

Pests: flies, rodents, and larger animals

Pests show up because the pile is offering them 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 — they rot slowly, smell strongly, and attract rats and raccoons,[1] which is why the what-to-compost guide flags them as keep-out.

For whatever food scraps you do add, bury them in the center under several inches of browns instead of leaving them on the surface. A hot, actively turned pile helps too — heat and disturbance make it a lousy nesting site. If animals keep coming back, switch to an enclosed bin with a secured lid and a rodent-proof base (hardware cloth underneath does the trick). Fruit flies and gnats around an open pile or kitchen caddy are harmless, just annoying; a covering layer of browns and a lidded caddy usually clears them up.

Too wet or too dry

Moisture is the variable beginners get wrong most often. 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 be holding 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 it to rebuild those air spaces, and cover it from rain. A bone-dry pile has the opposite problem — 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 that 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.

Quick moisture check: grab a handful from the center and squeeze it. A few drops = perfect. A stream of water = too wet, add browns. No dampness, and it crumbles apart = too dry, add water.

The pile just sits there

If nothing looks 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 (does it feel like a wrung-out sponge?), nitrogen (enough greens, or is it mostly leaves and cardboard?), and particle size (whole branches and intact stalks that need chopping?). Large pieces give microbes less surface area to work on, 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 turns into 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 walks through 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 they're helping. 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 worth acting on are the smells, the pests, and the moisture extremes above; most everything else is just 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 — it's too wet or too compacted, so oxygen can't reach the microbes doing the work. Turn it to let air back in, and mix in dry browns (straw, shredded cardboard, dry leaves) to soak up moisture and open air spaces.

Why does my compost smell like ammonia?

Ammonia means there's too much nitrogen relative to carbon — the C:N ratio has dropped too low, usually from too many grass clippings, food scraps, or fresh manure. Mix in carbon-rich browns to bring the ratio back toward 25–35:1, and the smell goes away.

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 leaving them on the surface. Keep the pile turned and hot, and switch to an enclosed bin with a lid and rodent-proof base if animals keep coming back.

My compost is slimy and wet — how do I fix it?

A slimy, matted pile is waterlogged and out of air. Break it apart, mix in plenty of dry bulky browns (straw, wood chips, shredded cardboard), turn it to restore air spaces, and cover it from rain. Aim for 40–65% moisture.

Why won't my compost break down?

Usually it's one of four things: too dry, too small to hold heat, short on nitrogen, or made of pieces too large to break down quickly. Add water or greens as needed, build it up to at least a cubic yard, and chop or shred bulky materials.