Updated October 2026

As an Amazon Associate, I earn from qualifying purchases.

Pantry moths (also known as Indian meal moths) are one of the most frustrating and disgusting kitchen pests I have ever encountered. If you’ve discovered webbing in your flour, worms on your ceiling, or tiny moths flying around your kitchen, don’t be ashamed. And know that you are not alone!

The following post covers:

  • How pantry moths enter your home
  • How to eliminate pantry moths completely
  • What actually works (and what doesn’t)
  • How to prevent pantry moths from ever coming back

How do you get rid of pantry moths? (Quick answer)

Throw out any food with webbing or larvae. Freeze questionable items at 0°F for 4–7 days. Vacuum and wipe every shelf, crack and corner, including where the ceiling meets the wall. Put dry goods in truly airtight containers, set pantry moth pheromone traps, and watch for new moths for 30–60 days. Missed eggs and cocoons are why they come back.

If you’ve been a reader of No Ordinary Homestead over the ages, you know we dealt with these evil, stupid pantry moths for a while! It was a multi-month battle and over a year in total. And even once you nip them in the bud, you still continue to look over your shoulder for their fluttering wings.

I’ve been quite surprised and almost alarmed that this has become one of the most popular posts on NOH. I don’t know if that’s because these moths are becoming more prevalent (I can’t remember ever having them or hearing about them growing up) or if I’m just more aware of them now. But to put it in the words of The Waterboy‘s mama, “These bugs are the Devil!”

If you’ve had pantry moths in your home, what did you do to get rid of them? Or are you still battling them months/years later??


 

I’ve been putting off writing this post…because to be honest I’m totally repulsed by these things.  In fact I am utterly disgusted by what I’m about to share with you. But they are an incredibly common problem in the kitchens and pantries of the world. And since we almost all buy staple products that have been sitting on a warehouse shelf for at least some stage in their lives, we’re all at risk.

Let me forewarn you that the following pictures are icky, gross, and not the least appetizing. They may even give you the creepies or the heebie-jeebies. I apologize in advance.

 

Discovering Pantry Moths in My Home

A few months ago, I noticed a fine, silky webbing in what I thought was an airtight container of oats. Then I saw it in some cereal, a container of rice, and so on.

“What the heck is that??” I thought. And then I pulled out a package of wheat germ, ready to bake some muffins, and found this guy on the bottom of the package:

pantry moths

GROSS! These little larvae actually make me want to hurl. But at the same time they also make me really mad that they think they can invade my pantry and eat our food. I mean, seriously.

 

What are Pantry Moths?

Meet the pantry moth, properly known as the Indian Meal moth (Plodia interpunctella). They are usually most active in the summer months, and that’s when they get really bad for us…but they will hang with you for a long while and have you praying every day that you don’t see any more traces of them.

They are also resilient and will hunt down those little kernels of wheat germ that drop to the bottom of the box or spilled flour on a shelf and begin a thriving colony in your home.

pantry moths

What Do Pantry Moth Larvae Look Like?

Pantry moth larvae are small, whitish-to-cream worms with a dark brown head, usually about 1/2 inch long. You’ll find them inside food packages with fine, silky webbing, or crawling up walls and onto the ceiling when they’re ready to spin a cocoon. I promise you that as you keep scrolling, you are about to find out!

I now have a vendetta against these creatures in all stages of life. Let me give you a quick rundown of the lifecycle of a pantry moth:

  • You may first notice the little brownish moths that flit around your kitchen. They will lay somewhere between 200 and 400 eggs which will hatch 2-14 days later. The mommy moth, wanting to take good care of her kids, will usually lay these close to a food source. Then, once they hatch, they don’t have very far to travel before they start to feast.
  • The larvae/worms look a bit like small caterpillars are a whitish-yellowish color with little black heads and about 1/2-inch (1 cm) long. They will burrow into anything and everything they can find, continuing to eat for 2 – 41 weeks, depending on the temperatures. They take longer to complete their life cycle in cooler weather.
  • Once they are finally full and have left behind their tell-tale webs, they will enter pupa stage and crawl off somewhere looking for a cozy place to nest and spin a cocoon. This will often be crevices in your kitchen you don’t normally see or maybe even where the ceiling meets the wall (they seemed to find that a particularly nice nesting place in our house.) They will stay in this stage for 1-3 weeks.
  • When their metamorphosis is complete, the pantry moths will emerge as flying adult moths, ready to start the cycle again in the 15-25 days.

 

