House Flies and Maggots

What kills maggots immediately?

Boiling water is the quickest common way to kill maggots on hard surfaces. See other fast options, safety tips, and how to stop maggots from coming back.

On this page
  1. The quick answer
  2. Fast ways to kill maggots
  3. Slower or less reliable methods
  4. Safety points
  5. Maggots in special places
  6. Stopping them from coming back

The quick answer

For maggots on hard, heat-safe surfaces, such as the inside of a plastic or metal garbage can, very hot or boiling water is usually the fastest and simplest option. It kills maggots on contact and also destroys eggs that haven’t hatched yet. Other quick options are a household insecticide labeled for flies or maggots, or simply sealing the maggots and their food source in a bag and throwing it away.

Whatever you use, the maggots will come back unless you also remove what attracted the flies in the first place.

Fast ways to kill maggots

Very hot or boiling water

Pour boiling or near-boiling water directly over the maggots and into any liquid pooled at the bottom of the container. Make sure the water reaches all of them, including those hiding in folds of trash bags or under the rim.

This works well on garbage cans, concrete, paving and drains. It is not suitable for carpets, many plastics that warp, painted surfaces, or anywhere near plants you want to keep. Carry the water carefully, wear closed shoes, and keep children and pets away while you work.

Sealing and discarding

Often the simplest approach is to remove the maggots along with what they are feeding on. Scoop or sweep them into a plastic bag together with the spoiled food or waste, tie it tightly, and put it in an outdoor bin with a closed lid. Double-bagging helps. This doesn’t kill them on the spot, but it removes them from your home immediately and they will not survive long once sealed and disposed of.

Household insecticide sprays

Insecticide sprays labeled for flies, or for use on maggots, can kill larvae quickly on contact. Read the label before using any product, use it only on the surfaces and in the places the label allows, and keep it away from food, dishes, children and pets. Many indoor sprays are not meant for food prep areas.

Diluted bleach for bins and hard surfaces

A diluted bleach solution can kill maggots and disinfect a garbage can at the same time. Use it outdoors or in a well-ventilated space, follow the dilution and safety directions on the bleach bottle, and wear gloves. Rinse the can afterward.

Never mix bleach with vinegar, ammonia or other cleaners. Some combinations release toxic gases.

Slower or less reliable methods

You will see many home remedies suggested online. Some help, but most are slower than hot water:

  • Salt or lime: can dry out maggots, but usually takes time and needs heavy coverage.
  • Vinegar: often recommended for cleaning bins and reducing odors, which can make them less attractive to flies. On its own it is not a reliable instant killer.
  • Diatomaceous earth: may slowly dehydrate insects, but it is not fast and does not work well when wet, which is exactly where maggots live.
  • Freezing: placing a sealed bag of infested food in the freezer will kill maggots, but it takes hours rather than seconds.

If you are dealing with a lot of maggots, it is usually quicker to remove the source and use hot water than to work through a series of remedies.

Safety points

  • Wear gloves when handling maggots, spoiled food or waste.
  • Use only one chemical product at a time, and never mix cleaning products.
  • Follow every pesticide label exactly. The label is the legal set of instructions for that product.
  • Wash your hands and any tools thoroughly afterward.
  • Clean and disinfect any food prep surfaces that flies or maggots may have touched.

Maggots in special places

Garbage cans

Bag the trash, then pour boiling water into the empty can, scrub it with detergent, rinse and let it dry fully in the sun if possible. Moisture is what makes a can attractive to flies, so drying it out is an important step. Tie off bags of food waste, especially meat and fish scraps, and keep the lid shut.

Carpets and floors

Boiling water and bleach can damage carpet and flooring. Instead, vacuum the maggots up, then immediately seal and discard the vacuum bag or empty the canister into a sealed bag outside. Clean the spot with a carpet cleaner suitable for that material. Look for what drew the flies, such as a food spill, pet accident or a dead mouse under furniture.

Maggots indoors with no obvious source may be coming from a dead animal in a wall, attic or crawl space. If you can’t find the source, a pest control professional can help.

On pets, livestock or people

Do not use boiling water, bleach or household insecticides on any animal or person. Maggots in a wound or on the skin, a condition called myiasis, need treatment by a veterinarian or doctor. Contact one promptly.

Stopping them from coming back

Maggots are a sign that flies found somewhere to lay eggs. To prevent another round:

  • Keep garbage in tightly closed bins and empty them often, especially in warm weather.
  • Rinse and dry bins regularly.
  • Pick up pet waste promptly and keep litter boxes clean.
  • Store food in sealed containers and clean up spills quickly.
  • Repair window and door screens.

For a closer look at why flies get inside in the first place, see our article on what causes house flies in the house. If you prefer less chemical approaches overall, our guide to what are some natural methods of pest control covers broader options. And if you want to confirm what you are dealing with before you start, our housefly maggot pictures guide describes each stage.

The complete guide to house flies and maggots

Housefly Maggot Pictures and Facts
Read the guide

Keep exploring

Guides from other topics

All topics →