In this guide
- Table of Contents
- What Are Pantry Moths?
- Weevils and Other Pantry Beetles
- Signs of Pantry Pests
- How to Get Rid of Pantry Moths and Weevils: Step by Step
- Freezing and Heating: Saving Lightly Infested Food
- Using Pheromone Traps the Right Way
- What Not to Do
- How to Prevent Pantry Pests
- When to Call a Professional
- Frequently Asked Questions
- The Bottom Line
Seeing small brown moths fluttering around the kitchen at night, or finding silky webbing in a bag of flour, usually means one thing: pantry moths. Add a few tiny beetles or weevils crawling out of the rice, and you have what entomologists call stored-product or “pantry” pests. The good news is that these insects don’t bite, don’t damage the house and can be cleared out without spraying anything near your food. This guide shows you how to identify pantry moths and weevils, how to get rid of them step by step, and how to keep them from coming back.
To get rid of pantry moths and weevils, find and throw out every infested package (look for webbing, clumps, larvae and tiny holes), freeze lightly infested or “maybe” items, empty the cupboard, vacuum cracks and corners, then wash shelves with soap and water. Store dry foods in airtight glass, metal or heavy plastic containers and use pheromone traps to confirm the moths are gone. Insecticide sprays are not recommended in food cupboards.
Table of Contents
What Are Pantry Moths?
In most U.S. homes, “pantry moth” means the Indianmeal moth (Plodia interpunctella) — a small moth that feeds on a wide range of dry stored foods. According to the University of California’s Integrated Pest Management program (UC IPM), adults are about 1/3 to 2/5 inch long with a wingspan of roughly 3/5 inch. At rest, the wings fold over the back and show a distinctive two-tone pattern: the part nearest the head is whitish gray, and the outer two-thirds is reddish brown with a coppery sheen.
The adult moths are only the visible part of the problem. Only the larvae damage food. Fully grown larvae are caterpillars about 1/2 inch long, white with a greenish or pinkish tint, and they leave silk threads behind wherever they crawl. That silk is why infested flour, cereal or birdseed often looks webbed or clumped together.
Females lay eggs directly on or near food, and the eggs hatch within a few days. UC IPM notes that in warm conditions the whole cycle from egg to adult takes about six to eight weeks, which is why a single forgotten bag can turn into moths in every cupboard over a couple of months.
When larvae are ready to pupate, they often leave the food and wander. University of Illinois Extension notes they frequently travel to where a wall meets the ceiling and spin a loose cocoon there. Finding small caterpillars on the ceiling or in a nearby drawer is a classic Indianmeal moth sign.
Pantry moth or clothes moth? Moths you see flying around the kitchen or living room at night are usually Indianmeal moths. UC IPM notes that clothes moths are smaller and hairier, and they are typically found around wool, closets and carpets rather than food. If your moths are in the closet, you have a different problem.

