How to Get Rid of Maggots in the Bin for Good

Boiling water poured directly onto maggots kills them on contact. That’s the fastest fix, and you can do it right now with nothing but a kettle. But getting rid of the current infestation is only half the job. You also need to clean the bin thoroughly and take steps to stop flies from laying eggs there again.

Kill the Maggots First

Boil a full kettle or pot of water and pour it slowly over the maggots, making sure the water hits as many as possible. Water doesn’t actually need to reach a full boil to work. Anything above 60°C (140°F) will kill fly larvae, though hotter water works faster. At around 50°C, maggots die within four minutes. At a full rolling boil, death is essentially instant.

If you’d rather not handle boiling water near a plastic bin, a few household alternatives work well:

  • Salt: Sprinkle a thick layer of table salt, kosher salt, or rock salt directly onto the maggots. Salt pulls moisture out of their bodies and dehydrates them. This takes one to two hours, so it’s slower but completely hands-off.
  • Salt and lime powder: Mix equal parts salt and lime powder (the mineral, not the fruit) and scatter the mixture over the maggots. The combination dries them out faster than salt alone.
  • Vinegar spray: Mix equal parts white vinegar and water with a few drops of dish soap. The acidity kills the maggots, and the dish soap breaks the surface tension so the liquid coats them more effectively. Pour or spray it on, then wait 30 minutes.
  • Diatomaceous earth: This fine powder made from fossilized algae is abrasive at a microscopic level. It cuts into the maggots’ soft bodies and dries them out. Sprinkle it generously over the affected area.

Once the maggots are dead, scoop them out and seal them in a plastic bag before putting them in the rubbish. Don’t leave dead maggots sitting in the bin, as the decaying matter will attract more flies.

Deep Clean the Bin

Killing the visible maggots isn’t enough. Fly eggs are tiny, white, and almost impossible to spot, and a single house fly can lay hundreds at a time. Those eggs hatch into fresh maggots within 24 hours, so if you skip cleaning, you’ll be right back where you started by tomorrow.

Empty the bin completely. Mix one cup of bleach into one gallon (about four litres) of water and pour the solution into the bin. Let it sit for 30 minutes, then scrub the inside walls and the bottom with a stiff brush. Pay attention to the rim and the underside of the lid, where organic residue collects and eggs often hide. Rinse the bin thoroughly with a hose or several buckets of clean water.

For a less harsh option, use a scrub mix of one gallon of hot water, one cup of white vinegar, and two tablespoons of dish soap. This combination cuts through grease and food residue while the acidity helps neutralize the odours that attract flies in the first place.

After rinsing, leave the bin upside down in the sun to dry completely. Moisture inside a closed bin creates the warm, damp environment fly larvae thrive in. A dry bin is far less attractive to egg-laying flies.

Why Maggots Keep Coming Back

Maggots don’t appear out of nowhere. They’re the larvae of flies, usually common house flies or blowflies, that were drawn to the smell of rotting food. A fly lands on exposed waste, lays a cluster of eggs, and within a single day those eggs hatch into feeding larvae. The maggots eat for several days, molt through three growth stages, then pupate into adult flies, which start the cycle over again. In warm weather, this entire process can happen in under two weeks.

The pattern tends to be worst in summer. Higher temperatures speed up the fly life cycle and cause food waste to decompose faster, producing stronger odours that attract flies from further away. If your bin sits in direct sunlight, the interior can become an ideal incubator.

Preventing New Infestations

The single most effective thing you can do is keep flies from reaching your food waste. Double-bag any meat, fish, or dairy scraps before they go in the bin. Tie your rubbish bags tightly shut so no odour escapes. If your bin lid doesn’t close properly or has a crack, that gap is an open invitation.

A few other habits make a real difference:

  • Rinse the bin regularly. A quick hose-down with a splash of bleach or disinfectant every couple of weeks prevents the buildup of residue that attracts flies. Use a cleaning product with a fragrance, as scents like citrus or lavender are unpleasant to flies.
  • Keep the bin in shade. Heat accelerates decomposition and odour. A shaded spot slows both down and makes the bin less hospitable for larvae.
  • Add essential oils. A few drops of peppermint, eucalyptus, or lavender oil on a cotton pad placed inside the lid can mask the food smells that draw flies in. Reapply after each collection day.
  • Sprinkle the bottom of the bin. A thin layer of diatomaceous earth or baking soda at the base of the bin absorbs moisture from leaks and creates an environment larvae can’t survive in.
  • Don’t let waste sit too long. If your collection schedule means rubbish sits for two weeks, that’s plenty of time for a full maggot cycle. Freeze meat scraps until the night before collection if you can.

Flies need three things to start an infestation: access to food waste, moisture, and warmth. Remove any one of those and the cycle breaks. A clean, dry, tightly sealed bin in a shaded spot is a bin that almost never gets maggots.