A compost bin can definitely work in a small backyard, as long as you use the right ingredients and provide some sort of enclosure. An enclosure would help keep critters out and provide enough space for you to be able to open the bin and mix the ingredients. Odor and Rat control are two different things. Compost can smell earthy, but still provide food and/or shelter for rats.
You should decide on what you’re going to compost before deciding on the bin. If food scraps require more effort to contain than your backyard allows, consider composting garden waste and sending accepted food waste to the organics collection. You don’t always have to process waste right next to your patio.
The scraps, and the dry material to go with them
As a beginner composter, you can use fruit and vegetable scraps, coffee with the paper filter and plastic-free tea bags. The University of Vermont says to avoid meat and poultry because of the odor and pests. You should also avoid cooked food and leftovers, because they can take up a lot of space and attract rodents.
One less obvious commitment would be dry material. EPA recommends starting with at least two to three volumes of browns, such as dry leaves or shredded plain cardboard, for each volume of greens, including food scraps and fresh grass. So one quart of food scraps would need about two to three quarts of dry leaves or cardboard. This recipe is to help manage your compost, not to maintain a chemical ratio.

You’ll need someplace to stash that reserve dry. Intermix fresh materials with the old and cover food scraps with four to eight inches of browns. Shoot for a consistency of a well-rung out sponge. Add water to dry mixes and browns to soggy mixes. A cover helps, but it doesn’t close the entrance to the critter conundrum.
If the thought of amassing that dry-material supply sounds like the chore you’re least likely to keep up with, you could go with a garden-only compost system and considerably reduce your materials supply. A garden-only system doesn’t require continuous kitchen scraps and can use a simpler holding bin. Like a typical system, it can provide dry, undisturbed materials, which can also help maintain rat populations.

A lid is only part of the enclosure
I don’t think the lid of a food scrap bin is enough to justify the cost of the bin. Look for a secure closure, intact sides, covered ventilation openings, a snug harvesting hatch, and a covered base. Extension and vector-control guidelines recommend a strong metal mesh with 1/4-inch openings for bottom coverage. It needs to be secured to the enclosure to stop animals from going around the edges.
Chicken wire isn’t an adequate replacement. Plastic can be gnawed on and rats can climb, making an elevated tumbler or a plastic bin, not rat-proof. A tumbler can make mixing easier for you, but the condition of doors and vents still matters. How you keep it closed matters most.
The space you need when the bin is open
Imagine I’ve tucked a bin behind a patio chair: the lid opens, but the harvesting hatch faces the fence, and my receiving tub won’t fit. I’m annoyed to lose the supposedly perfect spot, but I’d turn the bin around or reject that corner before buying it. A neat fit with everything closed isn’t much help on emptying day.
Look for a convenient spot and check the workability of the space. Test if the lid opens fully, if the turning tool can access all areas, if the tumbler can make a full rotation, if the receiving tub is large enough, if there is ample space for dry materials, if there is access to check the back and base for damage and burrows, and if the compost tumbler is large enough to accommodate multiple users. I cannot give a universal setback from a house, fence or table. The sources here don’t set a precedent for this. Local placement rules may constrain your options.
Harvesting creates a space obligation too. Unfinished compost that contains food still needs to be protected. Don’t empty a compost bin just to make space to add food for the next day. The food-containing material needs to be enclosed to continue the breakdown process.
Treat the symptom you actually have
| What you notice | Likely issue | What to change |
|---|---|---|
| Rotten or putrid odor | Too little oxygen, often from wet or compacted contents | Loosen and mix. Add dry browns, reduce excess wet inputs, and break up matted grass. |
| Sharp ammonia odor | Too much nitrogen-rich material relative to carbon-rich material | Mix in more browns and cut back green-heavy additions. |
| Fresh droppings, burrows, or gnawed openings | Rodent activity, whether or not the compost smells | Pause food additions. Inspect entry routes and address nearby food and shelter. Aerating won’t repair an opening. |
Pausing food additions is my conservative recommendation, not a complete infestation treatment. If fresh signs of rat activity, such as rat feces, continue, or you believe you have a nest on the premises, avoid disturbing it and contact local vector control or a licensed pest control operator. Rats can bite and contaminate the material. A bad odor does not necessarily mean the bin is occupied. Nearby bird seed, pet food and fallen fruit may also be the reason for the bad odor. Additionally, consider if there is ample rat shelter nearby.
You don’t have to compost every scrap at home
Organics collection of food scraps would be supported by the team if the only bin location blocks maintenance access, browns are not kept available, or existing rat activity is not addressed. Confirm with the provider the acceptable materials and the pickup or drop-off schedule. Seattle as an example, directs meat and dairy to the Food and Yard Waste Cart and not to home composting. That example does not give permission to add meat and dairy to municipal collection bins.
Before buying, look at a week’s actual scraps, identify your dry-material supply, and put a receiving tub where you expect to empty the bin. Set a receiving tub in the anticipated collection location to gauge fit of the food scrap bin. I’d rather you have a smaller job that works than a full bin you dread opening.
Sources and references
- US Environmental Protection Agency: Composting At Home
- Colorado State University Extension: Making Compost
- Washington State University Extension, Whatcom County: Rats in Compost
- University of California Statewide Integrated Pest Management Program: Rats (2025-06)
- New York Botanical Garden: Outdoor Composting Guide (2022-03-15)
- Seattle Public Utilities: Food Waste Composting
- Marin/Sonoma Mosquito and Vector Control District: Five ways to rodent-proof your compost bin
