Trash Can Composter: Drill 30 Holes in a $20 Can for Rodent-Proof Compost in 8-12 Weeks
Drill 30 holes in the right spots and a $20 garbage can becomes a rodent-proof compost bin that finishes in 8 to 12 weeks. Full build spec inside.
Open compost piles have a rat problem. Not always, but often enough that it’s the single biggest reason people quit composting in the first place, right behind not knowing what to do with a soggy, smelly mess. A trash can solves both. It’s a hard-sided, lidded container you already know how to source cheap, and with the right hole pattern, it aerates just as well as a $150 tumbler while keeping mice and rats out entirely.
This build costs about $20 in materials, takes under an hour with a drill, and — done right — turns kitchen scraps and yard waste into finished compost in 8 to 12 weeks. Below is the exact hole spec, the rodent-proofing layer most DIY guides skip, and a realistic timeline backed by university extension research instead of a guess.
Why a Trash Can Beats an Open Pile (or a $150 Tumbler)
An open pile is free, but it’s an all-you-can-eat buffet with no lid. A rolling tumbler solves the pest problem but runs $100 to $200 for anything large enough to actually heat up. A repurposed trash can sits in between: closed, cheap, and — once you drill it correctly — no worse at aeration than the tumbler.
The trade-off is size. A single 32-gallon can holds less material than a 3-bin pallet system, so it suits a household producing a moderate volume of kitchen scraps and light yard debris rather than someone bagging leaves every fall. If you’re generating more volume than one can handles, a pallet or wire 3-bin setup scales better.

Three pre-planned garden beds, free
Stop staring at empty beds: printable plans with exact layouts, plant lists and planting calendars — yours free from the Garden Library.
This build works whether you’re composting for the first time or you’ve been running an open pile for years and just got tired of finding rodent tunnels under it. First-timers get a forgiving, contained system that’s hard to mess up; anyone upgrading from an open pile gets to keep the same materials and ratios they already know, just inside a lidded container. Climate changes the timeline more than the build itself: in cold-winter regions, roll the can less often once temperatures drop and expect to land at the long end of the 8-12 week range, or pause turning altogether until spring. In hot, humid climates, check moisture more often since afternoon rain can waterlog the base faster than the holes can drain it.
What You’ll Need (Cost Breakdown)
| Item | Approx. Cost | Notes |
|---|---|---|
| 32-gallon plastic trash can with lid | $15-20 | Cheapest option; more prone to gnawing than metal |
| 32-gallon galvanized steel can with lid | $25-35 | Worth the upgrade if you’ve had rodent problems before |
| Drill + 1/4-inch and 1/2-inch bits | $0 (if owned) | A cordless drill and a paddle or step bit make quick work of plastic |
| 1/4-inch hardware cloth (2 ft x 2 ft) | $5-8 | Cut to fit under the can and around the lid seam |
| Bungee cord or ratchet strap | $3-6 | Secures the lid against raccoons and determined rats |
Total: roughly $20 for the bin itself, $28-34 all-in with the rodent-proofing hardware. Skip the hardware cloth and strap only if you don’t have rodent pressure in your area — everywhere else, they’re the cheapest insurance you’ll buy this season.
The Build: Drill-Pattern Spec Sheet
University extension designs for garbage-can composters typically call for 1/2-inch to 1-inch holes, spaced 6 to 8 inches apart on the sides and 15 to 30 holes on the base for drainage and airflow [1][3]. That’s the right call if pest access isn’t a concern. It isn’t the right call here, because a 1/2-inch gap is already wide enough for a rat, and a 1/4-inch gap is enough for a mouse [7].
The fix is to shrink the hole size and add more of them. A 1/4-inch hole moves less air than a 1/2-inch one, so you compensate with quantity instead of diameter — roughly 30 holes spread across the base, lower sides, and lid gets you comparable airflow to the wider-hole designs without opening a door for rodents.

| Location | Hole Size | Count | Spacing |
|---|---|---|---|
| Base | 1/4 inch | 10-12 | Grid pattern, roughly 3 inches apart |
| Sides (lower third) | 1/4 inch | 10-12 | Two rows, 4-6 inches apart, holes 3-4 inches apart within a row |
| Sides (upper two-thirds) | 1/4 inch | 6-8 | One row near the top rim for cross-ventilation |
| Lid | 1/4 inch | 4-6 | Evenly spaced, avoid the center if you’ll add a handle later |

