Bobby BugsLong Island Pest Control
Pantry Pests

How Do You Get Rid of Pantry Moths? The Full Clear-Out

Reviewed by William "Willy" Vizcarrondo, NYS DEC Certified Commercial Pesticide Applicator C1825832. Updated September 23, 2026.

Quick answer

To get rid of pantry moths you have to empty the pantry completely, find and throw out every infested item, vacuum the shelves including the corners, screw holes, hinges, and shelf pin sockets where larvae spin cocoons, wipe the surfaces, and move everything that survived into glass, metal, or hard plastic containers with sealing lids. Killing the moths you see does nothing, because adult Indian meal moths do not feed and live about a week. The infestation is the eggs and larvae inside the food, and the cocoons in places that are not the pantry. Miss one source and it starts over in about a month.

Where do pantry moths come from?

From the store, inside the packaging. University of Maryland Extension says the Indian meal moth can be brought into the home in packages contaminated with eggs that escaped detection in milling or packaging, and Cornell's IPM program lists grocery items, pet food, and bird seed as the usual carriers. Kentucky's list of what they infest reads like a pantry: dried fruit, powdered milk, chocolate, flour, meal, dried dog food, bird seed. A clean kitchen gets them exactly as often as a messy one, because the moth was in the bag before the bag came home.

The one you are seeing is almost always the Indian meal moth. University of Minnesota describes a half inch to five eighths inch wingspan with the base of the front wing pale gray or tan and the rest reddish brown with a coppery luster. Small moth, two tone wing, fluttering at dusk near the kitchen.

Why do pantry moths keep coming back after I throw out the food?

Because the larvae left the food before you did. Minnesota's fact sheet explains that larvae often leave the food when mature and may move long distances before spinning a cocoon, and that it is common to find caterpillars and cocoons on ceilings and walls. Cornell says the same about wall and ceiling junctions and cracks and crevices. You tossed the flour, but the cocoons are in the hinge, the shelf pin hole, and the corner where the cabinet meets the ceiling.

The other reason is the eggs you cannot see. A female lays 100 to 400 eggs per Cornell, directly in or next to food per Purdue, and the Maine and Colorado State fact sheet notes eggs are laid either on food or in crevices. Purdue puts a generation at about 30 days at 77 degrees, so a missed source restarts the whole cycle in a month.

Do pantry moth traps actually work?

As monitors, yes. As control, no. Colorado State's fact sheet explains that the traps use sex pheromones attractive to male moths, which makes them useful for identifying where infestations are most severe but not likely to reduce infestations since they do not capture female moths. UC IPM says the same. We use them the way they are meant to be used: hang one after the clear-out, and if it stays empty for three straight weeks the job is done. If it catches moths, there is still a source.

How do you clear a pantry properly, step by step?

  1. Empty every shelf. Everything comes out, not just the cabinet where you saw the moth.
  2. Inspect and sort. Anything with webbing, clumped product, or small cream colored larvae with dark heads goes in a sealed bag straight to the outdoor trash. Open grain based items in the affected cabinet go too, even if they look clean.
  3. Freeze the keepers. NPIC says food items may be placed in a freezer for a week to kill any eggs or larvae, and Minnesota says at least four days at 0 degrees. Do this for anything sealed and valuable enough to keep.
  4. Vacuum everything. UC IPM's advice is a crevice attachment to remove eggs and pupae. Shelf pin holes, hinges, screw heads, the underside of shelves, the ceiling corner above the cabinet.
  5. Wipe down and dry. Soap and water on the shelves, then let them dry before restocking.
  6. Re-store in real containers. Maryland says to keep food in glass jars, plastic containers, or metal canisters, and that glass jars that pressure seal with rubber gaskets are best. NPIC notes larvae can chew through plastic bags and thin cardboard, so the original packaging is not a container.
  7. Hang a trap and watch it. Three empty weeks means clear.

Do not spray. Maryland says do not spray any food storage areas with insecticides, and Cornell says pesticide sprays should never be used in the pantry, in cabinets, or around food items.

What does a professional pantry pest treatment look like?

Mostly inspection and finding what you missed. We go through every cabinet, the bird seed in the garage, the dog food bin, and the holiday decorations with dried corn, because the source is often not in the kitchen at all. Where there is a cocoon population in cabinet seams and voids, we do a crack and crevice treatment there, never on food surfaces, which is the same approach Colorado State describes for cracks and crevices near food storage. Then we set monitors and come back to read them.

Pantry pest treatment carries a 90-day written guarantee. Quotes are free and in writing after the inspection.

How do you keep pantry moths from coming back?

Change how food comes into the house. Clemson's advice is to freeze grain products for three days after purchase, and Minnesota says at least four; we tell people to do it with every bag of bird seed and every bag of dry pet food, because those are the two carriers we find most. Store bulk items in gasket lidded glass or hard plastic, not the bag. Buy what you will use in a couple of months rather than a year's worth. Clean up spills in the shelf seams. A kitchen that stores food in real containers and freezes the incoming seed does not get a second infestation.

Frequently asked questions

Where do pantry moths come from?

From packaged food that was infested before you bought it. Maryland Extension says eggs escape detection in milling or packaging, and Cornell names grocery items, pet food, and bird seed as the common carriers.

Do I have to throw out all my food?

No. Toss anything with webbing or larvae and the open grain based items in the affected cabinet. Sealed keepers can be frozen for a week, per NPIC, to kill eggs and larvae.

Do pantry moth traps get rid of pantry moths?

No. Colorado State explains they catch only males and are not likely to reduce infestations. Use them as monitors to confirm the clear-out worked.

How long do pantry moths last?

Adults live about a week and do not feed, per Purdue and Colorado State. Minnesota says stray adults may appear for several weeks after the source is removed. If they keep coming past that, a source was missed.

Can pantry moths get into sealed packages?

Yes. NPIC says larvae can chew through plastic bags and thin cardboard, so even unopened packages can become infested. Glass, metal, and gasket lidded hard plastic are the barriers that hold.

Do pantry moths eat clothes?

No. UC IPM says not to confuse Indian meal moths with clothes moths, which are a different species that feeds on wool, fur, and other animal fibers.

Related reading

Sources: Cornell NYS IPM, Pantry Moths; University of Minnesota Extension, Pantry Pests; University of Maryland Extension, Indian Meal Moth; Purdue Extension, Indianmeal Moth; UC IPM, Pantry Pests; UC IPM, Clothes Moths; Colorado State University, Indian Meal Moth; Colorado State fact sheet 5.598, Indian Meal Moth (Maine DACF); University of Kentucky Entomology, Stored Product Pests; NPIC, Pantry Moths; Clemson HGIC, Indian Meal Moth.

Still not sure? Call (516) 509-6001 and we'll tell you what you're dealing with.

Back to all guides

This article is general pest information for Long Island homeowners, not a diagnosis of your specific situation. Pest behavior varies by home, season, and species, and every job is quoted in writing before any work begins. Pesticide applications are performed by licensed New York State applicators in accordance with label requirements.

Call for a Free QuoteFree Quote