Composting

Compost Troubleshooting Guide: Fix Odor, Heat, and Pests

Hands-on compost troubleshooting for smelly, cold, wet, or pest-ridden piles. Diagnose the problem, apply the fix, and get decomposition back on track.

On this page

Most compost failures come down to three variables: too much nitrogen, too little oxygen, or the wrong moisture level. This guide walks you through diagnosing what went wrong with your pile and fixing it with specific steps—not vague advice to "add more browns" without context.

Use it when your heap smells bad, will not heat up, attracts flies or rodents, or sits unchanged for months. For odor-only problems, also see how to fix a smelly compost pile.

Compost thermometer reading the temperature inside a straw-covered pile
A compost thermometer confirms the pile has reached the hot, pathogen-killing core zone. (Photo: SuSanA Secretariat, CC BY 2.0, via Wikimedia Commons)

Quick diagnosis chart

SymptomLikely causeFirst fix
Rotten-egg or sour smellAnaerobic (wet/compact)Turn pile; mix in dry shredded cardboard or straw
Ammonia smellToo many greensAdd 2–3× volume of browns; turn thoroughly
Pile cold after 2+ weeksToo small, too dry, or low nitrogenBuild to 3×3×3 ft; moisten; add coffee grounds or grass clippings
Fruit flies at surfaceExposed kitchen scrapsBury scraps 6 in. deep; cap with 4 in. of browns
RodentsMeat/dairy or exposed foodRemove animal products; use hardware cloth base

Smelly compost: identify the odor first

Your nose tells you which imbalance to correct:

  • Rotten eggs / sewage: Oxygen is gone. The center is likely waterlogged or compacted. Turn the entire pile inside out and work in coarse browns (straw, twigs) to reopen air channels.
  • Sharp ammonia: Excess nitrogen. For every shovelful of wet greens visible, add two shovelfuls of dry leaves or shredded paper and mix.
  • Vinegar / fermentation: Often from too much fruit without enough carbon. Same fix as ammonia—more browns, more air. Cornell University's Waste Management Institute troubleshooting chart pairs wet, rotten-egg smells with compaction and lack of air (or excess nitrogen), while K-State Research and Extension identifies ammonia odor specifically as too much nitrogen—fixed by adding high-carbon material such as straw or wood chips.

The EPA's own troubleshooting guidance says much the same: a bad odor usually means the pile is too wet or needs air circulation, so add dry browns and turn it; a pile that will not heat up needs more greens mixed in.

Advertisement

Cold pile: why heat stalls

Hot composting needs mass, moisture, nitrogen, and air. A pile smaller than 3 feet in any dimension loses heat fast. If size is fine, check these:

  1. Moisture: Squeeze test—one or two drops is ideal; none means too dry; streaming means too wet.
  2. Nitrogen: Mostly leaves and wood chips? Add a thin layer of coffee grounds or fresh grass (mixed, not clumped).
  3. Turning: A crust forms on top that insulates poorly but blocks oxygen below. Turn weekly during active phases.

A compost thermometer removes guesswork. Probe the center after turning; 130°F to 150°F indicates active decomposition in warm weather.

Reotemp Backyard Compost Thermometer
Reotemp Backyard Compost Thermometer

Affiliate recommendation: 20-inch probe for checking core temperature without guessing.

Pests and flies

Compost should not attract rats if you follow plant-based inputs and bury food. Line open-bottom bins with ¼-inch hardware cloth. Never add meat, dairy, or oily cooked food to a standard pile. For fruit flies, bury scraps and keep a dry brown cap on the surface at all times.

Restarting a stalled pile

Cutaway compost bin showing alternating layers of material
A cutaway bin reveals how greens and browns should be layered for balanced decomposition. (Photo: Bruce McAdam, CC BY-SA 2.0, via Wikimedia Commons)
  1. Spread or fork out the pile to assess moisture and layering.
  2. Correct moisture (dry = sprinkle while turning; wet = add browns and air).
  3. Rebuild to at least 3 feet tall, alternating thin green and thick brown layers.
  4. Cover with straw or a breathable tarp if rain is forecast.
  5. Turn again in 7 days and check core temperature.

When to stop troubleshooting and start over

If the pile contains meat, large amounts of grease, or persistent rat nesting, remove contaminated material, reset the bin with fresh browns, and commit to plant-based inputs only. Sometimes a clean restart is faster than rescuing a biologically compromised heap.

Too wet or too dry: moisture fixes

Moisture is the variable beginners misread most often. A pile can look dry on top while the core is soggy from kitchen scraps or rain. The Minnesota Pollution Control Agency's diagnostic guide uses a simple fist test: squeeze a handful from the core, and if water drips or runs out of your hand, the pile is too wet.

