Basement to Roof

Home Leaks, Damp and Pests

Maggots in the House: Find the Source and Kill Them

Updated

Maggots are fly larvae, and they always mean the same thing: a fly found something rotting or wet and laid eggs on it. Spraying the maggots you can see does little if the food source is still there, because the next batch is already hatching. Fixing it takes three steps, in this order:

  1. Find and remove what they're feeding on.
  2. Kill the stray maggots and pupae that have crawled away from it.
  3. Deal with the adult flies over the next one to two weeks.

Most household maggot problems are cleared in an afternoon without professional treatment. The main exception is a dead animal inside a wall, ceiling or crawlspace, covered below.

How fast this happens

In warm weather, a house fly goes from egg to adult in about 7 to 10 days. In cooler conditions it can take several weeks.

Several dark brown, ridged, oval fly pupae casings, each about the size of a rice grain, on a white surface
Fly pupae are hard, ridged brown casings the size of a rice grain, and any left behind after cleanup will hatch into adult flies. Photo: NY State IPM Program at Cornell University from New York, USA, CC BY 2.0
Stage Warm weather (80°F+) Cool weather (around 60°F)
Egg hatches 8–20 hours Up to 2 days
Maggot feeding 4–7 days 2+ weeks
Pupa (brown, rice-grain casing) 3–6 days 2+ weeks
Adult fly lays its own eggs Within days of emerging Slower

This explains two things homeowners often notice:

  • A trash bag can be full of maggots in a day. The eggs were laid before the bag was tied.
  • Maggots show up far from the source, crawling across the kitchen floor, up a wall or out from under the fridge. Mature maggots leave the food to find a dry, dark place to pupate. They can be several rooms away from where they hatched.

Make sure they're maggots

Several other larvae get called maggots, and the fix is different for each.

What you see Likely culprit Where Fix
Cream or white, legless, no visible head, one end pointed, 1/8"–3/4" Fly maggots (house fly, blow fly, flesh fly) Trash, rotting meat, pet waste, dead animals This page
Off-white with a brown head and tiny legs, silky webbing Pantry moth larvae Rice, flour, cereal, birdseed, pet food Throw out the infested food, vacuum the shelves, use moth traps
Small, brown, bristly or hairy Carpet beetle larvae Under furniture, wool rugs, closets Vacuum thoroughly, launder fabrics, treat edges
Thin, gray, worm-like, in slime Drain fly larvae Sink and shower drains, floor drains Scrub the drain film with a brush. Bleach alone won't do it.
Tiny, clear body with a shiny black head Fungus gnat larvae Overwatered potted plants Let the soil dry out, use sticky cards
Hard, shiny, golden-brown, segmented Mealworms Old grain, pet food storage Throw out the infested food and clean

If you find "maggots" in a sealed bag of rice or flour, they are almost certainly pantry moth larvae. Flies don't breed in dry grain.

Where they come from

Work through these from most to least likely.

Kitchen trash. This is the most common source. Look at the bottom of the can under the bag, where juice leaks through and dries into a film that flies love.

Outdoor garbage and recycling bins. Meat packaging, chicken bones and diapers sitting in a hot bin for a week of pickup will produce maggots every summer.

Under and behind appliances. Look under the refrigerator, the stove and the dishwasher kick plate. A dropped piece of meat or a leaking drip pan is enough.

Pet areas. Check wet food left out, litter boxes, dog waste in the yard, and spilled food under bowls.

Garbage disposal and sink drains. Food residue under the splash guard can breed flies.

Forgotten food. Look for a bag of potatoes or onions in the pantry, produce at the back of the fridge, or a lunch bag in the car or a kid's backpack.

Carpet and upholstery. Maggots in carpet usually mean a pet accident, spilled food, or a dead mouse under a couch or in a heat register.

A dead animal. This is the source when maggots drop from a ceiling light, crawl out from a baseboard or come up through floor vents. It is often a mouse or rat that ate bait, or a squirrel, bird or bat in an attic or wall. The signs are a sweet, heavy rotten smell that's stronger in one spot, and a sudden swarm of large metallic blue or green flies at one window.

How to get rid of maggots

1. Remove the source

  • Double-bag the infested material, tie it tight and take it out of the house.
  • If pickup is days away, freeze small items such as meat scraps or a dead mouse until trash day.
  • Throw out any food the maggots have touched. Don't try to salvage it.

2. Kill the maggots that are left

Boiling water. This works best, and it's free. Pour it into an empty trash bin, a garbage can or a concrete pad outside. It kills maggots instantly. Don't pour it on vinyl, laminate, carpet, plastic bins rated for low heat, or near plants you want to keep.

Vacuum. Indoors, vacuum loose maggots and any pupae you find. Then empty the canister or remove the bag into a sealed trash bag and take it outside right away. Maggots survive a vacuum.

Soapy water or a household cleaner. Spraying on contact handles strays on hard floors. Wipe them up afterward.

Bleach solution. Use a 1:10 mix with water. It kills maggots on contact in an emptied trash can. Never mix it with ammonia-based cleaners. Rinse well afterward, since bleach residue doesn't keep flies away.

