porady.ai

How to Get Rid of Pantry Moths in the Kitchen? Step-by-Step Guide

updated 11 July 2026

Quick answer

You beat pantry moths by removing their source - go through all your dry goods and throw out anything with webbing or larvae. Wash the cabinets with vinegar, vacuum the crevices and hinges, and keep new supplies in airtight containers. Pheromone traps help you monitor the males, but on their own they will not end an infestation.

Step by step

  1. 1

    Go through all your dry goods

    Take every package of flour, grains, rice, cereal, pasta, dried fruit and nuts, spices, and pet food out of the cabinets. Look for silky webbing, clumped-together lumps, small larvae, and sticky threads under the lid. Moths get through thin cardboard and foil, so check even seemingly intact packages.

  2. 2

    Throw out infested supplies

    Pack everything with webbing, larvae, or cocoons into a sealed bag and take it out of the house, to an outdoor bin. Do not put suspect products back in the cabinet planning to sift them later. If you have doubts about a package with no visible traces, freeze it just in case, or throw it out.

  3. 3

    Wash the cabinets with vinegar

    Wash the emptied cabinets with vinegar and water, getting into the corners, under the shelves, and behind them. Vinegar removes residue and helps get rid of tiny eggs on the surfaces. Also wipe down the jars and containers you are keeping before you put them back.

  4. 4

    Vacuum the hinges, crevices, and shelf peg holes

    Moths lay eggs in the smallest nooks - vacuum the hinges, seals, runner grooves, and the peg holes for the shelves. That is exactly where larvae spin cocoons that a cloth alone will not remove. Throw the vacuum bag out of the house right away so nothing escapes from it.

  5. 5

    Hang pheromone traps

    Pheromone traps lure and stick the males, which limits the next generations and shows you whether the infestation is still active. Treat them as monitoring, not a standalone solution - they do not catch females or larvae. Replace the inserts as instructed, usually every 4-6 weeks.

  6. 6

    Freeze new products for 3-4 days

    Put freshly bought flour, grains, rice, or dried fruit and nuts in the freezer for 3-4 days at -18°C (0°F) or below. The cold kills eggs and larvae that may have arrived in the package from the store. Once thawed, pour the product into an airtight container.

  7. 7

    Move supplies into airtight containers

    Store dry goods in jars or containers made of glass or thick plastic with a rubber seal. Moths chew through a thin bag or a cardboard box with no trouble. Airtight containers cut them off from food and stop an infestation from spreading to the next package.

Where pantry moths come from

Dirt does not bring in moths - most arrive with your groceries. Eggs or larvae are often already in the flour, grains, cereal, rice, dried fruit, or pet food, straight from the warehouse or the store.

In the warmth of your home, the larvae develop fast, move on to neighboring packages, and spin cocoons in cabinet crevices. The adult moths you see flying around the kitchen in the evening are the final stage - the real problem sits in the products and the nooks.

Bay leaves and cloves as a deterrent

Adult moths cannot stand strong smells. In clean, inspected cabinets, spread out bay leaves and cloves, and some people add cinnamon bark - natural deterrents that make it harder for females to lay eggs.

Treat them as a supplement, not the main method. The smell puts off adult insects, but it does not kill the eggs or larvae hidden in your food, so it only works after the source has been removed.

How long it takes to get rid of moths and why they come back

With consistent effort, you will usually bring an infestation under control in 3-6 weeks, which is roughly how long the next generations take to develop. Keep the traps up through that time and check the cabinets every few days.

Moths usually come back for one of two reasons - an overlooked package with larvae, or a cocoon hidden in a crevice you did not vacuum. The other common route is new, infested products from the store, which is why freezing your shopping and using airtight containers cuts down repeat infestations so much.

Frequently asked questions

Are pantry moths harmful?

Pantry moths ruin food supplies - the larvae contaminate flour, grains, and dried fruit with webbing and droppings, leaving the products fit only for the bin. They do not bite or attack people. The biggest loss is spoiled food and having to inspect the entire pantry.

Do I have to throw out all the food in the cabinet?

You do not have to throw out everything, only products with visible webbing, larvae, or cocoons. Packages with no traces, especially in sealed jars, can stay, and anything questionable can go in the freezer for 3-4 days. Always check the products in neighboring cabinets too, because the larvae travel.

Are pheromone traps enough to get rid of pantry moths?

Traps alone will not solve the problem, because they catch only the males and serve mainly as monitoring. They help you judge whether the infestation is still active and limit breeding, but you have to remove the source in the food yourself. They work best alongside inspecting and washing the cabinets.

How can I be sure the moths will not come back?

Keep all dry goods in airtight containers and freeze new purchases for 3-4 days before pouring them in. Check deep into the cabinets regularly and keep a pheromone trap up as a sensor. That habit cuts off the two main comeback routes - overlooked larvae and infested groceries.

Do pantry moths spread to clothes?

Pantry moths and clothes moths are different species - the kitchen kind feeds on dry goods, not wool or fabric. The moths flying around your home may land on a wall or a wardrobe, but they will not damage clothes. If holes are appearing in sweaters, you are dealing with clothes moths, which are fought differently.

See also