Fruit Flies & Drain Flies
By Pest Tech TeamPublished 8 min readOther Pests

Tiny flies hovering over the fruit bowl or crawling on the bathroom wall are among the most irritating small pests in Pakistani homes, and they are often misidentified. The treatment for drain flies is different from the treatment for fruit flies, so a correct diagnosis saves weeks of frustration. This guide explains how to tell them apart, why they keep coming back, and which controls actually work, including when a fly killer machine makes sense. For the larger house fly, see how to get rid of house flies.
This article is part of our complete series: What Bug Is This? Pakistan Pest ID Guide.
Fruit Fly vs Drain Fly vs Other Tiny Flies
| Feature | Fruit fly | Drain fly (moth fly) | Fungus gnat | Phorid fly |
|---|---|---|---|---|
| Size | About 3 mm | 2 to 5 mm | 2 to 4 mm | 2 to 3 mm |
| Look | Tan body, often red eyes | Fuzzy, moth-like wings held roof-like | Slender, dark, long legs | Humpbacked, hurried running |
| Where | Fruit, juice, onion, bin | Bathroom, sink, floor drain | Pot plants, moist soil | Drains, waste, spills |
| Flight | Hovers | Short, clumsy hops | Weak, near soil | Runs more than flies |
The simplest test for drain flies: place a strip of clear tape or an upturned glass over a suspect drain overnight, with a little gap for air. If tiny fuzzy flies stick to the tape in the morning, the drain is the source.
Why They Appear in Pakistani Homes
Fruit flies are drawn by fermenting smells: ripe mangoes, bananas and melons, juice spills, open sugarcane or fruit-chaat leftovers, onions and potatoes stored in warm baskets, and unemptied kitchen waste. In Karachi's humid months they multiply fast, and even a single forgotten banana can start a colony. Drain flies need a different habitat: the biofilm of hair, soap scum, grease and organic sludge in a floor drain, washbasin overflow or kitchen sink trap. Drains in bathrooms that are rarely used, empty floor traps and unsealed pipe gaps are the usual culprits. These are close cousins of problems with cockroaches in bathrooms and floor drains and big cockroaches from drains, and the same hygiene fixes help both.
Home Fumigation
Complete home fumigation in Karachi: one visit for cockroach, ants, khatmal and machar, priced by plot size. 72,000+ sites. Free inspection on WhatsApp.
Do They Harm Health?
Fruit flies and drain flies do not bite. The concern is hygiene: drain flies develop in sewage-rich sludge, so their bodies may carry bacteria into the open air, and fruit flies contaminate food they land on. Healthy households rarely become ill because of a few of them, but food businesses cannot accept any. See food poisoning and pest-contaminated food and diseases spread by pests for the broader picture.
Step-by-Step: Removing Fruit Flies
- Remove the food source. Put ripe fruit in the fridge or throw out spoiled pieces. Store onions and potatoes in a cool, ventilated place, not a sealed warm box.
- Clean the surfaces. Wipe the fruit bowl, chopping board, juicer and bin rim, where sticky residue collects.
- Empty the kitchen bin daily and wash it weekly with soap and water.
- Use a simple trap. A shallow container with a little sweet or fermented bait (such as overripe fruit or vinegar) covered with a cone of paper or cling wrap with a small hole catches adults. Replace the bait every few days.
- Check hidden spots: the base of the fridge, recycling bags, empty juice bottles and the soil of potted fruit trees.
- Repeat for about two weeks, because new adults emerge from eggs and pupae that your first cleanup missed.
Step-by-Step: Removing Drain Flies
- Confirm the drain using the tape test above.
- Scrub, do not just pour. Use a stiff drain brush to scrape the pipe walls and the underside of the rim; the larvae live in the sludge film. Rinse with hot water afterward.
- Use a suitable enzyme or bio-cleaner that is made for drains and used as per the label, if you need one. Do not mix bleach with other cleaners, acids or ammonia products, as dangerous gases can form.
- Fix the plumbing. Make sure floor traps hold water and are not dry, repair leaking pipes and seal gaps around pipes.
- Run seldom-used drains weekly with a little water so the trap does not dry out and the biofilm does not build up.
- Re-check after a week with tape and repeat the scrubbing if flies persist.
Fly Killer Machines: What They Can and Cannot Do
A fly killer machine (UV light trap) attracts flying insects and catches them on a glue board or, in some models, an electric grid. For small flies in a restaurant, bakery or shop, a glue-board unit placed near entrances and away from food-prep surfaces can reduce the visible adult population and shows you the trend. Choose glue-board models for food areas, because grid models can scatter insect fragments. Replace the board regularly, and place units so they are not visible from the street, which can attract insects towards the building. Remember, though, that a machine only catches adults; it never fixes the drain or the rotting food. Commercial kitchens should read restaurant pest control and Food Authority inspections and keep service records.
Chemicals and Home Mixtures to Avoid
Do not pour kerosene, petrol or random chemical mixtures into drains; they are fire hazards and can poison family members and damage pipes. Never use "gandum ki goli" (why it is dangerous). Aerosol sprays may knock down adults temporarily but do not touch larvae in the pipe. For general safety, read are pest control chemicals safe, and use products strictly per label or leave application to trained staff.
When to Call a Professional
Call a licensed team if tiny flies return after two cleaning cycles, if several drains are affected, if you suspect a plumbing leak behind walls, or if you operate a food business. A technician can inspect plumbing areas, apply drain-specific treatments, treat floor gaps and set up monitoring traps. In Karachi, Pest Tech's restaurant pest control and general fumigation services begin with a free inspection. For a ballpark price, check the price list and the cost calculator.
Prevention Checklist
- Empty and wash kitchen bins often
- Refrigerate ripe fruit and store onions in a ventilated place
- Scrub drains monthly with a brush
- Keep floor traps wet and repair leaks
- Clean the juicer, fridge base and bin rim weekly
- Water pot plants sparingly to avoid fungus gnats
- Keep screens on kitchen windows
Need Professional Help?
Pest Tech has been treating homes and businesses in Karachi since 2005, with a free inspection first and a written scope before any work starts. See our general fumigation service, check the price list or the cost calculator, or message us on WhatsApp: +92 336 1839537.
Not sure what pest you have? Try the pest identifier quiz.
Sources and further reading: NPIC: pest control, NPIC: flies.
Safety note: Professional products such as bifenthrin, fipronil, deltamethrin and brodifacoum must be applied by trained staff and strictly as per the label. Never use aluminium phosphide / phosphine tablets ("gandum ki goli") inside a home. Keep children, pets and food away from treated areas as directed on the label.
Frequently asked questions
Why do I get tiny flies even though I have no fruit?
Check drains, damp potted plants, the bin and spilled drinks. Tiny flies near a bathroom drain are usually drain flies, and those near plants are usually fungus gnats.
Are drain flies harmful?
They do not bite, but they live in sludge and can spread bacteria on surfaces. Treat them as a sign that the drain needs cleaning and seek professional help if they persist.
Does pouring boiling water down the drain work?
Hot water helps loosen grease but rarely removes the entire biofilm. Scrubbing the pipe walls is the key step. Take care to avoid scalding, and do not use boiling water on certain plastic pipes if the manufacturer advises against it.
How long does it take to get rid of fruit flies?
After removing the source and trapping adults, expect noticeable improvement within a week, and complete control in about two weeks if you stay consistent.
Do fly killer machines replace pest control?
No. They monitor and reduce adults, but fixes for the breeding site and routine sanitation remain essential.
