When someone says "I have gnats," they could mean any of four different insects โ each breeding in a completely different source and requiring a completely different treatment. Treating for the wrong one wastes time while the real source continues producing hundreds of new gnats daily.
Step one is always identification. Our fruit fly vs gnat ID guide covers the visual differences, or upload a photo to the AI Bug Identifier.
Fungus gnats are tiny, dark, mosquito-like flies hovering near potted plants. Larvae feed on roots and organic matter in wet soil. The fix is soil management, not adult killing: let soil dry between waterings, apply Bti as a soil drench, use yellow sticky traps for adults, and top-dress soil with sand to prevent egg-laying. Full protocol: fungus gnat elimination guide.
Fruit flies have distinctive red eyes and are attracted to ripening fruit, vinegar, beer, and any fermenting organic material. They breed in overripe produce, forgotten fruit, wet mops, damp sponges, recycling bins with residue, and even wine bottle dregs. The fix: remove every breeding source (check behind counters and under fridge), trap adults with apple cider vinegar + dish soap, and clean drains where organic film may have accumulated. Full guide: fruit fly elimination.
Drain flies are fuzzy, moth-like, and slow-flying. They breed exclusively in the organic biofilm coating the inside of drain pipes โ not in the room, not in food. Bleach doesn't dissolve biofilm. The fix: enzymatic drain cleaner (InVade Bio Drain, Green Gobbler) applied nightly for 5โ7 days to break down the biofilm. Use the tape test (cover the drain with tape overnight โ emerging flies stick to it) to confirm which drain is the source. Full protocol: drain fly elimination.
Phorid flies (humpbacked flies) are small, fast-running flies that breed in decomposing organic matter โ broken sewer lines, dead animals in walls, wet soil around foundations, or contaminated soil under slab foundations. If you've ruled out fruit flies and drain flies, and the tiny flies seem to come from the floor or wall base, suspect phorid flies. Solving phorid fly problems often requires finding and fixing a plumbing issue.