How to get rid of maggots in your garbage can fast

Maggots on surface
(Image credit: Shutterstock)

If you find a sea of maggots crawling in your  trash can, this can be an alarming sight. But before you call out the exterminators, you'll need to know how to get rid of maggots fast. 

So what exactly are maggots, and where do they come from? These tiny, white or cream worms are actually fly larvae that live on organic waste. When flies infest a food garbage can, this becomes a breeding ground to lay their eggs. In a very short time, these hatch to become maggots. Such crawlies are more prevalent during the summer and spring months, when flies are more active, so knowing how to get rid of maggots is crucial. 

Luckily, you can easily learn how to get rid of maggots in your garbage can in just a few steps. By eliminating maggots, this will prevent a future infestation. In fact, all you’ll need are a few household items to banish the tiny pests. So if you want to keep these crawlies away, follow these tips on how to get rid of maggots in your garbage can fast.  

Also, if you have a stinky trash can, here's how to deodorize your trash can in 5 easy ways.

How to get rid of maggots

1. Remove the trash 

Man removing black trash bag from can

Man removing black trash bag from can (Image credit: Shutterstock)

Put on disposable rubber gloves, and remove all trash from the infested can, making sure it’s well tied. If the bag is damaged, place it inside another heavy-duty sealed bag and transfer to another bin. You can do this on your waste disposal collection day.  

2. Pour hot water into garbage can 

Maggots at bottom of garbage can

Maggots at bottom of garbage can (Image credit: Shutterstock)

Next, boil hot water and carefully pour it into the garbage can. Make sure to hit every inch of the garbage can with water, before letting it sit for about 30 minutes. This will instantly kill any remaining maggots and eggs at the bottom of the can or on the sides. Then empty the garbage can of all contents, including the dead maggots, before rinsing out the can using a garden hose. 

TIP:  If you have a plastic trash can that may warp due to hot water, you can cover the maggots with a large quantity of salt instead. Salt is a natural dehydrator, so it will suffocate maggots in no time. 

3. Disinfect with white vinegar solution

Disinfecting garbage can

Disinfecting garbage can (Image credit: Shutterstock)

Make up a solution of one part distilled white vinegar, and two parts water to disinfect the garbage can. Alongside baking soda, white vinegar is a natural deodorizer, so will remove rotten odors. Then, use a mop to scrub the inside of the garbage can, ensuring to cover all areas including the lid. For best results, allow the solution to sit for up to 30 minutes, so it can work well to remove bacteria.  You can also find out what makes baking soda and vinegar so good at cleaning. 

4. Rinse garbage can well

Garbage can upside down to dry

Garbage can upside down to dry (Image credit: Shutterstock)

Finally, rinse thoroughly with a garden hose. Turn the can upside down or leave the lid open for the can to dry completely before putting in a trash bag.  Ensure you use a high-quality bag that won't tear or break easily. This will eliminate any entry points for flies to get in. 

How to prevent maggots in your garbage can

Maggots on surface

Maggots on surface (Image credit: Shutterstock)
  • Purchase high-quality garbage bags that won’t tear or break easily
  • Always tie up bag securely to prevent any flies entering
  • Limit the time meat scraps are left in the garbage. Female flies are attracted to the rotting meat scraps in the garbage can and will enter. Try to dump your meat scraps the night or day before waste disposal collection
  • Regular cleaning with a water and vinegar solution can help prevent future infestations 
  • Use citrus or scented products such as dish soap, or scented cleaners. This will deter flies who are only attracted to foul smells
  • Ensure your garbage can is one that closes firmly

If you're bedeviled by other pests, we've also get tips on how to get rid of mosquitoes as well as how to get rid of ants and how to get rid of fleas.  

Want to clean out spiders? Here's the answer to if horse chestnuts can keep spiders away.

Cynthia Lawrence
Content Editor, Homes

As the Homes Content Editor, Cynthia Lawrence covers all things homes, interior decorating, and garden-related. She has a wealth of editorial experience testing the latest, ‘must-have’ home appliances, writing buying guides and the handy ‘how to’ features. 

Her work has been published in various titles including, T3, Top Ten Reviews, Ideal Home, Real Homes, Livingetc. and House Beautiful, amongst many.

With a rather unhealthy obsession for all things homes and interiors, she also has an interior design blog for style inspiration and savvy storage solutions (get rid of that clutter!). When she’s not testing cool products, she’ll be searching online for more decor ideas to spruce up her family home or looking for a great bargain!

Read more
A metal trash can in a kitchen
This TikTok hack completely transformed the way my trash can smells
A woman's hand holding a magnifying glass magnifying bed bugs on a mattress
3 home remedies that can actually get rid of bed bugs
Bed linens crumpled on a white mattress
How to get rid of dust mites from your mattress, pillows and bedding
Woman changing bedding
How to get rid of bed bugs and dust mites from your bedding and pillows if a hot wash isn’t an option
Image shows a person in blue disposable gloves pointing to bed bugs on a mattress
You might be creating the perfect conditions for bed bugs to thrive in your mattress — here's why
A mosquito resting on a plant
3 pests to watch out for this spring — and expert tips to prevent them
Latest in Home
The new Husqvarna iQ series robot lawn mower.
Husqvarna’s new robot mowers offer GPS for less
A distraction-free desk setup built around the Oakywood Standing Desk Pro
I built the ultimate work-from-home setup with this vertical monitor — and it’s a game changer for my productivity
the dyson airwrap ID in teal and terracotta colorway (patina and orange) with a lapis case, with a brush, hairfryer, curling wand attachments
I'm so sick of everything being 'smart' — and the Dyson Airwrap i.d. I've been testing is the last straw
Segway g30lp
Segway recalls 220,000 electric scooters - what to do if yours is on the list
the breville dose control pro, called sage dose control pro in the uk, a silver coffee grinder with 60 grind settings and labeled grind size adjustment
The Breville Dose Control Pro is one of the most divisive coffee grinders — here’s why I disagree with the haters
the clever dripper, a brown transparent plastic manual coffee maker with a handle and a sluice feature in the bottom to keep water inside
The Clever Dripper is my new favorite way to brew coffee — and I think it’s easier than a French Press
Latest in How To
An image of an iPhone screen showing the Safari app icon in the center
I got tired of Safari revealing my web searches in iOS 18.4 — this setting fixes that
AirPods Pro 2 in hand
Your earbuds are disgusting — here's the right way to clean them
ChatGPT logo on a smartphone screen being held outside
7 biggest ChatGPT mistakes — and how to fix them
a photo of a woman looking at her fitness tracker
Forget the treadmill — I boosted my metabolism and walked 2,000 steps with this 15-minute workout
a photo of a woman out for a walk
Forget running — I did this one thing to boost the calorie burn on my daily walks
Gemini logo on smartphone
Google's Gemini Deep Research is now free — I've got 7 quick tips to start using it now