My housemate has lots of potted indoor plants, which sometimes get those irksome fungus gnats. She then puts a layer of coarse sand, an inch or more deep, on the surface, and sometimes in the tray below if the pot has side openings that the gnats get into. She sez it works good.