How Do Pantry Moths Get Into Your House? 

Indian meal moths will eat a lot of things, from dried fruit to nuts, grains, rice, cereal, OATS, powdered milk, chocolate, candy, seeds, pet food, crackers, pasta…they will seriously devour just about any sort of staple in your pantry, leaving silky webs in everything.

Pantry moths come into your home when you buy food at retail locations that supply all variety of foods. They may including any sorts of boxed and packaged store-bought foods, bird seed & pet food, foods in bulk bins, or cardboard packaging.

On a side note, in August 2022, we had a friend visiting us in Germany and she used to work for a major national drug store chain in the US. I asked her if they had ever had any run-ins with pantry moths. She immediately called them by their proper name of Indian meal moths and said that there had been occasions when large amounts of food had been tossed out because moths had been found.

These businesses importing and selling goods are actually required to throw out the food which is infested — but I have to wonder how many chains just fail to notice that they are infested, how many things get shipped out in winter months when the bugs are mostly dormant and as Chris comments below, how many non-food products are infested with these things as well?

They will definitely build nests in small cracks and crevices of even books as they eat the glue. They also seem to love stuff like bunched up bags, as well. So just because it’s not food doesn’t mean there are no moths in it.

 

What Attracts Pantry Moths? 

Pantry moths are drawn to dry, starchy, and sugary foods (grains, flour, oats, rice, nuts, dried fruit, chocolate, spices, birdseed, and pet food), especially in open packages, bulk bins, and cardboard boxes. Spilled crumbs on shelves and food that sits untouched for months make it worse. So essentially pantries and everything inside them!

 

Signs of a Pantry Moth Infestation 

A few of the tell tale signs of pantry moths include webbing throughout your food containers, finding the crawling larvae, or being accosted by the flying micro-beats.

I often seemed to find moths in cycles, after a couple of them hatched at the same time. They’re not fast fliers and very easy to catch in your hand. Then I just smoosh them in a paper towel or on my dirty work jeans. And I have to say I’m really not a fan of bugs, but somehow killing those moths is a pleasure.

One of our big problem areas has been my spice cabinet so I finally had had enough last week and I tore the whole thing what I found was really gross.

I have a tendency to buy sesame seeds for one recipe and then swear to myself that if I buy the bigger, cheaper bag, I will find a great recipe to use the rest of them in. Or sprinkle them in my salad. But then I never figure out what to do with the rest of them. Now I know that I can just leave them out for pantry moths and turn it into a science experiment. I was pretty amazed at the way these things just tunneled around in the jar, eating their way through the seeds.

It was really an entire pantry moth ecosystem inside this jar, from worms to moths to eggs galore. Oh joy.

indian meal moths

I also discovered them inside a box of brownie mix that I was finally going to make, just to have it out of my kitchen. I did find it a bit strange that there was some chocolate powder on the top of the box, but didn’t give it too much thought — then opened the lid and saw all the webbing inside and the moths. Into the trash it went (outside, not inside!)

We went into the kitchen one morning and I swear there were no less than 5 of these things crawling around up there. We promptly killed them and hoped not to find anymore. But there were more…there always are.

pantry moths

And apparently, they love to nest under things you don’t use very often…

The Places You Never Expect to Find Pantry Moths

I have a collection of baskets on top of our very high kitchen cabinets that I don’t too regularly. They took a liking to one basket in particular, which had some sort of fruit in it at one point (it’s been a few years, so I can’t remember anymore). So I was moving some of the baskets around, searching for something. I went to lift this one down and noticed a pantry moth jamboree in progress.

pantry moth

Disgusting! So this basket promptly went into the trash, and I did as good a job dusting off the top of it as I could. I didn’t find any more of the bugs on the other baskets, but I can assure you I inspect each one of them closely now before I use them.

