To address existing infestations, here are some other ideas: 1  BTi (Bacillus thuringiensis v israelensis), also known as Gnatrol, is a bacteria that effectively kills gnat larvae. 2  Beneficial nematodes and predatory insects can provide long-term control of larvae once established in the garden.