Prevent Pantry Moths Naturally Without Chemicals or Traps
You know that moment when you reach for the flour and a tiny gray moth flutters out? Then you open the rice and see webbing in the corner? Your stomach drops.
I have been through this twice. The first time, I threw out everything — $80 worth of flour, rice, pasta, cereal. The second time, I learned how to prevent it entirely.
The Enemy Is Already in Your Food
Pantry moths usually come in with products you bought at the store. Eggs can be present in flour, grains, nuts, dried fruit, and pet food when you purchase them. You do not see them. They hatch weeks later inside your pantry.

Freeze Everything New for 48 Hours
The single most effective prevention: put every new bag of flour, rice, or grain in the freezer for two days before it goes in the pantry. The cold kills any eggs. This sounds extreme, but it works. I keep a dedicated shelf in my freezer just for new dry goods.
My neighbor — a retired chef — told me restaurants do this with bulk flour deliveries. If it is good enough for commercial kitchens, it is good enough for my pantry.
Bay Leaves: The Natural Repellent
Adult moths hate the smell of bay leaves. Tuck two or three dried bay leaves into each container of flour, rice, or pasta. Replace them every few months when the scent fades. This will not kill existing eggs, but it prevents adults from laying new ones.
I also scatter bay leaves on pantry shelves and in corners. They are cheap, smell fine, and actually work.
Airtight Containers Are Non-Negotiable
Moths can chew through paper bags and thin plastic. Transfer all dry goods to glass jars or thick plastic containers with tight-sealing lids the moment you bring them home. This is annoying. It takes ten extra minutes after grocery shopping. But one moth infestation wastes more time and money than a year of transferring flour to jars.
Clean the Shelves Monthly
Wipe pantry shelves with white vinegar once a month. Vinegar destroys moth pheromone trails. If a moth does get in, it cannot signal to others that your pantry is a good place to lay eggs. Pay special attention to corners and shelf brackets — that is where cocoons hide.
Quick Summary: Freeze new dry goods for 48 hours to kill eggs, store everything in airtight glass or thick plastic, and keep bay leaves inside containers to repel adult moths naturally.