Pantry Moths and Fruit Flies: Keeping Kitchen Pests Away
Few things are as frustrating as opening a bag of rice to find webbing inside, or watching a cloud of tiny flies rise from the fruit bowl. Pantry moths and fruit flies are two of the most common kitchen pests in Lower Mainland homes, especially in late summer and fall. The good news is that both can usually be solved without sprays. Here's how to spot them, clear them out and keep them from coming back.
The short version
Pantry moths usually arrive in an infested package of grains, nuts, dried fruit, pet food or birdseed. Find and throw out infested food, vacuum and wash the shelves, and store dry goods in airtight glass or hard plastic containers. Pheromone traps help you monitor but won't solve the problem on their own. Fruit flies breed in overripe produce, drains and food residue, so refrigerate ripe fruit, take out kitchen scraps often, clean your bins and use a simple vinegar trap. Insecticides aren't recommended for either pest.
Meet the usual suspects
The small moth fluttering around your kitchen at night is most likely an Indian meal moth, the most common pantry moth. The adults are small and greyish, with bronze or copper-coloured tips on their wings. They don't eat food themselves. The damage comes from the larvae, small cream-coloured caterpillars that feed inside dry goods and leave behind silky webbing.
Fruit flies are the tiny flies, often with red eyes, that hover around fruit bowls, garbage cans and sinks. They're drawn to anything ripe, fermenting or sugary, and they can multiply quickly in a warm kitchen.
Neither pest means your kitchen is dirty. Pantry moths almost always come home in a package from the store, and fruit flies can arrive on produce or slip in through a screen. What matters is finding the source and cutting off their food supply.
Signs of pantry moths
- Small moths flying in the kitchen, often in the evening.
- Silky webbing in food packages, especially in the folds and corners.
- Clumped flour, cereal or grains held together by webbing.
- Tiny holes in plastic bags or cardboard boxes.
- Small caterpillars or cocoons in cupboard corners, along shelf edges or where the walls meet the ceiling.
The foods most often infested include flour, cereal, oats, rice, pasta, nuts, dried fruit, spices, chocolate, dry pet food and birdseed. Pet food and birdseed are common culprits, and they're often stored in a garage or a cupboard that doesn't get checked very often.
Clearing out a pantry moth problem
By the time you see moths, the problem has usually spread beyond one package. The fix is thorough rather than complicated:
- Empty the cupboard and check every dry food item, including unopened packages, spices and pet food.
- Throw out anything with webbing, larvae or holes. Seal it in a bag and take it outside to the garbage.
- Vacuum shelves, corners, cracks and the underside of shelf edges, then empty the vacuum outside.
- Wash the shelves with soap and water and let them dry before putting food back.
- Freeze items you're unsure about for several days to kill any hidden eggs or larvae.
Extension experts don't recommend spraying insecticides in food cupboards. Cleaning and removing the source is more effective, and it keeps chemicals away from your food. Pantry moths can survive for weeks, so keep watching for a while after the cleanup.
Storing food to keep them out
Good storage is the best long-term defence. Move dry goods into airtight glass, metal or hard plastic containers with tight-fitting lids. Paper, cardboard and thin plastic bags are easy for larvae to get into and out of.
A few other habits help. Buy grains, nuts and pet food in amounts you'll use within a reasonable time, and use older items first. Check new packages before you put them away. Store large bags of pet food and birdseed in sealed bins rather than open bags. And give your pantry a quick check and wipe every few months, so a small problem doesn't become a big one.
Pheromone traps for pantry moths are useful as a monitoring tool. They attract and catch male moths, which tells you whether moths are still around and roughly where. They won't end an infestation on their own, but they're a good early warning after a cleanup.
Why fruit flies show up
Fruit flies are most common in late summer and early fall, when there's plenty of ripe produce around and kitchens are warm. They lay their eggs on overripe fruit and vegetables, in the residue at the bottom of garbage and compost bins, in sink drains and on anything sticky or fermenting, such as spilled juice or recycling that wasn't rinsed.
Because they breed so quickly, a few flies can turn into a cloud in a short time. The key is to find and remove the places they're breeding. A trap on its own catches adults, but new ones keep hatching until the source is gone.
Getting rid of fruit flies
- Refrigerate ripe fruit and vegetables, or eat them quickly, and throw out anything overripe or damaged.
- Check for forgotten produce, such as a potato or onion at the back of a cupboard.
- Wipe up spills and crumbs, and clean under appliances and around the sink.
- Take out garbage and kitchen scraps often, and wash and dry the inside of the bins.
- Rinse bottles, cans and containers before they go into the recycling.
- Flush drains with hot water and scrub the drain opening and overflow.
To catch the adults, make a simple trap. Pour a little apple cider vinegar into a jar, add a drop of dish soap and cover the top with plastic wrap poked with a few small holes. The flies are drawn in by the smell and can't get out. Set a few traps near problem spots and refresh them every few days.
Kitchen scraps and the green bin
Across the Lower Mainland, most households collect food scraps for the green bin, and a kitchen catcher full of peels and cores is exactly what fruit flies are looking for. A few habits keep it under control:
- Use a catcher with a tight-fitting lid, and empty it into the outdoor green cart every day or two in warm weather.
- Line it with newspaper or a liner your municipality accepts, and wash and dry the catcher regularly.
- In hot weather, store scraps in the freezer until collection day.
- Keep the outdoor green cart closed and rinse it out from time to time.
If you compost at home, bury fresh scraps under a layer of leaves or soil and keep the bin lid closed. My guide to composting and green carts has more tips.
When it's something else
Not every small flying insect in the kitchen is a fruit fly or a pantry moth. Tiny dark flies around houseplants are usually fungus gnats, which breed in damp potting soil. Letting the soil dry out between waterings helps. Fuzzy, moth-like flies around sinks and tub drains are often drain flies, which breed in the slime inside drains, so a thorough scrub of the drain usually fixes them.
Moths in closets rather than the kitchen may be clothes moths, which feed on wool and other natural fibres and need a different approach. Small beetles in flour or cereal are another kind of pantry pest, handled the same way as pantry moths.
If you've cleaned thoroughly and the problem keeps coming back, or you can't find the source, a licensed pest control professional can help identify what you have. My guide to common household pests covers larger problems such as ants and rodents.
Questions homeowners often ask me
Where do pantry moths come from?
Usually from an infested package brought home from the store, such as grains, nuts, dried fruit, pet food or birdseed. Once inside, they spread to other dry goods. It isn't a sign of a dirty kitchen.
Do pheromone traps get rid of pantry moths?
Not on their own. They catch male moths and help you see whether moths are still around, but you still need to find and throw out infested food, clean the cupboards and store food in airtight containers.
Should I spray insecticide in my pantry?
No. Extension experts don't recommend insecticides for pantry pests. Removing infested food, vacuuming, washing shelves and using airtight containers works better and keeps chemicals away from your food.
How do I make a fruit fly trap?
Pour a little apple cider vinegar into a jar, add a drop of dish soap and cover it with plastic wrap poked with small holes. Refresh it every few days. Traps help, but removing ripe produce and cleaning bins is what solves the problem.
How do I keep my kitchen scrap bin from attracting fruit flies?
Use a catcher with a tight lid, empty it often in warm weather and wash it regularly. Lining it with newspaper helps, and freezing scraps until collection day works well in summer.
For more home care tips, see my guides to what not to pour down the drain and small condo storage ideas.
Thinking about a move?
If you're dreaming of a bigger kitchen or a home closer to the things you love, I'm happy to help you find the right fit in the Lower Mainland. Call or text 778-834-1706, email silvana@silvanaazurdia.ca or send me a message. Happy to help in English or Spanish.
This article is general information. If a pest problem continues, contact a licensed pest control professional. For more, see the University of California's quick tips on pantry pests.
Categories
Recent Posts











