Lavender—especially dried flowers and the essential oil—can repel some adult clothing moths and mask the scent of wool, but it does not reliably prevent infestations, and it will not kill eggs, larvae, or moths already established in a closet or stored textile.
What “prevention” means here, and why the answer is qualified
The question sits on an ambiguity that matters: prevention could mean keeping adult moths from laying eggs near stored clothing, or it could mean stopping an infestation from starting at all. Lavender is plausibly useful for the first, narrowly and inconsistently; it is not a dependable tool for the second.
Two insects are usually called “fabric moths” in American homes:
Webbing clothes moth (Tineola bisselliella) — the common closet and stored-wool pest. Casemaking clothes moth (Tinea pellionella) — less common, larvae build a portable case.
Both are clothes moths (family Tineidae), distinct from the much larger mill moths and pantry moths (Plodia interpunctella) that infest dry goods. All three are sometimes lumped as “moths,” but only clothes-moth larvae digest keratin in wool, fur, feathers, silk, and hair. This distinction is the single most common source of confusion: a lavender sachet in a pantry will not solve a clothes-moth problem, and a moth trap near flour won’t catch clothes moths.
What lavender actually does
Lavender (Lavandula spp., chiefly L. angustifolia and L. × intermedia in gardens) contains volatile compounds, most notably linalool and linalyl acetate, along with camphor and terpenes in variable amounts. These are the basis for the plant’s reputation.
Repellency against adults. Aroma is the mechanism. Adult clothes moths locate mates and egg-laying sites partly by scent, and strong plant volatiles can interfere with that behavior. In laboratory studies of essential oils, lavender oil and its components have shown repellent or deterrent activity against adult clothes moths, and some formulations have shown oviposition (egg-laying) deterrence. This is the strongest scientific basis for the claim, but “repellent in a lab assay” is not the same as “prevents infestation in a real closet.”
No meaningful larvicidal or ovicidal effect at household strength. Lavender is not an insecticide in the way that, say, permethrin-treated wool is. Dried lavender and diluted oil do not reliably kill clothes-moth larvae, which are the stage that actually chews holes, and they do not reliably kill eggs. A closet can therefore smell strongly of lavender and still contain feeding larvae hidden in a folded sweater or under a collar.
Scent fades. The volatile compounds that do the work evaporate. Dried lavender loses potency within months, faster in warm, dry rooms; essential oil on cotton balls or in open sachets likewise declines. A sachet that smelled wonderful last spring may be nearly inert by autumn, which is why reports of lavender “not working” and “working” can both be sincere.
Where lavender fits in a real prevention program
Treat lavender as a supplement, not a barrier. The elements that actually prevent clothes-moth damage are unglamorous:
1: Clean before storage. Larvae feed on wool and on traces of sweat, food, and body oils. Launder or dry-clean items before storing them for the season. This is the single most effective step. 2: Store correctly. Airtight bins, vacuum bags, or sealed garment bags keep egg-laying females away from the fabric. Cedar chests help somewhat but are not reliably airtight. 3: Reduce humidity and warmth. Clothes moths prefer dark, humid, undisturbed spaces. Ventilation and lower humidity help. 4: Inspect seasonally. Check stored wool, silk, and blends at least twice a year, especially seams, cuffs, and folds. Catching larvae early prevents the visible holes. 5: Use pheromone traps for monitoring. These attract adult males and tell you whether moths are active; they do not control an infestation. 6: Physical removal. Vacuum closets, baseboards, and the undersides of shelving to remove eggs, larvae, and shed hairs. 7: Chemical control only if warranted. Mothballs (paradichlorobenzene or naphthalene) and treated textiles are effective but carry real health and safety considerations, especially around children and pets, and must be used per label directions. This is not a casual substitute for lavender.
Within that framework, a cotton sachet of dried lavender or a few drops of lavender oil on an absorbent pad can be placed among clean, sealed items—not touching the fabric directly, since oil can stain and some people find the scent overwhelming. Replace it every few months.
Why “lavender prevents moths” persists
The belief is old and culturally durable: lavender has been used for centuries in European linen and wool storage, and the association of lavender with “clean linens” is partly a real repellent effect and partly the practical fact that a strongly scented, dry herb was a cheap way to make stored textiles less attractive to insects and less musty. Garden and home references often repeat the claim without distinguishing repellency from killing. The confusion compounds because:
Scent is not proof. A closet that smells of lavender may simply have fewer visible adults while larvae feed quietly. Different moth species respond differently, and lavender’s effect on pantry moths and mill moths is not interchangeable with clothes moths. “Natural” is not a regulated efficacy claim. There is no household-standard label for lavender sachets comparable to an EPA-registered insecticide, so potency varies enormously. Anecdotes conflate correlation and cause. People who clean, store in bins, and add lavender often credit the lavender for an outcome driven by the cleaning and sealing.
The distinction that settles the practical question
If you want to discourage adult moths from settling in a closed space, lavender is a reasonable, low-risk supporting measure with some evidence behind it, provided you replace it regularly and keep textiles clean and sealed.
If you want to prevent an infestation from establishing or eliminate an existing one, lavender is not sufficient. It does not reliably kill larvae or eggs, and its scent fades too quickly to serve as a standing barrier. The prevention comes from cleaning, sealing, humidity control, and inspection; treatment—if needed—comes from proven methods used correctly.
One more contextual point: the query’s source category is horticulture and flower cultivation, so the answer is about lavender as a plant and herb. Gardeners can also grow lavender near a drying or storage room, but outdoor plantings do not protect indoor closets; the volatiles simply do not reach stored fabric at useful concentrations. The useful form is the harvested, dried herb or oil used where the textiles are kept.
In short: yes, lavender can aid deterrence of adult fabric moths, and no, it should not be relied on as a preventive treatment. Use it as a scented complement to cleanliness, sealing, and inspection—not as a replacement for them.