Weevils and Other Pantry Beetles
Moths aren’t the only insects that live in dry food. Several small beetles do too, and people often call all of them “weevils.” True weevils have a snout with the mouthparts at the tip. The most common pantry beetles are:
| Pest | Size | How to recognize it | Typical foods |
|---|---|---|---|
| Rice weevil | About 1/16–1/8 in | Reddish brown to nearly black, snout, four light spots on the wing covers; can fly | Rice, whole grains, popcorn, pasta |
| Granary weevil | About 1/8 in | Chestnut brown to black, snout, cannot fly | Whole grains, birdseed |
| Sawtoothed / merchant grain beetle | About 1/10 in | Flat, brown, six saw-like teeth on each side of the thorax | Cereal, flour, dried fruit, nuts, pet food |
| Red / confused flour beetle | About 1/7 in | Reddish brown and oval; no snout | Flour, cake mixes, cereal |
| Drugstore / cigarette beetle | About 1/8 in | Light brown and cylindrical | Spices, dried herbs, pet food, dry pasta |
| Warehouse beetle | About 1/8 in adult; larvae about 1/4 in | Adults mottled brown and yellowish; larvae very hairy | Cereal, seeds, pet food, dried goods |
Sizes and descriptions above come from UC IPM, Utah State University Extension and University of Illinois Extension. Weevil larvae develop inside individual grains, so a bag of rice can look clean until adults chew their way out and leave small round exit holes.
One beetle deserves special mention: UC IPM notes that the hairs (setae) on warehouse beetle larvae can irritate the mouth, throat and digestive tract, so food infested with these hairy larvae should be thrown away rather than salvaged.
The good news is that the cleanup approach below works for moths, weevils and pantry beetles alike. Insecticide treatments are not needed for any of them.
Signs of Pantry Pests
Because eggs and young larvae are so small, the first thing most people notice is the adults. Look for:
- Small moths flying in the kitchen, especially in the evening, or resting on walls and ceilings.
- Silk webbing inside packages, in the corners of boxes or in the folds of bags.
- Clumped flour, grains or cereal held together by silk.
- Small caterpillars on shelves, in drawers, or crawling up walls toward the ceiling.
- Tiny beetles in food, on shelves or on nearby countertops.
- Small holes in plastic bags or cardboard, and round exit holes in rice, beans or dried corn.
- Fine debris or frass (insect droppings) at the bottom of containers.
Not every speck in the pantry is an insect problem from the food itself. Rice-shaped dark droppings point to rodents instead; our guide to mouse droppings shows how to tell them apart and clean up safely. Small brown insects running across shelves at night may be cockroaches, which are covered in our cockroach prevention plan.
How to Get Rid of Pantry Moths and Weevils: Step by Step
Pantry pest control is mostly a thorough cleanout. Plan an hour or two and do it all at once; partial cleanups are the main reason infestations come back.
1. Empty the cupboard completely
Take every item out of the affected cupboard or pantry, plus nearby cupboards. Infestations often spread to other packages before they are noticed, so don’t stop at the bag where you first saw moths.
2. Inspect every package
Check flour, cereal, rice, pasta, oats, cornmeal, dried fruit, nuts, chocolate, spices, dried herbs, crackers, cake mixes, powdered milk, pet food and birdseed. The National Pesticide Information Center (NPIC) recommends looking for webbing, clumped grains or flour, droppings and holes in plastic bags, and checking box corners and bag creases where larvae hide. Don’t forget decorative items such as dried flower arrangements or Indian corn, which Illinois Extension lists as possible sources.
3. Throw out infested food
Seal heavily infested items in a plastic bag and take them to an outdoor trash bin right away. If you are unsure about a package, either discard it or treat it with cold or heat (see the next section) before using it.
4. Vacuum cracks, corners and shelf edges
Use a crevice attachment to vacuum the corners, shelf supports, hinge areas and the gaps where shelves meet the walls. This removes eggs, larvae and pupae that food removal alone leaves behind. Remove shelf liners and check under them. Then empty the vacuum canister or discard the bag outdoors so pests don’t crawl back out.
5. Check beyond the pantry
NPIC recommends looking for cocoons in nearby drawers, under shelf paper, and in the folds of towels and paper products. Check the ceiling corners and the top edges of cabinets for wandering larvae and cocoons.
6. Wash shelves and containers
Wash shelves with warm, soapy water and let them dry completely, since moisture favors pantry pests. Wash and dry reusable containers before refilling them, and don’t pour new food on top of old food.
7. Restock with sealed storage
Put clean food back in airtight containers, and keep monitoring for a few weeks. UC IPM points out that pantry pests can survive many weeks without food, so a few late stragglers aren’t unusual right after a cleanout.
Freezing and Heating: Saving Lightly Infested Food
For items that look clean but were stored next to an infested package, or that you’d rather not waste, temperature treatment kills hidden eggs and larvae without chemicals. University of Illinois Extension gives these guidelines:
- Freezing: keep the food at 27°F or colder for at least 3 to 7 days. Colder and longer is better. (A typical home freezer runs well below this.) NPIC similarly recommends about one week in the freezer.
- Heating: spread the food in a shallow pan and heat it in a 140°F oven for one hour.
Use these methods for lightly infested or “suspect” food only. Heavily infested items with lots of webbing, larvae or beetles are best thrown away, and anything with hairy warehouse beetle larvae should always be discarded. Many people also freeze new bags of flour or grain for a few days after buying them as a preventive step, especially after an infestation.
Using Pheromone Traps the Right Way
Pantry moth traps are sticky cards baited with a sex pheromone that attracts male Indianmeal moths. They are useful, but they are a monitoring tool, not a cure: they catch males, while females keep laying eggs as long as infested food remains.
- Use them after the cleanout to confirm the problem is gone, or to find a hidden source you missed.
- Place them near where the infestation was and check them weekly. UC IPM notes most traps stay effective for about three months.
- A new catch means it’s time to inspect food packages again.
- Moth traps don’t attract beetles. Some multi-species lures attract flour beetles, warehouse beetles and cigarette beetles too, so check the label if beetles were part of your problem.
Plain yellow sticky traps can also help you see where activity is concentrated, according to NPIC.
What Not to Do
- Don’t spray insecticides in food cupboards. UC IPM does not recommend insecticides for pantry pests and warns that spraying on or near food may harm people more than the pests. Illinois Extension adds that sprays give only temporary control unless the infested food is removed, and any food a spray touches must be thrown away.
- Don’t use mothballs in the kitchen. NPIC states mothballs should not be used around food or food preparation areas; they are only meant for airtight containers, and their fumes can be a risk to people and pets.
- Don’t rely on bay leaves or other home remedies. They don’t replace finding and removing the source.
- Don’t just set traps and wait. Without a cleanout, the larvae keep developing.
- Don’t trust thin plastic bags or folded-over packaging. UC IPM notes plastic bags are not adequate storage; use containers with tight-fitting lids instead.
How to Prevent Pantry Pests

