Moths get into your house in two main ways: they fly in through openings like doors, windows, and structural gaps, or they hitchhike inside on items you bring home. The species determines which route is more likely. The small moths fluttering around your kitchen almost certainly arrived in a bag of flour or rice, while the ones near your closet may have come in on a secondhand rug or stored wool blanket.
Flying In Through Doors, Windows, and Gaps
The most straightforward entry point is an open door or window, especially at night when indoor lights are on. Moths navigate by keeping the brightest light source (normally the moon) at their backs, a behavior called the dorsal light response. Artificial light disrupts this system, particularly blue wavelengths that mimic moonlight’s ultraviolet glow. A lit porch or open window essentially pulls nearby moths off course and funnels them inside.
Beyond open doors, moths slip through torn window screens, gaps under exterior doors, cracks in siding, and spaces around pipes or utility lines. Any opening large enough for a small insect to pass through is a potential entry point. These are the same gaps that let in other flying insects, and they’re easy to overlook because many common moth species are small enough to fit through surprisingly tight spaces.
Pantry Moths Arrive in Your Groceries
If you’re seeing small moths in your kitchen or pantry, they probably didn’t fly in from outside. The Indian meal moth, the most common pantry pest, typically enters homes inside contaminated food packaging. Eggs can survive the milling and packaging process undetected, so a bag of flour, rice, cereal, dried fruit, or nuts may already contain eggs or tiny larvae when you buy it.
Once inside your pantry, the larvae feed and grow, spinning silk webbing as they move through food. A single contaminated package can seed an infestation that spreads to nearby items. The larvae can chew through plastic bags and cardboard boxes, so even sealed-looking packages aren’t safe. People often don’t notice the problem until adult moths start appearing weeks later, fluttering around the kitchen in a steady, direct flight pattern.
Sources you might not suspect include birdseed, pet food, dried flower arrangements, bean bags, and homemade heating pads filled with grain. Anything made from dried plant material is fair game.
Clothes Moths Hitchhike on Textiles
Clothes moths take a different route. They rarely fly in from outdoors. Instead, they enter homes on wool garments, rugs, upholstered furniture, furs, and other animal-fiber items, particularly secondhand or vintage pieces that have been stored for long periods. The moths or their eggs may already be present in the fibers when you bring the item inside.
Once established, clothes moths feed on wool, silk, fur, feathers, and other materials containing keratin (the protein in animal hair and skin). They’ll eat wool clothing, carpet, upholstered furniture, animal-bristle brushes, wool felt pads inside pianos, and even fish meal in fish food. Unlike pantry moths, clothes moths stay close to their food source and flutter about erratically rather than flying in straight lines. You might have an infestation in a rarely opened closet or storage trunk without noticing for months.
How to Spot an Infestation Early
Seeing a single adult moth is the first clue, but the real damage comes from larvae you haven’t found yet. In the pantry, look for silken webbing on food surfaces, clumped grains or flour, small holes chewed in plastic bags, and tiny dark specks of feces. Check the interior bags inside cereal boxes, the corners of packaging, and the creases of bags where larvae like to hide. Cocoons can turn up in nearby drawers, under shelf liner paper, and in the folds of towels or paper products stored close to food.
For clothes moths, look for irregular holes in wool or silk garments, fine sandy debris (frass) beneath hanging clothes, and small silken tubes or cases attached to fabric. Pay special attention to items you haven’t worn or moved in a while, since clothes moths prefer undisturbed environments.
Keeping Moths Out
Prevention depends on which type of moth you’re dealing with, but a few strategies cover both.
For pantry moths, inspect dry goods before you bring them home, looking for any signs of webbing or damage to packaging. Store flour, rice, cereal, nuts, and similar items in airtight hard-sided containers rather than leaving them in bags or boxes. Freezing flour and meal products for three to seven days before storage kills any eggs or larvae that slipped past inspection. Use older products first and try to go through dry goods within two to four months. Clean up crumbs and spills promptly, and vacuum pantry shelves and cracks regularly.
For clothes moths, inspect any secondhand clothing, rugs, or upholstered furniture carefully before bringing it inside. Store off-season wool and silk items in sealed containers or garment bags rather than leaving them exposed in closets. Cedar and lavender may offer mild deterrence, but physical barriers (sealed storage) are far more reliable.
For moths flying in from outside, repair torn window screens, install door sweeps to close gaps under exterior doors, and seal cracks around the home’s exterior. Switching porch lights to warmer-toned bulbs (yellow or amber) reduces the attraction, since moths respond most strongly to blue and ultraviolet wavelengths. Keeping exterior doors closed after dark, or using a screen door, makes a noticeable difference during peak moth season in warmer months.
What to Do if You Already Have Them
If pantry moths have moved in, the most effective step is finding and removing the infested food. Pull everything out of your pantry, inspect each item, and discard anything with webbing, larvae, or damage. Vacuum all shelves, cracks, and corners thoroughly, then wipe surfaces down. Pheromone sticky traps can help you monitor whether the infestation is truly gone, but they won’t solve the problem on their own. The traps catch adult males, which tells you breeding is still happening somewhere if moths keep appearing.
For clothes moths, remove and inspect all vulnerable items from the affected area. Dry cleaning or running items through a hot dryer kills larvae and eggs. Vacuuming carpets, baseboards, and closet floors removes eggs and larvae hiding in fibers. The key is being thorough, since a few surviving eggs in a forgotten corner can restart the cycle.