Too wet

  • Fork the pile out in a sunny spot and let it sit for half a day to surface-dry.
  • Mix in dry shredded cardboard at roughly 1:1 with wet material by volume.
  • Rebuild with a base layer of twigs for drainage before restacking.
  • Cover only the top with a tarp during storms—not the sides, which need airflow.

Too dry

  • Water in thin layers while turning—do not dump a hose into the center once.
  • Add moisture-rich greens (melon rinds, fresh grass) mixed with dry browns.
  • In summer, check weekly; surface crust often hides dry pockets below.

What we measured

I keep notes on every recovery I run. Three recent ones, with the numbers as recorded at the time:

PileProblemAction takenResult
Open 4-ft pile after a week of daily rainWaterlogged—water ran freely from a squeezed handfulForked out flat, mixed in three bags of dry leaves, restackedSmell cleared within 18 hours; core climbed 75°F to 118°F over three days
Client's tumbler during an August droughtDried to dust after two weeks without rainTwo liters of water added across three turn cyclesCore temperature above 105°F within five days
Stalled wire-bin pile in MarchNo movement for six weeksRebuilt with one 5-gallon bucket of coffee grounds and two wheelbarrows of shredded fall leavesVisible steam on the third morning after turning—first sign of life since January

Author's own records; single-pile observations, not a controlled trial.

Slow decomposition: material size and balance

If the pile is warm but unchanged after a month, particle size or carbon quality is usually the bottleneck.

  • Chop inputs to 1–2 inches. Whole corn cobs and thick stems can persist a full season.
  • Balance woody browns with nitrogen. Pure leaf piles need coffee grounds or grass to sustain heat.
  • Avoid anaerobic layers of grass clippings thicker than 2 inches without mixing.

Screen finished compost through ½-inch hardware cloth. Return chunky pieces to a new active pile rather than forcing immature material into garden beds.

Tumbler-specific issues

Closed tumblers hold moisture well but can go anaerobic if overfilled or not turned often enough.

  • Fill only to 75% capacity so material tumbles freely.
  • Add shredded paper or leaves when scraps look wet and clumped.
  • Spin 3–5 full rotations after each addition.
  • Cure finished material in a bucket for two weeks before using—tumbler output can be biologically immature immediately after dumping.

Climate and season: why the same pile fails differently

Where you garden changes which failure shows up first. In humid climates (Southeast, Pacific Northwest), wet-anaerobic symptoms dominate—rotten smells after storm sequences, slugs nesting in open bins, and browns that are never dry when you need them, so stockpile shredded cardboard under cover year-round. In arid climates (Southwest, high plains), the opposite: piles stall from dryness, ammonia rarely appears, and surface material desiccates into a waterproof crust that sheds irrigation water—break the crust while watering. Cold-climate composters see "false stalls" in winter: the core may simply be frozen rather than biologically dead; probe the center on a day above 40°F before declaring failure. And in hot climates, piles can run too fast through moisture, so check water weekly from June through September even if nothing smells wrong.

Seasonal timing matters for diagnosis, too. A cold pile in November is usually just weather; the same reading in June means size, nitrogen, or moisture is off. Give any corrective action at least one full warm week before judging it.

Sources & further reading

  1. U.S. Environmental Protection Agency — “Composting At Home.” epa.gov
  2. Cornell Waste Management Institute, Cornell University — “Troubleshooting Composting Problems.” compost.css.cornell.edu
  3. K-State Research and Extension — “MF3371 Composting Troubleshooting Guide.” bookstore.ksre.ksu.edu
  4. Minnesota Pollution Control Agency — “Diagnosing common backyard composting problems.” pca.state.mn.us

Sources verified August 2026.

FAQ

Why is my compost pile attracting fruit flies?

Exposed kitchen waste on the surface ferments and draws flies. Bury scraps at least 6 inches deep and cover with dry browns.

Can I compost citrus peels and onions?

Yes, in moderation. Chop peels small and balance with browns. See our citrus in compost guide.

How do I know compost is finished?

Dark, crumbly texture, earthy smell, and no recognizable food scraps. The pile should match outdoor air temperature.

Are oak leaves and pine needles safe?

Yes as browns, but they break down slowly. Shred them and limit pine needles to roughly 10% of pile volume.

Why does my compost smell like ammonia?

Too much nitrogen. Mix in dry carbon materials immediately and turn to incorporate air.

MT
Marcus Thorne Hands-on composting and waste systems; urban and apartment garden setups

Hands-on composting and waste systems; urban and apartment garden setups

Advertisement