A single housefly lays up to 150 eggs at a time, and those eggs hatch into maggots within 24 hours in warm conditions. By the time you lift the lid and recoil, you are usually staring at a colony that started two or three days ago. Learning how to clean maggots from trash can takes about 30 minutes, costs less than $10 in supplies, and uses products you almost certainly already have under the sink. The key is killing the larvae, sanitizing the surface, and changing the conditions that drew the flies in the first place.
Why Maggots Show Up
Flies, especially the common housefly and the larger blowfly, are drawn to decaying organic matter, meat scraps, and moist food residue. They detect odors from hundreds of feet away. A trash can lid that does not seal, a small tear in the bag, or a few drops of chicken juice on the rim is enough to attract them. Warm weather above 70 degrees Fahrenheit speeds the egg-to-maggot cycle dramatically.
Once eggs hatch, the larvae feed for 5 to 7 days before pupating into adult flies. Catching the problem early means killing maggots before they mature. A delay of even 48 hours can mean a new generation of flies emerging from your bin.
Gear Up Before You Start
Grab disposable nitrile gloves, a face mask, an old garbage bag, and your cleaning supplies. Work outdoors if possible, ideally on a driveway or patio with a hose nearby. The smell is bad, the visual is worse, and you do not want this happening in the kitchen.
- Disposable nitrile gloves and a respirator-style mask
- Heavy-duty contractor bag for the old trash and any liner
- Tea kettle or large pot for boiling water
- Bleach, distilled white vinegar, or a commercial cleaner like Pine-Sol or Lysol Multi-Surface
- Long-handled scrub brush, garden hose, and a few rags
Never mix bleach with vinegar or ammonia. The combination releases chlorine or chloramine gas, both of which can cause serious lung damage. Pick one chemical, finish that step, rinse thoroughly, then move to the next.
Method One: Boiling Water
Boiling water is the fastest maggot kill and uses nothing but tap water. Heat 2 to 3 gallons in a stockpot or use multiple kettles. Tie the existing trash bag shut, pull it out, and toss it directly into the contractor bag. Pour the boiling water slowly across all interior surfaces of the bin, focusing on the bottom and any corners where larvae cluster. The heat kills them on contact, usually within seconds.
This method shines when you want to skip chemicals entirely. The downside is the bin is now full of hot, contaminated water that needs to be dumped somewhere safe, ideally onto gravel or grass away from pets and edible plants.
Method Two: Bleach Solution
Mix one cup of regular household bleach with one gallon of warm water in the empty bin. Swirl the solution so it coats every surface, then let it sit for 15 minutes. Bleach kills maggots, eggs, and bacteria in one pass and removes most of the odor.
Scrub the inside with a long-handled brush, paying attention to the rim and lid hinges where eggs may still be hidden. Dump the bleach water, then rinse the bin thoroughly with a garden hose. Tip the can upside down to drain and let it air dry in full sun for at least 2 hours. Sunlight is a free disinfectant and helps neutralize residual chemical smell.
Method Three: Vinegar and Hot Water
For households that avoid bleach, distilled white vinegar at a 1:1 ratio with hot water works well. Vinegar will not kill maggots as instantly as boiling water or bleach, but it disrupts the conditions they need to survive and neutralizes the rotting-food odor that drew the flies. Let the vinegar mix sit for 20 minutes before scrubbing.
Follow with a rinse and a sprinkle of baking soda inside the bottom of the dry bin to absorb residual smell. Krud Kutter Original Cleaner and Degreaser, available at most hardware stores for around $8, is another non-bleach option that cuts through grease residue without harsh fumes.
Disinfect the Lid and Surrounding Area
Most homeowners forget the lid. Flies often lay eggs around the rim, the hinge, and the inside edge of the lid where moisture collects. Wipe these areas with the same bleach or vinegar solution and a rag. Check the ground around the bin for stray maggots and pour hot water over any you find.
If the bin lives in a garage or shed, mop the floor with a Pine-Sol and water mix. Adult flies often hover in the area and will lay eggs on any leftover food residue.
Prevent the Next Infestation
Prevention costs almost nothing and saves you from repeating this entire process. Double-bag any meat, fish, or dairy waste before tossing it. Freeze meat scraps and dispose of them on collection day rather than letting them sit. Sprinkle a thin layer of borax or salt across the bottom of the bin once a week to discourage egg-laying.
Keep the lid tightly closed and inspect the seal for cracks. A new heavy-duty Rubbermaid Roughneck or Toter bin with a tight latching lid runs $40 to $80 and dramatically reduces fly access. Store the bin in shade when possible, since heat accelerates decomposition and odor.
When to Replace the Bin
If the bin is cracked, deeply scratched, or has absorbed odor through years of use, replacement is faster than fighting endless reinfestations. Plastic that has gone soft or chalky from UV exposure traps moisture and bacteria in microscopic pores no cleaner can fully reach.
For most homeowners, knowing how to clean maggots from trash can is a once-every-few-years skill. Stay on top of bag changes, keep meat scraps frozen, and the flies will look for an easier target down the street.