Skip to content

How to Get Rid of Pantry Moths Completely (And Stop Them Coming Back)

There’s nothing quite like reaching into your bag of flour to start a weekend bake and finding something moving in there. Not a great Saturday morning. I’ve been through a full-blown pantry moth infestation twice in the last four years, and I want to save you the stress, the wasted food, and the three weeks of obsessively checking every packet you own.

Here’s everything I know about how to get rid of pantry moths completely — from the initial clean-out to the long-term prevention that actually works.

Table of Content

First: What Are Pantry Moths, Really?

The most common species you’re dealing with is the Indian meal moth (Plodia interpunctella). They’re small — about half an inch long — with distinctive grey wings that have a coppery brown tip. The adult moth itself isn’t the real problem. It’s the larvae — tiny cream-coloured worms — that do the damage by burrowing into your dry foods and contaminating them with silky webbing and droppings.

The frustrating thing about pantry moths is that they usually arrive in your kitchen inside a food packet you’ve bought from a shop. The eggs are microscopic and can already be in bags of flour, oats, dried fruit, nuts, seeds, or pet food when you bring them home. So even a spotlessly clean kitchen can end up with an infestation.

Can You Still Eat Food That Pantry Moths Have Been Near?

Let me give you the honest answer here. If a moth has simply been flying around your pantry, the sealed food it hasn’t touched is likely still fine. If you find webbing, larvae, or droppings inside a packet — bin it, no question. If you’re not sure whether the food has been contaminated, bin it. This is not the hill to die on. Pantry moth larvae can cause nausea and digestive upset if accidentally eaten, so it’s genuinely not worth the risk.

Step-by-Step: How to Get Rid of Pantry Moths Completely

Step 1: Pull Everything Out

All of it. Every single packet, jar, tin, and box. Inspect each one carefully — look for holes in packaging, silk webbing (it looks like very fine thread), larvae, and tiny dark droppings. Be especially thorough with flour, oats, cereal, rice, dried fruit, nuts, seeds, spices, and pet food. These are the favourites.

Step 2: Throw Away Everything Infested or Suspect

If in doubt, throw it out. I know it hurts — especially if you just opened a fresh bag of almonds — but keeping questionable food means you’ll still have eggs in your pantry and the cycle continues. Bag infested items tightly in plastic bags before putting in the bin so moths can’t escape.

Step 3: Freeze Anything You Want to Save

Food that you’re not sure about — or even new, unopened dry goods — can be frozen for at least three days to kill any eggs or larvae. A cold pantry alone isn’t enough; you need actual freezer temperatures. After freezing, transfer to airtight containers before returning to the pantry.

Step 4: Deep Clean Every Surface

Wipe down every shelf, crack, and corner with white vinegar — undiluted. Pay special attention to cracks in shelving, the back corners of cabinets, and any gaps where the shelf meets the wall. Moth eggs are tiny and can hide anywhere. Follow the vinegar with warm soapy water. Some people use diluted bleach, though vinegar is just as effective and safer around food areas.

Step 5: Place Pheromone Moth Traps

This is the step most people skip, and it’s one of the most important. Pheromone traps attract and capture adult male moths, which breaks the breeding cycle. Even after you think you’ve eliminated an infestation, traps help monitor whether any survivors remain. Here are the best options I’d recommend:

1. Dr. Killigan’s Premium Double Potent Pantry Moth Traps (6 Pack, Blue)
These are consistently the most recommended pantry moth traps, used by over a million households according to the brand. The “double potent” pheromone formula is genuinely more effective than budget alternatives — I’ve tested both and the difference is noticeable in how quickly the trap catches moths. Each trap lasts up to three months, and unopened they maintain potency for three years. Non-toxic, odourless, and safe around food. For anyone serious about how to get rid of pantry moths completely, these are my first recommendation.

2. Professor Killamoth Pantry Moth Traps 6 Pack
A great professional-grade alternative to Dr. Killigan’s. These are particularly good for ongoing prevention rather than active infestation — quieter and more discreet. Non-toxic, suitable for use around children and pets, and work continuously 24 hours a day.

Step 6: Store Everything in Airtight Containers Going Forward

Once the pantry is clean, don’t put dry goods back in their original paper or plastic bags. Transfer everything into airtight containers immediately. This is the single most effective long-term prevention strategy there is. Pantry moth larvae can chew through cardboard and thin plastic, but they cannot get through a properly sealed hard-sided container.

Do Bay Leaves Really Work Against Pantry Moths?

Short answer: a little. Bay leaves contain compounds that moths find mildly repellent, and placing fresh or dried bay leaves on pantry shelves can help as one layer of a prevention strategy. But — and this is important — bay leaves alone will not eliminate an existing infestation, and their effectiveness diminishes as they dry out. Use them as a supplement to airtight containers and pheromone traps, not as a replacement.

What Smell Do Pantry Moths Hate?

Beyond bay leaves, pantry moths are also repelled by lavender, cedar, mint, and cloves. You can place sachets of dried lavender or cedar blocks in your pantry as a deterrent. Again, these are prevention tools rather than elimination tools — and they work best once the infestation is already cleared. Cedar specifically loses its potency over time; lightly sanding cedar blocks every few months refreshes the scent.

Why Do I Keep Getting Pantry Moths Every Year?

If this keeps happening, the answer is almost certainly one of three things: you’re still bringing infested food home from shops without realising (especially loose or bulk dried goods), you have gaps or cracks in your pantry walls where eggs can survive between cleanings, or you’re not using fully airtight containers and eggs are surviving in your dry goods.

The permanent solution to how to get rid of pantry moths completely — and keep them gone — is airtight containers for everything, pheromone traps as permanent monitors, regular deep cleans every six months, and checking new food purchases before they go on the shelf. Freeze high-risk items like nuts, oats, and spices for three days before storing them. It sounds like a lot of effort but it quickly becomes habit, and the alternative — finding larvae in your breakfast — is a lot worse.

Are Pantry Moths Harmful to Eat Accidentally?

I get this question a lot. Adult moths and their eggs are not toxic in themselves, but eating larvae that have contaminated your food can cause digestive discomfort in some people. The bigger concern is that you simply don’t know what else has been in contact with an infested packet. Contaminated food should always be discarded. And if you’ve accidentally eaten something you later found was affected — you’ll almost certainly be absolutely fine, but it’s not an experience you want to repeat.

Settings