Fruit flies will not go away on their own as long as they have a food source and a place to breed. Individual flies live only about two weeks, but a single female can lay hundreds of eggs in that time, and those eggs hatch in roughly 24 hours. So while one generation dies off quickly, the next is already well underway. The infestation sustains itself until you remove what’s feeding it.
Why They Don’t Just Die Off
The math works against you. At room temperature (around 72°F), a fruit fly goes from egg to adult in just 11 to 12 days. Females begin laying eggs almost immediately after reaching adulthood. That means every week and a half, a new wave of flies emerges, each one capable of starting the cycle again. Even a tiny amount of organic material, like residue inside a drain or a forgotten banana peel in the trash, is enough to keep the population going indefinitely.
The University of Kentucky’s entomology department puts it bluntly: unless breeding sites are removed or cleaned, the problem will continue no matter how often you kill the adults. Spraying or swatting addresses the flies you can see while ignoring the larvae developing out of sight.
Where They’re Actually Breeding
The fruit bowl is the obvious suspect, but it’s often not the only one. Fruit flies lay eggs in any moist organic material, and some of the most productive breeding sites are ones you’d never think to check.
- Kitchen drains and garbage disposals. A thin film of food residue coating the inside of a pipe is a perfect nursery. Flies will keep appearing even after you’ve cleared every piece of fruit from the counter.
- Trash cans and recycling bins. Sticky residue from juice containers, beer bottles, or food packaging is enough. The bottom of a bin you haven’t wiped in a while can harbor eggs.
- Forgotten produce. A potato rolling behind a basket, an onion going soft in a cabinet, or a piece of fruit that fell behind the counter. If it’s decomposing, they’ll find it.
- Mops, sponges, and wet rags. Anything that stays damp and picks up food particles can become a breeding site.
This is why people often feel like fruit flies appear out of nowhere. They’ve eliminated the obvious source but missed the hidden one keeping the cycle alive.
Make Sure It’s Actually Fruit Flies
Before you go scrubbing drains, it helps to confirm what you’re dealing with. Three small flying insects commonly show up indoors, and each one breeds in different places.
Fruit flies are about ⅛ inch long, shaped like a tiny house fly, and usually have red eyes (though some species have dark eyes). They hover around fruit, trash, and drains. Fungus gnats look more like tiny mosquitoes, with long legs and dark bodies. They stick close to potted plants and moist soil, rarely venturing toward the kitchen. Drain flies are fuzzy, moth-like, and light gray with dark-bordered wings. They live in drains almost exclusively.
If the bugs are swarming your houseplants, you likely have fungus gnats, and the fix involves drying out the soil rather than cleaning the kitchen. If they look fuzzy and only appear near sinks, drain flies are more likely.
How to Actually Get Rid of Them
Elimination comes down to two things happening at once: removing every breeding site and trapping the adults that are already flying around. Do only one and the problem lingers.
Cut Off the Source
Store all ripe fruit in the refrigerator. Take out trash and recycling frequently, and wipe the inside of bins with soap and water. Clean up any spills of juice, wine, or vinegar immediately. Check under and behind kitchen furniture for forgotten produce.
For drains, pour boiling water down each kitchen and bathroom drain. For a deeper clean, try half a cup of salt, half a cup of baking soda, and a cup of vinegar poured down the drain at night, followed by boiling water the next morning. A small pipe brush pushed into the drain opening can physically remove the organic film where larvae develop. Plugging drains at night prevents flies from emerging while you sleep.
Trap the Adults
While you’re eliminating breeding sites, a simple trap reduces the adult population. Fill a small jar or bowl with apple cider vinegar and add a few drops of dish soap. The vinegar’s sweet, fermented smell draws fruit flies in. Normally they could land on the liquid surface and fly away, but the soap breaks the surface tension, so their wings get wet and they drown. Place traps near the fruit bowl, trash can, and sink.
You can also stretch plastic wrap over a glass of vinegar and poke small holes in it. Flies crawl in through the holes but struggle to find their way back out.
How Long Until They’re Gone
If you’ve genuinely removed every breeding source, the existing adults will die within about two weeks, and no new ones will replace them. In practice, most people see a dramatic drop in numbers within a few days of cleaning up, with stragglers tapering off over the following week or two as the last generation of pupae finishes developing and emerges with nowhere to breed.
If flies are still appearing after two weeks of consistent effort, there’s a breeding site you haven’t found yet. Go back to the list of hidden sources. Check the drip tray under the fridge, the seal around the garbage disposal, and any spot where moisture and food residue might accumulate. The persistence of fruit flies is almost always a sign that organic material remains somewhere, not that the flies are somehow surviving on nothing.