TL;DR
Mothballs work by turning directly from solid to vapor, and that vapor soaks into every soft surface in the room, including carpet fiber, backing, and pad. Ventilation removes most of it over days to weeks, and hot water extraction speeds it up considerably. Old mothball residue in a closet floor is common in inherited homes, and the pad is often the last holdout.
Why Mothball Smell Is So Persistent
Mothballs are made from either naphthalene or paradichlorobenzene, and both sublime, meaning they pass straight from solid to gas without melting. That vapor fills the enclosed space, and because it is heavier than air, it settles downward and concentrates at floor level.
Soft materials absorb it readily. Carpet is a large soft surface right where the vapor collects, so it becomes a reservoir that keeps re-releasing the smell long after the mothballs themselves are gone. The compounds also have a very low odor threshold, so a tiny remaining amount still smells strong.
Source: CDC toxicological profile summaries on naphthalene
First, Remove the Source
Before any cleaning, get the mothballs out and check for hidden ones. They migrate: into heating vents, under baseboards, behind shelving, into the gap between carpet and tack strip, and inside stored boxes.
Dispose of them according to your local household hazardous waste guidance rather than in the regular trash, and never vacuum crushed mothball dust, since that puts the material through the machine and into the air. Sweep it up carefully into a sealed bag instead.
Ventilation Does More Than Anything Else
Because the source is a vapor absorbed into materials, air exchange is the main mechanism for removal. This is one odor where opening windows genuinely works:
- Open windows on opposite sides of the space to create cross-flow.
- Put a box fan in a window blowing outward, which creates negative pressure and pulls the vapor out rather than pushing it around the house.
- Empty the closet completely. Anything soft still in there is both a reservoir and a re-contaminator.
- Leave the closet door open and run air past it for days, not hours.
- Run the HVAC fan continuously to keep air moving, and change the filter afterward.
Expect meaningful improvement in a few days and full clearance in one to four weeks depending on how heavily the space was treated. Technique detail is in how to ventilate a room after carpet cleaning.
What Cleaning Adds
Hot water extraction removes a large share of the absorbed material from the carpet face and backing, and it removes the soil that holds it. The flushing action is what matters, so a thorough rinse and full water recovery are more important here than the detergent choice.
Vacuum thoroughly first with a clean filter, then extract, then dry fast with airflow, targeting 6 to 12 hours. Closet carpet is often overlooked entirely during a normal cleaning, and in this case it is usually the worst area in the house. Our guide to how to clean closet carpet covers working in a tight space.
Solvent-based products are generally unnecessary and add their own odor. Ventilation plus extraction is the reliable pairing.
The Pad Is the Last Holdout
In a closet where mothballs sat directly on the carpet for years, vapor and sometimes residue reach the pad. Pad is a thick open-cell material and it releases absorbed compounds slowly, which is why a closet can smell faintly of mothballs for a year after everything else is clean.
Signs the pad is involved: the smell is strongest at floor level, it returns when the closet door has been shut for a day, and it survives a full cleaning and a week of ventilation. In that case, replacing the pad in that closet is a small job with a large payoff. Closet pad is a few square feet and is straightforward to swap.
If the smell is still present after new pad, seal the subfloor in that area with a shellac-based or dedicated odor-blocking primer before reinstalling.
Inherited Homes and Estate Situations
This problem shows up constantly when a house changes hands. Mothballs were widely used for decades, and a closet, an attic hatch surround, or a spare bedroom will carry the smell long after the boxes are gone.
Work in this order: remove everything soft, find and dispose of the source, ventilate hard for a week, clean carpet and hard surfaces, then reassess. Only replace pad or carpet after that sequence has run its course, because a surprising amount clears with air alone. Related guidance is in how to clean carpet you inherited with a house.
Safety and What Not to Do
Do not try to cover this smell with fragrance. Masking a solvent-class vapor with perfume produces a worse result and hides whether you are making progress, which is the core issue in deodorizer versus true odor removal.
Never use chlorine bleach on carpet. It destroys dye permanently, and where any pet urine is present the ammonia compounds in urine can react with bleach to release chloramine gas. Never mix cleaning products in a small enclosed space like a closet, where vapor concentrates.
Health questions belong with a doctor. Cleaning does not treat, prevent, or cure any condition, and mothball products carry their own label warnings that should be followed exactly. If anyone in the home has symptoms they connect to the exposure, contact a physician or your local poison control resource.
FAQ
How long does mothball smell last in carpet?
With good ventilation, most of it clears in one to four weeks depending on how heavily the space was treated. Without airflow, absorbed vapor can keep releasing for months. Carpet pad releases slowest and is often the last source of a faint lingering smell.
Does carpet cleaning remove mothball smell?
Hot water extraction removes a large share of the absorbed material from the carpet face and backing, which speeds things up considerably. It does not reach the pad, so a heavily contaminated closet may still need new pad after cleaning and ventilation.
Will baking soda get rid of mothball smell?
Baking soda absorbs a small amount of airborne odor and can dull it briefly. It does not remove material absorbed into fiber, backing, or pad, so the smell returns after vacuuming. Ventilation and extraction are what actually reduce it.
Can I vacuum up crushed mothballs?
No. Vacuuming crushed mothball dust puts the material through the machine, coats the filter, and releases vapor through the exhaust. Sweep it carefully into a sealed bag and dispose of it per local household hazardous waste guidance instead.
Are mothball fumes dangerous?
Mothball products carry specific label warnings and health guidance from public health agencies, and those should be followed exactly. This is a medical and safety question rather than a cleaning one, so contact a physician or poison control if anyone has symptoms.
Do I need to replace the carpet?
Usually not the carpet, but sometimes the pad in a closet where mothballs sat directly on the floor. Run the full sequence first: remove the source, ventilate for a week, clean, then reassess. A surprising amount clears with airflow alone.
Mothball odor is the rare carpet smell where patience and moving air do most of the work. Get the source out, run a fan in the window for a week, then extract what is left in the fiber. If a closet still smells with the door shut after all that, the pad is holding it and a small replacement finishes the job. Learn more about carpet cleaning or get a quote and we will walk you through it.

