Depending on your situation, just using a Pantry Moth Trap (note: use only one trap per area!) may be sufficient, but if you have a really horrendous infestation of moths, you may need to try some different things.
Here are some ideas:
First: Remove all infested food items and throw them away OUTSIDE (don’t leave near your doorway) in a sealed trash can or bag. We know this is hard to do—but in order to prevent further infestation, you need to force yourself!
Second: Vacuum out cupboards, empty vacuum bag outside and discard into a sealed trash can or bag.
Third: Clean your cupboards and shelves thoroughly with warm, soapy water and dry well. Then spray with a strong vinegar solution (add essential oils if you like—see recipe below). When doing this, be sure to get the liquid into the cracks and crevices as these are the areas moths tend to lay their eggs. This is a very important step in stopping future eggs from hatching.
**If using essential oils, mix 4 oz vinegar with 1/2 tsp eucalyptus and lemon oils and 1/4 tsp peppermint or lavender essential oil.
Last: Place one pantry moth trap in your pantry and change out as needed or every 60 days. Using more than one moth trap per area is not recommended, as it decreases the effectiveness of the pheromone traps, "confusing" the moths.
To Prevent Moth Infestations:
Freeze all dried goods you bring home from the grocery store for four days. This will kill any moth eggs that were present in the food item.
Store all dried goods in glass jars with tight lids, or plastic air-tight containers. This will help isolate any problems.
Keep 1-3 bay leaves in each container of dried goods as a deterrent. If using three leaves, place one at the top, one in the middle and one at the bottom of each container.