How to get rid of pantry moths forever – clean pantry thoroughly every 1–2 months. inspect all packaging, especially from discount stores. do not leave open food on counters for long periods. use a proactive approach with regular cleaning and monitoring.