How to Clean a Washing Machine and Get Rid of That Smell

Gloved hand cleaning washing machine exterior.

Your washing machine cleans things for a living. It's therefore mildly offensive when it starts to smell.

You open the door expecting the reassuring scent of freshly washed laundry and instead get something closer to Damp Basement, the fragrance. Or you notice residue in the detergent dispenser. A suspicious film around the door gasket. Little bits of something you'd prefer not to identify.

At this point, it's reasonable to ask: shouldn't the washing machine be cleaning itself every time I use it?

Unfortunately, no. Detergent residue, fabric softener, dirt, lint, body oils, minerals and moisture build up inside every washer. Front-loaders are especially prone to musty smells, because water sits in the door gasket.

The fix isn't complicated. Your washing machine occasionally needs a wash, too. Here's how to do it without turning laundry day into an appliance-repair experiment.

How to Clean a Washing Machine: The Short Version

1.     Clean the detergent and fabric-softener dispensers.

2.     Wipe the door gasket (front-loaders).

3.     Clean the drain-pump filter.

4.     Run an empty Clean Washer cycle with bleach or a washer-cleaner tablet.

5.     Wipe the drum.

6.     Clean the door or lid.

7.     Wipe the outside.

Plan on about 15 minutes of work, plus the cycle time. Do it once a month, or every 30 loads.

First, a Quick Look at Your Manual

