
- Good first trap for most kitchens
- Pheromone lure for common pantry moths
- Useful after food inspection and cleanout
Pantry moths usually start quietly. You may see one small moth near the kitchen ceiling, then another near the cereal shelf. A few days later, you find webbing in flour, larvae in pet food, or tiny moths flying out of a cabinet when you open the door.
The most important thing to know is this: pantry moth traps help, but they are not the first step. To get rid of pantry moths, you need to find and remove the infested food source, clean the pantry carefully, place pheromone traps for monitoring, and move vulnerable dry goods into airtight containers.
This guide explains how to get rid of pantry moths step by step, where to place traps, what food to inspect, how long the process takes, and how to keep moths from coming back. If you are not sure whether your moths are in food or clothing, see our comparison guide: Pantry Moth Traps vs Clothes Moth Traps.
To get rid of pantry moths, inspect dry foods, throw away anything with webbing or larvae, vacuum shelves and cracks, wipe the pantry, place pheromone traps such as TERRO 2900 Pantry Moth Trap, and store new dry goods in airtight food storage containers. For larger pantry areas, Catchmaster XL Pantry Moth Traps can give broader coverage. Do not rely on traps alone if infested food is still in the pantry.
Signs You Have Pantry Moths
Pantry moths are usually linked to dry food. They may appear around pantry shelves, kitchen cabinets, dry goods storage, pet food, bird seed, or baking supplies.
Common signs include:
- Small moths flying near kitchen cabinets, pantry shelves, or the ceiling
- Webbing inside flour, cereal, rice, pasta, nuts, seeds, grains, or pet food
- Small larvae crawling inside food packages or along shelf corners
- Clumped or sticky-looking dry food
- Moths appearing when you open a cabinet door
- Repeated moth activity even after swatting visible adults
If moths are near closets, wool, cashmere, rugs, or stored clothing instead of food, you may have clothes moths. In that case, read our guide on how to get rid of clothes moths.
Step 1: Find the Infested Food Source
The source is usually one or more dry food items. Pantry moth larvae can develop inside packages, so the outside of a box may look normal while the food inside is already infested.
Inspect:
- Flour and baking mixes
- Cereal and granola
- Rice, pasta, oats, and grains
- Nuts, seeds, dried fruit, and trail mix
- Pet food and bird seed
- Chocolate, crackers, powdered mixes, and old snacks
- Bulk-bin foods and forgotten bags in the back of shelves
Open packages and look for webbing, larvae, clumps, holes, or moths inside. Do not only check opened food. Pantry moths can sometimes get into weak packaging or arrive inside a sealed-looking product.
Step 2: Throw Away Suspicious Food
When in doubt, discard suspicious dry goods. It is frustrating, yes — the pantry tax no one asked for — but keeping one contaminated bag can restart the whole problem.
Throw away food if you see:
- Webbing
- Larvae
- Small moths inside the package
- Clumped or dirty-looking dry food
- Chewed packaging
- Food stored open or loosely sealed near confirmed infestation
Seal discarded food in a trash bag and remove it from the home. Do not leave the bag in an indoor trash can overnight.
Step 3: Vacuum Pantry Shelves, Cracks, and Corners
After removing food, vacuum the pantry thoroughly. Pantry moth eggs and larvae can hide in shelf cracks, peg holes, corners, and tiny gaps behind packages.
Vacuum:
- Shelf surfaces
- Shelf corners and seams
- Cabinet peg holes
- Back corners of cupboards
- Baseboards near the pantry
- Edges around pantry doors
- Storage bins and baskets
After vacuuming, empty the vacuum contents outside or seal the contents in a bag before discarding.

