Fungus Gnats in Houseplants ... want to minimize exposure to moisture as much as you can. Beneficial nematodes have been found to be highly effective in controlling gnats in indoor plants.
Once applied, the nematodes will enter the bodies of fungus gnats and grubs through spiracles or openings in their bodies.