How to Keep Rats Out of Community Garden Compost
Rats come to compost for food, cover and an easy way in, so remove all three. Keep meat, dairy and cooked food out, build a bin rats cannot enter or dig under, tidy the surrounding area, and act fast at the first sign.
This applies to a three-bin system, a tumbler or a heap behind the shed. For broader pest ideas, this farm.FM piece on farmers battling pests is a reminder that pests are part of the job.
What rats want from your garden
Rats need food, water and shelter. Exposed scraps, fallen fruit and spilled seed supply food. Hoses, drip lines and puddles supply water. Pallet stacks, tall weeds and gaps under sheds supply shelter. A working compost pile adds warmth, which suits a rat looking for a winter home.
Control what goes in
- Exclude meat, fish, bones, dairy and greasy foods.
- Skip cooked pasta, rice and bread.
- Bury fruit and vegetable scraps in the center and cover them with a thick layer of browns such as leaves, straw or shredded paper.
- Never leave scraps on the surface.
- Keep pet waste out; it is a health matter and attracts rodents.
The EPA's page on composting at home lists what to add and avoid and covers rodents.
Make the bin rodent-resistant
- Prefer a closed bin or tumbler with a tight, latched lid. Compare designs in three-bin, tumbler and windrow systems.
- Line open bins on sides and bottom with hardware cloth of about half-inch openings or smaller, securely fastened. Chicken wire fails, since rats chew or squeeze through, and plastic mesh does not last.
- Extend mesh under the bin or onto the ground so nothing digs up from below.
- Close gaps around doors, vents and hinges.
Build these into the plan from the start, because retrofitting a full bin is miserable.
Clean up the surroundings and run the pile
- Cut tall weeds along fences and bins.
- Move pallets, lumber and tarps away or store them off the ground.
- Pick up fallen fruit and harvest on time.
- Repair leaks and standing water.
- Keep seed, grain and feed in metal or hard plastic containers.
- Declutter the shed.
Turn the pile regularly, keep it damp and keep adding browns. A hot, active pile is less inviting than a cool, forgotten one. Name compost stewards to inspect bins whenever someone is on site and keep a short log, which tells you whether a sign is new or old.
Signs of rats
| Sign | Where |
|---|---|
| Fist-width burrows | Near bins, fences, shed bases |
| Dark pellet droppings | Along walls, near the pile |
| Gnaw marks | Wood, plastic, mesh |
| Greasy rub marks | Along run edges |
| Scratching at dusk | Walls, bins |
If you see them
- Stop adding scraps and tell members why; a pause beats an infestation.
- Remove food and cover, and repair the bin.
- Call local health, vector control or code enforcement, and tell the landowner.
- Be cautious with poison. Rodenticides can harm pets, children and wildlife, and rules vary by state and city. Leave baiting to a licensed pest professional, and start with the EPA's safe pest control resources.
- Protect yourself. Wear gloves and a mask, wet the area before cleaning rather than sweeping dry dust, and follow your health department's advice.
- Restart slowly with stricter rules and a better bin.
Talk openly with neighbors who complain, or compost tension can spill into wider garden disputes. Put scrap rules in your garden rules, and for plant-side pests see natural pest control for community gardens.
Quick answers
Does compost attract rats?
It can, mostly when scraps sit exposed or the pile contains meat, dairy or greasy food. A closed bin, buried scraps and a tidy area help a lot.
What wire stops rats?
Sturdy hardware cloth with openings of about half an inch or less, fastened securely. Standard chicken wire is too weak.
Should we poison rats?
Be careful. Poison can harm pets, children and wildlife, and local rules vary. Fix food and shelter first, then call your health department or a licensed pest professional.
Sources and further reading
Reviewed 2026-11-23. Educational only; rules vary by state and locality, so confirm requirements with the agency or professional named in the article.