How to get rid of pantry moths forever – store all grain-based products in sealed glass or metal containers. use pheromone traps year-round as a prevention tool. keep humidity low — larvae thrive in moisture. forever prevention requires constant vigilance.