Why does my compost smell bad?
A sour, rotten or ammonia smell usually means the pile lacks air or has too much nitrogen-rich material. Wet food scraps, fresh grass clippings and compacted layers push the pile toward anaerobic conditions, where the microbes that make odors take over.
Extension guides from Illinois, Connecticut and Cornell describe the same pattern: odor is a signal, not a failure. Turn the pile, mix in dry carbon-rich material such as leaves, straw or shredded paper, and make sure it is not soggy.
An ammonia smell points to excess nitrogen, while a rotten-egg smell points to lack of oxygen. Both respond to more browns and more air.
What if the pile is not heating up or breaking down?
A cold, slow pile may be too dry, too small, too carbon-heavy or lacking air. Check moisture first by squeezing a handful: it should feel like a wrung-out sponge. Then look at the mix. If it is mostly dry leaves or wood chips, add greens or a nitrogen source such as fresh clippings or kitchen scraps.
Size matters too. A very small pile loses heat quickly. Gathering more material and building it at once helps. In cold weather even a well-built pile slows down, and that is normal.
Chop or shred large pieces so microbes can reach more surface.
- Check moisture by squeezing
- Add greens if the mix is mostly browns
- Build a larger pile if it is tiny
- Shred big pieces
- Expect slower action in cold weather
What should I do if it is too wet?
A soggy pile packs down, smells and attracts flies. Mix in dry browns, turn it to let air in and cover it against heavy rain. Make sure the base drains and the pile is not sitting in a low spot where water collects.
If you are composting a lot of wet material such as kitchen scraps, balance each addition with a handful or more of dry material, and bury fresh scraps in the center of the pile.
Cover a wet pile with a tarp or lid during storms, and uncover it in dry spells so rain can reach it when needed. Watching the weather is part of managing a pile.
What if it is too dry?
A dry pile stalls because microbes need moisture. Add water slowly while turning the pile so it spreads through the material rather than running off. In hot, dry climates, partial shade and a cover help keep moisture in.
Dry leaves and straw absorb water slowly, so soak them or mix them with wetter material as you build the pile.
If your pile is in a hot, dry climate, shade and a thicker layer of browns on top slow moisture loss. Check moisture weekly, because a pile can dry out faster than you expect.
How do I deal with flies, rodents and other pests?
Flies and rodents come for food scraps. Bury scraps in the center of the pile under a layer of browns, keep meat, dairy and grease out and use a bin with a secure lid and fine mesh if rodents are a problem. Keep the area tidy and avoid spilling feed or scraps nearby.
If pests persist, ask your extension office or local public health office about options in your area. Do not use poisons around a compost pile where pets, wildlife or children might be exposed.
- Bury scraps under browns
- Exclude meat, dairy and grease
- Use a lidded bin with mesh
- Keep the area clean
What about weeds, matted layers and slow finishing?
Weed seeds survive in cool piles, so keep seeded weeds out unless the pile reliably gets hot. Matted layers, such as wet leaves or thick grass clippings, block air; mix them with coarser material. If finishing takes too long, check moisture, mix and size, and turn more often.
Patience helps. A pile that is not perfect still produces compost, only more slowly.
Keep a small notebook by the bin with dates of turning and changes in smell. Patterns appear quickly when you write them down.
When should I ask for help?
If you have a persistent smell complaint from a neighbor, signs of rodent infestation, or are composting manure, animal mortality or large amounts of food waste, check local rules and ask your extension office. Rules about composting vary by state, county and town and may differ for farms.
Keep notes of what you add and what you change so you can see what fixes the problem.
A visit from a Master Gardener volunteer can answer questions about your own pile, and many counties offer composting workshops.
Key takeaways
- Odor, wetness and slow action are signals to adjust moisture, air or balance.
- Add browns and turn the pile for smells and soggy conditions.
- Bury scraps and keep meat, dairy and grease out to limit pests.
- Check local rules if odor or pests affect neighbors.
Sources and further reading
Last reviewed: November 12, 2026. Written by the Homestead & Small Farm Editorial Team. See our editorial policy.