Gnats and Drain Flies in a Garbage Disposal: 5 Steps to Fix

Gnats near a garbage disposal are usually drain flies breeding in the sludge inside it. Here is how to confirm that, clean it out and keep them from coming back.

Top view of a checkered sink with water splashing.
Photo: ClickerHappy / Pexels

Small gnat-like flies around a kitchen sink are most often drain flies, and a garbage disposal is a common place for them to breed. The adults lay eggs in the film of food residue that coats the chamber, the rubber splash guard and the drain pipe. Removing that film, not spraying the flies, is what ends the problem, and it usually takes about a week of repeated cleaning.

How do I know the flies are coming from the disposal?

Drain flies are about 1/8 inch (3 mm) long, with fuzzy, moth-like wings and a weak, fluttering flight. They tend to sit on walls near the sink. To confirm the source, tape a piece of clear plastic wrap loosely over the drain opening overnight. If small flies are stuck to the underside in the morning, the drain is the breeding site.

Fruit flies look similar but have round bodies, often red eyes, and are drawn to ripe fruit, trash and spills. If the flies hover over a fruit bowl or garbage can instead of the sink, treat those sources first.

Why do drain flies live in a garbage disposal?

The disposal holds moisture, warmth and food particles all day. Grease, starch and bits of peel cling to the walls and to the underside of the splash guard, and the larvae feed on that sludge. Running water alone does not remove it, so a disposal that is used daily can still harbor flies.

A disposal that smells sour is often one that has this buildup. The steps for odor in our guide to bad disposal smells overlap with the cleaning below.

How do I clean the disposal to remove larvae and eggs?

Turn the disposal off at the wall switch before you put anything near it, and never put your hand inside the chamber. Then work through these steps.

  1. Lift the rubber splash guard with tongs or a gloved hand if the model allows it, and scrub the underside with a stiff brush and dish soap. Larvae and gunk collect there.
  2. Use a long bottle brush or toilet brush to scrub as far down the drain opening as you can reach.
  3. Rinse the opening with hot tap water for a minute or two. Hot tap water is safer for plastic fittings and pipes than boiling water.
  4. Grind a handful of ice cubes with cold water running, which knocks loose some loose residue. What ice does inside a disposal is limited to that, and it does not sharpen blades.
  5. Finish by running cold water for 30 seconds.

Citrus peels can freshen the chamber, and this page on orange peels covers how to use them. They will not kill larvae.

Should I use an enzyme cleaner or a chemical drain cleaner?

An enzyme or bacteria-based drain cleaner made for kitchen drains digests the organic film the larvae feed on. Follow the label directions, which usually call for applying it at night when the sink will sit unused for several hours, and repeat it for the number of days the label states.

Harsh chemical drain openers are a poor fit here. They can damage some disposals and pipes, and the manufacturers have their own cautions, summarized in what the makers say about Drano and Liquid-Plumr. Never mix one cleaning product with another, because some combinations release dangerous fumes. Use one product at a time and rinse well between them.

How do I deal with the adult flies in the meantime?

Killing adults helps only while you remove the breeding site. A shallow dish of apple cider vinegar with a drop of dish soap set near the sink will catch some of them, and a handheld vacuum or a fly swatter works on those on the walls. Sprays that go down the drain rarely reach the film where eggs sit, so they are not a substitute for scrubbing.

Check other places where moisture and residue collect: the overflow hole of the sink, the dishwasher air gap, floor drains, and the trap under the sink. If the dishwasher drains through the disposal, a clogged connection can also leave standing water, as described in the dishwasher drain hose guide.

How do I keep drain flies from coming back?

  • Run cold water for 15 to 30 seconds after every use so food does not stay in the chamber.
  • Keep grease, coffee grounds and starchy scraps such as pasta and rice out of the disposal.
  • Scrub the splash guard every week or two.
  • Run the disposal and water daily if you are home, since flies favor drains that sit unused. After a trip, flush and scrub before first use.
  • Wipe the sink basin and counter dry at night.

When should I call a plumber or pest professional?

Call a plumber if flies persist after two weeks of thorough cleaning, if water drains slowly, or if sewage odors come up from several drains. The cause may be a damaged or partly blocked pipe that cleaning cannot reach. A disposal that is leaking or beyond saving can be removed, as shown in the sink drain kit guide. For general pest-management background, the U.S. Environmental Protection Agency publishes consumer information on household pests and pesticide safety.

Quick answers

Can drain flies come out of the pipes and spread through the house?

Yes. Adults fly out of drains and can settle in bathrooms and basements, which is why every drain with standing moisture is worth checking.

Does bleach kill drain fly larvae?

Pouring bleach down a drain tends to run past the film where larvae live, and it should never be combined with other cleaners. Scrubbing and an enzyme cleaner work better.

How long until the flies are gone?

Adults live a short time, so a thorough cleaning usually shows results within one to two weeks. New flies appearing after that point to a drain you have not yet cleaned.