Stain How-To

How to Clean a Smelly Washing Machine (Front-Load and Top-Load)

By Darren Dodson Updated 5 min read

To clean a smelly washing machine, wipe out the door gasket and detergent drawer, then run the washer’s Clean Washer cycle (or its hottest, longest cycle) with a washer cleaner tablet or liquid chlorine bleach, as your owner’s manual directs. To keep the smell from coming back, leave the door or lid open between loads, use only the recommended amount of HE detergent and repeat the cleaning cycle about once a month.

The musty smell comes from detergent residue, lint and moisture that let mold and bacteria grow, and it’s especially common in front-loading machines. Here’s why it happens and how to fix it on both front-load and top-load washers.

In this guide
  1. Why Washing Machines Develop Odors
  2. How to Clean a Smelly Front-Load Washing Machine
  3. How to Clean a Smelly Top-Load Washing Machine
  4. Preventing Washing Machine Odors
  5. Frequently asked questions
  6. Safety notes
  7. Related guides
  8. Sources and further reading

Why Washing Machines Develop Odors

Washing machines, particularly front-loaders, create a perfect environment for mold, mildew, and bacteria:

  • Rubber door gasket (front-loaders): The rubber seal around the door traps water, lint, and residue and rarely dries out completely between uses. This is where most mold and mildew develops in front-load machines.
  • Detergent and fabric softener residue: Using too much detergent — especially high-efficiency (HE) detergent in non-HE dosage — leaves a soapy film that feeds bacteria and mold.
  • Low-temperature washes: Hot water kills bacteria and flushes the machine more effectively. Regular cold washes don’t sanitize the machine itself.
  • Closed doors and drawers: Leaving the door shut traps moisture inside and prevents the drum and gasket from drying.
Illustration: Cleaning a smelly front-load washer in 6 steps: 1. Clean the door gasket; 2. Clean the detergent drawer; 3. Run a cleaning cycle; 4. Leave the door open after washes; 5. Wipe the gasket dry; 6. Measure HE detergent correctly.
The main steps at a glance. Each one is explained below.

How to Clean a Smelly Front-Load Washing Machine

Step 1: Clean the Door Gasket

This is where most of the problem lives. Pull back the rubber gasket folds and inspect inside — you’ll likely find black mold, lint, and slimy residue.

  1. Put on rubber gloves. Whirlpool’s door-seal instructions call for a dilute solution of 3/4 cup liquid chlorine bleach in 1 gallon of warm tap water. If your manual gives a different cleaner or ratio, follow your manual.
  2. Dip an old cloth into the solution and thoroughly wipe all the folds and crevices of the gasket. Use an old toothbrush dipped in the same solution for stubborn spots.
  3. Wipe the gasket with a clean damp cloth, then dry it thoroughly with a dry cloth.
  4. Leave the door open so the inside of the washer can air-dry.

Step 2: Clean the Detergent Drawer

Remove the detergent drawer (most pull straight out — check your manual). You’ll often find a thick layer of caked detergent and mold residue. Soak the drawer in hot water and dish soap, scrub with an old toothbrush, and rinse thoroughly. Use the toothbrush to clean the compartment behind it where the drawer sits — residue builds up there too.

Step 3: Run a Cleaning Cycle

Many newer washers have a Clean Washer (or Tub Clean) cycle; use it if yours does. Otherwise use the hottest, longest cycle your manual recommends. Run it empty, with no detergent or other chemicals added, and don’t interrupt it.

Option A: Washing machine cleaner tablets (Affresh, Tide Washing Machine Cleaner): put a tablet at the bottom of the drum, not in the detergent dispenser, and start the cleaning cycle.

Option B: Bleach cycle: add regular liquid chlorine bleach in the amount and place your manual specifies. Whirlpool’s instructions, for example, call for 1 cup in the dispenser compartment and warn that using more can damage the washer over time. Don’t use thickened, easy-pour or no-splash bleach, which can cause excess suds. Do not add anything else when running a bleach cycle.

When the cycle ends, leave the door open so the drum can dry. If the cycle had to be stopped partway, run a Rinse & Spin cycle to flush out the cleaner.

How to Clean a Smelly Top-Load Washing Machine

Top-loaders don’t have the gasket problem but can develop musty odors from detergent buildup and bacteria in the drum, agitator, and beneath the agitator cover.

  1. Empty the washer and wipe out the detergent, bleach and fabric softener dispensers (remove them if your manual says they come out).
  2. Wipe the top rim of the tub, the underside of the lid and the agitator or impeller with a damp cloth to remove residue and lint.
  3. Run the Clean Washer cycle if your machine has one, or the hottest, longest cycle your manual recommends, with a washer cleaner tablet at the bottom of the basket or liquid chlorine bleach in the bleach dispenser, as directed in your manual. Add nothing else.
  4. Leave the lid open afterward so the tub can dry.

Preventing Washing Machine Odors

  • Leave the door open after every wash — The most important preventive habit for front-loaders. Air circulation dries the gasket and drum.
  • Wipe the gasket dry after each use — Takes 30 seconds and prevents the main source of mold
  • Use the correct amount of HE detergent — Most people use too much. Measure carefully.
  • Run a monthly maintenance cleaning cycle with a washing machine tablet or bleach. Whirlpool recommends at least once a month or every 30 wash cycles, whichever comes first.
  • Wash heavily soiled items on hot periodically to sanitize the drum
  • Remove laundry promptly after the cycle ends — wet laundry sitting in a closed drum is a direct mold risk

With regular attention to the gasket and a monthly cleaning cycle, washing machine odors are very preventable. For a machine that’s already developed an established smell, the cleaning steps above should eliminate it within 1–2 treatments.

Frequently asked questions

How often should I clean my washing machine?
About once a month. Whirlpool recommends its cleaning procedure at least monthly or every 30 wash cycles, whichever comes sooner, and wiping the door seal whenever you see buildup.

Do cold-water washes make the smell worse?
They can contribute. Whirlpool advises using warm or hot settings some of the time, not cold exclusively, because warmer water better controls the buildup of soil and detergent inside the washer.

Can I use vinegar in the cleaning cycle?
Follow your manual. Whirlpool’s Clean Washer instructions, for example, call for a washer cleaner tablet or liquid chlorine bleach and say not to add detergent or other chemicals. Never use vinegar and bleach in the same cycle or one right after the other without rinsing.

Safety notes

Never mix chlorine bleach with ammonia, vinegar or other acids, including many toilet bowl and drain cleaners. These combinations release toxic gases. Use one product at a time, rinse the surface with water before switching products, and keep the room well ventilated.

Sources and further reading

Always test a cleaner on a hidden spot first and follow the care label. Never mix bleach with ammonia, vinegar, or other cleaners. Ventilate the room and wear gloves when using strong products.

Darren Dodson
Darren (Dylan) Dodson writes and maintains Stain How-To. He is based in Raleigh, North Carolina, and started the site because most stain advice online skips the safety basics or suggests mixing products that should never be combined. He holds a B.S. in Geographic Information Science from UNC Greensboro and an M.S. from NC State University, works as a GIS researcher with NC State's Center for Integrated Pest Management, and founded Dodson Development, a web and app development company. He is not a professional cleaner or chemist; methods are checked against care labels, product instructions and published cleaning guidance, and each guide links its sources.