- Use airtight containers with tight-fitting lids: glass, metal or heavy plastic. This also contains any new infestation to one jar instead of the whole cupboard.
- Inspect groceries and avoid buying damaged or broken packages.
- Buy in amounts you’ll use soon and rotate stock: older and opened products first.
- Keep rarely used items cold. UC IPM suggests storing infrequently used flours, grains and spices in the freezer if you have room, or in the refrigerator.
- Store pet food and birdseed in sealed bins, ideally away from the kitchen pantry. These are common starting points.
- Clean up spills promptly, including flour and sugar dust in corners and on shelf edges.
- Keep storage areas dry. Moisture favors pantry pests (and mold), so avoid storing food under sinks or near leaks.
- Keep a pheromone trap out for a few months after an infestation as an early warning system.
Good food storage also helps with bigger pests. Sealed containers remove an easy food source for mice, which is one part of our winter seal-up plan for keeping mice out.
When to Call a Professional
Most pantry moth and weevil problems are solved by a careful cleanout. Consider a licensed pest control professional if:
- You’ve done two thorough cleanouts and traps keep catching moths after several weeks.
- You can’t find any infested food, which may mean a hidden source such as stored birdseed, dried decorations, a wall void or a dead animal in a cavity.
- Beetles or larvae are spreading to rooms far from food storage.
- You also see signs of rodents or cockroaches, which need their own treatment plan.
A professional should focus on inspection and source removal, not routine spraying of food areas. For a broader overview of when DIY is enough, see our home pest control guide.
Frequently Asked Questions
What causes pantry moths?
Pantry moths usually come home in an already infested food package, such as flour, cereal, nuts, dried fruit, birdseed or pet food. Eggs and young larvae are too small to notice in the store. Once inside, the moths spread to other open or poorly sealed foods.
Is it dangerous to eat food with pantry moths or weevils?
Pantry moths and weevils don’t bite or sting, and the extension sources used here do not describe them as disease carriers. Still, infested food should not be eaten as-is: throw out anything with visible larvae, webbing or beetles. Food infested with hairy warehouse beetle larvae should always be discarded, because UC IPM notes those hairs can irritate the mouth, throat and digestive tract.
How long does it take to get rid of pantry moths?
The cleanout itself takes an afternoon, but expect to keep monitoring for several weeks. In warm conditions the life cycle takes about six to eight weeks, and larvae that wandered off to pupate can still emerge as adults after the food is gone. If traps stay empty for a month or more, the problem is usually solved.
Does freezing kill pantry moth eggs?
Yes. University of Illinois Extension recommends keeping food at 27°F or colder for at least 3 to 7 days, and NPIC suggests about a week in the freezer. Heating food in a 140°F oven for one hour also works.
Do pantry moth traps get rid of moths?
Not on their own. Pheromone traps catch only male moths, so they can’t stop females from laying eggs in infested food. Use them after you remove the source to confirm the infestation is over and to spot new problems early.
The Bottom Line
Pantry moths and weevils are annoying but very manageable. Find and remove every infested package, vacuum and wash the cupboards, freeze anything questionable, and move dry foods into airtight containers. Skip the sprays and mothballs, use pheromone traps to confirm the job is done, and rotate your stock so nothing sits forgotten long enough to become the next infestation. If moths keep appearing after two careful cleanouts, a pest professional can help track down a hidden source.
Sources
- University of California Statewide IPM Program. Pantry Pests.
- National Pesticide Information Center (Oregon State University). Pantry Moths.
- University of Illinois Extension. Common Pantry Pests (PDF).
- Utah State University Extension. Rice Weevil.
