A stocked pantry is only worth something if it is still good when you need it. Two kinds of pests can ruin it quietly: tiny insects that hatch inside bags of flour and rice, and mice that move indoors when the nights turn cold. Fall and winter are when both problems show up in garages, basements and backup shelves, often right before a storm or an outage. This guide covers how pests get in, how to store food so they can’t, what to do when you find them, and the safety rules most pantry articles leave out.
Short answer
Store dry food in tightly closed glass, metal or thick rigid plastic containers, not in paper bags, cardboard or thin plastic. Freeze newly bought flour, grains and beans at 0°F (-18°C) for at least 4 days to kill hidden insect eggs, and keep long-term food in sealed Mylar bags inside a rigid bucket or metal bin, because mice can chew through Mylar. Before winter, seal any gap larger than 1/4 inch (6 mm), use snap traps instead of loose poison near food, and never sweep or vacuum dry mouse droppings.
In this guide
- How pests get into a stocked pantry
- How to identify common pantry pests
- How to store emergency food so bugs and mice stay out
- Freezing vs. oven heating: killing hidden eggs safely
- How to mouse-proof your home before winter
- Safe ways to deal with mice
- How to clean up mouse droppings safely
- Winter storage, garages and power outages
- Pantry pest myths that waste time or create hazards
- Printable pantry pest prevention checklist
- Frequently asked questions
- Sources
How pests get into a stocked pantry
Insects usually come home with the groceries
Most pantry insects are not a sign of a dirty kitchen. University extension services say they often arrive as eggs or larvae inside packages that look perfectly sealed, picked up somewhere between the farm, the mill, the warehouse and the store shelf. Once home, adults and larvae can chew through paper, cardboard, cellophane and thin plastic and spread to other packages. One infested bag can seed a whole shelf in a few weeks.
Even food that passes inspection is not completely insect-free. The FDA sets action levels for natural defects it considers unavoidable; for wheat flour, action starts at an average of 75 or more insect fragments per 50 grams. That is not a reason to panic, but it is a good reason to freeze bulk purchases before they go into long-term storage.
Mice move in when the nights turn cold
As temperatures drop in the fall, mice look for warmth, shelter and food, and garages, basements, sheds and crawl spaces are the easiest way in. A house mouse can squeeze through a gap about 1/4 inch (6 mm) wide, roughly the width of a pencil. They rarely travel more than about 30 feet from their nest, so a box of crackers or a bag of dog food near a gap in the garage is all it takes.
How to identify common pantry pests
Knowing what you are looking at tells you where to look for the source and what you can save.
| Pest | Signs | What it eats | What to do |
|---|---|---|---|
| Rice and granary weevils | Small dark beetles with a snout; round exit holes in whole grains | Whole grains and seeds: rice, wheat, corn, barley, popcorn | Throw out the infested package; vacuum the shelf; freeze new grain before storing |
| Indianmeal moth | Small moths with copper-colored wing tips; cream caterpillars on walls or ceiling; silk webbing and clumped food | Flour, cereal, nuts, dried fruit, chocolate, spices, pet food, birdseed | Find and discard the source; vacuum cracks, hinges and shelf-pin holes; use moth traps only to monitor |
| Sawtoothed grain beetle | Slim brown beetle about 1/10 inch with saw-like edges on the thorax | Flour, cereal, oats, pasta, dried fruit, nuts, pet food | Discard infested items; check pet food and birdseed; seal what is left in rigid containers |
| Red and confused flour beetles | Shiny reddish-brown beetles, no snout; gray or pinkish flour with a sharp smell | Flour, mixes, cereal, nuts, spices (not intact whole grains) | Discard the flour; do not sift and reuse it |
| Cigarette and drugstore beetles | Tiny humped brown beetles flying to windows; pinholes in spice tins and bags | Spices (paprika, chili), herbs, tea, pasta, pet food, dried flowers | Check the spice rack and tea; discard infested items; store spices in airtight glass |
| Warehouse beetle | Mottled oval beetle; active larvae covered in stiff bristly hairs | Cereal, flour, chips, nuts, dried beans, pet food | Always throw the food out: the larval hairs can irritate the mouth and gut |
| House mouse | Dark pointed droppings, gnawed bags, shredded nests, scratching at night, musky smell | Almost any accessible food, especially grain, seeds and pet food | Seal gaps, set snap traps, clean droppings wet (see below) |
How to store emergency food so bugs and mice stay out
Glass, metal or thick plastic, never the original bag
Paper bags, cardboard boxes and zipper bags are not barriers; insects and mice go straight through them. Move dry staples into containers with tight-fitting lids made of glass, metal or heavy rigid plastic. Glass and metal are the strongest against a determined mouse. Wash and dry a container completely before you refill it, and don’t pour new flour on top of old.
Mylar bags, oxygen absorbers and 5-gallon buckets: what each one stops
- Mylar bags with oxygen absorbers block light, moisture and oxygen. Without oxygen, insects can’t survive, which is why they are popular for rice, beans and wheat. But Utah State University Extension is blunt about the weak point: rodents can easily chew through Mylar.
- Oxygen absorbers are only for very dry food. USU Extension says to use them only with dry foods of about 10% moisture or less. In a low-oxygen bag, moist food can allow the bacteria that cause botulism to grow.
- Food-grade buckets protect the bags from chewing and crushing, but plastic lets oxygen back in slowly over time. On their own, without a sealed Mylar bag inside, they are fine for food you rotate often, not for years of storage.
- The combination is what works: very dry food, sealed in Mylar with an absorber, inside a rigid bucket or a galvanized metal bin.
Where you keep it matters as much as what you keep it in
- Off the floor. Keep buckets, tubs and cans on shelves at least 6 inches (15 cm) up, a common food-safety benchmark, and never directly on bare concrete. USU Extension warns that concrete wicks moisture into cans and bags.
- Away from walls, with a little space to look behind and under. Mice travel along walls, and a gap lets you spot droppings early.
- Cool and dry. USU Extension lists 40–60°F (4–16°C) as ideal for long-term grain and beans. Heat speeds up insect growth and shortens shelf life.
- Date and rotate. Write the month and year on each container and use the oldest first.
- Lock up pet food and birdseed. They feed both insects and mice. Keep them in metal or rigid sealed bins, and pick up pet bowls overnight.
Building a backup supply from scratch? Our 2-week emergency pantry for winter outages covers what to buy; this guide is about keeping it safe.
Freezing vs. oven heating: killing hidden eggs safely
How long to freeze dry goods
Freezing is the safest way to kill eggs and larvae you can’t see. University of Minnesota Extension recommends 0°F (-18°C) for at least 4 days. For dense or large packages, give it longer: USU Extension’s guidance runs up to 7 days so the cold reaches the center. A quick 24- or 48-hour freeze is not enough, and USU notes that short freezes of large bags of wheat may kill live insects but not their eggs. If you freeze food before sealing it in Mylar, let it come back to room temperature first so condensation doesn’t add moisture.
Skip the oven for flour, and throw out what is clearly infested
Some guides suggest heating grain in the oven. Temperatures and times vary a lot between universities, and USU Extension warns against heating flour or other finely ground grain at all because of the risk of fire or explosion. Freezing is the better tool.
If food already has visible insects, larvae, webbing or a strange smell, throw it out in a sealed bag in the outdoor trash. Sifting doesn’t remove eggs, droppings or the irritating larval hairs of some beetles, and freezing puts mold and bacteria to sleep without killing them.
Moth traps monitor; they don’t cure
Pheromone traps catch adult male moths. They are useful for telling you whether moths are still around, but the females that have already mated keep laying eggs. Find the source, throw it out, vacuum the cracks and shelf holes, and use the trap to confirm the problem is gone. Adults can keep emerging for up to about 3 weeks after you remove the source.
And don’t spray insecticides in the pantry. Extension services agree that sprays don’t reach larvae inside packages, and any food they touch has to be thrown away.
How to mouse-proof your home before winter
Seal every gap over 1/4 inch (6 mm) with chew-proof material
- Small holes around pipes and cables: pack them with copper mesh or coarse steel wool, then seal with caulk so mice can’t pull it out. Copper mesh doesn’t rust, which helps in damp basements.
- Larger holes: metal lath, sheet metal or cement.
- Vents: cover attic, crawl space and foundation vents with 1/4-inch hardware cloth. Do not put fine mesh over a dryer vent; trapped lint is a fire risk. Use a self-closing flap instead.
- Doors: add door sweeps, and fit the garage door with a rubber bottom seal. Vinyl stiffens in the cold and seals poorly.
- What doesn’t work: expanding foam, wood, plastic and duct tape on their own. Mice chew through them.
Seal and trap at the same time. Blocking the holes first can trap mice inside your walls.
Clear the outside perimeter
Keep firewood stacked off the ground and away from the house, trim brush near the foundation, and keep compost and garbage in closed bins. The CDC recommends woodpiles be at least 100 feet from the house where space allows and raised a foot off the ground.
Safe ways to deal with mice
Snap traps first
The CDC and University of California IPM program both put snap traps first. Set them along walls in a “T” shape, with the baited end against the wall, behind appliances and in dark corners, out of reach of children and pets. A pea-sized bit of peanut butter is enough. Check traps every day and keep trapping until you go a full week without a catch or new droppings.
Avoid glue traps and live traps. The CDC advises against both because frightened mice urinate in them, which raises the risk of spreading disease. Glue traps also catch birds and pets and cause long suffering. Released mice often come back or die from cold and predators.
If you use poison: the rules in the US and Canada
- United States: under EPA rules, consumer rodent poisons must come in tamper-resistant bait stations, as blocks or paste. Loose pellets and the strongest anticoagulant poisons are no longer sold to homeowners. Some states, such as California, restrict them further.
- Canada: Health Canada’s domestic-class rodent baits must be sold with a bait station and used only inside it. British Columbia has banned the strongest anticoagulants for most uses since 2023.
- In both countries: never place bait loose, on pantry shelves or anywhere children, pets or wildlife can reach it. Poisoned mice often die inside walls, leaving a smell. Follow the label exactly.
Suspected poisoning? In the US, call Poison Control at 1-800-222-1222 (24/7). In Canada, call 1-844-POISON-X (1-844-764-7669); in Québec, call 1-800-463-5060. For pets, call your veterinarian. Call 911 for severe symptoms.
How to clean up mouse droppings safely
Rodent urine and droppings can carry diseases, including hantavirus, salmonella and lymphocytic choriomeningitis virus (LCMV). Hantavirus is rare and most US cases come from deer mice in the western states, but you can’t tell droppings apart by looking, so the official advice applies to all rodents.
- Air it out first. Open doors and windows for 30 minutes before you start, and leave the area while it airs (CDC).
- Never sweep or vacuum dry droppings, urine or nests. It sends particles into the air. The CDC says this applies even to HEPA vacuums.
- Gloves on. Rubber, latex, vinyl or nitrile. In Canada, PHAC also recommends an N95 respirator in enclosed spaces.
- Soak, then wipe. Spray with a registered disinfectant or a fresh bleach solution until very wet. The CDC’s recipe is 1.5 cups of household bleach in 1 gallon of water (1 part bleach to 9 parts water). Let it soak 5 minutes or as the label says (CDC); PHAC in Canada says 10 minutes. Then wipe up with paper towels.
- Bag it twice, throw it in a covered bin, disinfect the surfaces, and wash your gloved hands before taking the gloves off, then wash your hands again.
- Food: throw out any food a rodent may have touched, and any cardboard or paper packaging. Sealed glass, metal or hard plastic containers can be disinfected on the outside.
Pregnant or immune-compromised? Let someone else do the cleanup. The CDC advises pregnant women to avoid contact with rodents and their droppings because LCMV, carried by common house mice, can cause serious birth defects. If you or anyone in the household gets flu-like symptoms or trouble breathing in the weeks after cleaning up droppings, see a doctor and mention the rodent exposure.
Winter storage, garages and power outages
- Dry goods sealed in Mylar inside a rigid bin can handle a cold garage. Cans and glass jars should not freeze: expanding contents can break the seal.
- If cans froze anyway, USDA FSIS says to throw out any can that is swollen, and any frozen can that thawed above 40°F (4°C). Move cans and jars into the house before the deep cold.
- Don’t leave food in a parked car or an idle vehicle; mice nest in cars that sit.
- During a winter outage, don’t put food outside in the snow. USDA FSIS warns that sun can warm it above 40°F and animals will find it. Freeze water outside instead and use the ice in coolers. Our guides to fridge and freezer safety after an outage and holiday food safety when the power goes out have the full rules.
- Water counts too. Keep stored water off the floor and sealed; see how to store drinking water for emergencies.
Pantry pest myths that waste time or create hazards
| Myth | What the evidence says |
|---|---|
| Bay leaves keep weevils out | University of Minnesota Extension says there is no evidence bay leaves (or spearmint gum) prevent or get rid of pantry insects. |
| Peppermint oil keeps mice away | NC State Extension says scent repellents are not a reliable way to control mice; the smell fades and mice get used to it. |
| Ultrasonic plug-ins drive pests out | In 2001 the FTC warned more than 60 makers and sellers that claims of ultrasonic pest control need scientific proof. Sound is blocked by furniture and walls, and mice get used to it. |
| A cat will solve the problem | USDA APHIS cites field research showing cats rarely control rodent populations. Mice nest where cats can’t reach. |
| Dryer sheets or mothballs in the pantry | Penn State Extension calls dryer sheets an urban myth. Mothballs are pesticides labeled only for clothes moths in airtight containers; using them in a pantry is against the label, and the fumes are toxic (NPIC). |
| Food-grade diatomaceous earth is a safe pantry pesticide | NPIC warns that food-grade DE is not registered or tested as a pesticide, and the fine dust irritates the lungs. Don’t mix it into food buckets. |
| An airtight Tupperware is enough | Not if the eggs are already in the flour, if flour dust breaks the seal, or if a mouse chews a thin lid. Freeze first, and use glass or metal where mice are a problem. |
Printable pantry pest prevention checklist
- Check bags for pinholes, torn seams, webbing or flour dust before you buy.
- Freeze new flour, grain, oats and dried beans at 0°F (-18°C) for at least 4 days.
- Move dry goods out of paper, cardboard and thin plastic into glass, metal or rigid containers.
- Seal long-term food (very dry only) in Mylar with oxygen absorbers, inside a rigid bucket or metal bin.
- Keep storage at least 6 inches off the floor, never on bare concrete, with space to inspect.
- Label containers with month and year; use the oldest first.
- Store pet food and birdseed in sealed metal or rigid bins.
- Each fall, seal gaps over 1/4 inch with copper mesh or steel wool plus caulk.
- Add door sweeps and a rubber garage door seal.
- Use snap traps along walls; no glue traps, loose poison, mothballs or sprays near food.
- Clean droppings wet, never dry: air out, gloves, soak, wipe, double-bag.
- Bring cans and jars indoors before freezing weather; never store food in the snow during an outage.
Frequently asked questions
Can mice chew through Mylar bags or plastic buckets?
Yes. USU Extension warns that rodents can easily chew into Mylar, and determined mice can gnaw plastic lids. Keep Mylar bags inside rigid buckets or metal bins, and keep the area clean so food smells don’t draw them in.
How long should I freeze flour to kill weevil eggs?
At 0°F (-18°C), at least 4 days, and up to a week for big or dense packages. A 24- or 48-hour freeze can miss eggs.
Can I sift bugs out of flour and still use it?
No. Sifting leaves eggs, droppings and allergens behind. Throw infested flour out in a sealed bag.
Do pantry moth traps get rid of an infestation?
Not on their own. They catch adult males so you can monitor. You still have to find and remove the infested food and clean the shelves.
Are glue traps or live traps better than snap traps?
No. The CDC advises against both because trapped mice urinate in fear, raising disease risk. Snap traps placed along walls work best.
I already vacuumed mouse droppings. What now?
Don’t vacuum again. Air the room out, wear gloves, and clean anything left with the wet bleach method above. Hantavirus is rare, but if you get fever, aches or trouble breathing in the following weeks, see a doctor and mention the exposure.
Can I keep emergency food in an unheated garage in winter?
Sealed dry goods in rigid bins can handle the cold. Cans and glass jars should not freeze, and garages are where mice get in, so check them often.
Sources
- University of Minnesota Extension: Pantry pests
- UC IPM: Pantry Pests
- UC IPM: House Mouse
- Utah State University Extension: Food Storage Packaging
- Utah State University Extension: Storing Wheat
- Utah State University Extension: Winter Pests in Your Pantry
- FDA: Food Defect Levels Handbook
- CDC: Seal Up
- CDC: Trap Up
- CDC: How to Clean Up After Rodents
- CDC: About Hantavirus
- CDC MMWR: LCMV and pregnancy
- Public Health Agency of Canada: Hantavirus prevention
- Health Canada: Rats and mice
- Government of British Columbia: Rodenticide ban
- US EPA: Rodent Control Pesticide Safety Review
- NC State Extension: Managing house mice
- FTC: Warning on ultrasonic pest-control devices (2001)
- NPIC: Diatomaceous earth FAQ
- Penn State Extension: House mouse (AGRS-82)
- USDA FSIS: Shelf-Stable Food Safety
- USDA FSIS: Keep Your Food Safe During Emergencies
- HRSA: Poison Help (US)
- Health Canada: 1-844-POISON-X
Keep reading
Home Canned Butter Safety
How Long Does Home-Canned Meat Last? When to Throw It Out, and What Old Preserving Methods Got Right
Holiday Food Safety When the Power Goes OutGet the free 9-page sample
The 2-Minute Winter Battery Check, sent to your inbox.

