Pests › Flies and gnats

How to get rid of fruit flies

Tan fruit fly with bright red eyes and clear wings on wet produce
Photo: Lgcerda, CC BY-SA 4.0

How to get rid of fruit flies: find what they're breeding in and get rid of it. Traps or sprays may give temporary relief, Texas A&M AgriLife Extension says, but eliminating the breeding site is essential for complete control.

First, make sure they're fruit flies. Adults are about 1/8 inch long and tan, usually with red eyes. Humpbacked flies of the same size may be phorid flies instead.

How to get rid of fruit flies in the kitchen

Start with the fruit bowl. Indoors, fruit flies breed most often in overripe or damaged fruit, bananas especially, and in spoiling vegetables such as rotting onions or potatoes; the larvae feed on the yeast in the decay.

Throw out what's past its prime, or keep ripe fruit in the refrigerator.

Then check the spots people miss. Texas A&M lists the wet bottom of a trash can where a liner leaked, bags of potatoes or onions in the pantry, loose lids on vinegar, wine, beer or cider, and recycling bins full of unrinsed bottles and cans. Keep the recycling bins sealed.

How to get rid of fruit flies in the house

If the kitchen is clean and they're still around, look further. Clemson Extension says some breeding sites are hard to detect. One is a damp mop that ferments because food was never rinsed out of it; another is a box of unrinsed drink cans waiting for recycling. Others include spilled syrup, wine or beer in damp places, such as under kitchen equipment and soft drink dispensers.

How to get rid of fruit flies fast

Take out the trash and get rid of any unrefrigerated overripe fruit or rotting vegetables. That's the quick part; finding the other breeding sites can take longer.

Once the breeding sites are gone, Clemson says, chemical control shouldn't be needed, since adult flies don't live very long.

Still seeing fruit flies?

Then a breeding site was probably missed. When flies persist after the sources are removed, Clemson Extension says, it usually means one was overlooked, so keep looking until you've found them all. Texas A&M's list of breeding sites includes damp, dirty brooms and cleaning rags, not just mops.

Why they show up so fast

Fruit flies lay their eggs on the surface of fermenting fruit or other organic matter. The eggs hatch within two days, Clemson Extension says, and new adults can appear by the end of eight days. They're most common in summer, when they're active outdoors, though an indoor infestation can happen any time of year. In fall they often come inside to get away from cooler weather.

Are fruit flies harmful?

They don't bite. The concern is food: if eaten, fruit fly larvae may cause stomach distress or illness, Clemson Extension says, especially if the breeding site was contaminated. Eating infested food has been reported to cause intestinal upset and diarrhea. Throw out any fruit they've been breeding in.

For other small flies, here's how to get rid of gnats in the house.

Questions about fruit flies

Where do fruit flies come from?

Often from outside. Fruit flies are small enough to pass through window screens and come in through open doors and windows, Texas A&M AgriLife Extension says, and then they breed in whatever is fermenting in the house.

Can fruit flies breed in a drain?

Some can. Fruit flies with black eyes, called dark-eyed fruit flies, breed more often in drains, around bathrooms and even in rotting cacti, Texas A&M AgriLife Extension says, so check the drains if the flies gather in a bathroom.

Why are they called vinegar flies?

Fruit flies are drawn to vinegar and almost any decaying fruit, Texas A&M AgriLife Extension says, which is why they're also called vinegar flies or pomace flies.

Want to know more? Read our guide about flies and gnats.

Fruit flies that keep coming back?

Request service Call 706-292-9279

Call now Request a quote