Why does my compost stink?
Bad smells come from microbes that thrive without oxygen. Wet, packed or heavy piles squeeze out air, so the wrong organisms take over and give off sour, rotten or sulfur smells. Too many nitrogen-rich materials also tend to produce a sharp odor.
Extension composting guides tie nearly every odor to moisture, air or balance, so a quick check of those three usually points you in the right direction.
Smell is also a useful early warning. A pile that smells sweet, sour or slightly off a day after you add something is telling you right away that the balance has shifted. Checking by nose each time you add material helps you correct a small problem before it becomes a large one.
- Rotten egg or sour smell: too wet or short on air
- Ammonia smell: too much nitrogen-rich material
- Garbage smell: food scraps left exposed
How do I fix a wet, rotten-smelling pile?
Turn the pile to bring in air and mix in dry, carbon-rich materials such as dry leaves, straw or shredded paper to soak up excess moisture. Break up clumps and mats of grass clippings or other dense layers.
If rain is the problem, cover the pile with a tarp or lid during wet weather, and make sure water drains away from the base. Check again in a few days to see whether the smell fades.
Be gentle when you turn a very wet pile, since a rotten smell will be released all at once. Choose a day when neighbors are not outdoors, work upwind and add dry browns as you go. The smell usually fades within a day or two once air has reached the center.
- Turn and fluff the pile
- Add dry brown material
- Cover during heavy rain
What if it smells like ammonia?
An ammonia smell means there is more nitrogen than the microbes can use, typically from fresh grass clippings, manure or food scraps. Add carbon-rich browns, mix well and give the pile time.
Layering greens and browns as you build the pile prevents the problem. A rough balance with more brown material by volume than green is a common rule of thumb, and your extension office can give guidance suited to your materials.
- Mix in leaves, straw or shredded paper
- Bury fresh scraps in the center
- Add materials in thin layers
How do I stop food scrap odors and pests?
Bury kitchen scraps in the middle of the pile instead of leaving them on top, and cover them with browns. Avoid meat, bones, dairy and greasy foods in a backyard pile, since they smell and draw rodents and other animals.
A pile that is enclosed or has a tight lid, with hardware cloth under it, keeps most animals out. Local rules on composting and animals vary, so ask your town or county if you are unsure.
Cover the surface of the pile with a layer of leaves, straw or finished compost after every addition of kitchen waste. The cover acts like a filter for odors and keeps flies away. Keep a bag or bin of browns near the pile so covering becomes an easy habit.
- Skip meat, dairy and grease
- Bury scraps and cover with browns
- Use a sturdy bin with a secure lid
Does pile size and location matter?
A pile that is too small stays cool and does not break down well, while one that is too big and tall may compact. Many guides suggest a pile around a yard or a meter in each direction as a workable size, though your extension office can advise.
Place the pile away from wells, streams and neighbors' windows, on level, well-drained ground. Distance rules and nuisance rules vary locally, so check with your zoning or health office.
Keep an eye on leachate, the dark liquid that can drain from a very wet pile. Do not let it run toward wells, ditches or streams. Raising the pile on a base, adding dry material and covering it in heavy rain all cut down on runoff and on the smell that comes with it.
- Choose a well-drained spot
- Keep it away from wells and water
- Check local rules for distances
When is the smell a problem I should not handle myself?
Strong smells from animal manure, dead animals or large amounts of waste can raise health concerns. If you are handling large amounts of manure or any unusual material, ask your extension office or local health department for advice.
Wash hands after handling compost, and wear gloves and a dust mask when turning dry, dusty piles. People with health concerns should ask their doctor before working with compost.
Key takeaways
- Foul compost smells usually mean too wet, too little air or too much nitrogen.
- Turn the pile and add dry brown materials to fix most odors.
- Bury food scraps and avoid meat, dairy and grease.
- Check local rules for pile placement and ask extension for large manure piles.
Sources and further reading
Last reviewed: November 12, 2026. Written by the Homestead & Small Farm Editorial Team. See our editorial policy.