pwshub.com

How to Get Rid of Fruit Flies, According to an Expert

CNET logo Why You Can Trust CNET

Our expert, award-winning staff selects the products we cover and rigorously researches and tests our top picks. If you buy through our links, we may get a commission. Reviews ethics statement

There's not much to dislike about during summer but fruit flies can be a small scourge in an otherwise celebratory season. Fruit flies appear in droves looking for a free meal and once they descend on your kitchen counters or cupboard, it's tough to get rid of them.

With fruit flies, an ounce of prevention is worth a pound of cure. We asked Jody Green, an entomologist at the University of Nebraska-Lincoln, what causes fruit fly infestations and, more importantly, how to stop them or get rid of them once they start.

What causes fruit flies?

glass of beer

Beer, wine and soda are like a siren song for fruit flies.

Katie Teague/CNET

Fruit flies will normally hitch onto any overripe fruit that you bring home from the grocery store, or any bruised fruit, which tends to ripen and rot more quickly.

Once the flies get in your house, she said, they'll lay eggs everywhere they can -- in rotten fruit or any fermented substances. And as it gets warmer, their life cycles quicken. That's how infestations happen.

Read more: Keep Bugs Out of Your Kitchen With These Common Houseplants

Thankfully, there are ways to kick fruit flies out of your kitchen and expel them from your home. Some steps can help prevent an infestation, while others can help eliminate one. So take a look below, and keep your place free of fruit flies. 

What do fruit flies look like? 

fruit fly in glass of vinegar

Once fruit flies descend on your kitchen, it's tough to get them to leave.

David Watsky/CNET

Fruit flies are about an eighth of an inch long, have red eyes (though some species have darker eyes) and are light brown with dark rings around their abdomen. They also have two wings (many insects have four).

What sorts of foods and environments attract fruit flies? 

gettyimages-1674336120

Ripe produce and sugary foods are magnets for fruit flies.

Helin Loik-Tomson/Getty Images

The common name that entomologists give fruit flies is "vinegar flies." That's because they're naturally attracted to fermented liquid, and when fruit rots, it also ferments. 

But fruit flies don't thrive only on rotten fruit or vinegar. They also love sugary substances like soda, wine and beer, and you can find them in the bottom of your trash bin or any wet place with a substantial food source. 

"Substantial food source" may mean something different to you than to the small but mighty fruit fly, Green said. "It may not be the food you are wanting to eat, but fruit flies are so tiny it only takes a tiny microhabitat" -- like the residual soda in a can in your recycling bin or leftover bits and crumbs in a takeout container in your garbage, Green explained. Those are prime spots for fruit flies to breed. Once the weather warms, it takes less time for fruit fly eggs to turn into babies. 

How to stop stop a fruit fly infestation before it starts

black garbage can

Take the garbage out as often as possible during warm summer months. 

Taylor Martin/CNET

To prevent fruit flies from aking over your kitchen, it all comes down to cleaning. Keeping your place as dry and free of food as possible prevents pests from continuing their life cycle. 

Throw away garbage and take out recycling frequently. Clean out the bottom of bins when liquid accumulates, wipe down counters after you're finished cooking, and keep your sink and garbage disposal free of old food, empty of dishes, and as dry as possible. 

Storing fruits and vegetables in the fridge instead of on the counter will also make it harder for the fruit flies to find them. And since they're attracted to rotting fruit, you should carefully pick your produce at the store to make sure you aren't bringing any rotten or bruised pieces home, Green said. 

She also added that you should recycle or compost cardboard boxes that hold produce as soon as possible, because fruit flies could be breeding in them. Any place that catches water or is moist, like a wet kitchen rag or the rug next to the sink, could become a breeding ground for fruit flies. 

These fruit fly hacks don't work 

sink drain with running water

Hot water down the drain won't eradicate your fruit flies.

David Watsky/CNET

If you have a fruit fly problem, you've probably searched for some outlandish "miracle" tips to eradicate them. When I asked Green about the tips and tricks I've seen online, she debunked plenty of them. Pouring hot water down your drain? That doesn't work. 

Neither does pouring Borax or diatomaceous earth powder down the drain, keeping your environment extra cool, or washing your fruit right as you get home, since running fruit under water can cause it to ripen quicker. 

These fruit fly hacks do work

Keeping your kitchen clean and dry, throwing out garbage frequently, picking produce carefully and storing it in the fridge are your best bets for preventing fruit flies from reproducing. 

bottle of vinegar in hand

Some white vinegar and dish soap in a bowl should thin out your fruit fly infestation significantly.

Joey Skladany/CNET

When you're dealing with an infestation, put vinegar and a couple drops of dish soap in a bowl, cover the bowl with cling wrap and poke holes into it. (Green likes to use dollar store salt and pepper shakers, because the holes are the perfect size for flies, and you can get some wonderfully decorative shakers -- much more glamorous than a cling-wrapped glass or bowl.) That'll kill the adults. Sticky fly trap paper works at trapping them, too.

For more home tips, here are the best air purifiers for clean air and the best cordless vacuums. 

Source: cnet.com

Related stories
2 weeks ago - Why are you seeing so many fruit flies in your home? We asked an entomologist for tips on how to banish these invaders.
3 days ago - Dealing with hordes of fruit flies in your home? An entomologist weighs in on how to get rid of them for good.
3 weeks ago - Cleaning products come in lemon-scented variations, so you likely already associate the citrus fruit with a tidy home. There's a reason for that:...
1 month ago - Computer scientists brainstorm in Pentagon-backed competition to design an AI program that scans open-source code for flaws bad actors could exploit
1 month ago - The right dose of this kitchen staple could help you take control of your health. Just don't overlook the potential side effects.
Other stories
29 minutes ago - Write better code, urges Jen Easterly. And while you're at it, give crime gangs horrible names like 'Evil Ferret' Software developers who ship buggy, insecure code are the real villains in the cyber crime story, according to Jen Easterly,...
1 hour ago - The Indian government has approved $2.7 billion in new spending for its space program.
1 hour ago - heard you like apps — Windows App replaces Microsoft Remote Desktop on macOS, iOS, and Android. Enlarge / The...
1 hour ago - LinkedIn limits opt-outs to future training, warns AI models may spout personal data.
1 hour ago - BUSTED — iServer provided a simple service for phishing credentials to unlock phones. Getty Images ...