Curious Minds

Clear answers to science and history questions

How to Get Rid of a Maggot Infestation

· 5 min read · Science

Getting rid of a maggot infestation means finding and removing the source first, then killing the maggots and cleaning the area. Maggots almost always mean something rotting nearby, so the infestation will keep coming back until that food source is gone. The fix depends on where the maggots are: a trash can, a kitchen bin, a pet area, an outdoor bin or, rarely, a wound on a pet or person.

Find the Source First

Maggots do not appear out of nowhere; they hatch from fly eggs laid on exposed food, waste or decay. Before you spray or scrub anything, locate the wet, smelly material they are feeding on. Check the bottom of trash bags, the base of outdoor bins, under pet food bowls, inside recycling containers with food residue, and any forgotten produce in a pantry or fridge drawer. In warm weather, flies can lay eggs within hours, and eggs hatch in about 8 to 24 hours, so a bag left out overnight can already be crawling.

Once you find the source, bag it and move it straight to an outdoor bin. Do not squash maggots indoors and leave the mess; that just spreads bacteria. If the source is a dead animal, such as a rodent in a trap or under a porch, wear gloves and double-bag it before disposal. If the source is a wound on a pet or a person, stop and call a veterinarian or doctor; do not treat it yourself.

Clean and Kill the Maggots

After removing the source, kill what is left and clean the container. Pour boiling water over maggots in a bin or drain, then scrub with hot soapy water and rinse. For hard surfaces, a diluted bleach solution of about 1 tablespoon (15 ml) bleach per quart (about 1 liter) of water works, but never mix bleach with ammonia, vinegar or other cleaners, and test on a hidden spot first. Ventilate the area and wear gloves.

For outdoor bins, empty and hose them out, then let them dry in the sun. For carpets or upholstery, vacuum thoroughly, dispose of the vacuum bag outside, and wash any removable covers in hot water. Maggots can wiggle into cracks, so check seams and corners. If maggots are in a drain, flush with hot water and scrub the sides.

Stop Flies From Coming Back

The real fix is keeping flies away from waste. Bag food scraps tightly, take trash out daily in warm weather, and rinse containers before recycling. Keep outdoor bins lidded and away from doors. Fix leaky pipes and dry damp areas, since flies need moisture. Check screens on windows and doors for tears. In summer, empty pet food bowls after meals rather than leaving food out. If you compost, bury food scraps deep in the pile or use a lidded bin.

Maggots in Trash Cans and Bins

Kitchen and outdoor bins are the most common spot. Empty the bin completely, then spray the inside with a hose or pour boiling water over the maggots. Scrub with dish soap and hot water, rinse, and dry in the sun. Leave the lid off until fully dry. To prevent a repeat, line the bin with a bag, tie it closed, and empty it every 1 to 2 days when the weather is warm. Sprinkling a little baking soda in the bottom can help absorb moisture and odor, but it does not kill maggots.

Maggots Around Pets and Outdoors

Pet food, pet waste and damp bedding attract flies. Pick up waste daily, wash pet bedding in hot water, and store food in sealed containers. If you find maggots on a pet, especially around the rear or a wound, call a veterinarian; do not try home removal. Outdoors, maggots may be in a dead animal or in fallen fruit. Wear gloves, double-bag the material, and dispose of it in the trash. Keep fallen fruit picked up and check under porches and decks.

When Maggots Mean Something Else

If maggots appear in a wound on a person or animal, or in a home with no obvious food source, get professional help. A doctor or veterinarian can check for myiasis, which is when fly larvae infest living tissue. Do not cover the area with ointments or try to pull maggots out yourself. For a persistent infestation with no clear source, a pest control professional can find hidden breeding spots.

Cleaning Up After Maggots

After the maggots are gone, disinfect the area. Wash hard surfaces with hot soapy water, then use a diluted bleach solution (about 1 tablespoon/15 ml per quart/liter of water), and let it air dry. Wash any cloth items in hot water with detergent. Throw away the gloves and bags used for cleanup, and wash your hands with soap and water. Check the area again over the next 2 to 3 days for new maggots, since eggs may have been missed.

How Long It Takes

Most small infestations in a single bin clear up in about 30 to 60 minutes of cleaning once the source is removed. Larger infestations, such as under a porch or in a garage, may take a few hours and repeat checks over several days. The key is removing the food source; without it, maggots cannot survive, and flies will not return.

Maggots in Drains and Damp Spots

Drain flies lay eggs in the slime inside drains, and their larvae look like tiny maggots. Scrub the drain with a brush and hot soapy water, then flush with boiling water. A drain snake or a plumber may be needed if the clog is deep. Keep drains dry when not in use and fix leaks that keep areas damp.

What Not to Do

Do not use pesticides indoors around food, pets or children; if you use any product, follow the label and keep it away from food areas. Never mix cleaning chemicals. Do not leave the source bag inside the house, even briefly, because flies can escape and re-infest. Do not ignore maggots in a wound or in a pet's ears or nose; those need a vet or doctor.

In this article
  1. Find the Source First
  2. Clean and Kill the Maggots
  3. Stop Flies From Coming Back
  4. Maggots in Trash Cans and Bins
  5. Maggots Around Pets and Outdoors
  6. When Maggots Mean Something Else
  7. Cleaning Up After Maggots
  8. How Long It Takes
  9. Maggots in Drains and Damp Spots
  10. What Not to Do