Dispose of all infested food. Seal it tightly in bags before throwing it into the trash to prevent insects from re-entering home.
Vacuum all shelves thoroughly, including corners and crevices, to ensure all spilled food is removed. Sweep or vacuum the pantry floor as well.
Wipe down all shelves with warm, soapy water to ensure any eggs, larvae and pupae are also removed.
Place new food in airtight, plastic containers and clean them, inside and out, regularly.
Keep shelves clean and free of any spills. According to the University of California, some pantry pests can survive on small amounts of food.
Use stored items quickly. Stored food that is left undisturbed for a long period is more likely to be infested than food used frequently.
Keep your pantry dry. Moist conditions encourage pantry pests.