No matter how clean you keep your kitchen and pantry, pantry moths seem to find their way in. Thats because they actually enter your home in foods you’ve bought. They spread, reproduce and soon contaminate everything in the cupboard.
It’s important to get rid of them as soon as you see them so they don’t spread throughout your pantry.
Throw away anything contaminated.
You could also try placing a bunch of fresh bay leaves in the pantry to deter the cupboard moth.
For flours and grains, try freezing them for a few days to a week before storing.