How to Get Rid of Pantry Moths and Banish Them For Good

Learning how to get rid of pantry moths means bringing an end to ransacked flour sacks

A view of an organized pantry
Photo: netrun78/Adobe Stock
A view of an organized pantry
Photo: netrun78/Adobe Stock
Get quotes from up to 3 pros!
Enter a zip below and get matched to top-rated pros near you.
Geo Icon

The sight of moths in your pantry is enough to make your skin crawl, but when they lay eggs in your flour, things can get downright disturbing. What’s worse? They just keep multiplying. 

If you’re in the midst of a pantry moth invasion, the good news is you can (and will) get to the other side of it. Here’s how to put an end to pantry moths once and for all.

What Are Pantry Moths?

A closeup of a pantry moth
Photo: Tomasz/Adobe Stock

The pantry moth, aka the Indian meal moth, is a common winged pest with an affinity for grains, dried fruit, cereal, nuts, and other dry goods you might store in your pantry. Moths munch, lounge, and lay eggs in these food items and even the cardboard that contains them. Females can lay hundreds of eggs at a time, so once they’re in, it doesn’t take long for a total takeover. 

Where Do Pantry Moths and Larvae Come From?

It might seem like they spawned out of nowhere, but chances are, your pantry moths hitched a ride on something you brought home. It could have been bulk grains from the grocery store, a fruit-and-nut gift basket from well-meaning relatives, or even your pet’s food. Here are their favorite foods to infest:

  • Flours of all kinds

  • Dried fruits

  • Nuts

  • Grains

  • Dry beans

  • Pasta

  • Cocoa powder

  • Baking mixes

  • Seeds (including birdseed)

  • Dry dog/cat food

  • Tea

  • Herbs/spices

Once the moth eggs hatch, tiny maggot-like larvae spend several weeks feeding and growing until they spin a cocoon, later emerging as an adult moth. Given how quickly they reproduce, these pantry pests can get out of hand fast—the sooner the problem gets dealt with, the better. 

How to Get Rid of Pantry Moths

A closeup of a man vacuuming a pantry floor
Photo: New Africa/Adobe Stock

Getting rid of pantry moths involves cleaning out your entire pantry, throwing out open items and packaging, and placing the remainder of your dry goods in airtight containers. Here are the steps to follow to remove the moths for good.  

1. Find the Source of the Pantry Moths.

First things first—empty out your pantry and carefully inspect all items that could be housing the moths. Toss infested or suspect items in a sealed trash bag and take it out immediately.

2. Toss Out Open Packages

Next, grab any open food packages and toss them out. Squeeze sealed bags to ensure they’re still airtight. If not, then throw them in the trash outside. 

3. Remove All Cardboard

Cardboard packaging can conceal additional moth eggs and larvae, plus it’s another thing they like to snack on. To be safe, remove and discard (or recycle where possible) all cardboard boxes and packaging. Again, take it outside immediately to avoid any new spawns.

4. Vacuum the Area

Vacuum the area using the hose attachment to reach every nook and cranny. If possible, soak your vacuum’s removable waste container in hot water with a splash of bleach (1 tablespoon for every gallon of water) to kill any eggs or larvae it might have picked up. Be sure to wear gloves and eye protection like goggles when dealing with any bleach solutions, and don’t mix it with any other cleaners.

5. Thoroughly Clean the Entire Pantry With Vinegar

Grab a scrub brush and bucket filled with a 1:1 solution of vinegar and hot water and go to town on every crack, crevice, and surface in the pantry. The acidity of the vinegar will kill off eggs and larvae. 

6. Seal Away Leftover Dry Goods

Moths can chew through cardboard, plastic, and other soft-sided materials, so you should put any remaining dry goods in mason jars or other airtight containers. That way, if there are any living eggs or larvae, they’ll stay quarantined, and you can just toss them out.

7. Examine the Area for Pantry Moth Eggs and Larvae

Even after you’ve purged the affected dry goods, there’s still a chance that pantry moth larvae thwarted your efforts. Grab a flashlight and examine the surrounding area, looking for silky webs, cocoons, and tiny maggot-like caterpillars. Keep an eye out for these signs in the coming weeks to ensure the moths aren’t coming back.

8. Consider Using Pantry Moth Traps

If you suspect you have a widespread problem, or if you just want extra peace of mind, consider hanging sticky pantry moth traps around your pantry and kitchen. These contain pheromones to attract the moths and a sticky surface to trap them. If your traps stay empty, then you know you’ve eradicated the problem.

Preventing Pantry Moths and Larvae

  • Keep all dry goods in sealed, airtight containers (including those purchased in sealed plastic bags).

  • Dab some peppermint essential oil around the pantry or place several soaked cotton pads around (pantry moths hate the smell of peppermint).

  • Carefully examine dry goods at the grocery store and ensure they’re airtight before bringing them home.

DIY vs. Hire a Pro 

If your pantry problem has gotten out of hand, a professional moth extermination costs an average of $150, with a typical range of between $90 and $370. Get in touch with a local exterminator to help ensure the moths are gone for good.

Additional Questions

Are pantry moths poisonous?

If you accidentally consume moth eggs or larvae, the good news is they’re not poisonous, and they don’t carry any diseases or bacteria. It’s a repulsive thought, but that’s the extent of the damage (though we obviously wouldn’t make it a habit).

Are pantry moths the same as clothes moths?

Pantry moths are different from the moths that snack on your sweaters. Unlike pantry moths who travel in search of food, clothes moths will stay wherever there are tasty materials to eat.   Storing clothing properly can prevent musty smells and moth munching.

Are pantry moths attracted to light?

Yes, pantry moths love lamps just as much as other moths. They fly mostly at night and are attracted to bright lights. If you’re using sticky traps, placing them near a light source is not a bad idea.

What kills pantry moths? 

Vinegar is an effective killer of moths, eggs, and larvae. You can also freeze dry food items for a minimum of 48 hours. Do not use any spray poisons, as these can contaminate your food and aren’t likely to be effective.

Need professional help with your project?
Get quotes from top-rated pros.
The homeowners guide to pest exterminators
From average costs to expert advice, get all the answers you need to get your job done.
An exterminator spraying pesticide with a sprayer
Nov 12, 2024
Nov 12, 2024
When calculating the cost of hiring a flea exterminator, consider your home size and the infestation extent. This guide will help you figure out what to budget.
Two storks nesting on a house roof
Jan 10, 2024
Jan 10, 2024
Sometimes birds nest in unwelcome places. Find out how much bird nest removal will cost based on factors like location, bird species, and preventative measures.
The interior of an eclectic dining room on a sunny day
Aug 6, 2024
Aug 6, 2024
If you have a serious rodent problem, you may need to know the cost of hiring a rat exterminator. We can help you estimate prices and control costs.
Bed bug on bed
May 9, 2024
May 9, 2024
Key signs will let you know when to call an exterminator for bed bugs. Check our guide for more information on who to call and what clues to look for.
A young buck deer eating leaves in a residential garden
Sep 21, 2023
Sep 21, 2023
Are roaming deer enjoying the fruits of your labor before you get the chance to? Discover how to keep deer out of your garden with these effective deterrents.
big brown dog scratching in the yard
Jun 5, 2023
Jun 5, 2023
Fleas are unwelcome houseguests for every homeowner but the use of pesticides might not be for you. Instead, try these nine natural ways to kill fleas.
Share project details to get started.