Pantry moths are pernicious little pests. You sweep the dust off the shelves, repackage your food and yet those little blighters keep coming back. The key to their success is their small size and instinct to hide. To kill all the pantry-moth larvae in your kitchen, you'll have to starve them out, then find all their hiding places.
Remove all packaged food from the pantry.
Throw away anything you don't need to keep. Sort through the rest to check for moth larvae or casings. Or place it in the freezer for 4 to 7 days to kill any moth larvae feeding inside.
Place the food in glass containers with flip-on or screw-on sealed tops. Pantry moths can eat through paper, cardboard or plastic to get at food.
Clean the pantry thoroughly with diluted bleach (1 tsp. per quart of water). Remove the shelves. Check and scrub drawer tracks, cracks, nooks and crannies.
Clean the containers that you removed. Check them carefully for moth larvae, eggs or casings. Bag any that you find and throw them away outdoors.
Replace everything on the shelves.
Place bay leaves in the corners and intermittently along the walls of the pantry. They will deter the pantry moths from laying eggs.