If you are seeing small moths or beetles around the kitchen, the practical answer is to stop buying replacement food until you have found and removed the package they came from. Pantry insects usually arrive inside an infested package, and by the time adults are visible they have often spread to other packages. So the first job is a package-by-package search of everything dry and stored, not a shopping trip. Work shelf by shelf, open each container, and look for webbing in tight corners, tiny holes, live insects, or clumped food. Anything with evidence goes out. Then clean the shelves and keep a simple record of what you found and where, so you can tell whether new activity appears after the source is gone.
Start with the packages, not the shelves
Pull everything out of the pantry and treat each item as a suspect: flour, cereal, rice, cornmeal, pasta, nuts, dried fruit, chocolate, candy, spices, pet food, bird seed, and dried herbs. Open bags and boxes rather than judging by the outside, since small insects and larvae are easy to miss. Look inside the folds and seams of packaging for webbing, and check for tiny holes in containers. Beetles and moths differ in what they attack, but the search method is the same. Set aside anything with evidence and plan to discard it; do not try to salvage part of a package by picking insects out.
Decide what stays and how it is stored
Once the suspect packages are gone, the question becomes how to hold the food you keep. The practical choice is a container with a tight-fitting lid rather than a plastic bag, because bags do not seal reliably. Wash an old container before refilling it, and do not top off new food over old food, since that mixes a clean supply with a possibly infested one. For items you use rarely, such as flours, grains, and spices, consider freezer storage if you have the room. These are storage decisions, not treatments, and they are the ones most likely to keep a reinfestation from taking hold.
Clean the space and keep watching
After removing the infested food, vacuum the corners and crevices of cupboards and wash the shelves with soap and water. Pantry insects can survive for many weeks without food, so expect to keep seeing occasional activity after the source is gone. A pheromone trap labeled for pantry pests can help you detect whether insects are still present, and continuing to use one after cleanup gives you a way to judge whether the problem is resolving. If activity continues well beyond that, or you cannot find the source, that is the point to bring in a qualified professional rather than buying more products.
What not to reach for
Insecticides are not recommended for pantry pests, and spraying pesticides on or near food can pose more risk to your household than the insects do. Even a large infestation is generally handled by removing infested material and following the storage and cleaning steps above. If you are considering any product, read the label first and confirm where it may be used; a product meant for outdoor use is not a substitute indoors. If you hire help, ask the provider to find and correct the source before applying anything, and ask what they plan to use and where.
Your takeaway checklist
- Empty the pantry and open every package, including spices, pet food, and bird seed.
- Look for webbing in seams, tiny holes, live insects, or clumped food.
- Discard anything with evidence rather than salvaging part of it.
- Move kept dry goods into containers with tight-fitting lids; wash old containers before refilling.
- Vacuum crevices and wash shelves with soap and water.
- Keep a short log of dates, locations, and what you found so you can judge whether activity is fading.
Keep this in mind
The package is the lead, not the shelf. Find it, discard it, reseal what you keep, clean the space, and watch with a labeled trap before you restock. If you cannot locate the source or activity persists, ask a qualified professional to find and correct it before any product is applied.
Sources and further reading
Sources checked 2026-11-13. External organizations do not endorse this website. Our organizing frameworks are editorial suggestions, not a substitute for model-specific instructions, local requirements or professional assessment.