To get rid of fruit flies in a drain, remove what they breed in. Scrub the buildup off the drain walls with a stiff brush, rinse with hot water, clear away other food sources, and seal the drain. Bleach and sprays only kill the flies they touch. To confirm the drain is the source, tape a clear plastic bag over it overnight.
Small flies hovering over the kitchen sink or coming up out of a floor drain are a common problem in homes, restaurants and food plants. Spraying them or pouring something down the drain rarely ends it, because the flies you see are not where the problem lives. This guide covers the steps that get rid of them, how to confirm the drain is the source, and how to tell fruit flies from drain flies. If the flies look fuzzy and moth-like, read our guide to getting rid of drain flies as well.
Can fruit flies live in drains?
Yes. Fruit flies need only a moist film of fermenting material to breed, and a drain that takes food scraps, juice, beer, wine or syrup builds up exactly that on its walls. The same goes for garbage disposals. Other common breeding spots are overripe fruit and vegetables, trash cans, recycling bins, empty bottles and cans, and damp mops and cleaning rags.
The eggs are laid on the surface of that buildup. A fruit fly can go from egg to adult in about a week, and a single female can lay about 500 eggs. That is why a few flies turn into a cloud so quickly, and why the flies keep coming as long as the buildup is there.
In bars, breweries, restaurants and food plants, where fermenting liquids and food waste go down the floor drains every day, the drains can be a main source. See how this plays out in brewery and winery drains and what pest control professionals see at the drain.
How to get rid of fruit flies in a drain
Killing the flies you can see does not stop the next ones, because the eggs and larvae are in the buildup inside the drain. If you are not sure the drain is the source, run the overnight test below first. These steps work on the source, in this order.
- Scrub the buildup out. Lift the grate or strainer and scrub the inside of the drain with a stiff, long-handled brush, as far down as it reaches. Clean the grate, the strainer and the underside of the sink flange too, and keep a garbage disposal clean as well. Then run hot water to carry the loosened material away. A biological (enzyme) drain cleaner can help break down buildup the brush cannot reach, over several treatments, but it does not replace the scrubbing.
- Clear every other breeding spot. Refrigerate or throw out ripe produce, empty and rinse trash cans and recycling bins, rinse bottles and cans before they go into the bin, and wash or dry mops and rags. If one breeding spot is left, the flies keep coming no matter how often the drain is cleaned.
- Trap the adults already flying. A jar with a little cider vinegar in the bottom and a paper funnel in the top catches the flies that are left. Traps only catch adults; they do not stop new ones hatching.
- Seal the drain. A drain that has been cleaned but is still open stays a way out for any fly that hatches below. A waterless trap seal sits in the pipe opening below the grate or strainer of a floor drain, floor sink or sink drain: water flows down through its silicone skirt, and the skirt closes when the flow stops, so flies cannot come back up. It works alongside cleaning, not instead of it.
If flies are still turning up two weeks after cleaning, treat it as a sign that a breeding spot is still active somewhere. Repeat the overnight test on each drain.
To pick a size, lift the grate or strainer and measure the pipe opening at the bottom of the drain bowl, inside wall to inside wall, and match it to the size chart. Then shop Green Drain.
How to tell if the fruit flies are coming from the drain
Test each drain overnight, when nobody will run water into it.
- Cover the drain. Tape a clear plastic food storage bag over the drain opening, or lay clear packing tape over it, sticky side down. Do the same over a garbage disposal.
- Check in the morning. Flies caught in the bag or stuck to the tape came up out of that drain, so it is a breeding site.
- Test every suspect drain. Kitchen sinks, bar sinks, floor drains and floor sinks in kitchens, and any drain near where food is prepared or thrown away.
- No flies caught after two or three nights? The drain is probably not the source. Look for fruit or vegetables going soft, a trash can or recycling bin that needs cleaning, a damp mop, or bottles and cans with a little liquid left in them.
Is it a fruit fly?
Fruit flies and drain flies are both small flies that show up around drains, and both can breed in the buildup inside one. They look and behave differently, though, and the difference tells you where to look.
| Fruit fly | Drain fly | |
|---|---|---|
| Size | About 1/8 inch (3 mm) | About 2 to 5 mm |
| Look | Tan front, darker rear, usually red eyes | Gray or brown and fuzzy, with wings held like a roof over the body |
| How it flies | Quick and erratic, can hover | Weak, in short hops, often resting on walls near the drain |
| Where it breeds | Fermenting food and moist buildup: fruit, drains, disposals, trash, recycling, mops | The biofilm and sludge inside drains |
Whichever fly it is, the fix at the drain is the same: clean out the buildup and close the way out. With fruit flies, also check the rest of the room, because the drain is often one breeding spot among several.
Does bleach kill fruit flies in drains?
Bleach can kill the flies and larvae it touches, but it runs past the buildup and does not remove it, so the eggs and larvae deeper in it survive and new flies come up within days. Bleach and vinegar do little to the buildup, and undiluted bleach can be hard on pipes. Never mix bleach with ammonia or other cleaners. Very hot water knocks the numbers down for a short time, and it is useful after scrubbing to rinse the drain. Household insecticide sprays are not made to be poured down a drain, and they do not remove the buildup the flies breed in. The fix that lasts is the brush, then the seal.
How to keep fruit flies from coming back
- Keep scraps, juice and syrup out of the drain where you can, and scrub kitchen drains and floor drains on a schedule.
- Keep ripe produce in the refrigerator, and empty and rinse trash cans and recycling bins often.
- Rinse bottles and cans before recycling them, and let mops and rags dry out.
- Seal floor drains, so a drain that builds up again between cleanings is not a way into the room.
Frequently asked questions
Can fruit flies live in drains?
Yes. Fruit flies breed in a moist film of fermenting material, and the buildup on the walls of a kitchen drain, a floor drain or a garbage disposal is exactly that. They lay their eggs on it, and new adults can come up in as little as a week.
Will bleach kill fruit flies in the drain?
Only the ones it touches. Bleach runs past the buildup and does not remove it, so the eggs and larvae deeper in it survive and new flies come up within days. Scrub the drain with a stiff brush instead, and seal it if it is a floor drain or sink drain.
Why are fruit flies coming out of my drain?
Because they are breeding in it. Food scraps, juice, beer, wine or syrup leave a moist, fermenting buildup on the drain walls, the flies lay their eggs on it, and the new flies come up through the drain opening. Scrub the buildup out and seal the drain to stop it.
How do I kill fruit fly eggs in a drain?
Remove the buildup they are laid on. Scrub the inside of the drain with a stiff, long-handled brush, clean the grate and strainer, and rinse with hot water. Pouring something down the drain on its own leaves most of the buildup, and the eggs in it, in place.
What can I pour down the drain to kill fruit flies?
Nothing poured down a drain ends the problem on its own. Hot water knocks the numbers down for a short time, and a biological drain cleaner can help break down buildup over several treatments, but the drain still needs scrubbing. Do not pour household insecticide down a drain, and never mix bleach with other cleaners.
How long does it take to get rid of fruit flies in a drain?
The flies already in the room keep turning up until they are trapped or die off, which can take a couple of weeks. A fruit fly can go from egg to adult in about a week, so if the numbers are not falling after two weeks, a breeding spot is probably still active, in that drain or somewhere else.


