Are Pantry Moths Attracted to Light?
In this article
Yes, pantry moths (Indian meal moths) are attracted to light, but not in the way you might think. Adult pantry moths are nocturnal and are drawn to weak, diffuse light sources at night, yet they actively avoid bright, direct sunlight. This phototactic behavior (moving toward or away from light) is a key part of their life cycle, but it is not the reason they infest your kitchen—that is driven by food odors and warmth. Understanding this nuance helps you use light traps effectively and avoid common misconceptions.
What Are Pantry Moths?
Pantry moths, scientifically known as Plodia interpunctella, are common stored-product pests. They are also called Indian meal moths, though they are not native to India—the name comes from a 19th-century entomologist who found them feeding on Indian corn meal. The adult moths are small (about 8–10 mm long) with a distinctive two-tone wing pattern: the upper half is pale gray or cream, and the lower half is reddish-brown or copper. They are found worldwide in homes, grocery stores, and food processing facilities.
The larvae are the real culprits. They are small, white or pinkish caterpillars that spin silken webbing as they feed on dry goods like flour, cereal, nuts, dried fruit, pet food, and birdseed. The adults do not feed at all—they only live long enough to mate and lay eggs.
How Light Attracts Adult Moths
Adult pantry moths are positively phototactic to certain light wavelengths, meaning they move toward them. In nature, this behavior helps them navigate at dusk and dawn when there is still faint ambient light. In your home, they may flutter toward a lamp, a TV screen, or a nightlight. However, they are not strongly attracted to bright, broad-spectrum light like midday sun or harsh ceiling lights. Instead, they prefer shorter wavelengths—ultraviolet (UV) and blue light—which is why many commercial insect traps use UV-emitting bulbs.
This attraction is strongest in the dark hours after sunset. If you see a pantry moth flying around your living room at night, it is likely responding to the light from a window or a lamp. But note: the moths you see flying are not the ones causing the infestation—they are just the adults seeking mates. The larvae are hidden in your pantry, and they avoid light entirely, burrowing deep into food packages.
Why Light Traps Work (and When They Don't)
Because adult moths are attracted to UV light, many people buy electric bug zappers or sticky light traps to catch them. These traps can be effective for monitoring and reducing adult populations, but they have limitations:
- They only catch adults. The larvae and eggs remain in your food, so light traps do not solve an active infestation.
- They attract moths from a small radius. In a large kitchen, one trap may not be enough.
- They can attract moths from outside. If you have a light trap near an open window, it might draw in new moths from the neighborhood.
- They are less effective during the day. Since pantry moths are nocturnal, traps are most useful at night.
For best results, place traps in dark corners near your pantry, away from competing light sources. Check them regularly and replace them as directed. But remember: the only way to get rid of pantry moths is to find and eliminate the food source.
How to Actually Get Rid of Pantry Moths
Light traps are a monitoring tool, not a cure. To eliminate an infestation, follow these steps:
- Inspect all dry goods. Look for webbing, clumped food, or small caterpillars in flour, cereal, pasta, rice, dried herbs, and pet food. Discard any infested items in a sealed plastic bag outside your home.
- Vacuum thoroughly. Clean pantry shelves, cracks, and crevices. Pay special attention to corners and hinges where larvae may hide.
- Wash shelves. Use soap and water or a vinegar solution to remove pheromones and food residues that attract moths.
- Store food in airtight containers. Transfer all dry goods to glass, metal, or heavy plastic containers with tight lids. This prevents re-infestation.
- Set pheromone traps. These sticky traps use a synthetic female sex pheromone to lure male moths. They are highly effective for catching males and breaking the breeding cycle.
- Continue monitoring. Check traps and shelves weekly for several weeks to ensure no new moths emerge.
Do not use pesticides in food areas. Instead, use heat treatment: wash infested containers in hot, soapy water, or freeze suspected items for 4–7 days at 0°F (-18°C) to kill eggs and larvae.
Common Misconceptions About Pantry Moths and Light
One widespread myth is that pantry moths are attracted to light because they want to escape your home. In reality, they are not trying to escape—they are simply following their evolved navigation instincts. Another misconception is that if you see moths near a window, they came from outside. While that is possible, it is far more likely they emerged from an infested package in your pantry and are now seeking mates near the brightest area.
Also, many people think that leaving a light on in the pantry will keep moths away. The opposite is true: bright lights may deter them from flying, but they will still lay eggs in your food. The larvae are not affected by light at all.
Comparing Light Traps to Pheromone Traps
If you are deciding between a light trap and a pheromone trap, consider the differences:
- Light traps attract both males and females, but they only work at night and may catch non-target insects like flies or beetles.
- Pheromone traps specifically attract male pantry moths, are species-specific, and work 24/7. They are generally more effective for monitoring and control.
- Cost and convenience: Light traps require electricity or batteries, while pheromone traps are disposable and require no power.
For most home infestations, pheromone traps are the better choice. They are inexpensive, easy to use, and do not attract moths from outside.
Frequently Asked Questions
Do pantry moths bite or sting?
No. Pantry moths are harmless to humans and pets. They do not bite, sting, or transmit diseases. The larvae feed only on dry plant-based foods, not on fabric or wood.
Can pantry moths live in the refrigerator?
No, pantry moths cannot survive in cold temperatures. The larvae and eggs will die if kept at freezing temperatures for several days. That is why freezing is a recommended treatment for infested items.
Why do I see moths in my bedroom, not the kitchen?
Adult moths are attracted to light, so they may fly toward lamps or windows in other rooms. This does not mean they are breeding there—they are just wandering. The source is almost always in the kitchen or pantry.
Will a bug zapper kill pantry moths?
Yes, a bug zapper can kill adult moths that fly into it, but it is not a practical solution. It will not affect larvae in your food, and it may attract more moths from outside if placed near an open window.
How long do pantry moths live?
Adult pantry moths live for about 5–25 days. The entire life cycle from egg to adult takes about 30–300 days, depending on temperature and food availability. In warm, humid conditions, they reproduce faster.