How to Get Rid of Pantry Moths Naturally for Good

Getting rid of pantry moths naturally comes down to a thorough, multi-step process: find and remove every contaminated food item, deep-clean your pantry, kill hidden eggs with freezing or heat, and then prevent reinfestation with proper storage. There are no shortcuts. Pantry moths reproduce fast, with four to six generations per year indoors, so a half-hearted effort almost guarantees they’ll come back within weeks.

The moth you’re dealing with is almost certainly the Indian meal moth, a small insect with a wingspan of about three-quarters of an inch. The wings are distinctive: the front third is whitish-gray and the back two-thirds are reddish-brown or coppery. You’ll notice them flying in a weak, zigzag pattern around your kitchen, often in the evening. But the adults aren’t the real problem. The larvae are.

Find and Remove the Source

Before anything else, you need to locate where the larvae are feeding. Pull every item out of your pantry, every shelf, including things you wouldn’t expect. Indian meal moth larvae feed on flour, rice, oats, cereal, dried fruit, nuts, pet food, birdseed, spices, chocolate, and even dried flowers. They’re not picky.

Look for small off-white caterpillars (about half an inch long when fully grown), fine silk webbing on food surfaces or inside packaging, and tiny clumps of food grains stuck together with web. The larvae can take on a greenish or pinkish tint depending on what they’ve been eating. Check seams of packaging carefully. Cocoons are often tucked into folds, crevices, and corners rather than sitting out in the open. The eggs themselves are white and flattened, too small to see with the naked eye, which is exactly why this pest is so hard to eliminate. A single female lays between 40 and 350 eggs over a two- to three-week period.

Throw away anything that shows signs of contamination. If you’re unsure about an item, toss it. The cost of replacing a bag of flour is far less than the frustration of starting this whole process over again because you kept one infested package.

Deep-Clean Every Surface

With the pantry completely empty, vacuum all shelves, walls, the ceiling of the pantry, and the floor. Use a crevice attachment to get into corners, shelf-pin holes, door hinges, and any cracks where larvae or cocoons could be hiding. Empty the vacuum bag or canister into an outdoor trash bin immediately afterward.

Next, wipe down every surface with a solution of white vinegar, a few drops of dish soap, and warm water. Go over the shelves, walls, and ceiling thoroughly, paying extra attention to corners and crevices. Vinegar helps dissolve any remaining egg residue and webbing that vacuuming may have missed. Let the shelves dry completely before restocking. If your pantry has shelf liners, remove and replace them. Larvae can hide underneath.

Freeze Salvageable Food

For unopened or seemingly uncontaminated dry goods you want to keep, place them in your freezer for a full week. This kills any eggs or larvae that might be present but invisible. The National Pesticide Information Center recommends this seven-day freezing period specifically for pantry moth control. After freezing, transfer the food into airtight containers before returning it to your shelves.

This step is especially important for bulk items like flour, rice, and grains, which are common infestation sources. Some people routinely freeze all new dry goods for a week before shelving them, which is one of the most effective long-term prevention habits you can adopt.

Use Pheromone Traps for Monitoring

Pheromone traps are sticky traps laced with a synthetic version of the scent female moths produce to attract mates. They only catch male moths, so they won’t eliminate an infestation on their own. What they do is tell you whether you still have a problem and roughly how severe it is. If you’re still catching moths weeks after cleaning, there’s a hidden food source or cocoon stash you missed.

Place one or two traps inside your pantry after cleaning. Check them weekly. A common concern is whether the pheromone scent can draw in moths from outside. It can, so position traps inside cabinets rather than near open windows. Think of these traps as a monitoring tool, not a solution.

Do Bay Leaves and Essential Oils Work?

Bay leaves are one of the most commonly recommended natural pantry moth repellents. The idea is that compounds in the leaves, particularly certain terpenes, discourage moths from landing nearby. It’s plausible in theory, but there’s no published research confirming it actually works. The recommendation is entirely anecdotal, passed along through word of mouth for decades without controlled testing to back it up.

The same applies to peppermint oil, eucalyptus, lavender sachets, and cedar chips. They may have some mild deterrent effect, and they certainly won’t hurt, but relying on them as your primary defense is a mistake. If you want to tuck a few bay leaves onto your shelves or add a drop of peppermint oil to your cleaning solution, go ahead. Just don’t skip the cleaning and storage steps in favor of scattering herbs around your pantry.

Prevent Reinfestation With Proper Storage

The single most effective long-term prevention measure is transferring all dry goods into hard-sided, airtight containers the moment you bring them home. Indian meal moth larvae can chew through paper, cardboard, thin plastic bags, and even foil. Glass jars with rubber gaskets, thick plastic containers with snap-lock lids, and metal tins with tight seals all work. The key is that the container leaves no gap for a tiny larva to enter or exit.

This applies to everything: flour, sugar, rice, pasta, oats, cereal, dried fruit, nuts, spices, baking mixes, pet food, and birdseed. If it’s a dry good and it came in a bag or box, repackage it. Many infestations start at the grocery store or warehouse, meaning moths can arrive in your home inside sealed commercial packaging. Freezing new purchases for a week before transferring them to containers adds another layer of protection.

Expect a Weeks-Long Process

The Indian meal moth life cycle from egg to adult can take as few as 27 days or stretch to six months or more depending on temperature. That means even after a thorough cleanout, you may see a stray moth emerge from a cocoon you missed weeks later. This doesn’t necessarily mean you failed. It means the life cycle is still playing out.

Keep your pheromone traps in place for at least two to three months after cleaning. If you catch a moth, inspect your pantry again for any overlooked food sources or cocoons tucked into crevices. Check places beyond the pantry too: larvae sometimes wander surprisingly far from their food source before spinning a cocoon, showing up in folded napkins, behind picture frames, or along ceiling corners in adjacent rooms.

Persistence is the real strategy here. A single deep clean paired with proper storage handles most infestations. But if moths keep appearing, it nearly always means there’s a food source somewhere you haven’t found yet, possibly pet food in another room, a forgotten bag of birdseed in the garage, or a decorative dried flower arrangement. Widen your search until the traps stay empty.