House and Garden Moths

How to Get Rid of Pantry Moths in the Kitchen

Clear pantry moths by emptying cupboards, binning infested food, vacuuming cracks and freezing doubtful dry goods. Learn how long they linger and how to stop a return.

On this page
  1. Direct answer: remove the food, clean, then trap and monitor
  2. Step 1: Empty every affected cupboard
  3. Step 2: Freeze what you are not sure about
  4. Step 3: Vacuum and clean
  5. Step 4: Set traps and monitor
  6. Step 5: Store food to stop a return
  7. How long does it take to get rid of Indian meal moths?
  8. Myths to drop

Direct answer: remove the food, clean, then trap and monitor

Get rid of pantry moths by removing the food they are living in, cleaning the places their larvae hide, and freezing any dry goods you are unsure of. Then keep traps up for at least two to three months after you last see a moth. Moths can keep emerging for several weeks after cleaning.

Step 1: Empty every affected cupboard

  • Take everything out, including unopened packets. Pantry moth eggs can be in sealed packets from the factory or the shop, so an unopened packet is not automatically safe.
  • Inspect for webbing, clumping, larvae, cocoons and frass (sand-like droppings). Check lid threads and package folds.
  • Common sources include flour, cereal, rice, pasta, nuts, dried fruit, spices, chocolate, birdseed, pet food, potpourri and decorative corn.
  • Put infested food in a sealed bag and take it straight to an outside bin. This stops moths escaping back into the kitchen.

Step 2: Freeze what you are not sure about

  • Freeze doubtful dry goods at −18°C (0°F) or colder. Freezing for at least 72 hours is the minimum often cited. Many guides suggest 4 to 7 days to be safe.
  • Let the food reach room temperature in its sealed container before opening it, to avoid condensation.

Step 3: Vacuum and clean

  • Vacuum shelves, corners, shelf-pin holes, hinges, door frames and ceiling corners. Empty the vacuum outdoors straight away.
  • Wipe the shelves with warm soapy water. Vinegar helps with cleaning, but it does not reliably kill eggs, and cocoons hidden in cracks can survive a vinegar-only wipe.
  • Never spray insecticide on food shelves or containers. Never use mothballs in a kitchen or near food.

Step 4: Set traps and monitor

  • Pheromone traps for the Indian meal moth catch males only. They are for monitoring, not for control. Replace the lures about every three months.
  • Keep the traps up for at least two to three months after the last moth.
  • Trichogramma wasps, which attack moth eggs, are sold for pantry moths in some countries.

Step 5: Store food to stop a return

  • Store dry goods in airtight glass, metal or hard plastic containers. Larvae can chew through paper, card and thin plastic.
  • Buy smaller quantities, and rotate stock so that the oldest is used first.
  • Inspect new packets for holes or tears before you store them.
  • Freeze bulk purchases on arrival, especially flour, grains, nuts and pet food.

How long does it take to get rid of Indian meal moths?

The Indian meal moth’s life cycle takes about 4 to 6 weeks at 25 to 30°C (77 to 86°F), and much longer in cold conditions. The female lays around 100 to 300 eggs, and adults live about one to two weeks without feeding on stored food.

After cleaning, expect a few moths for several weeks, as any remaining stages emerge. This does not mean the treatment has failed. Keep the traps up for two to three months after the last moth before you assume the problem is over.

If moths keep appearing after that, look for a source you missed, such as an opened bag at the back of a cupboard, a pet food bag, or birdseed stored nearby.

Myths to drop

  • Bay leaves keep pantry moths away. There is no good evidence for this.
  • Pheromone traps cure an infestation. Removing the source does. Traps only monitor.
  • Unopened packets are safe. Infestations often start before the food reaches the home.
  • A clean kitchen cannot get pantry moths. Most arrive in shop-bought food, not from dirt.

For how to tell the species apart, see rice moths and other pantry moths. For why moths come into a home in the first place, see what causes moths in the house.

The complete guide to house and garden moths

Types of House Moths: Identification With Pictures
Read the guide

Keep exploring

Guides from other topics

All topics →