If your backyard compost bin smells like ammonia or rotten eggs, turn the pile and mix in carbon-rich browns. Chester County Solid Waste Authority To deter fruit flies, bury exposed food scraps under browns. StopWaste To deter rodents, keep meat, dairy, and greasy foods out and check the bin for gaps. US EPA
Match the symptom to the fix
| What you notice | What to check and how to fix it |
|---|---|
| Ammonia smell | Too much nitrogen is the usual cause, so mix in carbon-rich browns and turn the pile. Chester County Solid Waste Authority |
| Rotten-egg smell | The pile usually needs air because it is too wet or compacted, so turn it and add dry, porous browns. Chester County Solid Waste Authority |
| Material feels soggy | For a static pile, mix in browns and turn it. Arizona DEQ |
| Material feels dry | Moisten the pile and turn it. US EPA |
| Scraps break down slowly | Moisten and turn a dry pile, or mix in fresh greens such as fruit and vegetable trimmings and turn if browns dominate. StopWaste If pieces are large, chop future scraps before adding them. US EPA |
| Fruit flies gather around the bin | Check for exposed scraps and bury them. StopWaste If you have been adding a lot of food to a static pile, add fewer scraps and bury them under more browns. Arizona DEQ |
| Rodents get into the bin | Check that food scraps are covered, the bin has a lid, and gaps are no larger than a quarter inch. US EPA Remove meat, dairy, and grease already in the pile. StopWaste |
Aim for material that feels damp like a wrung-out sponge, without feeling soggy. University of Maryland Extension When turning the pile, use a garden fork to move material from the outside toward the center. US EPA Cold weather slows breakdown, and a cool pile can still make compost. UConn Extension
Add scraps and recheck the bin
- Mix greens with browns. Use at least two to three parts browns per part greens by volume, such as two to three scoops of dry leaves for each scoop of fruit and vegetable scraps. US EPA
- Bury the scraps. Dig a hole in the center of the pile, mix the scraps into the compost, and cover them with dry leaves or straw. StopWaste The EPA recommends four to eight inches of dry leaves or other browns over food scraps in a backyard pile. US EPA
- Check how rodents could get in. Use a lid and add a floor if needed, and check that no gaps are larger than a quarter inch. US EPA
- Recheck moisture, smell, and scrap cover. Monitor the pile for moisture and odor. US EPA When adding fruit and vegetable trimmings, cover them with browns. StopWaste
Evidence and limits
Public agency and university extension guidance for backyard composting was checked on November 29, 2026. This includes the EPA’s December 2025 update, Arizona DEQ’s September 2025 revision, Maryland Extension’s July 2024 update, and UConn Extension’s April 2026 guide. US EPA Arizona DEQ University of Maryland Extension UConn Extension No hands-on testing was performed for this guide.
For worm bins and bokashi, see the method-specific troubleshooting tables. Arizona DEQ For broader garden pest management, see the EPA’s integrated pest management principles. US EPA