Quick and Easy Ways to Get Rid of Fruit Flies, According to Experts [CNET]
![](https://i0.wp.com/www.cnet.com/a/img/resize/aa8c3e440072fb055794795914e6376393cbccc8/hub/2023/01/18/15a1ed0a-1b9f-4faa-a1a1-c625056939bc/img-8904.jpg?resize=96%2C96&ssl=1)
![home tips logo](https://i0.wp.com/www.cnet.com/a/img/resize/edbcd5c496c6eb9dcbe0a441d09b73eaf57a9480/hub/2024/04/24/ca2978d4-292e-4ed0-86c8-8f5ce3d99161/tips-home.png?resize=768%2C616&ssl=1)
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](https://i0.wp.com/www.cnet.com/a/img/resize/50ac7196dd70f7181e629f989a619b9a02f21d2c/hub/2022/04/06/210b4ca2-4277-46cc-b0d6-b341dd24b566/image-from-ios-4.jpg?resize=800%2C600&ssl=1)
Beer, wine and soda are like a siren song for fruit flies.
Katie Teague/CNETFruit 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](https://i0.wp.com/www.cnet.com/a/img/resize/8be97c15313136080181d72f120a2134d5f0a35c/hub/2016/10/19/ff6dc14d-e667-406c-9971-1971e9b3b519/apple-cider-vinegar-fruit-fly-trap-1.jpg?resize=800%2C500&ssl=1)
Once fruit flies descend on your kitchen, it’s tough to get them to leave.
David Watsky/CNETFruit 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](https://i0.wp.com/www.cnet.com/a/img/resize/26edc67821152c25b3a634a84fa3f707773c529b/hub/2024/08/21/f5b826c3-88c2-4a85-a5c8-f70e193bcaa2/gettyimages-1674336120.jpg?resize=800%2C516&ssl=1)
Ripe produce and sugary foods are magnets for fruit flies.
Helin Loik-Tomson/Getty ImagesThe 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](https://i0.wp.com/www.cnet.com/a/img/resize/82ce8be100359ee9e7bbf5fb3f11260403fef202/hub/2016/07/22/5f4f5908-daf5-4382-839f-194513c9433a/comman-hooks-trash-back-hack.jpg?resize=800%2C539&ssl=1)
Take the garbage out as often as possible during warm summer months.
Taylor Martin/CNETTo prevent fruit flies from taking 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.
For more home tips, here are the best air purifiers for clean air and the best cordless vacuums.