Fruit Flies in Your Sink Drain: What Actually Works

Small flies buzzing around your sink drain are one of the most common household pest problems, and they’re almost always tied to organic buildup inside your pipes. The flies you’re seeing may actually be fruit flies, drain flies, or both, since each species breeds in the slimy film that accumulates in drains over time. The good news: you can eliminate them without calling an exterminator in most cases, as long as you target the source inside the pipes rather than just swatting the adults.

Fruit Flies vs. Drain Flies

Before you start treating the problem, it helps to know exactly what you’re dealing with. Fruit flies and drain flies look different, behave differently, and show up for slightly different reasons. Both can emerge from a sink drain, but they aren’t the same insect.

Fruit flies are about 1/8 inch long with yellow-brown bodies and distinctive large red eyes. They fly fast and direct, often hovering over food. Their primary attraction is fermenting sugar: ripe bananas, bruised peaches, empty soda cans, compost bins. They don’t always breed in drains, but they will if sticky food residue has built up inside your garbage disposal or pipes. If you’re seeing them in a kitchen sink specifically, that’s the likely scenario.

Drain flies are smaller (1/16 to 1/4 inch), gray, and moth-like, with fuzzy, heart-shaped wings and visible antennae. They fly in short, fluttery hops and tend to rest on walls near sinks and showers rather than hovering over food. These are the ones most likely coming directly from your plumbing. Female drain flies lay 30 to 100 eggs in the slimy biofilm that lines the inside of pipes, and their worm-like larvae hatch and feed on the bacteria growing there.

A quick test: if the flies cluster around your fruit bowl or trash can, they’re almost certainly fruit flies. If they sit motionless on bathroom walls or appear mainly at night near drains, you’re dealing with drain flies. Either way, the treatment for drain-based infestations is largely the same: you need to remove the organic film inside the pipes.

Why Your Drain Is Breeding Flies

Every time food particles, grease, soap, or hair wash down your drain, a thin layer of organic residue sticks to the inside of the pipe walls. Over weeks and months, this layer thickens into a slimy biofilm, a mix of bacteria, decomposing food, and moisture that is the perfect breeding ground for fly larvae. Kitchen sinks with garbage disposals are especially prone because ground-up food fragments coat the interior surfaces. Bathroom sinks and shower drains collect hair, skin cells, and soap scum that serve the same purpose.

A single female fruit fly can lay 400 to 500 eggs over a 10-day stretch, depositing 50 to 75 eggs per day at peak output. At typical room temperature, the full lifecycle from egg to adult takes just 10 to 15 days. That means a small problem becomes a visible infestation within two weeks. Drain flies reproduce at a similar pace. This is why killing the adult flies you can see does almost nothing: hundreds of eggs and larvae are developing inside the pipe where you can’t reach them by swatting.

Why Bleach Doesn’t Work

Pouring bleach down the drain is one of the most common first attempts, and it’s largely ineffective. Bleach is a liquid that flows straight through the pipe without clinging to the walls. The biofilm where eggs and larvae live is thick and sticky, coating the sides of the pipe well above the water line in many cases. Bleach passes right by without penetrating it.

There are safety concerns too. Bleach is corrosive at full strength and can damage older pipes over time. A far more dangerous mistake is following bleach with ammonia, which some homeowners try as a stronger approach. Combining these two chemicals produces chlorine gas, which is potentially fatal if inhaled in an enclosed space like under a sink. Other chemical pesticides poured down drains can pollute waterways and harm wildlife downstream.

How to Actually Clear the Infestation

The core principle is simple: remove the biofilm, and you remove the breeding site. No biofilm, no larvae, no new adults. There are a few ways to do this, and combining methods works best.

Mechanical Cleaning

Start by physically removing as much buildup as you can. A long drain brush or a basic drain snake pushed into the pipe and twisted will scrape off compacted sludge from the pipe walls. This is the single most effective step because it directly destroys the habitat where larvae are living. Pull the brush out, clean it off, and repeat a few times. If you have a garbage disposal, run it with cold water for 30 seconds to clear trapped food, then scrub the rubber splash guard with a brush and dish soap since biofilm collects on its underside.

Baking Soda and Vinegar

Pour half a cup of baking soda into the drain, followed by half a cup of white vinegar. Baking soda is a base and vinegar is an acid. When they combine, the reaction produces carbon dioxide gas and water, which bubbles through the remaining organic matter and loosens it from the pipe walls. Let it fizz for 15 to 30 minutes, then flush with boiling water. The boiling water adds pressure to an unpressurized drainage pipe, and combined with gravity, it pushes the loosened material down and out. This won’t eliminate a heavy infestation on its own, but it’s a good follow-up to mechanical brushing.

Enzyme Drain Cleaners

Foaming enzyme treatments are the most thorough option for reaching biofilm that a brush can’t. Unlike bleach, enzyme cleaners are designed to cling to pipe walls and digest organic material over time. The foam expands to coat surfaces above the water line where larvae tend to cluster. These products break down the film that flies feed on and can also destroy eggs, cutting off the next generation. Apply the treatment, let it sit according to the product directions (usually overnight), then flush with hot water the next morning.

Repeat enzyme treatments weekly until you stop seeing adult flies. Once the infestation is gone, switching to a monthly treatment prevents biofilm from building back up.

Trapping the Adults While You Wait

Cleaning the drain eliminates the source, but adults already flying around your kitchen will live for another one to two weeks. A simple trap speeds things up: fill a small glass with apple cider vinegar, add a drop of dish soap, and leave it near the sink. The vinegar’s fermentation smell attracts fruit flies, and the soap breaks the surface tension so they sink and drown. For drain flies, sticky traps placed on the wall near the sink catch the adults as they land to rest.

These traps won’t solve the problem alone because new adults keep emerging from the drain. Think of them as a way to reduce the visible population while the drain treatment does the real work below the surface.

Preventing Them From Coming Back

Once the infestation is gone, a few habits keep it from returning. Run water through infrequently used drains at least once a week, since stagnant water and dry traps invite flies to move in. Flush your garbage disposal with cold water every time you use it, and give it an extra 15 seconds of running water after the grinding stops. Wipe down sink basins at night so no food residue sits in the bowl overnight.

Store ripe fruit in the refrigerator rather than on the counter, especially in warmer months when fruit fly activity peaks. Take out kitchen trash before it sits overnight, and rinse recyclable cans and bottles before putting them in the bin. These steps eliminate the fermenting sugar sources that draw fruit flies indoors in the first place. A monthly enzyme treatment or baking soda flush keeps pipes clean enough that even if a fly does find its way in, there’s nothing for larvae to feed on.