Warning: Disconnect power before servicing.

How to Sanitize a Washing Machine

Quick Answer

Run an empty hot cycle with 1/2 cup bleach or 2 cups white vinegar to kill mold and bacteria. Clean the door gasket folds and soak the dispenser tray monthly to prevent buildup.

A washing machine that smells musty or leaves clothes with a sour odor needs sanitizing. The two most effective methods are a bleach sanitize cycle (1/2 cup bleach, hottest setting, empty drum) and a vinegar plus baking soda method (2 cups white vinegar in the drum, 1/2 cup baking soda in the dispenser, hot wash). Front-loaders also need the door gasket fold cleaned with a bleach-soaked cloth and the dispenser tray soaked in warm soapy water. Doing this monthly prevents mold, mildew, and detergent residue from building up.

GenericWasherSeverity: low95% DIY Success
Time to Fix
30–90 min
Difficulty
beginner
Parts Cost
Tools Needed
Liquid chlorine bleach (1/2 cup), White distilled vinegar (2 cups)

What Does the HOW-TO Code Mean?

Washing machines trap moisture, detergent residue, and fabric softener buildup in places you cannot see: behind the drum, inside the pump, under the door gasket, and in the dispenser housing. Over time this creates a breeding ground for mold and bacteria that causes musty smells and can transfer to your clothes. Front-loaders are more prone because of the horizontal drum and tight door seal that hold moisture. Top-loaders are less susceptible but still benefit from monthly cleaning.

Most Likely Causes

Based on aggregated repair data, here is the probability breakdown for this error code:

Detergent residue buildup30%
Door gasket mold (front-loaders)30%
Fabric softener residue15%
Clogged dispenser tray15%
Moisture trapped by closed door10%

Symptoms You May Notice

  • Musty or sour smell coming from the washer
  • Clothes smell bad even right after washing
  • Visible black mold spots on the door gasket
  • Dark residue or slime in the detergent dispenser

Can you reset a Generic washer to clear the HOW-TO code?

No reset needed. After sanitizing, leave the washer door open for 2-3 hours to air dry the drum and gasket. For ongoing maintenance, always leave the door cracked open between loads and wipe the gasket dry after each use.

Tools Required for Diagnosis

Liquid chlorine bleach (1/2 cup)White distilled vinegar (2 cups)Baking soda (1/2 cup)Old toothbrush for scrubbingClean cloths or rags

Diagnostic Checklist

Follow these steps in order. We start with the easiest external fixes before opening up the machine.

1

Run a bleach sanitize cycle (method one)

Add 1/2 cup of liquid chlorine bleach to the bleach dispenser slot (or directly into the empty drum if your machine has no dispenser). Select the hottest water setting and the longest cycle available. Some machines have a dedicated Clean or Sanitize cycle, which is ideal. Run the cycle with the drum completely empty. This kills mold, mildew, and bacteria throughout the system.

2

Run a vinegar and baking soda cycle (method two)

3

Clean the door gasket folds (front-loaders)

4

Soak and scrub the dispenser tray

Frequently Asked Questions

How often should I sanitize my washing machine?
Once a month is the sweet spot for most households. If you mostly wash in cold water or use a lot of fabric softener, every 2-3 weeks is better. Front-loaders need it more than top-loaders because of the gasket trap.
Can I use both bleach and vinegar together for a deeper clean?
Absolutely not. Mixing bleach and vinegar creates chlorine gas, which is dangerous to breathe. Use one per session. If you want to use both methods, run the bleach cycle first, then run a plain rinse cycle, then run the vinegar cycle separately.
Will vinegar damage my washer's rubber seals?
Using vinegar once a month at the recommended 2-cup dose will not damage rubber seals. The acidity is mild (about 5%) and is diluted by the full tub of water. Daily or excessive use could degrade rubber over years, but monthly cleaning is perfectly safe.

Last verified for technical accuracy on March 16, 2026