In brief: Even a beautiful pantry can have uninvited guests. When insects appear in food, do not start with spraying: find infested packages, check nearby products and clean storage areas. A beetle in rice, a moth by a cupboard and a fly above fruit are not necessarily the same problem.

Start where you found them
Inspect apparently closed packages when signs warrant it, including flour, rice, cereals, nuts, spices and dry pet food. Look for insects, larvae, webbing or package holes. You do not need to discard every pantry item, but an infested package should not return to the shelf.
No activity inside food? Start with pest identification guide to distinguish stored-food insects from cockroaches, ants and small flies.
| Finding | Possibility | Guide |
|---|---|---|
| Snouted beetle in grains | Rice weevil | Rice weevil |
| Moths and webbing in dry products | Pantry moth | Pantry moth |
| Beetles in flour | Stored-food beetles; identify species | Flour beetles |
| Flies near fermenting fruit | Fruit flies | Fruit flies |
Remove the source, not your entire kitchen
Check suspect products separately. Seal infested food for disposal outside, vacuum crumbs and accessible cracks, empty the vacuum and clean shelves. Let them dry before returning unaffected food in sealed containers.
For recurring activity, record the shelf and timing. An overlooked source can sustain the infestation even with spotless counters. Bay leaves and oils do not replace checking food and removing infested packages.
What about flies above the fruit?
Check ripe fruit, drink containers, bins, wet cloths and fermenting residue. A trap may catch adults without removing the breeding source. See our guides to fruit flies and drain flies.
How are pantry pests treated?
Treatment starts with identification and source removal. Findings determine cleaning, storage, monitoring and, where appropriate, targeted professional treatment according to the label. Spraying food, utensils or preparation surfaces is not a default solution.
A pheromone trap targets particular species, not every kitchen insect. Trap activity helps monitoring but does not certify that all packages are clear. Preparation and re-entry depend on the actual treatment.
| Action | Role and limit |
|---|---|
| Remove an infested package | Removes a known source; nearby items still need checking |
| Cleaning and sealed storage | Reduce residue and food access |
| Species-specific trap | Supports monitoring; does not replace source removal |
How can you reduce recurrence?
Buy manageable quantities, inspect new packages, keep dry food sealed and use older stock first. Dog food and nuts on the top shelf count too, not just flour.
We do our part and you do yours: checking food and maintaining storage are part of treatment. See the University of Minnesota pantry pest guide for further information.
Frequently asked questions
Do pantry bugs mean a dirty home?
Not necessarily. Pests can arrive in purchased products. Cleaning and inspecting packages help limit establishment.
Can I just spray the cupboard?
Not as a first step and never onto food. Identify and remove the source; any pesticide use must suit its label and location.
Must all food be discarded?
Not automatically. Check individual products, discard infested items and isolate suspect products pending assessment.
Your next step
Uninvited pantry guests? Photograph the insect and packaging, tell us which products are affected and Message Mezikis.

