How to Get Rid of Fruit Flies in Your Home for Good

Fruit flies in a glass jar of vinegar in front of bowl of cherries
Credit: The Spruce / Cristina Tudor

The tiny fruit fly is one of the most common flies in homes. These flies are often brought indoors on fresh fruits and vegetables, but they tend to hang around when there are easy food sources available to them.

Learn how to identify, remove, and prevent a fruit fly infestation from taking over your home.

What Causes a Fruit Fly Infestation in the House?

Overripe fruit, rotting food, and fermentation can all cause a fruit fly infestation. Things like kitchen compost bins , overripe fruit on the counter, food scraps in the sink, drain scum, or an uncapped bottle of apple cider vinegar could all create favorable circumstances that draw fruit flies in and keeps them around.

While fruit flies are especially prevalent during the late summer and fall, as they are attracted to ripened or fermenting fruits, they can become a problem in kitchens year-round if food sources are available to them. Even kitchen drain scum can provide them with sustenance, so don't rule anything out 1 .

Signs You Have a Fruit Fly Infestation

It's perfectly normal to find an occasional insect inside, but finding larger-than-usual numbers of tiny, dark-colored flying insects in your kitchen could indicate a fruit fly infestation.

How to Identify Fruit Flies

Fruit flies are small, with yellowish-tan bodies, transparent greyish wings, dark grey rings around their abdomen, and bright red eyes. Under ideal conditions, they can live up to 50 days.

Aside from their physical appearance, observe their habits. If the flies are drawn to vinegar-based condiments or ripened fruit, they're likely fruit flies. If they aren't behaving like fruit flies, then you might be dealing with drain flies or fungus gnats instead.

Visible Signs of a Fruit Fly Infestation

The most common sign of a fruit fly infestation will be insects congregating near food items like:

You may also see little clumps of small, moving larvae or "maggots." They are likely to show up on food scraps that have been left out for fruit flies to lay their eggs on. These maggots will soon be adult flies.

Where Do You Usually Find Fruit Flies in the House?

Fruit flies are most likely to be found in kitchens where there are rotting food scraps and ripe fruit to get into. They especially love sweet, juicy produce, whether it's from the store, or fresh from the garden. They can live off of scraps from the garbage or compost, as well as scum in the kitchen drain. Since fruit flies like fermentation, you might also find them getting into alcoholic drinks, vinegars and dressings, and items that contain yeast, like bread.

In cases where fruit flies are found outside of the kitchen, that indicates one of three things:

  1. The issue in the kitchen has become severe and the fruit flies are more prevalent
  2. There is another source of fermentation nearby, like an old cup of tea or an unfinished smoothie
  3. The small flies you're seeing aren't fruit flies

Because fruit flies prefer the kitchen, investigate fly issues that appear elsewhere. Drain flies are a common fly that shows up in bathrooms , and fungus gnats are a common flying pest in homes with houseplants.

How to Get Rid of Fruit Flies For Good

If you find fruit flies in your home, the first thing you should do is determine where they're coming from, what's attracting them, and remove these sources so the issue doesn't spread. By identifying fruit fly sources and removing them, you're not just taking away the fruit flies' ability to eat, but also to lay eggs—which means fewer future fruit flies.

To get rid of fruit flies and prevent future fruit fly infestations:

How to Prevent Fruit Flies From Coming Back

As with most flying insects, control of a fruit fly infestation is best achieved by limiting the flies' ability to feed and breed. This involves:

Once you have sanitation under control, often the best approach is to wait for the fruit fly population to diminish. Fly issues will naturally die down when the weather gets colder, but fruit flies can become a year-round nuisance inside, so you'll need to stay on top of fly control efforts even in the winter.

While many sites will claim essential oils and herbs will keep flies away, the scents of these products do little to keep them away. Venus fly traps are carnivorous plants that will eat fruit flies here and there, but are not enough of them to mitigate a problem. The best method of attack against fruit flies is making sure your home stays unattractive to them from the get go.

Frequently Asked Questions

Can fruit flies fit through window screens?

Fruit flies typically cannot fit through mesh on standard window screens, which have a size of 18 x 16 openings per inch. The minimum mesh size to keep out the flies is 16 openings per inch.

How long will it take for fruit flies to go away?

This all depends on how bad the infestation is and whether all the fruit fly sources have been cleaned up. As long as all the sources are addressed and you're diligent about cleaning, it should take too long for the flies to go away. But, a homemade fruit fly trap can help reduce the visible population in the meantime. Just keep in mind that a trap won't do its job if a food source is still present.

Do I have to throw out food that has attracted fruit flies?

You can eat fruits and vegetables that flies are hanging around, but first cut away any damaged, bruised, or rotted portions (that's where the flies are most likely to lay eggs), and wash the items well before eating them.

Will fruit flies go away on their own?

Fruit flies are not a pest that will go away all on their own. They're going to need to be forced out, by limiting their food and breeding sources and making life in your home unenjoyable for them.

Source: https://www.thespruce.com/what-is-a-fruit-fly-2656677