Insecticide. This is rarely needed indoors. A labeled pyrethrin or permethrin product can be used on the outside of bins and around dumpster pads. Read the label and follow it exactly. Don't treat food-contact surfaces.

Skip foggers and bug bombs. They don't reach larvae buried in food or waste, and they leave residue on every surface in the room.

Salt, vinegar and diatomaceous earth are slow and unreliable on maggots. They are not worth relying on when boiling water and a vacuum are available.

3. Clean and dry the area

Maggots need moisture. Scrub the surface where the source was with hot, soapy water, and use an enzyme cleaner on organic residue such as meat juice or pet urine. Then let it dry completely. A trash can that's clean but still damp will attract flies again.

4. Hunt for pupae

This is the step most people skip. Mature maggots crawl off and turn into hard brown casings about the size of a grain of rice. Look along baseboards, under rugs and appliances, in cabinet corners and behind the trash can. Vacuum every one you find. Each one you miss becomes a fly within a week or two.

5. Handle the adult flies

Expect some flies for one to two weeks after cleanup as hidden pupae hatch. This is normal and doesn't mean the treatment failed.

  • Use sticky fly ribbons or a plug-in fly light indoors.
  • Repair torn window screens and add door sweeps.
  • Put any outdoor fly bait well away from doors. Bait attracts flies toward wherever it sits.

If flies are still showing up after three weeks, there's a second source you haven't found.

Maggots from a dead animal in a wall or attic

You can't clean what you can't reach, so a dead animal inside the structure is the problem that most often needs a professional.

Your options:

  • Locate it and remove it. Follow the smell and the fly activity. A pro may cut a small inspection hole in the drywall, remove the carcass, treat the cavity and deodorize.
  • Wait it out. A single mouse in a wall usually dries out in about 2 to 4 weeks, and the maggots and smell go with it. This is reasonable for a mouse. It isn't reasonable for a squirrel, raccoon or opossum, or for anything above a bedroom or kitchen ceiling.
  • Fix the entry. If an animal got in and died, the gap it used is still open. Removing the carcass without sealing the gap guarantees a repeat.

When maggots appear after rodent baiting, the bait did its job, but the rodents died inside the house. Snap traps in a mouse problem avoid this.

Maggots on a pet or person

Maggots in a wound or in matted, soiled fur on a dog, cat or rabbit is called myiasis. It is a veterinary emergency. Don't try to pick them out or treat it at home. Get the animal to a vet the same day. The same goes for any wound on a person: see a doctor.

What it costs

Situation Typical cost
DIY cleanup (bags, cleaner, sticky traps, fly light) $0–$40
General pest control service visit About $110–$260, averaging around $170
Dead animal removal, accessible location $150–$250
Dead animal inside a wall Around $375 on average, plus drywall patching
Attic removal, cleanup and exclusion $200–$1,500
Professional trash bin cleaning, one-time About $35–$99 for the first bin
Professional trash bin cleaning, recurring About $12–$35 per bin per month

Prices vary by region and by how hard the source is to reach. When getting quotes for a dead animal job, ask for removal, access and drywall repair, deodorizing and exclusion as separate line items.

When to call a professional

  • You've cleaned and the maggots or flies keep coming back after three weeks.
  • There's a rotting smell coming from a wall, ceiling, floor or crawlspace.
  • Maggots are dropping from light fixtures or coming through vents.
  • You've had rodent bait out and now have flies.
  • There's a large outdoor problem, such as a dumpster pad, livestock area or commercial kitchen.
  • You rent. Report it to the landlord in writing, especially if the source is structural.

Keep it from happening again

  • In summer, take the kitchen trash out every two to three days, even if the bag isn't full.
  • Freeze meat scraps, bones and packaging until the morning of pickup.
  • Keep lids tight on indoor and outdoor cans. A bin with a gap in the lid is an open invitation.
  • Rinse and dry the outdoor bin monthly in warm weather, or pay a bin-cleaning service.
  • Keep the outdoor bin in the shade if you can. Heat speeds up everything.
  • Bag and seal diapers and pet waste before they go in the bin.
  • Pick up dog waste in the yard at least twice a week in summer.
  • Don't leave wet pet food out longer than 30 minutes.
  • Clean under appliances a couple of times a year.
  • Keep screens and door sweeps in good repair. Fewer flies inside means fewer eggs.

Maggots climbing walls, bleach and other questions

Will maggots go away on their own? They will once they finish feeding and turn into flies, which makes things worse. Removing the source is what ends the problem.

Can maggots climb walls? Yes. Mature maggots looking for a place to pupate will climb walls, cabinet sides and trash cans.

Does bleach kill maggots? Yes, on direct contact. It does nothing for maggots buried in food or waste, and it doesn't prevent new eggs.

Why do I have maggots but never see flies? One fly can lay over a hundred eggs in a few minutes and leave. A single fly that got in through a door is enough to start a problem.

Are maggots dangerous? House fly maggots in trash don't bite and aren't harmful to touch. The real concern is what they mean: rotting material and the flies that will come from it, which carry bacteria to food surfaces. The exception is maggots in a living animal's wound. That needs a vet right away.