How to Get Rid of Moths in Your Closet for Good

Getting rid of closet moths requires killing the larvae already feeding on your clothes, deep cleaning the closet itself, and preventing reinfestation. The adult moths fluttering around aren’t the ones doing damage. It’s their larvae that chew through wool, cashmere, silk, and fur, often hidden in dark folds of fabric for weeks or months before you notice the holes.

Why the Larvae Matter More Than the Moths

The small, golden-tan moths you see flying out of your closet are adults, and they don’t eat fabric at all. Their only job is to mate and lay eggs. The real destruction comes from the larvae, which are tiny, cream-colored caterpillars that feed on natural animal fibers like wool, cashmere, silk, soft leather, and fur. They thrive in dark, undisturbed spaces, which is exactly what a packed closet provides.

This means swatting a few moths won’t solve the problem. You need to eliminate the eggs and larvae already on your clothes and inside the closet, then make the space inhospitable so new moths don’t return.

Step 1: Empty and Inspect Everything

Pull every item out of the closet. Check garments made from natural fibers first, looking for small holes, silky webbing, or tiny tube-shaped casings attached to the fabric. Larvae tend to feed along seams, in folds, and on areas with body oil or food stains, so inspect those spots carefully. Synthetic fabrics are generally safe, but check blends that contain wool or silk.

Separate your clothing into three groups: items you can machine wash, items that need dry cleaning or freezing, and anything too damaged to save.

Step 2: Kill Larvae on Your Clothes

For washable items, launder them for 20 to 30 minutes in water that’s at least 120°F. This kills moths at every life stage, from eggs to adults. Hot water on a normal or heavy cycle in most machines will reach this temperature.

For delicate or dry-clean-only garments like cashmere sweaters, wool suits, or silk scarves, freezing is the most accessible option. Place infested items in sealed, airtight plastic bags without overstuffing them, so cold air reaches all the fabric. Freeze at 0°F or below for at least 72 hours, though a full week is more reliable. After thawing, take the bags outside before opening them, shake the garments vigorously, then launder or dry clean according to the care label.

Professional dry cleaning also kills larvae and is worth the cost for expensive or precious items you don’t want to risk.

Step 3: Deep Clean the Closet

With the closet empty, vacuum every surface thoroughly. That means shelves, baseboards, corners, carpet or flooring, and any cracks or crevices where eggs could be hiding. Use a crevice attachment to reach the edges where walls meet the floor. Moth eggs are tiny and nearly invisible, so vacuum as if they’re everywhere, because they might be.

After vacuuming, wipe down all hard surfaces with white vinegar or a general cleaning solution. This helps destroy any remaining eggs or larvae the vacuum missed. Dispose of the vacuum bag or empty the canister into an outdoor trash bin immediately so nothing hatches inside your home.

Don’t put anything back in the closet until it’s completely dry.

Step 4: Use Pheromone Traps for Monitoring

Pheromone traps are sticky traps laced with a synthetic version of the scent female moths release to attract males. They’re useful for two reasons: they catch adult males (reducing mating) and they tell you whether you still have an active infestation. If you’re catching moths weeks after cleaning, you know larvae are still developing somewhere.

These traps have real limitations, though. They only attract adult males, so they won’t catch females, eggs, or larvae. Think of them as a monitoring tool, not a solution on their own. Place one or two inside the closet and check them every couple of weeks.

Preventing Reinfestation

Once your closet is clean and your clothes are treated, prevention is about making the space unappealing to moths and protecting vulnerable fabrics.

Store off-season wool, cashmere, and silk in sealed garment bags or airtight plastic bins. Moths can’t lay eggs on fabric they can’t reach. Before storing anything long-term, make sure it’s freshly laundered or dry cleaned. Larvae are especially attracted to fabrics with sweat, body oil, or food residue, so even one wear before storage increases risk.

Keep your closet well-lit and ventilated when possible. Moths prefer dark, still environments. Rotating your clothes regularly and avoiding letting garments sit untouched for months removes the undisturbed conditions larvae need to feed and grow.

Cedar and Lavender as Repellents

Cedar and lavender are genuinely useful, but not in the way most people assume. Neither one kills existing larvae. What they do is release volatile oils that create a kind of olfactory interference, masking the pheromones female moths use to attract males. This disrupts the breeding cycle and discourages egg-laying in treated areas. Compounds in cedar and lavender also act as broad-spectrum deterrents that make the space inhospitable for larvae.

The catch is maintenance. Cedar blocks and balls lose effectiveness as the wood’s surface oils evaporate. You need to sand them lightly with fine sandpaper every three months or so to reopen the pores and release fresh oil. In humid climates, they fade even faster. Lavender sachets need to be gently squeezed every few weeks to crush the dried buds and release more of their active oils. If your cedar smells like nothing and your lavender looks dusty, they’re not doing much.

Use these as one layer of prevention alongside sealed storage and regular cleaning, not as a standalone fix.

What About Mothballs?

Traditional mothballs contain naphthalene or a related chemical and work by releasing a toxic gas that kills insects. They’re effective, but they come with real health risks. When naphthalene gas is inhaled, the body breaks it down into chemicals that can damage cells and tissues. The fumes are unpleasant and linger on clothing for a long time.

Mothballs are only meant to be used in sealed containers, never in open closets or dresser drawers where you’re regularly breathing the air. If you choose to use them, follow the label directions exactly and keep them away from children and pets. For most closet infestations, the combination of washing, freezing, vacuuming, and sealed storage works well enough that mothballs aren’t necessary.

How Long the Process Takes

Clothes moths can take anywhere from a few weeks to several months to complete their life cycle, depending on temperature and food availability. This means a single round of cleaning may not catch every generation. Plan to keep pheromone traps in place for at least two to three months after your initial cleanout. If traps keep catching moths, repeat the vacuuming and inspect stored garments again.

Most people find the infestation is fully resolved within one to two treatment cycles, as long as they’ve been thorough about cleaning the closet and treating every natural-fiber garment. The most common reason moths come back is a missed item tucked in the back of the closet or a box of woolens in storage that was never treated.