Maggots on your floor are house fly larvae, and killing them is straightforward: boiling water, vinegar, or even sweeping them into a sealed bag will handle the ones you can see. The harder part is finding and eliminating the source that attracted flies in the first place, because without that step, new maggots will keep appearing within days.
Kill the Visible Maggots First
Start by removing every maggot you can see. The fastest methods use things already in your home:
- Boiling water. Pour it directly over maggots on hard floors like tile, vinyl, or concrete. This kills them instantly. Avoid using it on unsealed wood, which can warp.
- White vinegar solution. Mix equal parts white vinegar and boiling water. This both kills maggots and helps neutralize the odor attracting flies.
- Sweep and seal. If the infestation is small, sweep or vacuum the maggots into a plastic bag, seal it tightly, and take it to an outdoor trash bin immediately.
- Salt or diatomaceous earth. Sprinkling a thick layer of either substance directly on maggots dehydrates and kills them over several hours. Diatomaceous earth (the food-grade type) works well in corners and crevices where liquid methods are impractical.
After removing the maggots, clean the entire area with hot soapy water or a diluted bleach solution. Flies and their larvae can carry Salmonella and E. coli, both of which cause food poisoning with symptoms like vomiting, diarrhea, and stomach cramps. Sanitizing the floor after removal isn’t optional if you want to avoid those risks.
Find the Breeding Source
Maggots don’t appear out of nowhere. A female house fly lays eggs in clumps of up to 300 at a time, and those eggs hatch in roughly 24 hours at room temperature. The larvae then grow from 2 mm to 20 mm in just four days. So if you’re seeing maggots on your floor today, a fly found something attractive in your home within the past week.
The most common indoor sources:
- Garbage bins. Especially kitchen trash with meat scraps, food waste, or liquid at the bottom of the bag. This is the number one culprit.
- Pet food bowls. Wet pet food left out for hours draws flies quickly.
- A dead animal. If you’re seeing large, metallic-colored blow flies, that strongly suggests a dead mouse, bird, or rat somewhere in a wall, ceiling, or crawl space. Blow fly larvae develop inside dead animals, and the maggots often migrate outward once they’re ready to pupate.
- Drains. Drain fly larvae live in the slimy buildup inside floor drains, sink drains, and toilet drains, breathing through tubes they extend to the surface.
- Rotting produce. Fruit flies lay eggs on ripening or fermenting fruit, and their tiny larvae can end up on counters and floors nearby.
- Spilled liquids. Fermented soda, juice, alcohol, or syrup that seeped under an appliance or into a crack can sustain larvae you never see until they start crawling.
Check under and behind your refrigerator, stove, and dishwasher. Pull out trash cans and look underneath. If you have a garage or utility room with floor drains, inspect those too. The breeding source is almost always within 20 to 30 feet of where you found the maggots, because larvae don’t travel far before they need to pupate.
Why They Keep Coming Back
If you kill the maggots but leave the source intact, the cycle repeats fast. An adult fly can mate and begin laying eggs just two days after emerging from its pupa. The full life cycle from egg to adult takes roughly 20 days under typical indoor conditions: one day as an egg, about four days as a growing larva, four days as a pre-pupa, and ten days inside the pupal case before a new adult fly emerges.
That means a single overlooked food source can produce multiple generations in a month. Removing and thoroughly cleaning the breeding material is the only reliable way to break the cycle. Once the source is gone, any remaining pupae in hidden spots may still produce a few adult flies over the next week or two, but with nothing to lay eggs on, the problem dies out.
Using Chemical Insecticides Safely
For most indoor floor infestations, you don’t need chemical products. Hot water, vinegar, and thorough cleaning solve the problem. But if you’re dealing with a large or recurring infestation, permethrin-based sprays are commonly sold for indoor insect control.
Permethrin attacks the nervous system of insects, causing paralysis and death. It breaks down relatively quickly in humans and dogs, but cats are a serious concern. Cats metabolize permethrin very slowly, and accidental exposure to concentrated permethrin products (45% to 65% concentration) can cause muscle tremors, seizures, and death in cats. If you have cats, either avoid permethrin entirely or keep them out of treated areas until the product has fully dried and the room is ventilated.
For people, skin contact with permethrin can cause tingling, burning, or irritation. Breathing it in may trigger headaches, dizziness, and nausea. If you use a spray product, wear gloves, open windows, and keep children and pets away until the area is dry. Permethrin is also highly toxic to fish, so never pour it down a drain or use it near aquariums.
A safer alternative for indoor use is a enzyme-based drain cleaner for drain fly larvae, or food-grade diatomaceous earth for hard-to-reach crevices. Neither poses meaningful risk to people or pets.
Preventing Maggots Long Term
Once you’ve dealt with the immediate infestation, a few habits keep it from happening again. Take kitchen trash out daily during warm months, or at minimum every two days. Use trash cans with tight-fitting lids. Rinse out cans and bottles before putting them in recycling bins. Clean under appliances at least once a month, paying attention to food debris and liquid spills that collect in places you can’t normally see.
If your home has floor drains in a basement, laundry room, or garage, flush them with boiling water every couple of weeks to prevent the organic buildup that drain fly larvae feed on. Store pet food in sealed containers and pick up uneaten wet food within 30 minutes.
Screens on windows and doors make a real difference. Flies need access to get indoors and lay eggs, and a well-sealed home dramatically reduces the chance of an infestation starting. Patch any torn screens, and check the seals around doors, especially garage doors and back doors near trash storage areas.