Step 4: Wipe Down the Pantry
Once the pantry is vacuumed, wipe shelves and cabinet surfaces. Focus on food dust, crumbs, sticky residue, and shelf corners. Let everything dry before returning food or placing traps.
Avoid spraying pesticides directly on food, dishes, utensils, open containers, or food-contact surfaces unless the product label specifically allows that use. In most pantry moth situations, cleaning and food removal matter more than spraying.
Step 5: Place Pantry Moth Traps
After the pantry is emptied, inspected, vacuumed, and wiped down, place pantry moth traps to monitor adult activity. Traps are especially useful after cleanup because they show whether moths are still emerging from a source you missed.
For most homes, TERRO 2900 Pantry Moth Trap is a good first choice. It is simple, widely used, and designed for common pantry moth activity.
For larger kitchens, multiple cabinets, or bigger pantry zones, Catchmaster XL Pantry Moth Traps can be a better fit because the 6-pack gives you more coverage.
For small pantries or simple monitoring, Safer Home Pantry Pest Trap is a useful alternative.
Place traps:
- Inside or near the pantry
- Near dry food storage shelves
- Close to the area where you saw moths
- Away from direct food contact
- Where children and pets will not touch them
For a deeper product comparison, see our full guide to the best pantry moth traps.
Step 6: Move Dry Goods Into Airtight Containers
This is the prevention step that many people skip. Thin bags, folded cereal liners, and cardboard boxes are not enough for long-term pantry moth prevention.
After the cleanout, move vulnerable food into airtight containers. Vtopmart Airtight Food Storage Containers are a practical add-on because they protect the dry goods moths are most likely to use.
Use airtight containers for:
- Flour
- Rice
- Cereal
- Pasta
- Oats
- Grains
- Sugar
- Nuts and seeds
- Pet food and bird seed, if the container is large enough
Label containers with purchase dates when possible. Older forgotten food is one of the easiest ways pantry moths get a second chance.
Do You Need a Natural Spray?
Usually, pantry moth control starts with food removal, cleaning, traps, and airtight storage. A spray should not be the main solution.
If you want a plant-powered indoor spray as an optional add-on after the pantry is empty and clean, Wondercide Indoor Pest Control can be considered only for appropriate non-food-contact surfaces and only as directed on the label.
Use extra caution in kitchens:
- Do not spray food
- Do not spray open containers
- Do not spray dishes, utensils, or food-contact surfaces unless the label specifically allows it
- Do not use a spray instead of removing infested food
- Let treated areas dry fully before returning items, if the label directs that use
Best Product Setup for Pantry Moths
Here is a simple setup for most pantry moth problems:
| Situation | Best Tool | Why It Helps |
|---|---|---|
| Standard kitchen or first pantry moth problem | TERRO 2900 Pantry Moth Trap | Good general trap for monitoring adult moths after cleanout |
| Large pantry or multiple cabinets | Catchmaster XL Pantry Moth Traps | 6-pack coverage for several food storage zones |
| Small cabinet or simple follow-up monitoring | Safer Home Pantry Pest Trap | Simple fold-and-place trap for pantry pest moths |
| Long-term prevention after cleanup | Vtopmart Airtight Food Storage Containers | Protects dry goods and helps prevent spread between packages |
| Optional natural surface add-on | Wondercide Indoor Pest Control | Only for appropriate non-food-contact surfaces after cleanout, used as directed |
How Long Does It Take to Get Rid of Pantry Moths?
You may see improvement within a few days after removing the food source, but monitoring should continue for several weeks. Adult moths may keep appearing if larvae or eggs were missed in a package, shelf crack, or nearby storage area.
Use trap activity as feedback:
- No new moths after cleanup: continue prevention and keep dry goods sealed.
- A few moths at first, then fewer: the cleanout may be working; keep monitoring.
- Ongoing moths week after week: recheck dry foods, pet food, bird seed, and forgotten packages.
- Moths in both kitchen and closets: you may have two separate problems; compare pantry moths and clothes moths before choosing traps.
Common Mistakes to Avoid
Avoid these common pantry moth mistakes:
- Only placing traps. Traps do not remove larvae inside food.
- Keeping suspicious food. One missed bag can restart the problem.
- Ignoring pet food and bird seed. These are common hidden sources.
- Putting food back in weak packaging. Use airtight containers after cleanout.
- Spraying near food carelessly. Follow labels and avoid food-contact surfaces unless allowed.
- Using clothes moth traps in the pantry. Pantry moths and clothes moths need different lure systems.
Pantry Moths vs Clothes Moths
Pantry moths are tied to food. Clothes moths are tied to fabric. The traps may look similar, but they are designed for different pests.
Choose pantry moth control if moths are near:
- Flour
- Cereal
- Rice
- Pasta
- Pet food
- Bird seed
- Kitchen cabinets
Choose clothes moth control if moths or damage are near:
- Wool
- Cashmere
- Silk
- Rugs
- Closets
- Stored clothing
If you are still unsure, read Pantry Moth Traps vs Clothes Moth Traps before buying more products.
FAQ
What kills pantry moths?
The most important step is removing infested food. Pantry moth traps help catch adult moths, but they do not kill larvae inside flour, cereal, rice, or pet food packages.
Do pantry moth traps really work?
Yes, pantry moth traps can work well for catching and monitoring adult moths. They work best after you remove infested food and clean the pantry.
Where should I put pantry moth traps?
Place pantry moth traps inside or near the pantry, close to the food storage area where you saw moths. Keep them away from direct food contact and out of reach of children and pets.
Why do pantry moths keep coming back?
Pantry moths usually keep coming back because an infested food source was missed, dry goods are stored in weak packaging, or eggs and larvae remain in shelf cracks.
Can pantry moths live in unopened food?
They can sometimes appear in packages that look unopened, especially if packaging is thin, damaged, or poorly sealed. Inspect all dry goods near the problem area.
Do airtight containers stop pantry moths?
Airtight containers help protect clean food after a pantry cleanout and reduce the chance that moths spread from one product to another. They are a prevention tool, not a substitute for discarding infested food.
Can I use Wondercide for pantry moths?
Wondercide Indoor Pest Control can be considered only as an optional indoor spray add-on for appropriate non-food-contact surfaces after the pantry is empty and clean. It should not replace food disposal, cleaning, traps, or airtight storage.
Final Takeaway
To get rid of pantry moths, start with the source: inspect dry goods, throw away contaminated food, vacuum shelves and cracks, and wipe the pantry. Then place TERRO 2900 Pantry Moth Trap or Catchmaster XL Pantry Moth Traps to monitor adult activity. For long-term prevention, move flour, cereal, rice, pasta, and other dry goods into airtight food storage containers.










