What is the fastest way to get rid of pantry moths – use a steam cleaner on shelves to kill eggs instantly. perform a thorough deep clean in under 2 hours. if possible, move non-perishables to another room during cleaning. some redditors recommend using an insecticide fogger in extreme cases.