Advertiser Disclosure

How to Get Rid of Maggots Effectively

Man taking out the trash with maggots
Alina Kruk / Shutterstock

How to kill maggots

Maggots can appear in many different areas throughout the home, yard, and — at worst — your pets. Each scenario will require a different treatment to rid you of the pesky invaders for good. Follow the guides below to learn how to kill maggots.

Locate all infested areas

As advised by Tonbridge and Malling Borough Council, locate all areas where maggots are feeding or living. Search through food products that are in especially dirty areas of the home. If the foundation of your home is rotting in any area, you could find maggots in different rooms of the house.

Killing maggots in the house

If you find maggots in the house, there are several ways you can kill them:

  • Pour boiling water on any areas you suspect are infested.
  • Thoroughly sprinkle the area with salt.
  • Clean your trash bin with a mixture of water and lime, salt, or vinegar to prevent future infestations.
  • Spray with an insecticide. If you find them in carpeting or baseboards in your home, you will generally need to spray.
  • Use a spot spray treatment if the infestation is small, or use a broader spray to take care of a larger infestation.

Getting rid of maggots on pets

Before taking any treatment, you want to verify that your pets do have maggots. Look in recent wounds and between toe joints for anything moving or hard lumps under the skin.

If they’re found, the best thing that you can do to ensure the safety of your pet is to take them to the vet. Veterinarians will be able to kill maggots and rid your pet of the infestation without doing any harm to the animal.

Keep your pets clean and repel further infestations by washing them with pet shampoo during high season for egg-laying flies.

Spray or dust to clear maggots in the yard

First, you need to determine the scope of the maggot problem in your yard. Dig up the ground around plants that are suffering to check for any large holes dug into the root mass of the plants.

To clear out the infected area, use a vegetable and fruit spray all over the soil of the area. You can also dust the area with a similar treatment if there is a concern the spray could drift.

Killing maggots naturally

Maggots do not have a hard outer shell to protect them as other harmful insects do. This makes killing them by natural or organic means easier. Several home remedies are effective at ending a maggot infestation and cleaning out the infected areas.

If the maggots are in a trash bin, empty the trash bin and dispose of the materials that were inside. Then, fill the trash bin with boiling water. Another option is to set up a feast for the birds, putting out the trash can in an area where birds are common and can quickly pick through.

If you find areas infected with maggots outside of the bin, pouring lime or lemon juice over them should be enough to kill them. Make sure to spray it over the entirety of the area to kill any eggs that have not yet hatched. Another home remedy is to use diatomaceous earth, spreading it over the soil or infested area.

Products you can use to treat a maggot infestation

What do maggots look like?

Maggots are baby flies or the larval stage of a fly. They are conically shaped and often a grey or creamy white color. It is hard to differentiate the species of flies from their maggots, but if this is your goal, the University of Kentucky has put together a guide to recognizing larval types. Most maggots found in or around the home are from the common housefly or bluebottle fly.

Close up photo of maggots
Holger Kirk /Shutterstock

Maggots are burrowers with their head-end being the more pointed end for digging in. Depending on the kind of fly, maggots feed on either live or rotting materials. They burrow in as they eat through the material, leaving circular, chewed holes scattered throughout.

If you’ve spotted these pests in your home, you’re probably wondering how to kill maggots, where they come from, and how to get rid of them for good. Here’s everything you need to know.

How do you get maggots?

The top causes of maggots in or around your home include improperly stored trash, excess dog feces, or the presence of an animal carcass. The female flies are attracted to such materials and lay their eggs on them. When the eggs hatch, the maggots burrow into the material and begin to eat until their next metamorphic stage.

Although they are quiet invaders, maggots should be dealt with quickly. Some of the dangers of maggots include fly infestations and animal sickness if you have pets. If they get into any food meant for human consumption, they can cause bacterial poisoning.

How to check for maggots

In the home, maggots are generally easy to spot, with most of them being at least as big as a thumbnail. They will be crawling both in and out of any infested food substances. To check if they are inside of your garbage, take a stick or put on gloves to move the trash around and break food open to check inside.

To check if your pet has maggots, they will often be in a wound or under the skin.  You can also check by feeling the area to see if there is a hard bump under the flesh of the wound.

Some maggots eat plant material. You may notice plants that were once healthy are dying without anything else changing in their environment. To check for maggots, you may need to pull up one of these plants and check for maggots in the root mass and in the plant’s hole.

How long can maggot infestations last?

Maggots will only feed for three to five days. The process from egg to fly takes anywhere from 14 to 36 days and, if the material is still in an edible state, the process may start all over again. If the material isn’t properly disposed of, then an infestation will only continue to get worse.

When to call a professional exterminator to treat maggots

The time might come when the maggot infestation is out of your control (or you just can’t stand to deal with it). This might be when the infestation has taken over several rooms in the house or if you have tried to clean an area out multiple times and the infestation has returned.

Another time that you may need to call a professional is if you are unable to identify the pest which will make it difficult to properly treat the problem.

How to keep maggots out of your home

To prevent a maggot infestation, it is important to prevent flies from being attracted to your home or yard. Be sure to clean up any food promptly and store it in sealed containers will keep odors from attracting flies into your home. If you have pet food out, you may want to keep the dish covered to keep flies out of it and remove old food quickly.

If you keep compost in your yard, be sure to keep it covered or sealed to keep the flies out. Finally, make sure to keep the yard clean of any animal feces.

The bottom line on maggots

Starting with prevention will be an effective way to keep maggots out of the home. If you do suffer from an infestation, treating it with a chemical spray may be the quickest way to get rid of the problem. If you would prefer to use a home remedy, lime or lemon juice, salt, and boiling water are all useful methods to exterminate the problem.

Frequently asked questions


How do you get maggots in a home?


Flies come in through open windows or doors if they sense any food or waste odors. They will lay eggs on the food and the eggs hatch into maggots.


Are there natural remedies to get rid of maggots?


Using lime or lemon juice will kill maggots. Sprinkling a large amount of salt over them also does the trick. Strong vinegar or boiling water will kill them as well.


What are maggots a sign of?


Maggots may be a sign that food sat out for too long or was not disposed of properly, or perhaps you left windows or doors open for too long. Keep an eye on any pet wounds to prevent infestation there, too.


How do I get rid of maggots in my pets?


You may need to shave the hair around their wound to effectively see and remove the maggots. Washing them with treated shampoo or applying a topical salve to the wound or infected area may also help, though the safest route is just to take them to the vet immediately.

Related Articles

Don’t Let the Bed Bugs Bite: A Guide to the Best Bed Bug Sprays
Don’t Let the Bed Bugs Bite: A Guide to the Best Bed Bug Sprays

“Good night, sleep tight, don’t let the bed bugs bite,” is a cute saying, but there’s nothing cute about actually dealing with bed bugs. When you spot an infestation, it’s vital to find the best bed bug spray to take care of the problem quickly. Your peaceful night’s sleep is on the line. These tiny […]

Read More
6 Ways to Get Rid of Outdoor Flies
6 Ways to Get Rid of Outdoor Flies

Why trust MYMOVE? Our editorial team strives to bring you accurate and unbiased information. Any products featured are independently selected based on thorough research from our editorial team. If you buy something through links on our site, we may receive a commission. As the warm weather starts to set in, you should expect to see […]

Read More
How to Get Rid of Junebugs
How to Get Rid of Junebugs

If you associate the sound of summer with the constant thud of June beetles hitting your deck or windows, then it’s time to take action. While these light-obsessed beetles may seem harmless to humans, they’re anything but when it comes to the health of your lawn and garden. We’ll tell you how to get rid […]

Read More