Keeping storage areas clean and dry are the first line of defense against pests invading your food.
Periodically clean storage areas to remove spilled food and damaged packages of food. A vacuum cleaner can easily remove spills from cracks and crevices. Eliminate hiding places by sealing cracks and crevices with putty or caulk.
If packages are damaged, inspect for insect presence or damage. If the food is still good, re-package in a sealable sturdy container. Cold-treat flours, cake mixes, and spices at 0°F for 3-7 days, making sure that the cold penetrates the material. Heat-treat beans, nuts, and whole grains by spreading them in a shallow pan and placing them in a 150°F oven for 15-20 minutes.
For more information, see Household Pests of Kansas, MF3291.