How to Get Rid of Pantry Moths (And Save Your Dry Goods)

How to Get Rid of Pantry Moths (And Save Your Dry Goods)

Pantry moths — also called Indian meal moths — infest dry goods like flour, rice, cereal, nuts, and dried fruit. They're identified by small moths flying in the kitchen, webbing inside food packages, or tiny larvae in your pantry. Here's how to eliminate them completely.

What You'll Need

Step 1: Identify and Discard Infested Food

Empty your entire pantry and inspect every package of dry goods:

  • Look for webbing, clumping, or tiny larvae (small white worms) inside packages
  • Check flour, rice, oats, cereal, pasta, nuts, dried fruit, spices, and pet food
  • Discard anything infested — seal in a plastic bag before putting in the trash outside
  • When in doubt, throw it out — pantry moth eggs are microscopic and may not be visible

Step 2: Deep Clean the Pantry

  1. Remove all items from the pantry completely.
  2. Vacuum all shelves, corners, and cracks — larvae and eggs hide in crevices.
  3. Wipe all surfaces with a solution of equal parts white vinegar and water.
  4. Pay special attention to shelf edges, corners, and any cracks in the wood.
  5. Let dry completely before restocking.

Step 3: Place Pheromone Traps

Place Safer Home pantry pest traps inside the pantry. The pheromone lure attracts male moths to the glue card, breaking the breeding cycle. Place 1–2 traps per pantry and replace every 3 months or when full.

Step 4: Store All Dry Goods in Airtight Containers

Transfer all dry goods from paper and cardboard packaging into airtight containers immediately. Pantry moths can chew through thin plastic bags and cardboard. Glass or hard plastic containers with tight-fitting lids are the most effective barrier.

Step 5: Natural Deterrents

  • Place bay leaves on pantry shelves — the scent deters pantry moths and weevils
  • Keep the pantry cool and dry — moths prefer warm, humid conditions
  • Freeze new dry goods for 1 week before storing — kills any eggs already present

Frequently Asked Questions

Where do pantry moths come from?

They're usually brought in with infested food from the grocery store — eggs are often already present in flour, grains, and nuts when you buy them. They can also enter through gaps around windows and doors.

How long does it take to get rid of pantry moths?

With thorough cleaning and pheromone traps, most infestations are resolved in 2–6 weeks. The moth lifecycle is 4–8 weeks, so you need to break the breeding cycle completely.

Is it safe to eat food that pantry moths have been in?

Food with visible larvae, webbing, or clumping should be discarded. Moths and their larvae are not toxic, but infested food has compromised quality and may contain eggs. When in doubt, discard.

Back to blog

🛒 Looking for the right tools?

Browse all our curated product recommendations on Amazon — view the full list here →

#CommissionsEarned — As an Amazon Associate, Life Logic Lab earns from qualifying purchases. Clicking on Amazon links in our articles may earn us a small commission at no extra cost to you.