What is the fastest way to get rid of pantry moths – freeze or heat-treat any salvageable items. use diatomaceous earth in cracks and corners — it dehydrates larvae. start with the source area, then work outward. using a headlamp helps spot larvae and webs in corners.