Fungus gnats can be controlled using beneficial nematodes. The product Pot Popper has small sachets of the nematodes designed for use in smaller indoor containers. They are simply watered in. The nematodes then prey on the gnat larvae in the soil, eliminating them. Another option for reducing the gnats is placing small, yellow sticky traps in the container. Lastly, the product Mosquito Bits which is a beneficial bacteria (Bt) is effective when sprinkled on the soil and watered in. All of these options are safe to use with edible plants and are organic controls.