Controlling Drain Flies and Moth Flies in Kitchens
Drain flies breed in the organic sludge inside kitchen drains and traps. Learn to find the source, scrub out the biofilm and keep drains clear for good.
Drain flies (also called moth flies) breed in the organic sludge that coats the inside of floor drains, sink traps and grease lines. Adults are weak fliers, so a persistent indoor swarm points to a nearby breeding site, not an outdoor problem. Eliminate them by physically scrubbing the slime layer out of drains and traps, then keeping drains clean and free of standing food residue. Chemical foams and biological cleaners help, but rarely work alone. Key takeaways: Drain flies breed in the gelatinous organic film inside drains, traps and grease lines - not in your food, so surface sprays alone never fix them.. Because adults barely fly, an ongoing swarm almost always means the breeding site is in the same room; find it with an overnight tape test.. Physically scrubbing the biofilm out of the drain and trap is the core fix; hot water, bleach or foam alone will not reach it.. Prevention is a routine: scrape and strain food solids, clean drains on a schedule, and keep rarely-used drains from drying out.. Under the Food Standards Code you must prevent pest harbourage and keep drainage cleanable - a visible infestation signals a maintenance failure.. Why drain flies breed where they do Drain flies (family Psychodidae), often called moth flies for their fuzzy, moth-like wings, are small grey insects around 2-5mm long that rest on walls and splashbacks near sinks and drains. Unlike fruit flies, which are drawn to ripening produce and sugary spills, drain flies breed in the gelatinous organic film that coats the inside of drains, traps, grease interceptors and seldom-used floor gullies. Females lay eggs in this sludge, and the larvae feed on the decomposing food residue, fat and bacteria within it. A single neglected drain can produce hundreds of adults. Because the adults are weak fliers that rarely travel more than a few metres, an ongoing swarm almost always points to a breeding site within the same room. This is why surface spraying and sticky traps disappoint - they kill the visible adults but leave the larvae untouched in the sludge, so the population rebounds within days. Lasting control means removing the breeding medium itself. Confirm the breeding drain first Before you treat anything, find the source. Guessing wastes effort, because a kitchen often has several drains, some hidden under equipment or behind kickboards. The simplest diagnostic is the tape test. Dry the top of a suspect drain, then stretch a strip of clear packing tape sticky-side down across the opening, leaving a small gap so air can still escape. Leave it overnight. Emerging adults stick to the tape. Repeat over a night or two across each drain and the worst offenders reveal themselves. Common breeding points include floor drains under dishwashers and prep sinks, the overflow of infrequently used sinks, grease traps, condensate lines from refrigeration, and cracked or disused drains where standing water and debris collect. Physically remove the slime layer Chemicals and hot water alone do not reliably reach the sticky biofilm clinging to the sides of the pipe above the water line - which is exactly where the larvae live. Physical agitation is the essential step most people skip. Use a stiff, long-handled drain brush (a pipe or bottle brush) to scour the full internal surface of the drain, the trap and as far down the pipe as you can reach. The goal is to dislodge the gel layer, not just disturb the standing water. You should feel the brush scraping against slime. Remove and clean drain covers and strainers, which trap food debris on their undersides, then flush with near-boiling water and detergent to carry the loosened material away. For grease traps and interceptors, ensure they are serviced on schedule so the sludge never has a chance to build up. Drain treatments: biological versus chemical After mechanical cleaning, a treatment helps digest the residual organic matter a brush cannot reach. Biological drain cleaners - bio-enzyme or bacterial products - are well suited to this job. The beneficial bacteria consume the organic sludge that drain flies breed in, and regular dosing keeps pipes clear over time. They are non-corrosive and generally safe for drains and grease traps when used as directed, and work best applied at night when flow is low. Caustic or chemical drain foams can knock down larvae, but they can be hazardous, may damage pipework, and do nothing to prevent regrowth. If you use any chemical, follow the Safety Data Sheet, store and handle it in line with Safe Work Australia guidance, and never mix products - for example, bleach with an acid - as this can release toxic gas. Keep all chemicals well away from food and food-contact surfaces. Keep drains clear: prevention and maintenance Drain flies return whenever the sludge rebuilds, so prevention has to be a routine rather than a one-off blitz. Build the following into your cleaning schedule with a named person responsible and a written record, exactly as you would for other sanitation tasks. The habits that keep drains fly-free are simple but must be consistent: Scrape plates and strain sinks so food solids never wash into drains in the first place.. Brush and flush high-use drains weekly, and other drains at least monthly.. Pour water down rarely-used floor drains and traps regularly so the water seal never dries out - a dry trap both lets flies breed and lets them enter from the sewer.. Keep grease traps and interceptors serviced on schedule.. Fix leaks, pooling water and blocked gullies promptly; keep the area dry overnight.. Store mops, food waste and cardboard off wet floors so they don't become secondary breeding sites.. Food safety and compliance Under the Australia New Zealand Food Standards Code, a food business must take all practicable measures to prevent pests on the premises and to eradicate and prevent the harbourage of pests. Standard 3.2.2 (Food Safety Practices and General Requirements) covers pest control, while Standard 3.2.3 (Food Premises and Equipment) requires premises and fittings - including drainage - to be designed, constructed and maintained so they can be effectively cleaned and do not provide harbourage. Drain flies can transfer bacteria from the sludge they breed in onto food and surfaces, and a visible infestation during an inspection is read as a cleaning and maintenance failure. Keeping dated records of your drain-cleaning and pest-management routine demonstrates that you are actively controlling the risk. For plain-English help interpreting these standards, FSANZ's Safe Food Australia is the companion guide to Chapter 3 and explains what effective pest control and cleanable premises look like in practice. When to call a professional If the infestation persists after thorough cleaning and treatment, the breeding site may simply be out of reach - a cracked pipe beneath a slab, a broken or disused drain, a sub-floor cavity, or a grease line that needs professional jetting. A licensed pest technician or plumber can camera-inspect and clear lines you cannot access. Persistent breeding despite good surface hygiene usually signals a structural or drainage defect that needs repair, not another round of spraying. Treating the fault at its source is both cheaper and more durable than fighting adult flies week after week. Checklist: Located the breeding drain with an overnight tape test. Brushed the full internal surface of the drain and trap, not just flushed it. Cleaned the undersides of covers and strainers. Applied a biological drain treatment after mechanical cleaning. Scheduled recurring drain cleaning with a named person and a record. Topped up water in rarely-used floor drains so seals don't dry out. Common mistakes: Spraying visible adults while leaving the larvae untouched in the drain sludge. Pouring boiling water or bleach down the drain without brushing out the biofilm first. Treating one drain and missing hidden floor gullies under equipment. Letting rarely-used drains dry out, which breaks the water seal and lets flies breed and enter. Mixing chemical drain cleaners, which can damage pipes or release toxic gas.
How to clear a drain-fly breeding site
Run an overnight tape test across each suspect drain to confirm which ones are actually producing adults before you treat anything.
Lift off drain covers and strainers and clean the food debris caked on their undersides, which is a breeding site in its own right.
Work a stiff long-handled brush around the full internal surface of the drain and trap to dislodge the slime layer where larvae live.
Pour near-boiling water with detergent through the drain to carry the loosened biofilm and debris away.
Dose a bio-enzyme or bacterial drain cleaner per the label, ideally at night, to digest the organic matter the brush could not reach.
Re-run the tape test after about a week to confirm the site is clear, and keep the drain on a scheduled cleaning and dosing cycle.
Frequently asked questions
Are drain flies harmful to food safety?
Drain flies do not bite or sting, but they breed in bacteria-laden sludge and can transfer contaminants onto food and food-contact surfaces as they move around the kitchen. An infestation also signals that organic matter is building up in your drainage. Both are food-safety concerns, so treat a persistent swarm as a cleaning and maintenance issue that needs prompt action.
How long does it take to get rid of drain flies?
Once you physically scrub the biofilm out of the breeding drain, adult numbers usually fall within a few days as no new larvae mature. A full life cycle runs roughly one to three weeks, so re-clean and re-dose over that period to catch any larvae you missed. Persistent flies after two to three weeks of thorough cleaning suggest a source you haven't reached yet.
Will bleach or boiling water kill drain flies?
Not reliably on their own. Bleach and boiling water rush straight through the standing water and don't stay in contact with the biofilm clinging above the water line, where the larvae live. They may knock down some larvae but leave the breeding layer intact, so the flies return. Physical brushing to remove the slime is the step that actually works.
Why do the flies keep coming back after I clean?
Usually because the true breeding site was missed or the sludge has rebuilt. Check for hidden floor drains under equipment, dried-out traps, grease traps due for service, or a cracked pipe. If cleaning helps only briefly, the source may be inaccessible - a structural or drainage defect - and needs a plumber or licensed pest technician to inspect and clear it.
What's the difference between drain flies and fruit flies?
Drain flies are small, fuzzy, grey and moth-like, and rest on walls near drains and sinks; they breed in the organic sludge inside drains and traps. Fruit flies are tan, smooth-bodied and hover around ripening produce, bins and sugary spills, where they breed. The control is different: fix drains for drain flies, and remove or refrigerate produce and clean spills for fruit flies.
Do I need a pest controller, or can I handle it myself?
Many drain-fly problems are solved in-house by finding the source, scrubbing the drain and trap, and keeping drains on a cleaning schedule. Call a licensed pest technician or plumber when the infestation persists despite thorough cleaning, when the source seems to be a broken or inaccessible drain, or when a grease line needs professional jetting to clear built-up sludge.