Drain flies -- also known as moth flies and sewer gnats -- are commonly found living in kitchen and bathroom drains. In addition to being unsightly, drain flies can put you at risk for developing bronchial asthma. Fortunately you can remove drain flies with products found around the house and at most hardware and DIY shops.
Unclog the drain. Drain flies lay eggs in the drain -- think of the clumps of hair and food in your drain as nests. You can use a plumbing snake to remove these clumps.
Pour a drain cleaner down the drain once you have removed the clumps. A drain cleaner swill remove the organic debris that is stuck in the drains further than the plumbing snake will reach.
Run water down the drain for a couple minutes and then use a plunger to plunge the drain. This may sound like overkill, but all stages of fly infestation depend on organic debris to complete the cycle and therefore you must remove every little piece of debris you can.
Clean your house thoroughly. Drain flies are not restricted to drains. If piles of food or standing water are left around the house, these flies will take up residence there.