What Do Moths Hate: Scents, Light, and Storage Tips

Moths hate strong natural scents like cedar and lavender, bright light, extreme temperatures, and clean storage conditions. The good news is that most effective moth deterrents are simple, affordable, and don’t require toxic chemicals. Understanding what drives moths away starts with understanding what attracts them in the first place: the smell of the natural fibers and food sources they want to lay eggs on.

Cedar and Lavender: The Most Effective Natural Scents

Cedar is one of the strongest natural moth deterrents available. Up to 70 percent of the oils in cedar wood are sesquiterpene hydrocarbons, compounds that produce a resinous, camphor-like scent. But the scent doesn’t just “smell bad” to moths. It actually masks the smell of keratin, the protein in wool, silk, fur, and feathers that moth larvae feed on. If moths can’t smell their target food source, they move on.

Lavender works through a similar mechanism. Its active compounds, primarily camphor and linalool, create what researchers call “olfactory noise.” This chemical interference makes it harder for male moths to detect the pheromones that females release to attract mates. When males can’t find females, the breeding cycle breaks down and egg-laying drops significantly. Other scents that moths dislike include cloves, thyme, and eucalyptus, though cedar and lavender have the longest track record of use.

The catch with cedar is that it loses effectiveness after about three months as the oils evaporate. You can refresh cedar blocks and hangers by lightly sanding the surface and applying fresh cedar oil, which buys another couple of months of protection. Cedar panels in a closet or chest can be maintained the same way. If you’re using sachets, replace them on a roughly quarterly schedule.

Bright Light and Regular Disturbance

Clothes moths are weak flyers that actively avoid light. You’ll almost always find them in the darkest corners of closets, drawers, and storage areas rather than buzzing around lamps like other moth species. Their larvae take this even further: when exposed to bright light and unable to find cover, they’ll actually drop off clothing to escape.

This behavior means that regularly disturbing your stored clothes, opening closet doors, and letting light into dark corners can make the environment less hospitable. Moths prefer undisturbed spaces where they can feed and breed in peace. Seasonal clothing that sits untouched for months in a dark closet is a prime target. Simply rotating items, shaking out garments, and keeping storage areas well-lit makes a real difference.

Extreme Heat and Cold Kill Moths at Every Life Stage

Temperature extremes don’t just repel moths. They kill eggs, larvae, and adults outright. Anything above 122°F (50°C) causes the proteins in a moth’s body to break down irreversibly. A household steamer, which produces steam well above 212°F, is effective for treating garments, upholstery, and rugs you suspect are infested.

Freezing also works, but the details matter. Your freezer needs to be set below 18°F (-8°C), and items must stay frozen for a minimum of 72 hours. The key is the sudden temperature shock: warm the items to room temperature (around 70°F) first, then place them directly into the freezer. That abrupt drop is what kills the larvae. Gradually cooling items gives them a better chance of surviving.

Clean Clothes and Airtight Storage

Moths are attracted to body oils, sweat, and food stains on fabric, not just the fibers themselves. Storing dirty or worn clothing is an open invitation. Before packing away seasonal items, wash or dry-clean everything. Once clean, place items in airtight containers or vacuum-sealed bags. This eliminates both the scent trail that attracts moths and the oxygen larvae need to survive.

Vacuuming is one of the most underrated moth prevention tools. Regular, thorough vacuuming of closet floors, carpet edges, and the crevices behind furniture picks up eggs and larvae before they can establish themselves. Dispose of the vacuum bag contents promptly afterward, since eggs and larvae can survive inside the bag.

Pantry Moths vs. Clothes Moths

Pantry moths and clothes moths hate many of the same scents, but they require different strategies because they target different food sources. Pantry moths go after grains, flour, cereals, and dried goods rather than fabrics. The single most effective step against pantry moths is storing all baking ingredients and dry goods in airtight containers. No sachet of lavender will help if your flour bag is sitting open.

Pheromone traps are species-specific, so buying the wrong type won’t help. Interestingly, clothes moth pheromone traps will catch both clothes moths and pantry moths, but pantry moth traps will not catch clothes moths. These traps work by mimicking the scent female moths use to attract males. Males fly to the trap, get stuck on a glue board, and die before they can mate. They’re best used as monitoring tools: if you stop catching moths, the infestation is likely under control. One important note is to keep natural scent deterrents a good distance from pheromone traps, since the strong smells interfere with the trap’s ability to attract moths.

Why You Should Skip Traditional Mothballs

Mothballs are effective at killing moths, but they come with serious health risks that most people underestimate. They contain either naphthalene or paradichlorobenzene, both classified as toxic to humans and pets. If you can smell mothballs, you’re actively inhaling these chemicals. Short-term exposure causes headaches, nausea, and eye and nose irritation. Naphthalene specifically can cause a condition where red blood cells break down, and it’s classified as a possible carcinogen. Long-term exposure has been linked to liver and kidney damage.

The EPA regulates mothballs as pesticides, and their labels specify they should only be used inside tightly sealed containers with the clothing being treated, never loose in closets, attics, or basements. The fumes are heavier than air and settle along floors, putting children and pets at greatest risk. Using mothballs as general repellents in open spaces is technically a misuse of a registered pesticide. Given how well natural alternatives work for prevention, traditional mothballs are rarely worth the trade-off.

Combining Methods for Best Results

No single deterrent is foolproof on its own. The most reliable approach layers multiple things moths hate. Clean all garments before storing them. Use airtight containers for long-term storage. Place cedar blocks or lavender sachets nearby, refreshing them every few months. Keep closets bright and well-ventilated. Vacuum storage areas regularly. Set up a pheromone trap as an early warning system so you’ll know immediately if moths return.

For an active infestation, deterrents alone won’t solve the problem. You’ll need to kill existing eggs and larvae through heat treatment, freezing, or thorough cleaning before switching to a prevention routine. Moth eggs can take weeks to hatch, so continue monitoring with pheromone traps for at least a full 12-week cycle after you think the problem is resolved.