Though they have a similar appearance, drain flies and fruit flies can be told apart by their body shapes (drain flies are slenderer) and wings (fruit flies' are more spread out). Perhaps a better question to ask yourself is whether the insect is lingering around old fruits or stale drains.