Pantry moth larvae: What they look like and how to get rid of them

Pantry Moth Larvae

Published August 8, 2026
Reviewed by Julie Miller, BA in Language Arts, Editorial Lead, Dr. Killigan's

TL;DR: Pantry moth larvae are the caterpillar stage of the Indian meal moth. They are usually off-white or cream-colored, grow up to about ½ inch long and have a darker brown head. Larvae crawl onto walls and ceilings when they leave their food source to pupate. The fix is to find and remove the infested food, clean the pantry carefully and use pheromone traps to catch adult male moths.

If you have found a small white worm crawling through flour, across a pantry shelf or up your kitchen wall, it may be a pantry moth larva.

What do pantry moth larvae look like?

Pantry moth larvae are usually:

Indian meal moth larvae eating an almond
  • Off-white, cream or pale yellow
  • Up to about ½ inch long when fully grown
  • Segmented, with a soft caterpillar-like body
  • Marked by a darker tan or brown head

Their color can vary slightly depending on what they have been eating. A larva feeding in cornmeal may look more yellow, while one found in flour may appear almost white. Pantry moth larvae also have small legs, although they may be difficult to see.

You may also notice fine silk webbing near the larvae, but webbing is more a sign of their feeding activity than part of their appearance.

Pantry moth larvae or maggots?

The easiest way to tell them apart is by the head and legs. Pantry moth larvae are small caterpillars with a distinct brown head and tiny legs, while maggots are legless fly larvae without the same clearly defined head capsule. If you found the larva in or near dry pantry food, that also points more strongly to pantry moths.

Pantry moth larvae or clothing moth larvae?

Both can be pale caterpillars with darker heads. Location usually tells the story.

Pantry moth larvae are found in dry foods such as flour, cereal and pet food, whereas clothing moth larvae are associated with fabrics and animal-based fibers such as wool, fur and feathers.

Why are pantry moth larvae on my walls or ceiling?

Once mature, a pantry moth larva may leave its food package and crawl across shelves, walls or ceilings in search of a protected place to form a cocoon. It may settle in a corner, cabinet joint, screw hole or another sheltered crevice.

Because larvae can travel away from the original package, do not limit your search to the area where you found one. Inspect the entire pantry and nearby food-storage areas. Check less obvious sources, including pet treats, birdseed, decorative dried corn, baking chocolate and forgotten bags stored on upper shelves.

Tip: If you continue to find larvae after cleaning, an infested food source or hidden pupa may still remain.

Where do pantry moth larvae come from?

In many homes, pantry moths arrive inside a purchased dry-food product.

A package may contain eggs or very young larvae that were difficult to see during processing, shipping or storage. Once inside a warm pantry with steady access to food, the larvae continue developing and may move into nearby products.

Pantry moth larvae on a jar

When inspecting packages for larvae, begin with opened packages, but do not stop there. Larvae may enter boxes, paper bags, thin plastic and other lightweight packaging. Look for:

  • Fine webbing around package seams
  • Clumped food
  • Small holes in bags or boxes
  • Larvae, shed skins or cocoons
  • An unusual odor or discoloration
  • Adult moths resting near the pantry

Pay particular attention to foods that have remained untouched for several weeks or months.

For the foods larvae infest most often, see What do pantry moths eat 

Are pantry moth larvae harmful if eaten?

Accidentally eating a pantry moth larva is unlikely to make you sick. Pantry moth larvae do not bite or sting, and pantry moths are not known to transmit human pathogens.

Still, discard visibly infested food rather than trying to remove the larvae and keep the rest.

How do you get rid of pantry moth larvae?

The key is to remove the infested food source, clean the affected storage area and address the adult moths that can continue the cycle. 

After cleaning, use Pantry Moth Traps to catch adult male pantry moths. The traps do not catch larvae, but they help interrupt the next generation by reducing mating.

For the complete cleanup and prevention process, read our full step-by-step guide: How to get rid of pantry moths: 8 proven ways

Does killing the larvae end the infestation?

No. Killing the larvae you can see does not remove eggs hidden in food, pupae tucked into crevices or adult moths already flying through the home.

Pantry moth trap on the pantry shelf

Pantry moths develop through four stages: egg, larva, pupa and adult. Each stage can be present simultaneously, which is why a successful response must address both the food source and the reproductive adults.

Removing infested food stops developing larvae from continuing to feed. Vacuuming removes wandering larvae, pupae and food debris. Pantry Moth Traps help reduce the chance of successful mating.

You may still see an occasional moth or larva after the first cleaning. That does not mean the plan has failed. It means you should continue checking for a missed package, cleaning hidden crevices and monitoring the traps.

Explore More


Julie standing outside with red shirt and blurred background

Content Strategist & Eco-Living Advocate

Julie Miller

Julie is Dr. Killigan’s in-house writer and content strategist with a passion for science-backed, natural living. She holds a degree in Language Arts and brings over a decade of writing experience to the team. At Dr. Killigan’s, she works closely with the product and customer experience teams to ensure every article delivers accurate, helpful and trustworthy information. When she’s not writing, Julie is tending her vast array of indoor plants, crafting homemade moisturizers or fermenting carrots with her children.

FAQs

More Questions?
Contact Us

Get into the nitty-gritty on insects & arachnids

View all
Yellowjaket on  a pavement

How to get rid of yellowjackets around your home

Learn how to get rid of yellowjackets by identifying where they’re nesting, knowing when treatment makes sense and choosing the right approach for ground nests, wall voids and other problem areas a...

Pantry Moth

How to get rid of pantry moths naturally: What works and what doesn't

Natural pantry moth control works when each method has the right job. Learn what freezing, vinegar, cedar and essential oils can do—and what it still takes to stop an infestation.

Pantry Moth Eggs

Pantry moth eggs: What they look like and what to do

Pantry moth eggs are difficult to see, so identification depends on the evidence around them. Learn how to inspect food, choose the right treatment and monitor what happens next.

Read all about our unique ingredients

View all
beeslaboratory chemicals

The chemicals you didn’t know you were using (and how to avoid them)

Many pest control products contain hidden chemicals that put your home and the environment at risk. Learn how to spot toxic ingredients, avoid greenwashing, and choose safer solutions.

Cute dog and cat together

Hidden ingredients in your pet’s food: what to check on the label

Pet food can contain harmful ingredients for your four-legged friends. Find out what these toxins are, the damage they can do to your pets, and what Dr. Killigan has to say about it.

antsPlant-powered insect control: The benefits of peppermint oil

Plant-powered insect control: The benefits of peppermint oil

Peppermint oil has a multitude of benefits and uses, including being an incredible natural and safe pest control option. Read to find out how Dr. Killigan uses peppermint oil.