How to Get Rid of a Musty Smell in the Closet

Updated July 2026

The short answer

A musty closet is a moisture problem wearing a smell. Closets are still air pockets, often against exterior walls — add one source of dampness (slightly damp laundry, wet shoes, humid air, a slow leak) and mildew settles in, then migrates into everything hanging there. The fix has three parts: find and stop the moisture source, refresh the contents (launder or air out everything that smells), and change the conditions — airflow, a moisture absorber, and never storing anything damp. Cedar blocks and sachets are fine finishers, but they mask; the moisture work is the cure.

Before you start

You need: an afternoon, basic cleaning supplies (mild all-purpose cleaner or vinegar solution), a moisture absorber (rechargeable dehumidifier box or desiccant tub), and laundry capacity for the contents.

Hunt the source first: feel the walls and floor for damp, check for leaks from adjacent bathrooms or the roof line, look under stored shoes and bags, and remember the classic culprit — clothes put away before they were fully dry.

If you find active mold patches on walls (not just smell), that is a moisture-intrusion problem worth fixing at the source before any amount of closet freshening.

Steps

  1. 1Empty the closet completely. Everything out, into daylight.
  1. 2Find the moisture source — damp wall, leak, wet items, humidity — and address it. Skipping this step makes the rest temporary.
  1. 3Wipe down shelves, rods, walls, and floor with a mild cleaner or vinegar solution, and let the closet air out with the door open for a day if you can.
  1. 4Triage the contents: launder what smells musty (see the mildew-smell guide for the strip wash), air out in sunlight what merely sat nearby, and toss or professionally clean anything with visible mold.
  1. 5Restock loosely — packed closets kill airflow. Nothing goes back damp, including just-worn clothes and gym shoes.
  1. 6Add a moisture absorber and keep air moving: leave the door cracked, or open it regularly. Recheck the absorber monthly; a fast-filling one means the source is still active.

What not to do

  • Do not perfume over the smell with sachets and sprays while the moisture source is active.
  • Do not store slightly-damp laundry, towels, or shoes in the closet — the root cause in most homes.
  • Do not pack the closet wall-to-wall; mildew loves still air.
  • Do not put plastic dry-cleaning bags back over garments for storage; they trap humidity.
  • Do not ignore a recurring smell after cleanup — recurring means the moisture is still coming from somewhere.

Frequently asked questions

What causes a musty smell in a closet?

Trapped moisture plus still air: damp items stored inside, humidity condensing against an exterior wall, a nearby leak, or simply no airflow. Mildew establishes on surfaces and fabric, and the smell soaks into everything hanging there.

How do I get the musty smell out of clothes that were in the closet?

Launder what smells (a strip wash with oxygen bleach or a vinegar cycle for the worst), and sun-air what merely sat nearby — a few hours outside revives most of it. Returning them to an untreated closet undoes the work, so fix the space in the same effort.

Do moisture absorbers actually work in closets?

Yes, within limits — desiccant tubs and rechargeable dehumidifier boxes meaningfully drop humidity in a small enclosed space. A fast-filling absorber is also a diagnostic: moisture is actively entering, and the source still needs finding.

Is a musty closet smell a sign of dangerous mold?

Usually it is surface mildew and trapped humidity, handled by the clean-dry-ventilate routine. Visible spreading patches on walls, a persistent return after cleanup, or a water-stained ceiling point to active water intrusion worth a professional look.

Clothes themselves still smell after airing out? Use the Stain Rescue Tool or the mildew-smell guide for the strip-wash fix.

Use the Stain Rescue Tool

Related guides