Fungus gnats
They are slender and dark with long legs, flying low around the pot.
Symptom comparison
Both insects are small and common indoors, but they use different sources. Fungus gnats develop in damp potting mix, while fruit flies gather around fermenting food residue.

Quick comparison
Do not decide from one photograph. Compare several independent signs before choosing the next step.
They are slender and dark with long legs, flying low around the pot.
They are stockier and concentrate near fermenting organic material.
Gnat larvae live in damp mix, while fruit fly larvae use wet food residue.
More useful detail
A yellow card by the pot and a separate fruit-fly trap can reveal the main source.
Flies around a sink may require removal of residue rather than treatment of a plant.
Comparison
Put fruit away and clean nearby waste and drains.
Place a yellow sticky card just above the suspect potting mix.
Match the response to the location where numbers keep increasing.
Observation
Do not dry every plant or apply a spray until the source is confirmed. Treating a pot will not solve fruit flies breeding elsewhere.
Prepared by Florli. Reviewed October 15, 2026. This is general guidance. Sources are listed with each guide, and every decision should reflect the species, location, weather and the plant’s current condition. How Florli creates its guides.