Drill from the outside in on plastic to avoid cracking the rim around each hole, and go slow on the last quarter-inch of each hole — that’s where plastic tends to spider-crack if you’re pushing too hard. On a metal can, center-punch each mark first so the bit doesn’t skate across the galvanized surface.
Lock Out Rodents Without Blocking Airflow
The drilled holes handle airflow. Two more details close the remaining gaps: what’s under the can, and what’s holding the lid on.
Set the can on a piece of 1/4-inch hardware cloth cut a few inches larger than the base diameter, folding the excess up the outside before the can goes on top. This stops rats from digging in from underneath, which is the entry point most trash-can composter guides never mention [2][4]. Use 24-gauge 1/4-inch mesh if mice are the concern in your area, or 19-gauge 1/2-inch mesh if it’s only rats — 1/4-inch mesh excludes both, so it’s the safer default [7].

For the lid, the snap-fit that comes with most trash cans isn’t enough on its own — raccoons in particular can pop a standard lid with their hands. Run a bungee cord over the top and hook it to the handles on either side, or use a ratchet strap for a metal can with reinforced side brackets. Extension guidance is consistent on this point: a hard-sided bin only works as pest control if the lid is actually fastened shut, not just resting in place [2][4].
Material choice matters here too. Plastic is cheaper and easier to drill, but a rat that’s motivated enough will chew through it eventually — it’s not a common failure mode, but it happens, especially in areas with heavy rodent pressure. Galvanized steel doesn’t have that vulnerability, which is the real argument for spending the extra $10-15 on the metal version rather than a purely cosmetic one. Either way, check the hardware cloth and lid strap every few weeks. A rat that gets turned away twice usually moves on, but a gap that goes unnoticed for a month is a standing invitation.
What Goes In (and What to Never Add)
Standard compost ratios apply here just as they would in an open pile: roughly two to three parts “browns” (dry leaves, cardboard, straw) to one part “greens” (vegetable scraps, coffee grounds, fresh grass clippings) by volume. Cover fresh scraps with a layer of browns every time you add them — it cuts odor and makes the pile less interesting to anything sniffing around the lid [4].
Skip meat, fish, dairy, oils, and unrinsed eggshells entirely. These are the materials extension research consistently flags as rodent and odor magnets in home systems, trash can or otherwise [2][4]. If you want to compost kitchen scraps beyond fruit and vegetable trimmings, bury them in the center of the pile rather than near the surface — it’s a lot more work for a rat to reach.
Moisture should feel like a wrung-out sponge — damp, not dripping. Too dry and decomposition stalls; too wet and the base of the can goes anaerobic, which is the single most common complaint with can-style bins because, unlike an in-ground pile, there’s no surrounding soil to wick away excess water.
Rolling Schedule and a Realistic Timeline
How often you turn the material determines how fast it finishes, and this is where a lot of trash-can composting advice gets vague. Extension research on turning frequency gives a real range to work from: a pile turned every three to four weeks can finish in as little as three months, while an untouched pile can take six months to two years [5].
Rolling a sealed trash can on its side is easier than turning an open pile with a fork, so aim for every 1 to 2 weeks. That’s more frequent than the three-to-four-week benchmark above, which is why a well-managed can composter tends to land at 8 to 12 weeks rather than the full three months — you’re mixing more often, not because the can is inherently faster, but because rolling it is so much less effort than forking a pile.
Stop missing your zone's planting windows.
Select your US zone and month — get a complete checklist of what to plant, prune, feed, and protect right now.
→ View My Garden CalendarThe mechanism behind why turning matters at all: aerobic microbes need oxygen to break down organic matter quickly, and as the pile heats past roughly 104°F, the population shifts from moderate-temperature (mesophilic) microbes to heat-loving (thermophilic) ones that finish the job [6]. Roll the can and you’re pushing fresh oxygen back into material that’s been compacting and using up its air supply — skip it, and the microbial population slows down along with the oxygen level.
Once material stops shrinking and looks uniformly dark and crumbly, let it sit undisturbed for two to three more weeks before using it. This curing period lets the last chemical reactions finish so fresh compost doesn’t rob nitrogen from your soil when you apply it.
Troubleshooting: When Something’s Off
In my own trash-can batch, the base holes clogged with damp coffee grounds and shredded cardboard within the first month, which quietly turned the bottom inch anaerobic before I noticed the smell. A quick poke-through with a screwdriver every few weeks keeps them clear, and it’s now just part of the rolling routine rather than a separate chore.
| Symptom | Likely Cause | Fix |
|---|---|---|
| Sour or ammonia-like smell | Base has gone anaerobic from excess moisture pooling with nowhere to drain | Add dry browns, roll the can to redistribute, check base holes aren’t clogged |
| Compost is bone dry, nothing’s breaking down | Not enough moisture, especially in hot/dry climates | Add water until material feels like a wrung-out sponge, then re-check weekly |
| Condensation dripping inside the lid | Normal in an active pile — actually a good moisture sign | No action needed unless it’s excessive; ease off if you also see standing water at the base |
| Flies around the can | Exposed food scraps near the surface or gaps at the lid seam | Bury fresh scraps under browns immediately; check the lid seal and bungee tension |
| Rodent scratching or gnaw marks on the can exterior | Hardware cloth missing or gapped, or lid not fully secured | Re-check hardware cloth overlap at the base and confirm the bungee is actually tight |
| Pile isn’t heating up at all | Too little volume, too dry, or too few greens | Add more fresh green material and moisture together; a can under half full often won’t hold heat |
| Slow progress after 12+ weeks | Turning too infrequently, or C:N ratio skewed too brown-heavy | Roll weekly instead of biweekly and add a layer of greens or grass clippings |
Trash Can vs. Other DIY Compost Setups
A drilled trash can isn’t the only cheap option, and it isn’t always the best fit. If you’re sealing scraps in heavy-duty bags instead of a rigid container, garbage bag composting needs less upfront work but takes considerably longer to finish and offers no real rodent barrier beyond the bag itself. If your household generates enough yard waste to fill more than one can a month, a pallet, wire, or 3-bin system handles higher volume and makes turning with a fork easier than rolling a heavy can. And if DIY isn’t the point and you’d rather buy something purpose-built, our tested roundup of the best compost bins covers tumblers and enclosed bins across a range of budgets.
The trash-can build sits in a specific niche: lower cost than any tumbler on that roundup, more rodent-resistant than a bag or open pile, and better suited to moderate volume than a full pallet system.
Frequently Asked Questions
Will a plastic trash can get brittle and crack outdoors?
Eventually, yes — UV exposure makes most plastics brittle over a year or two of full sun. A galvanized steel can avoids this entirely, which is one reason it’s worth the extra $10-15 if you’re planning to keep the bin outside long-term.
Do I need to drill holes in a metal can differently than plastic?
The hole spec is the same. The difference is technique: center-punch each mark first so a twist bit doesn’t wander across the galvanized coating, and expect it to take longer per hole than plastic.
Can I use a smaller or larger can than 32 gallons?
Yes, but scale the hole count with it. A smaller can holds less material and heats up less reliably, since there’s less mass to retain warmth; a larger can needs proportionally more holes to keep airflow equivalent.
Is it safe to compost dog waste or cat litter this way?
No. Pet waste carries pathogens that home composting temperatures generally don’t reliably kill, and it’s one of the materials most consistently flagged as a wildlife attractant. Keep it out of any home compost system, trash can or otherwise.
Why not just buy a rock tumbler-style compost bin instead?
Tumblers turn material without rolling a full can and often heat faster because they’re designed for it, but they run $100-200 versus roughly $20-35 here. If budget is the constraint, the trash can gets you 80% of the result for a fraction of the cost.
Does it still work through winter?
Yes, but slower. Microbial activity drops off as temperatures fall, and a can sitting on frozen ground loses more heat than an in-ground pile would. Keep adding material through winter and expect it to sit mostly dormant until spring rather than pushing through the full 8-to-12-week cycle — the extension research on turning frequency assumes a growing-season pace, not a frozen one.
Key Takeaways
- Drill about 30 holes at 1/4 inch across the base, sides, and lid — smaller than the extension-standard 1/2 to 1 inch, compensated for with more holes, to keep rodents out without sacrificing airflow.
- Line the base with 1/4-inch hardware cloth and secure the lid with a bungee or ratchet strap — the two steps most trash-can composting guides skip entirely.
- Roll the can every 1 to 2 weeks and expect finished compost in about 8 to 12 weeks, with 2-3 weeks of curing after that.
- Keep meat, dairy, and pet waste out — they’re the materials most likely to draw exactly the pests this build is designed to exclude.
Sources
- Cornell Waste Management Institute. Building a Two-Can Bioreactor. Cornell Composting
- Washington State University Extension, Whatcom County. Rats in Compost. WSU Extension
- UF/IFAS Extension, Sarasota County. Self-Contained Compost Bin. University of Florida
- University of Vermont Extension. Keeping Wildlife Away From Your Compost. UVM Extension
- West Virginia University Extension. Composting for Beginners. WVU Extension
- Microbe-Aided Thermophilic Composting Accelerates Manure Fermentation. PMC / National Library of Medicine
- University of Nebraska-Lincoln Extension. Rodent Control (G1530). UNL Extension









