Table of Contents
You aired it out and put baking soda on the shelf. It smelled fine with the door open, and a day after you shut it, the stale smell was back. A musty smell in closet air that keeps coming back means one thing: something in there is still holding the smell. It’s the stuff on the shelves, the shelves themselves, the walls, or water you can’t see.
So don’t start with sachets. Find out which it is, in that order, because each has a different fix. Methods 1 to 4 find and remove the source. The rest keep a clean closet fresh.
1. Shut the door, then smell it empty
Take everything out. Every sheet, towel, box and shoe. Smell each pile on its own, then shut the empty closet for a day and open it.
If the empty closet smells fine, your problem is the stuff, not the closet (jump to method 5). If the empty closet still smells, it’s the shelves, the walls, the floor or the air in there.
One new homeowner on r/CleaningTips had an empty linen closet with a stale, body-odor smell that eased with the door open and new shelves, then built up again whenever the door closed. No linens in it at all. That’s a closet problem. Check the floor and baseboards too; carpet in there is often the real culprit.

2. Look for water you can’t see
Look for water stains on the walls and ceiling. Run the shower for a few minutes if the closet backs onto a bathroom and see whether steam gets in.
Then think about what’s behind the walls. Toilet and bath drains often run through closet walls. Outside walls matter too: closet surfaces run colder than the rooms around them, and a cold, poorly insulated wall holds higher humidity. Mildew only grows where the humidity at the surface is above 70%, according to a Journal of Light Construction Q&A on mildew in closets, so a cold wall can grow it when the room feels dry.
If the room itself sits at 50% humidity or more, bring that down first. And fix any leak the same day, because EPA is blunt: clean up mold without fixing the water and it comes back.
3. Wash every surface, top to bottom
With the closet empty, wash everything: walls, ceiling, the inside of the door, every shelf top and underside, and the baseboards. Pull out any shelf liners and throw out paper ones.
What you wash with depends on the smell. A stale, body-odor smell in a closet you inherited is often old body oil from the last owner’s linens, soaked into the shelves and paint. That needs warm water and dish soap or a degreaser, not just vinegar. For a damp, mildew smell, a gallon bucket half full of warm water with 1/2 cup (120 ml) of white vinegar does the job. For actual mold spots, EPA says scrub hard surfaces with detergent and water.
Wring the cloth until it’s damp, not wet, then leave the door open with a fan running for at least three hours, until everything is bone dry.

4. Seal the walls with shellac-based primer
The closet is clean and dry, and a few days after you shut the door the smell creeps back. It’s in the drywall, the paint or the bare wood. Washing won’t reach it. Sealing will.
Use a shellac-based primer (Zinsser B-I-N is the standard one). Shellac forms a film odor can’t pass through, the same seal used on smoke and decay smells. Fix any damp and clean off any mold first, because you never prime over active mold. Then cover every surface in the closet, not just the patches that seem worse, since smell spreads sideways through porous material.
One coat does most surfaces. The B-I-N label calls for a second only on very porous surfaces. Recoat after 45 minutes; it cures fully in 1 to 3 days. Paint over it once it’s cured.
It’s highly flammable with strong fumes: ventilate, keep flames away, wear nitrile gloves, and clean brushes with denatured alcohol.
5. Strip the “clean” linens
If the smell lives in the stored sheets and towels, another normal wash won’t change anything. Cotton pulls moisture out of the air even on a shelf, and detergent build-up stops towels from drying fully, which leaves them open to bacteria. Fabric softener adds its own build-up. One person on a forum washed guest sheets with Tide, dried them with Bounce, and found them stale a month later with no sign of mold.
Strip them. Run two hot washes back to back with no detergent and no softener. First wash: the hottest water the care label allows, with 1 cup (240 ml) of white vinegar in the drum. Second wash: hot again, with about 1/2 cup (120 ml) of baking soda and nothing else. Keep them in separate cycles, because the acid and the alkali cancel each other out in one load. Check your washer manual first, since some makers advise against vinegar.
Dry completely and repeat if needed. Towels have their own guide at musty smell from towels.
6. Run fans with the door open
Once it’s clean, dry it out hard. Prop the closet door open overnight, put one fan in the closet blowing out and a second fan across the room blowing in. That pulls the closet air out instead of just stirring it.
Then test it. One Reddit commenter whose hallway closet kept going stale washed it down, left the door cracked for a week with a bowl of baking soda, and only put linens back once the smell stayed gone with the door shut for a couple of days. Do the same.

7. Swap in a louvered door
Most closets have no window and no heating or cooling vent. Shut a solid door on that and the air never changes.
A louvered (slatted) door fixes it for good. A general contractor quoted by Scary Mommy says replacing linen closet doors with slatted doors, so air can move through them, is one of his most requested renovation jobs. Measure the old door’s height, width and thickness, note whether it’s hinged or bifold, and buy the same. Do this last: moving air keeps a clean closet fresh, but it won’t pull a smell out of a wall.
8. Set out a moisture absorber
In a space this small, tubs of moisture-absorbing crystals beat an electric dehumidifier. Put one on the floor or a low shelf. The water it pulls out collects in the tub, so you can see it working. Empty the liquid and replace the crystals when the tub fills.
9. Add activated charcoal for what’s left
Mesh bags of activated charcoal on a shelf soak up what’s left after the real fix. Replace them when the smell creeps back.
What causes musty smell in closet air
Damp is the obvious one: a leak, a bathroom behind the wall, a cold outside wall, or laundry dried in the closet.
Then there’s what a previous owner left. A stale, sweaty smell in an empty closet you just bought is often body oil from years of their linens, soaked into the shelves and paint.
And the closet itself barely breathes. As a 3M indoor air quality specialist put it, most closets are windowless and cut off from the central heat and air, so they don’t get the circulation that keeps moisture down.
How to prevent it coming back
Only put away linens that are completely dry, and never dry laundry in the closet. Don’t cram the shelves; keep fewer sets and rotate them, so nothing sits for months. Keep the house below 50% humidity.
And skip the dryer sheets and linen sprays, even though several of the top-ranking guides tell you to tuck them between your sheets. They put a scent over the smell. They don’t remove it, and while they’re there you can’t smell where it’s coming from. For the rest of the house, see musty smell in house.
When to call a professional
Call a mold contractor if mold covers more than about 10 square feet. That’s EPA’s line. Call a plumber if you find a water stain you can’t trace, or the closet wall carries a drain stack and the smell is closer to sewage than to mildew. Moldy drywall and other porous materials may have to be replaced, and that’s a job for someone who’ll also find where the water came from.
FAQ
Why does my closet smell fine with the door open but musty when it’s shut?
The source is still in there and the open door lets it vent. Find it (methods 1 to 4) before you rely on airflow.
Will a regular latex primer seal the smell?
Not as well. No water-based or latex primer blocks odor the way shellac does. Shellac forms a film the smell can’t get through, which is why it’s the standard choice for sealing smoke and decay odors.
Can I put my linens back while the closet still smells?
No. Clean linens will pick up the smell again. Wait until the closet passes a closed-door test of a couple of days.
Do dryer sheets fix a musty linen closet?
No. They add a scent on top. Fix the damp, wash or seal the closet, and strip the linens instead.


