What to Do If You Find Maggots in Your House

If you’ve found maggots in your house, the first step is to kill them on contact, then find and eliminate the source that attracted flies in the first place. Maggots are fly larvae, and they only appear where adult flies have found moist, decaying organic material to lay eggs on. The good news: most household infestations are small, tied to a single food source, and completely manageable without professional help.

Kill the Maggots You Can See

Boiling water kills maggots instantly. Carefully pour it directly over them, making sure every visible maggot is hit. If boiling water isn’t practical for the surface you’re dealing with, mix one part white vinegar with three parts hot water (at least 140°F) and pour it over the area. In a trash can, close the lid and let the mixture sit for 30 minutes.

Salt is another effective option, especially outdoors or on hard surfaces. Cover the maggots and the surrounding area with a thick layer of table salt and leave it in direct sunlight for about an hour. The heat and salt dehydrate and kill them. You can also mix salt with powdered lime (calcium hydroxide, not the fruit) for a stronger drying effect. Sprinkle it evenly, wait a couple of hours, then sweep up the remains.

Find the Source

Killing visible maggots solves the immediate problem, but more will appear within hours if the breeding source is still there. Female houseflies lay eggs on anything moist and decaying, and those eggs hatch in as little as one day at room temperature. You need to find the organic material attracting them.

The most common indoor sources are:

  • Kitchen trash cans, especially when meat scraps, fruit, or wet food waste sit for more than a day or two
  • Floor and sink drains, where a thin film of organic buildup gives drain flies a place to breed
  • Forgotten food, like a bag of potatoes in a pantry, pet food left out too long, or produce that rolled behind a counter
  • Garbage disposals that aren’t running properly, leaving food residue to rot
  • Dead animals, such as a mouse in a wall cavity, crawl space, or attic. Blow fly larvae feed on animal carcasses and can appear seemingly out of nowhere
  • Pet waste or litter boxes that haven’t been cleaned recently

Check every spot methodically. If the maggots appeared in a hallway or room far from the kitchen, that often points to a dead animal in a wall or under the floor. Follow the trail: maggots migrate away from the food source when they’re ready to pupate, so finding them on a wall or ceiling can mean the actual source is nearby but hidden.

How Fast Maggots Develop

Understanding the timeline helps you gauge how urgent the problem is. At room temperature, fly eggs hatch within about a day. The larvae go through three growth stages over roughly four days, getting visibly larger in the final stage. They then stop feeding and crawl away to find a dry, protected spot to form a pupa, which is the hard brown casing they develop inside before emerging as adult flies about four days later.

From egg to adult fly, the whole cycle takes roughly eight to ten days in warm conditions. That means a small maggot problem left alone for even a few days can turn into a new generation of egg-laying flies inside your home.

Deep Cleaning After Removal

Once the source is gone and visible maggots are killed, you need to clean the area thoroughly. For hard surfaces like trash cans, floors, or countertops, scrub with hot soapy water, then rinse with a diluted bleach solution. Rinse again and let the surface dry completely, since residual moisture attracts flies just as much as food waste does.

Carpet infestations require more effort. Vacuum the entire affected area first to pick up any larvae, pupae, or eggs embedded in the fibers. Then shampoo the carpet with a carpet cleaning machine, using hot water and a disinfecting cleaner. Some people add cedar oil (one part oil to two parts hot water) as a natural insecticide in the first pass, then follow up with standard carpet shampoo. You may need two or three rounds to fully clear the problem.

In severe cases, you may need to peel back the carpet and inspect the padding and subfloor underneath. Maggots can burrow into carpet padding, and if biological waste has soaked through, the padding may need to be replaced entirely. After cleaning, dry the area as quickly as possible using fans, towels, or a wet-dry vacuum. A damp carpet just restarts the cycle.

For drains, pour boiling water down the drain, then scrub the inside with a stiff brush to break up the organic film where larvae live. Repeat every few days until you stop seeing small flies near the drain.

Health Risks to Know About

Maggots themselves don’t bite or sting, but they aren’t harmless. Houseflies carry bacteria including Salmonella and multiple strains of E. coli on their bodies and in their digestive systems. Those same pathogens transfer to the larvae and to any surface the larvae crawl across. If maggots have been near food prep areas, discard any exposed food and sanitize the surfaces.

Accidentally swallowing maggots, usually by eating infested food without noticing, can cause intestinal myiasis. Some people experience no symptoms at all. Others develop abdominal pain, vomiting, and diarrhea. The condition typically resolves on its own or with a mild laxative, but it’s worth mentioning to a doctor if symptoms persist.

Preventing a Repeat Infestation

Flies are opportunistic. A single housefly finding an open trash bag of meat scraps is all it takes. Prevention comes down to eliminating access and removing what attracts them.

Your trash can lid is the most important barrier. If yours has a broken lid or gaps, replace it with a model that seals completely. Always bag food waste in heavy-duty trash bags and tie them tightly before placing them in the bin. Double-bag meat scraps, fish, and anything highly perishable. Take trash out frequently in warm weather, ideally before it sits more than a day or two.

After each trash pickup, rinse the bin with soap and water to remove food residue and organic buildup. Let it dry completely before putting a new bag in. Keep outdoor trash cans away from doors and windows so flies congregating around the bin don’t follow you inside.

Inside the house, don’t leave pet food out overnight. Clean litter boxes and pet waste areas daily in warm months. Store produce in the refrigerator or in sealed containers rather than leaving it on the counter. Run your garbage disposal regularly with cold water to prevent food from accumulating. And if you notice even a few flies clustering near a drain or trash can, deal with it immediately rather than waiting for maggots to appear.

When to Call a Professional

Most maggot problems are a one-time event tied to a specific food source, and once that source is removed, the problem is over. But if you’ve cleaned thoroughly and maggots keep appearing, or if the infestation is large and you can’t identify where they’re coming from, a pest control service can locate hidden breeding sites you might miss, like a dead animal inside a wall or a broken sewer line under the foundation. A recurring infestation that resists your own efforts is the clearest sign that professional help is worth the cost.