Getting rid of moths naturally starts with identifying what type you have, removing their food source, and cleaning aggressively enough to destroy eggs and larvae already in your home. Chemical sprays aren’t necessary for most household moth problems. A combination of deep cleaning, temperature treatments, and natural repellents can eliminate an active infestation and keep moths from coming back.
The two moths you’re most likely dealing with are pantry moths and clothes moths, and the approach differs for each. Pantry moths (most commonly the Indian meal moth) feed on dry goods like cereal, flour, nuts, spices, dried fruit, birdseed, and pet food. Clothes moths feed on animal-based fibers: wool, silk, fur, and feathers. Both species do their damage as larvae, not as the adult moths you see flying around. A single female can lay hundreds of eggs directly on or near a food source, so by the time you spot adults, larvae are already at work somewhere in your home.
Figure Out Which Moth You Have
This matters because it tells you where to focus your cleaning. If you’re finding small moths near the kitchen or pantry, check your dry goods. Look for fine webbing, tiny caterpillars, or clumps in flour, cereal, rice, or spice containers. Pantry moth larvae can travel surprisingly far from their food source to pupate, so you may find them in pantry corners, nearby drawers, under shelf paper, or even in the folds of towels and paper products stored close to the kitchen.
Clothes moths are smaller and tend to avoid light, so you’re less likely to see them flying around. Instead, you’ll notice damage: small holes in wool sweaters, bare patches on rugs, or silky tubes and casings on fabric surfaces. Check closets, storage bins, and anywhere you keep wool, cashmere, silk, or fur. Also inspect items people forget about, like felt pads under furniture legs, wool blankets in the back of a closet, or taxidermy.
Deep Clean the Infested Area
No natural repellent will solve a moth problem if eggs and larvae are still present. Cleaning is the single most important step.
For pantry moths, pull everything out of your pantry and cabinets. Inspect every package of dry food, including items you wouldn’t expect, like chocolate, candies, and tea bags. Throw away anything with signs of webbing, larvae, or damage. Even unopened cardboard and thin plastic packaging can be compromised, since larvae can chew through both. Once everything is removed, vacuum every shelf, corner, crack, and crevice. Wipe down all surfaces with warm soapy water or a vinegar-water solution. Pay special attention to the gaps where shelves meet walls and any areas with crumbs or residue.
For clothes moths, remove all clothing and fabrics from the affected closet or storage area. Vacuum the entire space thoroughly, including carpet edges, baseboards, corners, and any cracks in the floor or walls. Moths lay eggs in hard-to-reach spots where they won’t be disturbed, so be thorough. After vacuuming, empty the vacuum canister or bag into a trash bag, seal it, and take it outside immediately. Leaving moth eggs sitting in your vacuum or trash can inside the house gives them a chance to hatch and restart the cycle.
Use Temperature to Kill Eggs and Larvae
Heat and cold are two of the most effective natural tools against moths at every life stage.
Washing infested clothing or linens in hot water above 120°F for 20 to 30 minutes kills moths at all stages: eggs, larvae, pupae, and adults. Most washing machines with a “hot” setting reach this temperature. For delicate items that can’t handle hot water, dry cleaning also kills all stages.
Freezing works for items that can’t be washed at high heat. Seal the item in a plastic bag and place it in a freezer set below 18°F. Leave it for several days. This is a good option for wool sweaters, decorative textiles, or small items like spice bags you want to salvage. Just make sure the freezer is cold enough, as a typical home freezer set to 0°F will do the job easily.
For pantry moth situations, you can freeze newly purchased dry goods (flour, grains, birdseed) for a few days before transferring them to storage containers. This kills any eggs that may have been present in the packaging before the food even entered your pantry.
Natural Repellents That Actually Work
Once you’ve cleaned out an infestation, natural repellents help prevent moths from returning. But it’s important to understand what they can and can’t do: these substances repel adult moths and discourage egg-laying. They do not kill larvae already feeding on your belongings.
Cedar
Cedar is the most well-known natural moth deterrent, and there’s real science behind it. The oils in cedar wood, particularly compounds called cedrol and thujopsene, interfere with a moth’s nervous system in ways that disrupt navigation and make it harder for the insect to find a mate or a suitable place to lay eggs. Cedar also serves a masking function. Female moths search for the scent of keratin, the protein in wool, fur, and feathers, to identify food sources for their larvae. A strong cedar scent effectively hides that signal, making your garments harder for moths to find.
Cedar blocks, rings, and balls placed in closets and drawers can be effective, but their oils fade over time. Sand the surface lightly every few months or apply cedar essential oil to refresh them. Be wary of any product claiming cedar kills moth larvae. It doesn’t. Cedar is a preventive measure, not a treatment for an active infestation.
Lavender
Lavender has genuine insect-repellent properties and is particularly useful for protecting stored linens and clothing. Dried lavender sachets tucked into drawers, closets, and storage bins discourage moths while leaving a pleasant scent. You can also spray diluted lavender essential oil from an atomizer onto shelf liners or closet walls. Replace sachets or reapply oil every few weeks as the scent fades.
Other Herbs
Rosemary, thyme, cloves, and mint are all traditional moth deterrents. Small sachets made from combinations of these dried herbs can be placed wherever you store susceptible items. Their effectiveness is less well-documented than cedar or lavender, but they contribute to the same general strategy: creating an environment where the scents moths rely on for navigation and egg-laying are overwhelmed by competing aromas.
Prevent Pantry Moths With Proper Storage
Pantry moths get into your home primarily through infested food packaging. Larvae or eggs are already present when you buy the product, which is why even a spotless kitchen can develop a moth problem. The best long-term prevention is transferring dry goods into airtight containers made of glass or thick, hard plastic as soon as you bring them home. Moth larvae can chew through cardboard boxes, paper bags, and thin plastic wrap, but they cannot penetrate a sealed glass jar or rigid plastic container with a tight-fitting lid.
Store everything susceptible in these containers: flour, rice, oats, cereal, pasta, dried fruit, nuts, spices, pet food, and birdseed. Birdseed and dry pet food are common sources people overlook. If you buy in bulk, freeze new purchases for three to four days before transferring them to containers. This catches any eggs before they have a chance to hatch in your pantry.
Keep pantry shelves clean and free of crumbs. Vacuum corners and crevices regularly. Rotate older products to the front so nothing sits forgotten in the back for months, giving larvae time to develop unnoticed.
Prevent Clothes Moths With Storage and Cleaning
Clothes moths are attracted to natural animal fibers, especially when those fibers carry traces of sweat, body oils, or food stains. Always launder or dry-clean wool, cashmere, and silk items before storing them for the season. Clean garments are far less attractive to egg-laying females than worn ones.
For long-term storage, use sealed garment bags, vacuum-seal bags, or airtight plastic bins. The goal is to create a physical barrier that adult moths cannot penetrate. Toss a cedar block or lavender sachet inside for added protection. Avoid storing woolens in open shelving, cardboard boxes, or loosely closed drawers where moths can easily access them.
Vacuum closets, carpet edges, and under furniture regularly. Dust and lint accumulations provide food for moth larvae, and undisturbed corners are exactly where females prefer to lay eggs. If you have wool rugs or carpets, vacuum the underside periodically and move furniture occasionally so no section stays undisturbed for long stretches.
Sticky Traps for Monitoring
Pheromone sticky traps are a useful, non-toxic tool for both detecting and reducing moth populations. These traps use synthetic versions of female moth pheromones to attract and capture adult males, which disrupts the breeding cycle. They won’t eliminate an infestation on their own, but they serve two valuable purposes: they tell you whether you still have active moths after cleaning, and they reduce the number of males available to fertilize eggs. Place traps in pantries, closets, or wherever you’ve had problems, and check them weekly. If you’re still catching moths after a thorough cleaning, you likely missed a food source or a hidden pocket of larvae somewhere.