Independent identification guides — we don’t sell pest control services
Kitchen

How to Get Rid of Pantry Moths (and Keep Them From Coming Back)

Indian meal moths don't just live in the one box you found them in; their larvae crawl between packages. Here's the full protocol: what to toss, how to clean the cupboard, and how to store everything so they don't come back.

Adult Indian meal moth (Plodia interpunctella), the common pantry moth, photographed close up
Adults have a wingspan of about 16-20 mm and never feed; the damage in the cupboard is done entirely by the larvae.

Short answer

If you just spotted a moth near the pantry, here’s the fast version before the full walkthrough below.

  1. Toss every infested package, not just the one you spotted the moth near.
  2. Empty the cupboard and vacuum every corner, joint, and screw hole.
  3. Store what’s left in airtight containers and hang a pheromone trap to catch the rest. Which pantry bug you actually have is worth confirming first.

Jump to the full protocol →

The full protocol

Kitchen shelves lined with clear sealed containers holding grains, pasta and cereal
Larvae chew straight through paper, foil and thin plastic film; only rigid containers with a gasket seal actually shut them out.

Find every infested package

Don’t stop at the box you saw a moth crawl out of. Indian meal moth larvae wander, so check flour, cereal, rice, pasta, dried fruit, nuts, pet food, and birdseed, anything dry that’s been stored for more than a few weeks. Look for fine silk webbing clumping the contents together, small white or cream larvae, or pupae stuck near the top of the bag.

20-30 min Checkpoint: Every dry good in the kitchen has been opened and checked, not just the package near the original sighting, and anything infested is set aside separately.

Bag and toss what’s infested

Seal each infested package in a plastic bag before it leaves the cupboard so larvae don’t drop out along the way. Carry it straight to the outdoor trash can. Don’t stage it in the kitchen trash can first; that just moves the problem a few feet.

10-15 min Checkpoint: Infested packages are in the outdoor trash can, not the kitchen trash, and the lid is closed.

Empty and deep-clean the cupboard

Pull everything out, including containers that looked fine. Vacuum the shelves, corners, and shelf joints thoroughly, paying attention to screw holes and hinge gaps, since larvae often pupate in these tight spots where they won’t be disturbed. Follow with a wipe-down using soap and water, then let it dry fully before restocking.

30-45 min Checkpoint: Shelves, corners, and screw holes are vacuumed clean with no webbing or cocoons visible, and surfaces are dry.

Freeze borderline goods before they go back in

For dry goods that checked out but were stored near the infestation, freeze them at 0°F (-18°C) for at least four days as a precaution against any eggs or larvae you might have missed; treat 96 hours as a floor rather than a guarantee, and lean toward a week, since home freezers often run warmer than 0°F. Let items return to room temperature before putting them back in the cupboard, or heat-treat instead at 140°F for 15 minutes if freezer space is tight.

At least 4 days (96 hours) Checkpoint: Borderline packages have spent at least a full four days at a verified 0°F and are back to room temperature.

Switch to airtight containers going forward

This is the step that actually keeps them out for good. Decant flour, cereal, rice, pasta, dried fruit, nuts, pet food, and birdseed into hard-sided containers with a real gasket seal, not just a folded bag clip. Moths can chew through thin plastic and cardboard, but they can’t get through a sealed container.

One afternoon Checkpoint: Every dry good that didn’t come in a can or jar is now in an airtight container, and you’ve tested the lid seal by hand.

Hang a pheromone trap and check it weekly

Hang a pheromone trap for Indian meal moths near the pantry to catch any adults you missed and confirm the infestation is over. Check it once a week and swap the lure as directed on the package.

Ongoing, check weekly Checkpoint: Trap catches decline over two to three weeks. If catches stay steady or climb, recheck for a missed package before assuming it’s handled. If a large-scale infestation persists after that, call a licensed pest control professional.

Don’t do this: Stopping at the one package you found moths in is the easiest way to end up back here in a few weeks. Larvae wander between containers, so skipping the rest of the cupboard undoes everything else you just did.

The shortcut: Skip the guesswork on which packages are contaminated. Look for fine silk webbing clumping the grains together or a few tiny holes in the packaging; that’s the real tell, not just a moth flying out when you open the door.

FAQ

Do pantry moths bite or spread disease?

No. Pantry moths don’t bite people or pets, and they aren’t known to carry disease. They’re a food-contamination nuisance, not a health hazard. The main cost is the dry goods you end up throwing out.

How did pantry moths get into my house?

Almost always in a package from the store. Flour, rice, pet food, birdseed, and dried fruit are common carriers. Eggs or larvae already inside the bag hatch out once they’re sitting in a warm kitchen.

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

Plan on one focused day to inspect, toss, and clean, then a few weeks of trap-monitoring to confirm they’re gone. If every infested package was found the first time, trap catches typically drop off within two to three weeks.

Will pantry moths spread to other rooms?

They stay close to a food source, so they’re usually confined to the kitchen and pantry. If you’re still seeing moths in bedrooms or living areas weeks after cleaning out the pantry, check any stored birdseed, pet food, or dried flowers elsewhere in the house.

Sources

  1. University extension entomology and integrated pest management (IPM) fact sheets

Chriss R.

Writer and editor

Writes and edits House Bug Guide. Not an entomologist, and doesn't claim to be: the identification details here are drawn from university extension entomology publications and rewritten for people who need an answer tonight, with the sources listed at the foot of each page.

Read next