How to get rid of fruit flies?

how to get rid of fruit flies

One minute your kitchen’s all clear, and the next, it seems like those tiny fruit flies have appeared out of thin air! They swarm your ripe bananas, won’t leave your kitchen drain alone, and seem to be multiplying by the minute. Sure, they’re mostly harmless, but it’s definitely not a welcoming sight. Even if you’re super tidy, fruit flies can still sneak in. They love the tiniest bit of overripe produce or old spills. Basically, anything fermenting (like old fruit and veg), your garbage disposal, or damp areas are a fruit fly’s paradise – it’s the perfect spot for them to lay eggs and find food.

Key Takeaways:

  • Be a fruit fly detective: Identify their breeding grounds to nip the infestation in the bud.
  • Cleanliness is king (or queen): Eliminate their food sources to make your home unwelcoming.
  • Traps are your allies: Use DIY or store-bought traps to capture and eliminate adult flies.
  • Prevention is a breeze: Proper storage and a clean kitchen will stop them from returning.

Why Do Fruit Flies Show Up and Are They Dangerous?

Fruit flies love a good opportunity. They thrive anywhere with rotting or decaying stuff they can eat and use to lay eggs. A slightly too-ripe banana on the counter or a stray potato at the back of the pantry is like a giant invite for them! But they’re not just annoying – fruit flies can actually be a bit of a health risk. Since they hop from gross food to clean food, they can carry bacteria and other nasty stuff on their little bodies. That means they could contaminate food if they land on your kitchen stuff!

7 Effective Ways to Get Rid of Fruit Flies

Discover various tips on how to get rid of fruit flies by Sharkey’s Greenhouses.

Here’s how you can get those fruit flies packing and have your pest-free home back:

1. Find the source

fruit fly with eggs

Start by sleuthing out their favorite hangout spots. Examine your fruit bowl and pantry for any overripe or forgotten produce—a bruised apple or a mushy banana could be ground zero for their breeding operation.

Next, check under your sink and around the garbage disposal for any hidden food scraps or spills. Even a tiny bit of sugary residue can be a magnet for these pests. Finally, don’t forget your recycling bin – old takeout containers or forgotten fruit cores can be a fruit fly paradise.

2. Clean Like a Pro

Eliminating food sources is the key to defeating these tiny invaders. Wipe away any spills or sticky spots, especially near your fruit bowl, under appliances, by the sink drain, and in the garbage disposal. Use hot, soapy water or a disinfectant for a knockout punch.

Remember to rinse everything well and dry surfaces completely – fruit flies love moisture. Regularly empty your trash and recycling bins to cut off their supply lines.

3. Fruit Fly Netting

Love having a colorful bowl of fresh fruit on display? Consider using mesh covers for bowls or baskets. This breathable netting lets air circulate to keep your produce fresh while denying those pesky flies access to lay eggs.

4. Vinegar Trap

This DIY trick is a classic for a reason! Fill a small bowl or jar halfway with apple cider vinegar, a scent fruit flies can’t resist. Add a few drops of dish soap (like Dawn) to the mixture. The soap breaks the surface tension of the vinegar, making it deceptively slippery. Fruit flies will be lured in by the scent, land on the liquid, and get trapped for good.

5. Other Homemade Traps

Try these alternatives:

  • The Fermentation Frenzy: Fruit flies can’t resist the smell of fermenting fruit. Place a piece of overripe fruit (think banana peels or apple cores) in a jar. Cover the jar with plastic wrap and secure it with a rubber band. Poke a few tiny holes in the plastic wrap – small enough to keep the flies trapped inside, but large enough to allow the enticing fermented scent to waft out and attract its targets.
  • The Boozy Brew: Fill a shallow dish with a small amount of wine or beer (a splash will do). Fruit flies are drawn to the smell of alcohol, and they’ll meet their demise after taking a dip in this boozy trap.

Read more: How To Get Rid Of Fruit Flies Without Apple Cider Vinegar?

6. Store-bought Traps

If you’re short on time or prefer a more convenient option, there are plenty of commercially available fruit fly traps. These traps typically use attractants like apple cider vinegar or other sweet scents, and come in various designs to suit your needs. Some popular options include sticky traps, which lure and trap flies on an adhesive surface, and bait traps, which use a liquid or solid attractant to lure flies into a container where they drown.

7. Call in the Pros

If you’ve tried everything and the fruit fly invasion rages on, it might be time to call in a pest control professional. They’ll have access to stronger solutions and can help you create a long-term plan to banish the flies for good.

5 Tips to Keep Those Fruit Flies From Coming Back

  • Buy Only What You Can Eat: Smaller grocery hauls mean less food goes bad before you can finish it. Less spoiled food, fewer fruit flies!
  • Store Produce Properly: This is important! Fruit and veggies that prefer the cold go in the fridge. Anything that ripens better at room temperature should be stored in a cool, well-ventilated spot. Check all your produce often, no matter how you store it, and throw out anything that looks questionable.
  • Clean Up Spills Fast: Fruit flies? We don’t want those uninvited guests! Grab a paper towel and banish those sugary spills and crumbly messes right away, especially near drains where moisture loves to linger. Think of it as preventing a fruit fly pool party in your sink!
  • Keep Your Trash Can Clean and Sealed: Fruit flies adore smelly, damp trash cans. Double up on defenses: Empty it often (every other day is ideal, more if you need to). After emptying, give your bin a good scrub with hot, soapy water or disinfectant. Pay special attention to the rim and lid – that’s where spills love to hide. Let your bin air dry completely before putting a new bag in.
  • Clean Drains Regularly: Zap away nasty buildup in your drains once a week or every other week. This will keep them flowing smoothly and prevent them from becoming a fruit fly buffet.


Fruit flies can be a nuisance, but with a little effort, you can keep them at bay and enjoy a pest-free kitchen. By following these simple tips, you’ll eliminate existing infestations and prevent future ones. Remember, the key is sanitation and prevention. Keep your kitchen clean, store food properly, and dispose of garbage promptly. With these steps, you’ll create an environment that’s unwelcoming to fruit flies and allow you to focus on the more enjoyable aspects of your kitchen, like preparing delicious meals and savoring fresh produce.

For an even more effortless solution, explore the range of convenient and effective fruit fly traps available at These traps come in various designs and use attractants that are irresistible to fruit flies while remaining safe for you and your pets. They’re easy to use and require minimal maintenance, saving you time and hassle. Reclaim your kitchen from these pests and enjoy a cleaner environment!