pantry moth

Apparently these things tends to overwinter and we might get a rash of pantry moths hatching in April. I just can’t wait. Until then, I have quarantined all packages of oats and wheat germ to the freezer (they seem to be especially tasty and I have to wonder if I brought them in with the oat packaging from Lidl). Have you ever tried shopping for flour in Germany? I also keep a very close watch on all of my “airtight” containers that don’t really seem to be as airtight as originally thought.

 

Are Pantry Moths Dangerous?

By now, you may be wondering if these pesky little creatures are dangerous. And aside from being really icky and annoying, they are not harmful. But none of us want to bake with contaminated flour or eat a handful of nuts with moth larvae in it, right? So the issue of contamination is a real one and you do need to handle the situation seriously if you discover Indian meal moths in your pantry or beyond.

 

Why Pantry Moths Keep Coming Back

I battled our pantry moths for over a year and missed eggs and cocoons generally were my downfall – and mostly because I was not harsh enough with purging. I would clean everything in the pantry and think I had them all — only to find a nest of them a month later. A few dollars of food is not worth chasing these things for months.

About 1.5 years after I discovered the first pantry moth, we moved out of the farm house and it sat empty for about 1.5 years. I hope that no other moths were ever found but when we moved out, I did find a few dead ones in several places that had nothing to do with food at all (like between two flaps of cardboard in some boxed up espresso cups I rarely used). So I made sure to trash anything that looked questionable before we moved out and we had no signs of moths in future homes.

The 7-Step Method on How to Get Rid of Pantry Moths

1. Find the source.

Check every opened package, especially oats, flour, nuts, spices, birdseed and pet food. The way you react and at what speed after you find the first sign of pantry moths makes a difference. You’re working on eliminating everything that the moths have already fed on and are currently feeding on, and quarantining anything they may want to feed on later.

The only really good way to get rid of these evil creatures is to be thorough and go on a massive cleaning mission. You need to take everything out of your pantry, cabinets, etc. and inspect for larva, webbing, pupae, or other signs of pantry moths. You may also notice tiny holes in plastic bags or boxes.

2. Throw out infested food.

Immediately destroy or bag any cocoons or worms you might find and heavily infested bags of food. Get them as far from your house as quickly as you can. Don’t just leave them sitting in your garbage can in the kitchen for a week or two. Bury them, squish them, drown them, take them out to the curb…just get these pests away from your home and their food sources.

3. Freeze or heat-treat anything questionable.

If you think something could be infected or see evidence of infection, do one of the following:

  • Freeze 4–7 days at 0°F, or bake at 140°F for an hour. Place items in your freezer 0°F for four to seven days. A 10 cu ft or larger deep freezer chest is perfect for this.
  • Microwave it for five minutes.
  • Bake it in a shallow pan or tray in the oven at 140°F for one hour or 120°F for two hours. Stir food periodically to prevent possible scorching.
  • Sift the food to remove insect silks and any larvae that may be pigging out at the buffet. Silks and bugs will not harm you if eaten, just make you gag if you realize you’ve eaten one.
  • If you are certain insects have been killed, contaminated food like seeds or nuts can be used outdoors during winter months for bird feed.

4. Deep clean.

Vacuum shelves, cracks, cabinet tops and behind appliances, then wipe with soapy water.
Once you have everything out of the cabinet or drawer, sanitize it. Take everything out of your cabinets and vacuum up every trace of food, no matter how small. They don’t need much to feed, and they will find even the smallest collection of crumbs to live off of until you still have some flour or a bag of rice and forget to clean it up.If you have your cabinets lined with paper, remove it and put down new stuff. I’m pretty sure these moths would LOVE to nest under the paper.

5. Set pheromone traps.

They catch the males and break the breeding cycle.

6. Move food to airtight containers.

Glass or containers with gasket seals, not twist-tie bags.

7. Monitor for 30–60 days.

Moths that appear later mean something was missed. If you continue to find moths, you need to make another pass through your food storage and clean everything again. Look in untouched places that you missed before like a collection of plastic bags or a box of brownie mix or an airtight container you think they’d never get into (or escape) — but they do!

 

