Smart picks for a budget home

How to Get Rid of Mildew Smell in Laundry (And Keep It Gone)

That sour, musty smell in your laundry is one of the most stubborn odors to beat. It doesn't come from dirt—it comes from living microbes. The good news is that once you know where they hide, you can get rid of the smell and keep it from coming back.

This post contains affiliate links. If you buy through them, we may earn a small commission at no extra cost to you. We only link to products we could verify exist.

How to Get Rid of Mildew Smell in Laundry (And Keep It Gone)

What Actually Causes Mildew Smell in Laundry

As a rule of thumb, Mildew smell is a byproduct of bacteria and mold growing in your laundry. They feed on the oils, sweat, and body soil left on fabric, and they thrive in damp, dark places.

In most cases, Your washing machine is the perfect habitat. Front-loaders are the worst offenders because water pools in the door gasket. But top-loaders get funky too, especially if you always wash in cold water and use too much detergent, in my experience.

Honestly, the smell often isn't in the fabric at all. It's in the machine, and it re-contaminates every load you run. So you have to treat both.

Step 1: Figure Out Where the Smell Is Coming From

Before you buy anything, do a quick smell test.

In my experience, about 8 out of 10 cases trace back to the washer, not the clothes, in practice.

Step 2: Clean the Washing Machine First

There's no point rewashing clothes in a dirty machine. Set aside about an hour.

Start with the gasket. Wipe every fold with a 50/50 mix of white vinegar and water, then dry it with a rag. If you see black speckles, that's mold—scrub it with a little baking soda on a damp cloth.

Next, run a cleaning cycle. You have two solid options:

For a deep clean, I like Affresh Washing Machine Cleaner because it targets the biofilm that vinegar sometimes leaves behind. If you'd rather not use tablets, plain vinegar is fine.

Also clean the detergent drawer by hand, and check the drain pump filter. Rinse it under warm water until the water runs clear.

Leave the door open when you're done. This one habit prevents most future problems.

Step 3: Treat the Smelly Clothes

Now for the laundry itself. Regular detergent won't fix this because the odor is trapped in the fibers, honestly.

Use one of these methods.

The vinegar soak. Fill a tub or your washer with cool water, add 1 cup of white vinegar, and let the clothes soak for 30 to 60 minutes. Then wash as normal. Vinegar is acidic and kills a lot of the odor-causing bacteria.

The baking soda boost. Add 1/2 cup of baking soda directly to the drum with your detergent. It neutralizes acid odors and softens water so detergent works better.

Oxygen bleach. For whites and colorfast items, add 1 scoop of OxiClean to a warm wash. It breaks down organic residue that holds the smell.

Enzyme cleaner. For really stubborn cases—like gym clothes or towels that smell sour the second they get wet—an enzyme-based sports wash like Defunkify Active Wash eats the oils and bacteria directly. It costs more than vinegar, but it works when nothing else does.

How to Get Rid of Mildew Smell in Laundry (And Keep It Gone)

One warning: never mix vinegar and bleach. It creates toxic chlorine gas.

Step 4: Wash the Right Way

How you wash matters as much as what you wash with. Here's the routine that works.

If you have hard water, add a water softener like Borax. One-half cup per load helps detergent rinse away completely, in my experience.

Step 5: Dry It Completely

Mildew needs moisture. If clothes sit damp for even a few hours, the smell comes right back.

Move laundry to the dryer immediately after the wash ends. Don't leave it overnight—that's the single fastest way to undo your work.

Set the dryer to a hot cycle if the care label allows. If you line dry, do it in direct sun. Sunlight is a natural disinfectant and it bleaches out stains too, believe it or not.

For towels and heavy items, add a clean, dry towel to the load for the first 15 minutes. It absorbs extra moisture and speeds drying.

If your dryer has a moisture sensor, use it. Over-drying wastes energy, but under-drying leaves damp spots where mildew grows.

Step 6: Keep It From Coming Back

Prevention is mostly about habits, and they take about 10 seconds each, in my experience.

Here's a quick reference for how often to tackle each task:

Task How often
Wipe door gasket After every load
Leave door open Always
Clean detergent drawer Monthly
Run cleaning cycle Monthly
Clean drain pump filter Every 3 months

Stick to that and you'll rarely deal with this again.

When to Call It Quits on a Garment

Some items aren't worth saving. If a towel or shirt still smells sour after two full treatments, the mildew has likely grown into the fibers and won't come out. At that point, it's a health issue—mold spores can trigger allergies and breathing problems, in practice.

Toss it, or cut it up for cleaning rags. A $5 towel isn't worth respiratory irritation.

The bottom line

Mildew smell in laundry almost always comes from the washing machine, not the clothes. Clean the machine first—gasket, drawer, and filter—then treat the fabric with vinegar, baking soda, or an enzyme wash. Wash with less detergent, dry promptly, and leave the door open. Do that, and the smell stays gone.

Frequently Asked Questions

Does vinegar really kill mildew in laundry?

Vinegar is acidic, which kills a lot of odor-causing bacteria and mold. It works well as a soak or a machine cleaner. For deep-set smells, pair it with baking soda or an enzyme detergent, believe it or not.

How to Get Rid of Mildew Smell in Laundry (And Keep It Gone)

Why does my laundry smell like mildew right after washing?

If clothes smell musty straight out of the wash, the machine is the culprit. Mold and biofilm are living in the gasket, drawer, or drum and re-contaminating every load. Clean the washer before washing anything else.

Can I use bleach to get rid of mildew smell?

Yes, for white cotton and other bleach-safe fabrics. Use it according to the label and never mix it with vinegar or ammonia. For colors, use oxygen bleach instead, since chlorine bleach will fade them.