Drain flies are drawn to drains containing standing water or decaying food, like a floor drain or kitchen sink. They also like to feed on sewage, so it’s possible to see them around sewers and septic tanks. Success in treating drain flies is to eradicate the larvae as well as the adult flies.