Moth Repellent: Safe, Natural Alternatives to Mothballs

The most effective moth repellent depends on whether you’re dealing with clothes moths or pantry moths, and whether you’re trying to prevent an infestation or eliminate one already underway. Traditional mothballs work but carry real health risks, while natural options like cedar and lavender can keep moths away if used correctly. Here’s what actually works, what doesn’t, and how to protect your clothes and food long-term.

Clothes Moths vs. Pantry Moths

These two pests behave differently, target different things, and require different strategies. Clothes moths are small, about a quarter inch long, gold-colored, and weak flyers that avoid light. You’ll find them deep in closets or drawers, close to the fabrics they’re eating. They have distinctive tufts of hair on their heads. Pantry moths are roughly twice the size, fly in straighter lines, and are attracted to light, so you’re more likely to spot them near kitchen ceilings or windows.

Clothes moth larvae feed on wool, fur, silk, cashmere, carpet, upholstered furniture, and even the felt pads inside pianos. They’ll eat synthetic or cotton blends too, as long as wool is mixed in. Fabrics stained with food, sweat, or body oils are especially attractive to them. Pantry moths, by contrast, go after dry goods like flour, grains, cereal, and pet food. Knowing which type you have determines where to focus your repellent efforts.

Why Mothballs Are Risky

Traditional mothballs contain either naphthalene or paradichlorobenzene. Both are solids that slowly release toxic gas, and that gas is what kills or repels insects. When you smell mothballs, you’re inhaling a pesticide. Naphthalene is made from crude oil or coal tar, and the fumes can cause headaches, nausea, dizziness, and vomiting. With enough exposure, naphthalene can destroy red blood cells, a condition called hemolytic anemia. Infants who wore clothing stored with mothballs (without being washed afterward) have developed this condition. The World Health Organization and the EPA both classify naphthalene as a possible human carcinogen based on animal studies.

Paradichlorobenzene is somewhat less toxic but still problematic. It leaves a persistent, unpleasant smell on clothing, and if it touches plastic buttons, hangers, or garment bags, it can soften and melt the plastic directly into the fabric.

Mothballs are regulated as pesticides by the EPA. Their labels specify that they must be used in airtight containers so the vapors build up to lethal concentrations inside the container rather than leaking into your living space. Using mothballs in an open closet, a dresser drawer, or scattered around a room is both ineffective and illegal. Using them outdoors to repel snakes, squirrels, or other animals (a common misuse) can contaminate soil and water and harm children and pets. Some mothballs sold online or at discount stores are illegally imported products with unknown ingredients and no safety oversight.

Natural Repellents That Work

Cedar is the most popular natural moth repellent, and it does work as a deterrent. The aromatic oils in cedar are unpleasant enough to keep moths away from treated areas. Cedar blocks, rings, and lined closets or chests all serve this purpose. The key limitation: cedar repels moths but does not kill them. If you already have an active infestation, cedar alone won’t solve it.

Cedar also loses its effectiveness over time as the wood’s natural oils evaporate. After several months, the scent fades and so does the repellent effect. You can restore it by lightly sanding the surface of cedar blocks or applying cedar essential oil. If you use cedar oil directly, be aware that it can crystallize on the wood’s surface after a few weeks, so keep treated blocks on shelves or hanging from hooks rather than resting directly on clothing.

Lavender sachets and dried cloves are other traditional options. They make closets smell pleasant and provide some moth-deterring effect, though they’re generally less potent than cedar. Like cedar, they need periodic replacement as their scent fades. None of these natural options create the concentrated toxic environment that mothballs do inside a sealed container, so they’re best suited for prevention rather than treatment.

Pheromone Traps for Monitoring

Pheromone traps use synthetic versions of female moth scent to attract males onto a sticky surface. By trapping males, they disrupt the breeding cycle and reduce the next generation of larvae. They’re species-specific, so you’ll need to buy traps labeled for either clothes moths or pantry moths depending on your problem.

These traps are most useful as a monitoring tool. They tell you whether moths are present, roughly how many, and where they’re concentrated. Place them in undisturbed areas like the tops of wardrobes, high shelves, or corners of pantries rather than inside the closet itself. One potential drawback: because pheromone traps broadcast an attractant, there’s a small chance they could draw moths from nearby areas. For that reason, they’re best used when you already know you have a problem rather than as a preventive measure in a moth-free space.

Killing Moths With Temperature

If you’ve found larvae or damage on clothing, repellents won’t be enough. You need to kill the eggs and larvae already present. Temperature is one of the most reliable methods. A standard home freezer set to 0°F will kill all life stages of clothes moths if infested items stay frozen for at least one full week. A deep freezer that reaches minus 20°F can do the job in 72 hours. Seal items in plastic bags before freezing to prevent moisture damage.

Heat works equally well. Running infested items through a clothes dryer on high heat kills moths, larvae, and eggs. For delicate fabrics like silk or cashmere that can’t handle a dryer, professional dry cleaning destroys eggs and larvae while cleaning the fibers that attracted moths in the first place.

Prevention Is the Strongest Repellent

The single most effective thing you can do is clean clothes before storing them. Moths are drawn to body oils, sweat, and food residue on fabric. A wool sweater that looks clean but hasn’t been washed since last winter is a prime target. Dry clean wool, silk, and cashmere before putting them away for the season. Wash everyday items normally.

Store vulnerable fabrics in airtight containers or sealed garment bags. Choose breathable cotton bags for delicate items rather than plastic, which can trap moisture. Avoid storing clothes in damp or humid spots like basements or attics without climate control. Moths thrive in undisturbed, dark, humid environments.

Regular closet maintenance goes a long way. Vacuum floors, shelves, and corners where lint and hair accumulate, since these provide food sources for larvae. Rotate your wardrobe so nothing sits untouched for months. Occasionally exposing clothes to direct sunlight discourages moth larvae, which strongly prefer dark environments. Moving and wearing your clothes regularly makes the entire closet less hospitable.

For pantry moths, the approach is similar in principle. Store dry goods like flour, rice, cereal, and pet food in airtight glass or hard plastic containers rather than their original packaging. Inspect new purchases before putting them away, since pantry moths often arrive in food you bring home from the store. Clean shelves thoroughly if you spot any webbing or small larvae in your pantry.

Combining Methods for Best Results

No single repellent covers every situation. The most reliable approach layers several strategies together. Clean all garments before seasonal storage. Use airtight containers or bags as the primary barrier. Add cedar blocks or lavender sachets inside for an extra layer of deterrence, refreshing them every few months. Set out pheromone traps to catch early signs of activity before larvae have time to cause damage. If you find an infestation, freeze or heat-treat affected items, then vacuum the area thoroughly and apply repellents to prevent a recurrence.

Professional moth-proofing treatments are available for wool, silk, and other natural fibers. These apply a protective finish that makes the fabric less appealing to larvae and can be worth the investment for expensive rugs, heirloom textiles, or large wool collections that would be difficult to store in sealed containers.