No one enjoys coming home to find their space overrun by pests of any kind. While fruit flies may not be quite as unsettling as encountering cockroaches or stink bugs, they can still be incredibly irritating. These tiny insects tend to gather in the places we use most—hovering around fresh produce, lingering near the sink, or swarming the garbage can. Their constant buzzing and rapid reproduction can quickly turn a small annoyance into a bigger problem if left unchecked.
Even though fruit flies are a common household nuisance, the upside is that they’re usually not difficult to manage. In most cases, identifying the source of the infestation—such as overripe fruit, spills, or an improperly sealed trash can or compost bin—is the first and most important step. Once you know what’s attracting them, you can take simple, effective measures to eliminate the issue and prevent it from getting worse. From homemade traps to better food storage habits, there are plenty of practical ways to regain control of your kitchen.
To get expert insight on the best methods for tackling this problem, we spoke with Diana Ludwiczak, a certified home pest inspector based in New York City. She shares her professional advice on how to get rid of fruit flies efficiently and, just as importantly, how to stop them from coming back in the future.
Additional copy by Kaitlin Menza and Kelly Allen.
What Causes Fruit Flies?
“Fruit flies are attracted to ripe and rotting fruits and vegetables, so it’s important to keep your kitchen clean and free of any food debris,” says Ludwiczak. “Wipe down counters, sweep or vacuum the floors regularly, and store fruits and vegetables in the refrigerator to reduce their exposure to the air.”
Fruit flies also like fermented items, including beer, liquor, and wine. They breed in dark, damp areas like sink drains, garbage disposals, trash cans, and mop buckets.
“Once they begin reproducing indoors, females are able to lay about 500 eggs, and the eggs will hatch in as little as 24–30 hours after being deposited by the female,” according to Orkin.
How to Get Rid of Fruit Flies
To get rid of fruit flies in your home, you can try this expert-recommended method.
“Fill a small jar or cup with apple cider vinegar and a few drops of dish soap, and then cover the container with plastic wrap tightly,” Ludwiczak suggests. Poke a few holes in the wrap and place the jar near the fruit fly infestation. “The fruit flies will be drawn to the smell and will become trapped in the jar. This is my number one tip, that I personally use every summer!” she adds.
Within a day, you should see many fruit fly carcasses floating in the liquid. You'll want to keep changing out the liquid each day until all the flies have been caught.
Need to fight a serious fruit fly infestation? Consider the TikTok-viral ZEVO electric flying insect trap, which is a plug-in bug trap that does all the work for you.
How to Prevent Fruit Flies
Getting rid of fruit flies is just the first step! Here's what you'll want to know about what to do to prevent them from coming back.
Wash Your Fruit
When you bring home fresh produce from the grocery store, wash it off before storing or displaying it.
“Fruit flies are also attracted to standing water, so it’s important to dry out sinks, showers, and other areas where water can accumulate. Make sure to fix any leaky pipes or areas of your home where water tends to accumulate,” says Ludwiczak.
Rinse Produce With Vinegar
According to Ludwiczak, rinsing produce with a vinegar solution may keep your produce fresher for longer—and this helps stave off a fruit fly infestation. To make it, Ludwiczak mixes around two parts water and one part vinegar and sprays it onto the produce. Make sure to give your fruits and veggies one more final rinse in water before you’re done, though, so the vinegar flavor and scent don’t stick around.
Put Screens in Your Windows
Screening in your windows is a good idea for preventing all kinds of critters from getting in, but they're also effective against fruit flies.
“Make sure to use screens on windows and doors to prevent fruit flies from entering your home,” Ludwiczak says. “This is especially important during the warmer months when windows and doors are more likely to be open.”
Clean Up After Yourself
Basic housekeeping is enough to keep fruit flies in check. Just make sure to keep your countertops clean, move overripe fruit to the fridge, take out your garbage regularly, and clean out your sink to prevent it from becoming a breeding ground for bugs.














