Pantry Moths and Pests: Spot, Prevent and Clean Up
Short answer: Check new food, keep dry goods in sealed glass, metal or heavy plastic containers, and if you find webbing, larvae or beetles, throw the food out and clean the cupboard. Canada's food inspection agency says live insects in stored food are unappealing but do not pose a health risk,1 while the German Federal Environment Agency says infested food is no longer fit to eat and must be thrown away.2 Paper, cardboard and many thin plastic packs do not stop moths.3
How to recognise an infestation
Canada's food inspection agency lists three common signs: damage to stored food, live insects, larvae or pupae, and webbing in food, on packages, storage bins or shelves.1 Insects can get into unopened paper, thin cardboard, and plastic, foil or cellophane wrapped packages, so a sealed pack is no guarantee.1
| Pest | Typical signs | Foods often hit |
|---|---|---|
| Flour moth | Webbing or larvae | Flour, baking ingredients.3 |
| Dried-fruit moth | Webbing, larvae and moths in the cupboard | Nuts, dried fruit, chocolate.3 |
| Grain weevil | Small dark brown to black beetles | Grain products.3 |
| Bread beetle | Small red-brown to dark-brown beetles, pinhead-sized holes in food or packs | Bread, spices, coffee, biscuits.3 |
| Flour beetle | Small red-brown beetles, tracks in flour, clumped or discoloured flour | Flour and grain products.3 |
When moths turn up in food stores, the German Federal Environment Agency says they are mostly the dried-fruit moth or the flour moth, both about one centimetre long. The larvae spin a fine white webbing that covers and clumps the food, and they can bore through packaging.2 Adult moths are active at dusk and at night and the larvae by day, so an infestation is often noticed only when the adults fly around the home.2 One dried-fruit moth lives about 10 to 14 days, and in that time the female lays up to 300 eggs in narrow cracks and joints.2
How to prevent them
- Check what you bring home. Look at new food for damage to the pack and for signs of moths straight after shopping.2 Canada's food inspection agency says packages should be sealed and unbroken, with no evidence of insects.1
- Decant dry food at once. The German advice centres say to move dry food straight into containers with a tight lid: glass, ceramic or sturdy plastic, or jars with a rubber seal or clamp lid.3
- Buy what you will use. Buy dried food in smaller quantities that can be used in a few months, and follow the first-in-first-out rule.1
- Keep it clean, cool and dry. Keep storage areas and counters clean at all times,1 store food cool and dry, and ventilate when you cook.3
- Screen the windows. Fly screens on windows and balcony doors keep moths and other insects out of the home.2
Rodent-proof containers are covered in containers that keep pests out. For what rice and flour need in particular, see storing rice and checking it and keeping flour fresh, and for the cupboard itself see temperature and humidity in food storage.
If you find them: clean-up steps
- Find and remove the infested food. Check which foods are affected and throw them away outside the living area, in the outdoor bin, so the pests do not spread through the household waste.3 To stop them spreading before disposal, infested food can be sealed in an airtight plastic bag and frozen for one to two days.4
- Empty and clean every cupboard. Take everything out and clean all surfaces thoroughly, including cracks, joints and the holes for shelf pins, where larvae can hide, then let the cupboards dry.3 The Federal Environment Agency suggests cleaning with vinegar water and warming hard-to-reach cracks with a hairdryer, and moths flying about or sitting on walls can be vacuumed up.2 Canada's food inspection agency says to empty the vacuum cleaner afterwards and to wash or disinfect all surfaces.1
- Look for wandering larvae. With moths it is especially important to find the larvae that have left the food: they spin themselves into corners of cupboards or where the wall meets the ceiling.4
- Protect what is left. Move all unaffected food into containers with tight lids.3
- Check every two to three days. Look at the food and cupboards for new signs for a while.3
Freezing and heating: no single time
Public pages give different times for freezing or heating food against pests, and they describe different cases.
| Source | What it says |
|---|---|
| Federal Environment Agency (Germany), dry pet food | After purchase, dry pet food can be frozen for at least 24 hours at −18 °C, which kills all developmental stages. Heating it in the oven to 60 °C for one hour also works but can change the product. 2 |
| Federal Environment Agency (Germany), infested food | Infested food can be sealed in an airtight plastic bag and frozen for one to two days before it is thrown away, to stop it spreading. 4 |
| Federal Office for the Environment (Switzerland) | As a precaution, stock that seems uninfested can be heated in the oven at 60 °C for 30 minutes or frozen at −18 °C for one week; for flour, freezing is preferable to protect its baking quality. 5 |
What to do: Our reading: freezing or heating protects food you have just bought or that looks clean. It is not a way to rescue food that is clearly infested, which the pages above say to throw away. The longest time stated is one week at −18 °C, and freezing is gentler on flour than heat.5
Traps and chemicals. Pheromone traps attract male moths and help detect an infestation and gauge its size, but they cannot clear it on their own.32 The German advice centres say chemical pest products are mostly not needed, prefer bait boxes to sprays and vaporisers, and suggest professional help if an infestation will not go away or keeps coming back.3 The Federal Environment Agency says to avoid insecticides and to take expert advice before using biocides if the problem is stubborn.2
Is infested food dangerous?
Live insects in food: a health risk or not?
The agencies agree on what to do with infested food, but they describe the risk differently.
| Source | What it says |
|---|---|
| Canadian Food Inspection Agency | Finding live insects in stored food may be unappealing, but it does not pose a health risk. You may throw the food away or return it to the shop. 1 |
| Federal Environment Agency (Germany), moths | Eating infested products can lead to allergies and to skin or stomach and gut illnesses, so infested food is no longer suitable for eating and must be thrown away. 2 |
| Federal Environment Agency (Germany), mould | Insect infestation raises the temperature and moisture in the stored food, which favours mould, and mouldy food should no longer be eaten because moulds form toxins. 4 |
What to do: What to do: throw the affected food away and clean the cupboard. That is the step all the pages above agree on.
Sources
Every figure on this page comes from the public sources below. Each source was opened on the date shown.
- Live insects in packaged food – Canadian Food Inspection Agency. Opened 22 November 2026.
- Lebensmittelmotten – Umweltbundesamt (German Federal Environment Agency). Opened 22 November 2026.
- Vorratsschädlinge: Wie kann ich Motten und Käfer in Lebensmitteln verhindern? – Verbraucherzentralen (German consumer advice centres). Opened 22 November 2026.
- Vorratsschädlingen keine Chance geben – Umweltbundesamt (German Federal Environment Agency). Opened 22 November 2026.
- Autres ravageurs des denrées stockées – Office fédéral de l'environnement OFEV (Switzerland). Opened 22 November 2026.
General education, not medical or legal advice. In an emergency, call your local emergency services. Safety Disclaimer