Fruit Flies Coming From the Drain? The Enzyme Gel That Reaches Them
Tiny flies rising from the sink breed in the slime inside the pipe. Scrub it, then use an enzyme gel that clings and clears what hot water slides past.
By Jamilur Rahman Updated November 5, 2026 · 6 min read
- Time
- 15 min, then nightly for a week
- Cost
- Under $20
- Difficulty
- Easy
In this guide
Quick answer
To get rid of fruit flies in a drain, you have to remove the slime in the pipe where the larvae live, because sprays and traps only kill the adults you can see. Confirm the drain is the source with an overnight tape test, scrub the opening and flush it with hot tap water, then treat it at night with an enzyme drain gel. The gel clings to the pipe wall and digests the film that hot water slides past.
Free fix vs. permanent fix
Tape test, scrub and hot flush
- Tape clear plastic wrap over the drain overnight to confirm the source
- Scrub the drain opening and strainer with a stiff brush
- Flush with hot tap water, not boiling
- Take out the trash and ripe fruit the same day
How long it lasts: A week or two. Hot water melts grease at the surface, but the film farther down stays, and new flies hatch from it.

An enzyme drain gel
Drain flies lay eggs in the wet, greasy film inside the pipe. Hot water and traps only reach the surface. A thick enzyme gel clings to the pipe wall, and the enzymes break down the organic film the larvae feed on, so there is nothing left for them to hatch from.
What to get: Enzyme drain gel for drain flies
How long it lasts: Keeps the film from building back when you use it as the label says, often nightly for a week and then now and then.
As an Amazon Associate I earn from qualifying purchases.
What you'll need
-
Clear tape and plastic wrap
For the overnight tape test
You have it -
Stiff bottle brush or old toothbrush
To scrub the strainer and the drain throat
You have it -
Rubber gloves
Drain film is not something to touch bare-handed
You have it - Our pick Illustration

Enzyme drain gel
Use at night when the sink will sit unused
- Illustration

Flexible drain cleaning brush
Reaches film below the opening
Why it happens
Slime film inside the pipe
Food bits, grease and soap coat the pipe walls and form a damp, rotting film. Drain flies lay eggs in it, and the larvae feed on it.
A dried-out trap in a rarely used drain
Water in the trap evaporates in a sink or floor drain that is not used. Without it, flies and odors can come up from the pipe.
A different source nearby
Ripe fruit, a full trash can, a damp mop or a garbage disposal can host true fruit flies that happen to land at the drain. The tape test shows which it is.
Try this first (free)
Do these in order, starting with the simplest.
-
Run the tape test overnight
Tool used: Clear tape and plastic wrapTape clear plastic wrap over the drain opening and leave it overnight. In the morning, flies stuck under the wrap mean the drain is the source.
-
Scrub the opening
Tool used: Stiff bottle brush or old toothbrushRemove the strainer and scrub it and the drain throat with dish soap and a stiff brush. Wear gloves, and do not put a brush into a running disposal.
-
Flush with hot tap water
Run the hot tap for a minute or two. Do not pour boiling water down the drain, since it can soften PVC joints and crack porcelain.
-
Treat the drain with enzyme gel at night
Tool used: Enzyme drain gelPour in the label amount just before bed and leave it overnight with no water running. Repeat each night for about a week, or as the label says.
Illustration
Check price on AmazonTool for this step
Enzyme drain gel · Use at night when the sink will sit unused
-
Remove the other food sources
Empty the trash, store ripe fruit in the fridge, rinse recycling, and wipe up sticky spills under the dish rack and around the sink. Flies need food as well as a drain.
When free fixes aren't enough
Hot water and scrubbing remove the film you can reach. The film deeper in the pipe is out of reach, and that is where the next generation hatches. If the flies are back within two weeks of a hot flush, the breeding film is farther down than your brush goes, and a gel clings there overnight. If you still see flies after two weeks of nightly treatment, look for another source: the garbage disposal, a leak under the sink, a floor drain, or a dry trap in an unused sink. A sewage smell, or larger flies that spread beyond the kitchen, means a plumber should check for a cracked pipe or a failed trap seal.
Buy the fix
Still stuck after the free fixes? These are the products we would look at.
| Pick | Product | Fixes | Who it's for | Buy |
|---|---|---|---|---|
| Best pick | ![]() Enzyme drain gel for drain flies | the slime inside the pipe where drain flies breed | Anyone still seeing flies after a hot flush, especially with a disposal or a greasy kitchen. | Check price |
| Budget pick | ![]() Flexible drain cleaning brush | film on the pipe wall just below the opening | Anyone who wants to scrub before treating, or to avoid gels. | Check price |

Enzyme drain gel for drain flies
Fixes: the slime inside the pipe where drain flies breed
Look for: Enzyme or bacteria based, not strong acid or lye, so check the ingredients; A thick gel that clings instead of running straight through; Safe for your pipes and for septic systems if that applies; Label directions for a treatment lasting several nights.
- Who it's for
- Anyone still seeing flies after a hot flush, especially with a disposal or a greasy kitchen.
- Honest downside
- The drain is fully blocked, so clear the clog first, or a harsh chemical cleaner has just been used in it. Never mix products.

Flexible drain cleaning brush
Fixes: film on the pipe wall just below the opening
Look for: Long enough to reach below the drain opening; Bristles all around the shaft; A diameter that fits your strainer opening, so measure first.
- Who it's for
- Anyone who wants to scrub before treating, or to avoid gels.
- Honest downside
- Your drain has a garbage disposal below it. Do not push a brush into a disposal.
As an Amazon Associate I earn from qualifying purchases. We don't show prices because they change, so use the button to see today's price.
How we picked: How we picked: this page is based on pest control extension guides for drain and fruit flies, drain-care advice from plumbing guides, and what owners report about enzyme gels. We do not test products by hand.
Where else they breed: check these before you blame the drain
- Garbage disposal: food builds up under the splash guard.
- Trash and recycling: sticky cans and bottles.
- Damp mops and sponges: wring them out and let them dry.
- Fruit, onions and potatoes: ripe produce left out on the counter.
- Floor drains and unused sinks: pour in a cup of water to refill a dry trap.
What to skip
Bleach, boiling water and vinegar traps alone
Bleach and boiling water kill what they touch but do not scrub away the film that houses the larvae. Boiling water can soften PVC joints and crack porcelain. Never mix bleach with vinegar, ammonia or another drain cleaner, since it can release toxic gas. A bowl of vinegar catches a few adults but does nothing about the drain.
Frequently asked questions
Are they fruit flies or drain flies?
How long does it take to get rid of drain flies?
Does baking soda and vinegar kill fruit flies in the drain?
Why do the flies keep coming back after I clean the drain?
As an Amazon Associate I earn from qualifying purchases. Affiliate disclosure