Drain flies deposit their larvae inside dirty floor drains and rarely used drains. The larvae can be killed with any number of household chemicals, including a cup of vinegar or bleach. There are also many over-the-counter products that are designed to kill drain fly larvae.