How Long Does it Take to Get Rid of Pantry Moths?

The better you clean and the more thorough you are, the better your chances of success on your first attempt. The process itself takes a weekend: purge, freeze, vacuum and wipe, then move everything into airtight containers. But getting rid of them completely takes longer, because you have to outlast their life cycle.

Pantry moth eggs hatch in 2 to 14 days. The larvae can keep eating for anywhere from 2 weeks to several months, depending on how warm your house is, and then spend another 1 to 3 weeks in a cocoon. So even after a perfect cleanup, a moth can hatch from an egg or cocoon you missed weeks later.

Here’s a realistic timeline:

  • Day 1–2: Deep clean and purge. You’ll see a big drop right away.
  • Weeks 1–4: You may still spot a few adult moths as hidden cocoons hatch. This is normal. Catch them, check your traps, and recheck any food that’s been opened.
  • Weeks 4–8: If you’ve gone a full month with nothing in your traps and no new webbing, you’re most likely in the clear.
  • Still seeing them after two months? Something was missed. Look in cocoon hiding spots like cabinet tops, ceiling corners, behind appliances, under shelf liners, and in baskets or boxes you rarely touch, then do a second full pass.

That last one was us. I wasn’t ruthless enough the first time, and it turned a one-weekend job into a battle that lasted more than a year. Throw it out, freeze it, clean it again. A few dollars of food isn’t worth months of looking over your shoulder.

What We Used

  • Airtight containers like these help keep creatures out – and in!
  • Pantry moth pheromone traps made a huge impact on catching moths. It didn’t catch all the pantry moths, but it got many of them. Try not to crowd too many into a small space, though, or you might confuse the moths and make them less effective.
  • Handheld crevice vacuum or a similar attachment for your vacuum cleaner

 

Keeping Pantry Moths Out

  • Carefully inspect every package you buy for signs of tiny holes while shopping.
  • For foods that you rarely use but are especially susceptible to pantry moths (like seeds or spices), try to buy smaller quantities that you can use up quickly. I know it’s not always economical, but it can save you a lot of headaches.
  • Store items in the fridge, freezer, or an airtight container.
  • Canned and jarred food is moth-proof. Here’s how we can potatoes.

 

Pantry Moths in an RV or Small Kitchen

Now that we spend so much of our time in our fifth wheel, I think about pantry moths differently. A small kitchen has less room for them to hide, but one infested box can take over the whole pantry fast, because everything is packed in close together. And an RV gets warm. Heat speeds up their life cycle, so a summer at a campground is prime breeding season.

Here’s how we keep them out of a small space:

  • Unpack groceries before they come inside. Cardboard boxes and bulk-bin bags are the most common way moths get in. Put dry goods straight into containers and leave the boxes outside.
  • Use stackable airtight containers for everything. In an RV they help twice: they keep moths out, and they keep food from sliding around on travel days. Look for gasket seals, not just snap-on lids.
  • Buy smaller amounts. Big bags of oats, flour or birdseed sit too long in a small pantry. Buy what you’ll use in a few weeks and restock as you travel.
  • Freeze new dry goods in batches. RV freezers are tiny, so we rotate: freeze a bag of flour or oats for 4 to 7 days, then move it to the pantry and freeze the next.
  • Vacuum the hard-to-reach spots. Crumbs collect in cabinet corners, under drawers, and around slide-out edges. A cordless handheld vacuum with a crevice tool makes it a 10-minute job.
  • One pheromone trap is enough. In a small space, more than one can confuse the moths and make the traps less effective. Put it inside or near the pantry.
  • Empty the pantry before storage. If your rig sits for the off-season, remove all food, or at least anything not sealed in glass or hard plastic. Coming back to a parked RV full of webbing is no one’s idea of fun. (Mice will thank you for leaving food behind, too.)

If you do find moths in your RV, follow the same 7 steps above. The good news is that in a small kitchen, step 4 takes an hour instead of a weekend.

I hope that if you are on a quest to destroy these pests, your journey is swift and successful. There is a ton of good advice within the comments, so be sure to read them all!