A pantry moth’s total life cycle, from egg to adult death, takes about 6 to 8 weeks under typical indoor conditions. The adult moths you see fluttering around your kitchen live only 5 to 25 days. Most of their life is spent as larvae, hidden inside your food.
The Full Life Cycle, Stage by Stage
Pantry moths (also called Indianmeal moths) pass through four distinct stages: egg, larva, pupa, and adult. Each stage has a different duration, and the larval stage dominates the timeline.
Eggs: A female lays 200 to 400 eggs directly on food sources like flour, cereal, rice, dried fruit, or pet food. The eggs are tiny, grayish-white, and nearly impossible to spot. They hatch in 2 to 14 days, with an average around 4 to 5 days.
Larvae: This is the longest and most destructive stage. After hatching, the small caterpillar-like larvae spin silk tunnels through your food and feed for 4 to 5 weeks. USDA research found the full larval period averages about 46 days under controlled conditions. Five growth phases (instars) occur during this time, and the larvae can reach about half an inch long. When they’re ready to pupate, they often crawl away from the food source entirely, which is why you might find small worms on your ceiling or along shelf edges.
Pupae: Larvae spin a cocoon and spend 15 to 20 days transforming into adult moths. They tend to pupate in crevices, corners, or gaps between shelves, not inside the food itself.
Adults: The flying moths you notice are at the very end of their life. Adults live just 5 to 25 days, and their only purpose during this time is to mate and lay eggs. Females begin laying eggs about three days after emerging from the pupal cocoon. They don’t eat your food at all during this stage.
Why Temperature and Humidity Matter
Those 6-to-8-week timelines assume warm, favorable conditions, which a heated kitchen provides year-round. Temperature is the single biggest factor controlling how fast pantry moths develop, followed by moisture levels in their food source.
Warmer environments speed everything up. In a consistently warm pantry (around 80°F), the cycle moves quickly toward that 6-week mark. In cooler conditions, development slows considerably, and the larval stage stretches out the most. Research from the University of Nebraska found that at lower moisture levels, larvae take even longer to mature because they feed less efficiently and struggle to convert their food into growth. The larval stage accounts for roughly 66 to 72% of total development time depending on moisture, meaning any factor that slows larval growth significantly extends the overall timeline.
This is why infestations can seem to linger. Even if you’ve cleaned your pantry, larvae tucked into crevices in cooler or drier spots may take weeks longer to emerge than you’d expect.
Why You Keep Seeing Moths for Weeks
One of the most frustrating things about pantry moths is that they seem to keep appearing long after you’ve thrown out contaminated food. This happens because the generations overlap. A single female lays her eggs over a period of 1 to 18 days, and those eggs don’t all hatch at the same time. Larvae develop at slightly different rates depending on where they are and what they’re eating. Pupae may be hidden in spots you haven’t cleaned.
The result is a staggered emergence of new adults over several weeks. To fully break the cycle, you need to account for at least two complete life cycles (roughly 12 to 16 weeks of vigilance) to be confident every hidden egg, larva, and pupa has been dealt with.
Pantry Moths vs. Clothes Moths
If you’re seeing moths elsewhere in your home, you may be dealing with a different species. Pantry moths are about half an inch long at rest, fly in direct lines, and are attracted to lights. Clothes moths are roughly half that size, flutter erratically, and avoid light. Clothes moths also have small tufts of hair on their heads that pantry moths lack.
The lifecycles are dramatically different. Clothes moth larvae can survive for 35 days to over 2 years, depending on conditions, and a full generation takes 4 to 6 months. Pantry moths cycle much faster, which is why infestations can explode seemingly overnight but are also quicker to resolve once the food source is eliminated.
How to Eliminate an Active Infestation
Because the larvae cause all the damage and adults don’t feed, the key is removing the food source and killing hidden eggs and larvae. Start by inspecting every dry good in your pantry, including unopened packages (moths can chew through thin cardboard and plastic wrap). Look for webbing, small clumps of silk, or tiny caterpillars. Toss anything suspicious.
For items you want to save, you have two options. Heating food in the oven at 130 to 150°F for 30 minutes kills all life stages. Alternatively, freezing at 0°F for 7 to 10 days does the same. For dried fruits, a quick 6-second dip in boiling water inside a cheesecloth bag is effective.
After removing contaminated food, vacuum every shelf, crack, and crevice in your pantry thoroughly. Larvae pupate in hidden spots, so pay attention to corners, shelf brackets, and the undersides of shelves. Wipe surfaces with soap and water or a vinegar solution afterward.
Store all dry goods in airtight containers going forward, not just sealed bags. Pheromone traps (sticky traps with a lure that attracts male moths) are useful for monitoring whether the infestation is truly over. Keep traps in place for at least 8 to 12 weeks after your cleanup. If you stop catching moths for several consecutive weeks, the cycle has likely been broken.