Here are some of the most common pantry moth pests. Consider their unsettling, silent wings. Note the revolting nature of their larval young. But regardless of all their diverse ugliness, the strategies used for pantry moth control remain nearly the same regardless of the species you're dealing with.
pantry moth
pantry moth larva
pantry moth being experimented on

Nothing will make you want to finish off all the booze in your home like a good pantry moth infestation. Your cereal, the organic flour, those salted peanuts, your decorative corn cobs—all besmirched with the webbing and frass (colored sand-like waste) of these pantry pests. Well, the good news is that this is a pest you can deal with on your own; pantry moth control isn't all that difficult. Don't pay some pest control agent to do what you can do yourself, for free. Keep reading—your pantry will be wholesome again soon.
First, throw away the pest moths' food supply. It may be painful, but anything that inspires the least bit of suspicion must be thrown away. Look for webbing, frass, larvae, holes in packaging . . . but if it were me I'd just toss anything with pantry moth potential. Items should be sealed (with heat or tape) in a hardy plastic bag before being taken to an outdoor garbage can. You don't want these things worming their way back inside. Some people will bury or burn the moths; this will work and earn style points.
Now it's time to clean. The pantry, the kitchen, and anywhere you've seen moths should be thoroughly cleaned with soap and water. Get behind things. Get into those nooks and crannies. And above all, vacuum. Bust out those attachments and work those cracks and crevices. Don't neglect those dark corners where crumbs accumulate, or risk keeping the infestation alive. This kind of cleaning is a tedious process, but sucking up flying adults and wormy moth larvae makes a satisfying noise. "Fwump" goes the silver lining.
Next, you must starve them out with pantry pest-proof food containers. This is the most important aspect of pantry moth control. All unspoiled or new food items need to be stored in pest-proof containers. Items will be safe in the freezer, but everything else should be stored in a paranoid fashion. Glass containers with clamp lids or gasket seals work well. Thick plastic containers with an airtight seal are fine. Does the image this conjures seem familiar? Yes, your grandparents once knew how to store food, but the pesticide generation forgot how. It will seem cumbersome at first, but everyone in your home must observe the food lock down if you're going to make these pantry pests pay.
Spot treat cracks and crevices with diatomaceous earth. The food-grade DE (MotherEarth D, Concern) used for pest control is nontoxic and harmless, which makes it great for sensitive areas like the pantry and kitchen. A light dusting of cracks and crevices created by trim, baseboards, cabinets, and furniture is important. Also lightly dust areas of high moth and moth larvae activity. Moving over this dust, moth adults and larvae are inflicted with small cuts, which eventually lead to dehydration, denial, anger, bargaining, and death.
Monitor your progress with pantry moth traps. Pheromone-based pantry moth traps are growing in popularity. You set a few out, and the sex pheromone they contain will have the male pantry moths throwing themselves onto these sticky mass graves. But they don't work for all moths. Most products contain pheromones for only the most common pantry pest moths—the Indian meal moth, Mediterranean flour moth, almond moth, and raisin moth. Don't expect these traps to be a magic bullet—they are only one part of a good pantry moth control strategy.
Once things are under control, think about prevention. After a pantry moth infestation, it's important to inspect the food you bring into your home. It's very likely that your infestation began with something you bought at the local grocer. You should also inspect your home for rodent or birds pests; these creatures bring in nuts and seeds that can harbor moths. Lastly, look to repair screens and doors, fill in incoming utility holes with caulk or putty, and screen all outdoor vents.
These traps aren't going to attract moths like pheromone-based pantry moth traps, but they can help cull the silent-winged herd and aid in monitoring. Here are two options:
The baited sticky trap. Purchase a pack of plain insect or rodent sticky traps. Dab a little bait in the center (something you've found the pantry moth larvae in) and place around infested areas as well as a few around the perimeter.
The boric acid delight. Mix one part boric acid (Borax) with three parts cornmeal and place small globs on jar lids. Place strategically around problem areas.

The Pantry Pest Trap (SaferBrand). It's one of those pheromone-based pantry moth traps. This one has been around for awhile and generally gets good reviews from vendors and consumers. Just remember that pantry moth control requires more than a few traps.

Cy-Kick Crack and Crevice. It's a residual insecticide spray for those dark places pantry moths and their larvae like to hide. But insecticides should only be considered for severe or stubborn pantry moth infestations. This stuff should not come into contact with areas that will touch food. Read all the directions carefully to avoid poisoning non-moths like yourself.

Pest-proof containers. They come in all shapes and sizes to fit any purposes or aesthetic preferences. Storing your food in this way is both a pantry moth control measure (starve them out) as well as a great preventative move for myriad insect pests. As you can see, even your pet's dinner can be stored in a visually pleasing, space-saving manner.