How to Rid Your Home of Fruit Flies Once and for All

First things first: Keep over-ripened or rotten fruit off your countertops and outside of your home.

The small black flies you often find on or around produce left out on the counter are likely fruit flies. The pests are more of a nuisance than anything else, but if you have an infestation in your home, a minor irritation can quickly turn into a major one. That's where learning how to get rid of fruit flies comes into play.

Contrary to popular belief, fruit flies are not spontaneously born from rotten fruit; they also don't emerge from inside spoiled fruit, says Jim Fredericks, PhD, BCE, chief entomologist for the National Pest Management Association. "Instead, fruit flies feed on the yeast found on decaying fruit," he says. "Fruit flies are able to detect the odor of fermenting fruit from great distances and their tiny stature allows them to enter a home through minuscule cracks and services, including through mesh window and door screens." Ahead, we're sharing expert tips to remove the pests from your home, once and for all.

macro close up of fruit fly
Joao Paulo Burini / Getty Images

How Long Do Fruit Flies Live?

You likely won't find just one stray fruit fly in your home at a time—they typically appear in large groups. This is because the insect reproduces very quickly and can lay up to 500 eggs at a time, explains Fredericks—which is why it's important to act quickly and remove them. Once a fruit fly's eggs hatch, the pest can live up to 25 to 30 days. "Similar to other fly species, fruit flies have a four-stage lifecycle, which can be completed in as little as a week in ideal conditions," Fredericks says.

How to Prevent Fruit Flies

The key to preventing this level of fruit fly infestation is to eliminate any potential breeding grounds. "Fruit fly eggs may already be present on fruit or vegetables that are brought home from the grocery store," explains Fredericks. "Since they're so tiny and determined, there's little you can do to keep them from coming inside." Instead, he suggests keeping any eye on any fruit left on the counter for signs of over-ripening and disposing of rotten fruit in sealed trash cans or outdoors. "Also, remove kitchen trash daily and keep garbage and recycling bins clean," he says.

How to Address an Existing Fruit Fly Infestation

If you're dealing with an existing fruit fly problem, you can take a page from Martha Stewart's Homekeeping Handbook. In it, our founder suggests trapping the pests in a jar by using a small piece of ripe fruit (or even a few drops of liquor or beer) to lure them in. The secret is to place a paper funnel on top of the open jar so that once they enter they won't be able to get back out. You can also try to trap them in a shallow dish of apple-cider vinegar covered in plastic wrap. Our founder says the trick is to poke pin sized holes into the wrap, which will allow the bugs to get drawn in by the scent of the vinegar but prevent them from escaping.

Consider a Natural Approach

If you want to keep it totally green, Kari Warberg Block, pest prevention expert and the CEO and founder of EarthKind, says you can add certain plants to the mix. "Fruit flies were deterred by our grandmother's with sachets made from rosemary, basil, and bay leaves placed around the home," she says. "I keep a fresh basil plant growing by my kitchen sink to address the most common [origin flies]—the drain."

Was this page helpful?
Related Articles