The Wild

What Attracts Moths in House: Food, Fibers, Light

· 6 min read · Insects and Spiders

In this article
  1. Why Moths Come Indoors
  2. Food: The Pantry Moth Attractant
  3. Fibers: The Clothes Moth Attractant
  4. Light: The Night-Time Attraction
  5. How to Identify Which Moth You Have
  6. Prevention and Control
  7. Common Misconceptions
  8. Frequently Asked Questions

Moths enter and stay in homes because of three main attractants: food (especially dry pantry goods), natural fibers (like wool and silk), and light (which draws them inside at night). Once inside, they settle where these resources are available, and the specific type of moth determines which item lured it in.

Why Moths Come Indoors

Moths are not a single group; they belong to two distinct categories with different habits. Pantry moths (e.g., Indian meal moths) infest stored food products, while clothes moths (e.g., webbing and casemaking clothes moths) feed on animal-based fibers. Both types enter homes through open windows, doors, gaps in screens, or on infested items brought inside (like grocery bags or secondhand clothing). Light attracts night-flying moths to windows and doors, but it does not directly cause an infestation—it simply brings them to your threshold. Once inside, they seek out food or fiber sources to lay eggs, and the larvae cause the actual damage.

Food: The Pantry Moth Attractant

Pantry moths are drawn to dry, stored food items—especially those with high protein or grain content. Common targets include:

  • Flour, cereal, rice, and pasta
  • Dog food, birdseed, and dry pet treats
  • Dried fruits, nuts, and spices
  • Powdered milk and chocolate

The adult moths are attracted to the smell of these foods, but they do not eat them; they lay eggs near the food source. The larvae hatch and feed on the food, creating webbing and droppings. Indian meal moths are the most common pantry pest—they have a distinctive two-tone wing pattern (copper-brown on the outer half, gray on the inner). They often enter homes via packaged goods that already contain eggs or larvae, which is why even sealed packages can become infested if they have tiny holes or tears.

Fibers: The Clothes Moth Attractant

Clothes moths are attracted to natural animal fibers that contain keratin, a protein they can digest. They do not feed on synthetic fabrics like polyester or cotton blends unless those are stained with food or sweat. Common targets include:

  • Wool sweaters, blankets, and rugs
  • Silk scarves and clothing
  • Fur coats and leather (with hair/fur remnants)
  • Feathers, upholstery, and felt

The adults are not attracted to light as strongly as pantry moths; they prefer dark, undisturbed areas like closets, drawers, and under furniture. The larvae are the destructive stage—they spin silk webbing and chew irregular holes in fabrics. A common misconception is that adult clothes moths eat clothing; they do not. Only the larvae feed, and they are small, cream-colored caterpillars that avoid light.

Light: The Night-Time Attraction

Many moths are positively phototactic—they fly toward light sources. This is why you see moths fluttering around porch lights, lamps, and TV screens at night. The exact reason is not fully understood, but it is likely related to navigation: moths use the moon to maintain a straight flight path, and artificial lights confuse their internal compass, causing them to circle. This behavior brings moths to your windows and doors, and if a door is open, they may fly inside. However, light alone does not sustain an infestation; once inside, they still need food or fiber to reproduce. Reducing outdoor lighting near entry points or using yellow “bug” bulbs (which are less attractive to moths) can reduce the number of moths that approach your home.

How to Identify Which Moth You Have

It is important to know which type of moth you are dealing with because control methods differ. Here is a quick comparison:

  • Pantry moths are usually seen flying in kitchens or near stored food. They are about 1/2 inch long with a distinct pattern. Check food packages for webbing or small caterpillars.
  • Clothes moths are smaller (about 1/4 inch), golden or buff-colored, and often hide in dark closets. Look for silken tunnels or webbing on wool items, and for tiny holes in fabrics.
  • Outdoor moths (like miller moths) are often attracted to lights but do not infest food or clothing; they are just accidental visitors.

If you see moths near windows at night, they are likely outdoor species. If you see them in the kitchen or closet, they are likely the pest type.

Prevention and Control

Once you know the type, you can take targeted steps. For pantry moths:

  1. Inspect all dry goods for webbing, larvae, or adult moths. Discard any infested items in a sealed plastic bag outside your home.
  2. Vacuum shelves thoroughly, especially corners and crevices, to remove eggs and larvae.
  3. Wash shelves with soap and water or a vinegar solution.
  4. Store all new dry goods in airtight glass, metal, or heavy plastic containers.

For clothes moths:

  1. Vacuum closets, drawers, and under furniture, paying attention to cracks and baseboards.
  2. Dry clean or wash wool and silk items before storing, as larvae are attracted to sweat and food stains.
  3. Store susceptible fabrics in sealed bags or containers with cedar blocks or lavender sachets (these repel adults, but do not kill larvae).
  4. If infestation is severe, consider freezing infested items for at least 72 hours at 0°F (-18°C) or below, or heating them to 120°F (49°C) for 30 minutes.

For light-attracted moths, reduce outdoor lighting, use yellow bulbs, and ensure screens and door sweeps are intact.

Common Misconceptions

One common myth is that moths eat cotton or synthetic fabrics. In reality, clothes moths only feed on animal-based fibers like wool, silk, fur, and feathers. Cotton and synthetics are safe unless they are blended with wool or stained with food, which can attract larvae. Another misconception is that mothballs are a safe, effective solution. Mothballs contain naphthalene or paradichlorobenzene, which are toxic fumigants. They should only be used in sealed containers, never in open areas where people or pets can inhale the fumes. Also, mothballs are not a one-time fix; they only repel adult moths and do not kill larvae. Finally, many people think that seeing adult moths means damage is happening—but adults do not feed on fabrics; they are only looking for a place to lay eggs. The larvae cause the damage, so if you see adults, you should look for larvae in dark, undisturbed areas.

Frequently Asked Questions

Do moths eat cotton or synthetic fabrics?

No, clothes moths only feed on animal-based fibers like wool, silk, fur, and feathers. Cotton and synthetic fabrics are not attractive to them unless they are blended with wool or contaminated with food or sweat stains.

Why do moths fly toward lights?

Moths use light for navigation, likely using the moon as a reference point. Artificial lights confuse their internal compass, causing them to circle the light source. This behavior is called phototaxis, and it is why they often enter homes through open doors or windows at night.

Can mothballs get rid of moths?

Mothballs are not a complete solution. They release toxic fumes that repel adult moths, but they do not kill larvae. They should only be used in sealed containers to avoid breathing the fumes, and they are not safe for use in open closets or living areas.

How do moths get into sealed food packages?

Pantry moths can chew through thin plastic and cardboard, but they often enter packages before they are sealed. Eggs or larvae may be present in the food at the time of packaging, or they can enter through tiny holes in the packaging. That is why storing food in thick glass or hard plastic containers is recommended.

Are moths harmful to humans?

Moths are not directly harmful to humans. They do not bite, sting, or transmit diseases. However, they can contaminate food with their droppings and webbing, and clothes moth larvae can damage fabrics. The main concern is property damage and food waste, not health.

What is the best way to get rid of moths permanently?

There is no single permanent fix, but a combination of thorough cleaning, removing infested items, sealing food in airtight containers, and using pheromone traps to monitor adults can effectively control infestations. For clothes moths, regular vacuuming and proper storage of wool items are key. If the infestation persists, professional pest control may be necessary.