You open the pantry to grab some flour and a small gray moth flutters out. You freeze, because you know what that means. Behind it, in the bags of almonds and seeds you paid good money for, something has already moved in. Most people reach for sprays or throw everything out. But the fix that actually keeps them away is a dried leaf your grandmother probably kept in her cupboard.
Pantry moths have a talent for ruining an entire cabinet in just a few days, spreading from one bag of flour or hazelnuts to everything around it. These small gray moths, about 8 to 12 millimeters, love anything dry and rich in starch or fat, which makes a pantry their ideal target. Against them, an old trick passed down from grandmothers is getting attention again: tucking a bay leaf into your jars of flour, seeds, and nuts.
Why pantry moths take over your flour, seeds, and nuts

Before the fix, it helps to understand what you’re up against. Pantry moths, including the Indian meal moth Plodia interpunctella, lay their eggs directly in stored food. A single female can drop around 200 eggs, which is more than enough to contaminate a whole cabinet once one bag of flour or almonds is affected. You spot them by the silky threads, the small cocoons, the suspicious clumps, or the fine dust at the bottom of a bag.
These insects usually arrive already hidden inside a new product, especially flour, cereal, seeds, and dried fruit. Once they’re in the kitchen, warm dry cabinets give them the perfect place to develop. Cardboard and thin plastic packaging tears easily, while airtight glass jars form a far more effective barrier. That difference in packaging is the first line of defense, and it sets up everything that follows.
The bay leaf trick, and why it works
Here’s the mechanism. The method is simple: gather a few bay laurel leaves (Laurus nobilis), dry them, then slip two or three into each jar of flour, seeds, or nuts. The moths reportedly can’t stand the strong smell, carried by aromatic molecules like 1,8-cineole. The bay leaf essentially creates a bad-smelling zone that discourages the insects from coming to lay their eggs in the jar. A few well-dried leaves make it possible to keep flour in the house without fearing an invasion.
The key word is prevention. Bay leaf is a preventive barrier, not a cure, so if an infestation has already set in, it doesn’t replace sorting through your food and doing a full cleanout. For the protection to keep working, the leaves need to stay well dried and still give off scent. Once the smell fades, it’s time to swap them out, roughly once a month. Some households add cloves, cinnamon sticks, or a small sachet of lavender alongside, always as prevention and never in direct contact with the food.
The quick routine to run the moment you get home
This is where you put it into practice, and timing matters. Everything is decided in the first hours after you buy, so a short protocol sharply cuts the risk of an invasion, especially for pricey items like walnuts, pistachios, or seed mixes. Start by inspecting each package for holes, threads, or suspicious dust. Then place the at-risk foods, meaning flour, dried fruit, and cereal, in the freezer for 24 to 72 hours to neutralize any eggs or larvae. Transfer everything into clean, dry, airtight glass jars, slip in two or three dried bay leaves per jar, and note the opening date on a label.
If moths are already circulating in the kitchen, the priority shifts. Throw out the infested food without hesitation, then clean the cabinets, shelves, and drawers with hot water and white vinegar, working into the cracks where they hide. Some pest-control specialists also recommend pheromone traps to monitor any remaining flights. Once that reset is done, bay leaf and the other natural repellents take over to prevent a new colonization.
The takeaway
The one thing to remember is that the bay leaf works as a gatekeeper, not a rescue team. It earns its place by keeping moths from ever settling in, which means the whole strategy hinges on starting clean: airtight glass, a spell in the freezer, and fresh leaves swapped out before their scent gives up. Get food into sealed jars with a couple of dried leaves before trouble starts, and you turn your pantry into a place these moths simply don’t want to be. That small, almost old-fashioned habit is what keeps the whole cabinet safe.