Freezing is the most humane way to kill maggots.

You can purchase boric acid at hardware stores, large department stores or online.

Freezing is the most humane way to kill maggots.

You can even use pet shampoo that contains an insecticide. You can use permethrin to remove indoor maggot infestations. [7] X Research source

Dispose of the used water outdoors in a sealed container if possible.

Organic and decaying matter attract maggots and remove the food source. It is best to tackle the garbage can infestation after collection day, so that your can is empty. You may also want to clean out your garbage disposal if you suspect that you may have maggots living in there as well. Pour boiling hot water and vinegar down the sink after you clean out the garbage disposal tank.

Boiling water will instantly kill the maggots. Make sure to hit every inch of the garbage can with boiling water.

You can also use a mixture of one-part vinegar to two-parts water to clean the can. [11] X Research source You can also try rubbing down the interior of the can with mint oil, which is supposed to repel maggots. Do not pour the water into a storm drain as they usually flow directly into local lakes, streams or other clean water sources.

Be sure to repeat this process every week or two in order to keep the maggots from returning.

You can use two-parts water for every one-part insecticide.

If your trash can lid is broken, you should get a new trash can. Seal extremely potent leftover foodstuffs in sealable bags before placing them in your trash can to avoid attracting flies. Don’t let your trash cans overflow with garbage.

You can use a half cup of bleach and a gallon of water. You could also use a mixture of one cup baking soda and one cup vinegar. Pour the baking soda and vinegar down the drain and then run the water for a minute to clean the drain. [16] X Research source