House Moths

What is the fastest way to get rid of pantry moths?

The fastest way to get rid of pantry moths is to find and remove every infested food, clean the shelves, freeze doubtful items and store food in sealed containers.

On this page
  1. The fastest approach in short
  2. Step 1: Empty the pantry and inspect everything
  3. Step 2: Throw out infested food the right way
  4. Step 3: Freeze or heat anything you’re unsure about
  5. Step 4: Vacuum and wipe down shelves
  6. Step 5: Check beyond the pantry
  7. Step 6: Store food in sealed containers
  8. Using pheromone traps
  9. Why insecticide sprays aren’t the answer
  10. How long until they’re gone?

The fastest approach in short

The quickest way to get rid of pantry moths is to remove their food. That means:

  1. Empty the pantry and inspect every dry food item.
  2. Throw out anything infested, sealed in a bag and taken outside.
  3. Freeze or heat anything you’re unsure about.
  4. Vacuum and wipe down the shelves, cracks and corners.
  5. Look beyond the pantry for wandering larvae and cocoons.
  6. Store dry foods in airtight glass, metal or hard plastic containers.

Sprays and traps alone won’t fix a pantry moth problem, because the moths will keep breeding as long as there’s infested food. Most household pantry moths are Indian meal moths, small moths with pale gray wing bases and coppery outer wings, though a few related species behave the same way. If you’re not sure what you’re dealing with, our guide to types of house moths images and descriptions can help you confirm it.

Step 1: Empty the pantry and inspect everything

Take everything out of the affected cupboard or pantry, and check nearby cabinets too. Pantry moths are found in a wide range of dry foods, including:

  • flour, cornmeal, baking mixes and grains
  • cereal, oats, granola, crackers and pasta
  • rice, beans and lentils
  • nuts, seeds, dried fruit and trail mix
  • chocolate, cocoa and candy
  • spices, dried herbs and powdered milk
  • dry pet food, birdseed and fish food
  • decorative items like dried corn, flower arrangements and potpourri

Signs of infestation include silk webbing (especially in corners of packages and along folds), clumped food, small whitish caterpillars, cocoons, tiny holes in packaging and adult moths fluttering out when you open a container. Larvae can chew through thin plastic bags and cardboard, so even unopened packages are worth checking.

Step 2: Throw out infested food the right way

Anything with webbing, larvae or moths in it is best thrown away. Put it in a sealed bag and take it straight to an outdoor trash can so the moths don’t spread back into the kitchen. Don’t forget the original packaging and any bags or bins the food was kept in.

Step 3: Freeze or heat anything you’re unsure about

For items that look clean but were stored near infested food, you can kill any hidden eggs or larvae before keeping them:

  • Freezing: Extension guidance commonly suggests freezing at 0°F (about −18°C) for around four days. Many home freezers run near that temperature, but they vary, so a longer freeze adds a margin of safety.
  • Heating: Some extension services suggest spreading dry goods in a shallow pan and heating them in the oven at about 130°F (around 54°C) for at least 30 minutes. This works best for items like grains or birdseed, and isn’t suitable for everything.

Freezing or heating kills the insects but doesn’t remove them. Food with visible webbing or larvae is usually better thrown out.

Step 4: Vacuum and wipe down shelves

With the pantry empty:

  • Vacuum shelves, corners, cracks, shelf-support holes and the gaps where shelves meet the walls. Spilled crumbs in these spots can keep larvae going.
  • Vacuum the floor of the pantry and under nearby appliances.
  • Wipe shelves with hot, soapy water and let them dry.
  • Empty the vacuum or remove the bag right away, outside.

Some people wipe with diluted vinegar afterward. It’s fine as a cleaner, but the vacuuming and removal of food is what does the real work.

Step 5: Check beyond the pantry

Pantry moth larvae often leave the food when they’re ready to pupate and crawl some distance to find a sheltered spot. That’s why people see small caterpillars on kitchen ceilings or walls. Check and vacuum:

  • ceiling corners and the tops of walls near the kitchen
  • door hinges, cabinet hinges and the underside of shelves
  • behind and under the refrigerator, stove and other appliances
  • pet food storage areas and bird feeders kept indoors

Small silk cocoons in these spots can produce new moths weeks later if they’re missed.

Step 6: Store food in sealed containers

Once the pantry is clean, store dry goods in containers with tight-fitting lids, such as glass jars, metal tins or sturdy plastic containers with gasket seals. Thin plastic bags and twist-ties aren’t enough, because larvae can chew through or crawl in.

A few habits help prevent a repeat:

  • Inspect new packages, especially bulk foods, birdseed and pet food, before putting them away.
  • Buy dry goods in amounts you’ll use within a few months.
  • Keep shelves free of spills and crumbs.
  • Store birdseed and pet food away from human food, or in sealed bins.

Pantry moths are one of the more familiar examples of storage insect pests, along with several beetles; if you’re also finding small beetles in food, our answer to “How to get rid of little brown beetles?” covers those.

Using pheromone traps

Pantry moth pheromone traps are sticky traps baited with a scent that attracts male Indian meal moths and some related species. They’re useful for:

  • telling you whether moths are still active after you clean up
  • helping you find hot spots if one area catches more moths than another

They are not a cure. Traps only catch males, and females that have already mated will keep laying eggs. If the infested food is still there, the problem continues no matter how many traps you hang. Use them after the cleanup to monitor, and replace them as the label directs.

Why insecticide sprays aren’t the answer

Extension services generally advise against spraying insecticides in food storage areas. Sprays don’t reach larvae inside food packages, and you don’t want insecticide residue on food or food-contact surfaces. Removing the infested food and cleaning are safer and more effective. If the problem persists after a thorough cleanup, a licensed pest control professional can help find hidden sources.

How long until they’re gone?

If you find and remove every infested item, the number of moths usually drops off noticeably within a couple of weeks, but you may still see a few. Eggs, larvae or pupae hidden in cracks or missed packages can keep producing moths for a while, since the full life cycle can take roughly six to eight weeks in warm conditions and longer when it’s cool.

Keep monitoring with a trap for at least a couple of months. If moths keep appearing, go through the pantry again and check other storage spots, such as a garage with pet food, a closet with birdseed or a decorative dried arrangement. Knowing what do moth eggs look like and where pantry moths lay them can make the second search easier.

The complete guide to house moths

Types of House Moths, With Images
Read the guide

Keep exploring

Guides from other topics

All topics →

Which Insects Collect Honey?

Honey bees are the best-known honey makers, but stingless bees, bumble bees, honey wasps and honeypot ants store sweet reserves too. Here's how each one does it.

Honey Insects 7 min read