Washer models differ, so take two minutes to look up yours. Lost the paper manual? Search the model number (it's on a sticker inside the door or lid) on the manufacturer's website. Check for:

•      A Clean Washer, Tub Clean or Self Clean cycle

•      Whether bleach is approved, and how much

•      Where the drain-pump filter is, if your machine has one

•      Any cleaners your washer's maker says to avoid

If your manual says something different from this page, go with the manual. Your washer's manufacturer knows more about your washer than somebody's viral baking-soda video.

How Often Should You Clean a Washing Machine?

Once a month, or every 30 loads, whichever comes first. Many newer washers flash a reminder when it's time.

Clean it sooner if:

•      The washer smells musty

•      The dispenser is coated with residue

•      The gasket looks grimy

•      You do a lot of laundry, use fabric softener, or wash mostly in cold water

Don't wait for a ceremonial date on the calendar. If it smells, clean it.

Before You Start

Empty the machine. Remove stray socks, coins, tissues and anything else that's managed to establish residency inside.

You'll need:

•      Soft cloths or microfiber towels

•      An old toothbrush or a small soft brush

•      Dish soap

•      Chlorine bleach, or washer-cleaner tablets like Affresh

•      Rubber gloves

•      A shallow pan and an old towel, for the filter

That's it. We're cleaning an appliance. We're not opening a laboratory.

Step 1: Clean the Detergent and Fabric-Softener Dispensers

Close up of dirty washing machine dispensers.

Start where the products go in. Dispensers build up thick, sticky residue, especially when you use too much detergent.

1.     Pull out the dispenser drawer. Most slide out when you press a tab, often marked “Push,” in the softener compartment.

2.     Soak it in hot, soapy water for 10 minutes.

3.     Scrub the corners and crevices with an old toothbrush.

4.     While it soaks, scrub the empty dispenser housing inside the machine, where mildew loves to hide.

5.     Rinse, dry and slide the drawer back in.

If the dispenser doesn't come out, scrub what you can reach with the toothbrush and a damp, soapy cloth.

And take a good look at how much detergent you've been using. If the compartment looks like it's forming its own geological formation, more detergent is not the answer.

Step 2: Clean a Front-Load Washer Gasket

If you have a front-loader, the rubber gasket around the door is ground zero for The Smell. Gently pull back the folds and look for:

•      Hair and lint

•      Detergent residue

•      Standing water

•      Black spots of mold or mildew

•      The occasional coin

•      Something that may once have been a tissue

To clean it:

1.     Pick out the debris.

2.     Put on gloves, and mix 3/4 cup of chlorine bleach into 1 gallon of warm water.

3.     Wipe all around the gasket, inside the folds, with a cloth dipped in the solution. Use a toothbrush on stubborn spots.

4.     Let it sit for 5 minutes.

5.     Wipe with a clean, damp cloth, then dry the gasket thoroughly.

If your manual says no bleach, use warm, soapy water or a washer-cleaning wipe instead. Skip the abrasive scrubbers. Damaging a washer gasket while cleaning it would be an impressively expensive form of housekeeping.

Step 3: Clean the Drain-Pump Filter

Most front-loaders have a drain-pump filter that catches lint, coins, hair and the occasional earring. It's usually behind a small door at the bottom front of the machine. Many top-loaders don't have one you can reach, so check your manual.

1.     Put a towel and a shallow pan under the filter door.

2.     Open the door. If there's a small drain hose, pull it out and drain the water into the pan first.

3.     Unscrew the filter counterclockwise, slowly.

4.     Rinse off the lint and debris under the faucet.

5.     Screw it back in firmly. It must be tight, or it'll leak.

There will be water. Potentially considerably more water than your optimism anticipated.

Check the filter every few months, or monthly if you have pets or wash lots of towels.

Step 4: Run the Washer's Cleaning Cycle

Many newer washers have a cycle labeled Clean Washer, Tub Clean or Self Clean. Use one of these:

•      A washer-cleaner tablet, like Affresh Washing Machine Cleaner: one tablet in the drum. No measuring, no mixing.

•      Chlorine bleach: about 1 cup. Pour it into the bleach dispenser on a front-loader, or straight into the drum on a top-loader.

Don't add laundry. For once, the washing machine gets the load all to itself.

No cleaning cycle? Run the hottest, longest, largest-load cycle your washer has, with the same bleach or tablet. Add an extra rinse if you can.

Should You Clean a Washing Machine With Vinegar?

Vinegar is recommended in countless household-cleaning articles. That doesn't mean it belongs in every washing machine.

Several washer makers advise against frequent vinegar, because the acid can wear out rubber seals and hoses over time. Bleach or a washer-cleaner tablet does the job better. If your manual specifically approves vinegar, use about 2 cups in an empty hot cycle, and never in the same cycle as bleach.

Vinegar is useful. It is not the elected leader of household cleaning.

What About Baking Soda?

Baking soda is a mild deodorizer, but it won't remove the buildup that causes the smell. And it's not worth risking a powdery residue in your washer's pump. Skip it.

Can You Use Bleach to Clean a Washing Machine?

Yes, in most washers. About 1 cup of chlorine bleach in an empty Clean Washer or hot cycle is the method most manufacturers recommend.

And this is critical: never mix chlorine bleach with vinegar, ammonia or any other cleaner. Combining them creates dangerous fumes. Use one cleaner at a time, with a rinse cycle in between.

A smelly washer is irritating. A toxic laundry room is worse.

(Need to kill germs after a stomach bug or a week of fevers? Here's how: Disinfecting Your Washer and Dryer.)

Step 5: Wipe the Drum

After the cycle finishes, wipe the drum with a clean, damp cloth to pick up any loosened residue.

Still smells, or still see buildup? Run one more cleaning cycle. But don't respond by doubling the cleaner. More isn't automatically better. Sometimes more cleaner is precisely how the residue got there.

Step 6: Clean the Door or Lid

Wipe the inside and outside of the door or lid with a damp, soapy cloth, including the handle, edges, hinges and glass. On a front-loader, clean the inside of the glass, where detergent film and lint collect. Then dry everything.

This is not the most consequential step. It is, however, satisfying.

Step 7: Wipe the Outside

Give the top, sides, knobs, buttons and control panel a quick wipe. Spray the cleaner onto the cloth, not onto the controls.

Electronics and household-cleaning exuberance are poor roommates.

Why Does My Washing Machine Smell?

A musty washer almost always comes down to moisture plus buildup. The usual suspects:

•      Too much detergent or fabric softener

•      Debris and water in the gasket

•      A dirty dispenser

•      A clogged drain-pump filter

•      Wet clothes left sitting in the machine

•      Closing the door while the washer is still damp

•      Washing mostly in cold water

Start with a cleaning. If the smell comes back fast, work through the habits below. 

Laundry fragrance isn't a repair technique.

You're Probably Using Too Much Detergent

More detergent does not mean cleaner clothes. It leaves residue on your clothes and inside the washer, and that residue is what smells.

High-efficiency (HE) washers use much less water than older machines, so they need HE detergent, and less of it. Follow the fill line on the cap for the load size, not the top of the cap.

Do not pour detergent until your ancestors whisper, “That's enough.” Measure it. (For help choosing, see Liquid vs. Powder Laundry Detergent.)

Don't Overload the Washer

Don't Overload the Washer

Clothes need room to move and rinse. A washing machine is not a suitcase. Sitting on the lid to make everything fit is a sign we've gone too far.

Remove Wet Laundry Promptly

Wet clothes in a closed washer make exactly the damp environment you're trying to avoid. Move them to the dryer within a few hours.

If you forget a load long enough that it smells musty, rewash it before drying. Don't put musty clothes in the dryer and hope heat will turn them into fresh laundry. The dryer has many talents. Time travel is not one of them.

Let the Washer Dry Between Loads

Leave the door or lid open a few inches after each load, and pull the dispenser drawer out slightly, so everything can dry. On a front-loader, wipe the gasket dry with a towel.

One caution: an open washer can tempt small children and pets to climb in. If you have little ones, keep the laundry room door closed, use the washer's child lock, or prop the door with a door stop they can't move.

Wipe Up Spills Right Away

Wipe up detergent and fabric softener spills before they become a permanent architectural feature. A little maintenance now is easier than excavating hardened detergent later.

Front-Load vs. Top-Load Washer Cleaning



Trouble spots


Smell risk


Extra habit

Front-load washers


Door gasket and its folds, door glass, dispenser drawer, drain-pump filter

Higher, because water sits in the gasket

Wipe the gasket dry after the last load of the day

Top-load washers


Dispensers, the underside of the lid, the tub rim, the agitator or impeller

Lower


Leave the lid open to dry

Don't take apart an agitator or any other part just because dirt might theoretically exist underneath. There is a point where cleaning ends and appliance repair begins. Know where that line is.

What If You See Mold in the Washer?

A few black spots in the gasket or dispenser are common, and the bleach gasket cleaning in Step 2 takes care of most of them. Wear gloves and keep the room ventilated.

If the mold is widespread, keeps coming back within a week or two, or seems to be inside parts you can't reach, call an appliance technician. And if there's mold elsewhere in the laundry room, the problem is the room's moisture, not just the washer. (For more, see Bathroom Mold Removal.)

What If the Washer Still Smells After Cleaning?

If you've cleaned everything and it still smells, stop adding products. Something else is going on:

•      A drain or drain-hose problem

•      Standing water after the cycle

•      A clogged filter or pump

•      Plumbing odors from the drain

•      Buildup inside parts you can't reach

Check your manual's troubleshooting section, or call a qualified appliance technician.

If it smells like sewage, burning or hot wiring, stop using the washer, unplug it, and have it checked. That's not a cleaning problem.

The Five-Minute Washer Reset

You don't need to deep clean your washing machine after every laundry day. After the last load, take 5 minutes to:

1.     Remove the clothes promptly.

2.     Check the gasket on a front-loader and pick out anything stuck there.

3.     Wipe the gasket and door dry.

4.     Leave the door open a few inches to dry, if it's safe in your house.

5.     Pull the dispenser drawer out slightly to dry.

It's considerably easier than meeting The Smell six months from now.

Washing Machine Cleaning Checklist

Monthly, or every 30 loads:


•      ☐ Clean the detergent and fabric-softener dispensers

•      ☐ Clean the front-load door gasket

•      ☐ Clean the drain-pump filter (every few months)

•      ☐ Run a Clean Washer cycle with bleach or a tablet

•      ☐ Wipe the drum, the door or lid, and the outside

After every load:

•      ☐ Move wet laundry right away

•      ☐ Leave the door and dispenser open to dry

Every time you do laundry:

•      ☐ Measure the detergent

Three Things to Stop Doing

1.     Stop using too much detergent. It doesn't make laundry twice as clean.

2.     Stop leaving wet clothes in the machine. Your washer isn't temporary wet-laundry storage.

3.     Stop throwing random cleaning ingredients into it. Your appliance does not need vinegar, baking soda, bleach, dishwasher tablets and a lemon all arriving for the same meeting. Pick one method and use it.

Frequently Asked Questions

How often should you clean a washing machine?

Once a month, or every 30 loads. Clean it sooner if it smells musty or the gasket or dispenser looks grimy.

What is the best way to clean a washing machine?

Clean the dispenser, gasket and filter by hand, then run an empty Clean Washer cycle with about 1 cup of chlorine bleach or one washer-cleaner tablet.

Why does my front-load washer smell?

Water and detergent residue sit in the door gasket, where mold and bacteria grow. Clean the gasket with a bleach solution, use less detergent, and leave the door open to dry between loads.

Can I clean my washing machine with vinegar?

Only if your manual approves it. Many manufacturers advise against frequent vinegar, because it can wear out rubber seals. Bleach or a washer-cleaner tablet works better. Never use vinegar and bleach together.

Where is the filter on a washing machine?

On most front-loaders, it's behind a small door at the bottom front of the machine. Many top-loaders don't have a filter you can reach. Check your manual.


The Bottom Line

Cleaning your washing machine doesn't need to become another major household project. Clean the dispenser, gasket and filter. Run a cleaning cycle once a month. Measure your detergent. And let the washer dry between loads.

Most importantly, don't wait until your freshly washed towels come out smelling worse than they went in. Your washing machine has one job. Occasionally, you have to help it do it.

Keep Going

The washer smells like nothing at all, which is exactly right. Keep the laundry room running with these related guides:

•      Disinfecting Your Washer and Dryer: Kill germs after a stomach bug, poison ivy or a sick week.

•      Laundry and Stain Removal Guide: Everything about washing clothes and getting stains out.

•      Liquid vs. Powder Laundry Detergent: Which one leaves less residue behind.

•      Laundry Temperature: Hot, Warm or Cold?: When hot water is worth it.

•      How to Wash Towels: Soft, fluffy towels that don't smell.

•      Homemade Laundry Stain Removers: Stain fighters from your pantry.

•      Bathroom Mold Removal: For the other room where moisture wins.

•      Home Maintenance: The upkeep for every hardworking appliance in the house.

As an Amazon Associate, I earn from qualifying purchases.






Free 15-Minute Daily Reset Checklist

Get Notes on Keeping House

Fifteen minutes a day. No weekend cleaning marathons. No guilt. Sign up for my newsletter and I'll send you the printable checklist that makes it happen.

Send My Checklist

No spam, ever. Unsubscribe anytime.