The small black flies hovering around houseplants and seedling trays are almost always fungus gnats.
Fungus gnats are small flies in the families Sciaridae and Mycetophilidae.
For most established houseplants, fungus gnats are a nuisance rather than a serious threat.
Small dark flies that rise from the soil when you water or touch a plant, and that hover around windows nearby.
A female fungus gnat lays up to 200 tiny eggs in moist potting mix over her short adult life of about a week.
Let the top 1 to 2 inches of potting mix dry before watering again.
Safety and label note: Bti, nematodes and hydrogen peroxide are safe when used as directed, but always follow the product label.
Step-by-step advice, charts and free garden calculators at Garden Voila.