Cleaning
How to Clean a Washing Machine (Front-Loader and Top-Loader)
Get rid of musty smells, mildew and detergent gunk in your washer — how to clean the gasket, dispenser drawer, drain pump filter and drum, and which cleaner your manual allows.
A washing machine spends its whole life full of water and soap, so it seems like it should clean itself. It doesn't. Detergent residue, fabric softener, lint and body oils build up in the places water doesn't rinse well — and in a closed, damp drum, that buildup turns into the musty smell that ends up in your "clean" laundry.
A full cleaning takes about 30 minutes of hands-on work plus one empty cleaning cycle. Front-loaders need a bit more attention than top-loaders because of the door gasket and the drain pump filter, but the routine is the same idea for both.
Front-loader vs top-loader: where the grime hides
| Area | Front-loader | Top-loader |
|---|---|---|
| Door seal | Rubber gasket with folds that trap water, hair and mildew — the top source of odor | No gasket; check the lid seal and under the lid |
| Dispenser | Pull-out drawer; mold grows in the drawer cavity | Cups on the agitator or around the rim |
| Drain filter | Usually a pump filter behind a small panel at the bottom front | Many have no user-serviceable filter — check the manual |
| Tub | Hidden scum behind the drum | Scum under the rim and around the agitator or impeller |
| Odor risk | Higher, because the door seals tightly | Lower, but still happens with lids kept closed |
Choosing a cleaner
The right cleaner is the one your manual names. Most machine makers approve washing machine cleaner tablets, and many also allow liquid chlorine bleach in the bleach dispenser on the cleaning cycle — often about a cup, but go by the manual's amount. Vinegar is popular, but some manufacturers advise against using it often because acid can be hard on rubber parts. If your manual doesn't mention vinegar, a cleaner made for washers is the safer choice.
Whatever you pick, use only one product per cycle. The habit that matters most isn't the cleaner anyway — it's drying the gasket and leaving the door open after each wash.
Keep it fresh between cleanings
- Measure detergent. HE machines need very little, and extra suds leave the film that mildew feeds on.
- Take wet laundry out promptly instead of letting it sit in the drum overnight.
- Wipe the gasket dry after the last load of the day, especially the bottom fold.
- Use the machine's cleaning reminder, or put a monthly note on your calendar.
Step by step
- 1
Check your manual and empty the machine
Look up the 'cleaning' or 'tub clean' section of your manual (most are online by model number). It tells you which cleaner is approved — tablets, chlorine bleach or something else — and how much. Remove any laundry and pull out removable parts like the dispenser drawer.
- 2
Clean the dispenser drawer
Most front-loader drawers pop out when you press a release tab at the back. Soak the drawer in warm water with a little dish soap for 10–15 minutes, then scrub the compartments and siphon caps with a toothbrush. Scrub the empty drawer cavity too — mold often grows on its ceiling. On top-loaders, lift out the bleach and softener cups if they're removable.
- 3
Wipe the door gasket (front-loaders)
Pull back the folds of the rubber door seal and look inside. Remove hair, coins and lint, then wipe all the way around with warm soapy water. For black mildew spots, use the cleaner your manual approves, applied with a cloth, and rinse with a damp cloth afterward. Dry the folds with a towel.
- 4
Drain and clean the pump filter (front-loaders)
Find the small access panel at the bottom front of the machine. Lay towels down and set a shallow pan in front. If there's a small drain hose, pull it out and let water drain into the pan before you twist the filter out counterclockwise. Remove lint, coins and hair, rinse the filter, and screw it back in firmly so it doesn't leak.
- 5
Clean under the rim and around the agitator (top-loaders)
Scum builds up under the top edge of the tub and around the agitator or impeller. Scrub these areas with a soft brush and soapy water. If your agitator has a removable softener cup or top cap, take it off and clean underneath.
- 6
Run a hot cleaning cycle
Put the approved cleaner where the manual says — usually a tablet goes straight in the drum, and bleach goes in the bleach dispenser. Select the machine's Tub Clean or Clean Washer cycle, or the hottest, largest cycle if there isn't one. Run it with the drum empty.
- 7
Wipe the drum and run a rinse if needed
After the cycle, wipe the inside of the drum and the gasket with a dry cloth. If you can still smell bleach, run a rinse-and-spin cycle before your next load.
- 8
Clean the outside and the controls
Wipe the lid, door, top and control panel with a damp cloth and a drop of dish soap. Spray cleaner onto the cloth, not onto the controls, so liquid doesn't get behind the panel.
- 9
Leave it open to dry
Prop the door or lid open for a few hours (and between loads from now on) so moisture can escape. Pull the dispenser drawer slightly open too. Keep small children and pets away from an open front-loader.
Common mistakes
- Mixing bleach with vinegar, ammonia or other cleaners — the combination can release toxic gases.
- Using a cleaner your manual doesn't approve, which can damage seals or void the warranty.
- Never checking the front-loader pump filter, then wondering why the machine drains slowly or smells.
- Closing the door right after every load, which traps moisture and feeds mildew.
- Using too much detergent or non-HE detergent in an HE machine — the excess suds leave residue that smells.
Frequently asked questions
How often should I clean my washing machine?
Run a cleaning cycle about once a month, or as often as your manual suggests — many newer machines show a reminder. Wipe the gasket and clean the dispenser every few weeks, and check a front-loader's pump filter every few months.
Can I clean my washer with vinegar?
Check your manual first. Some manufacturers caution against using vinegar regularly because it can wear down rubber seals and hoses over time, and recommend a washer cleaner or bleach instead. Never use vinegar in the same cycle as bleach.
Why does my front-loader smell musty?
Usually it's mildew in the door gasket folds, residue in the dispenser drawer, or debris in the drain pump filter. Too much detergent and a closed door make it worse. Clean those three spots, run a tub clean cycle, and leave the door open between loads.
Are washing machine cleaner tablets better than bleach?
Neither is better in every case — use what your manual approves. Tablets are convenient and made for this job, and some brands are recommended by machine makers. Bleach works well where the manual allows it, but it needs a rinse afterward and can't be mixed with anything else.
What's the gunk in my washer's dispenser drawer?
It's usually a mix of undissolved detergent, fabric softener and mold. Softener in particular leaves a sticky film. Soaking and scrubbing the drawer every few weeks, and using the right amount of detergent, keeps it under control.
Related guides
- GuideHow to Clean a Dryer Vent (Step-by-Step)Clear lint from your dryer vent duct and exterior hood in about an hour — the tools you need, the exact steps, and the warning signs that it's overdue.
- GuideHow to Clean a Dishwasher (Filter, Spray Arms and Gasket)Fix cloudy dishes, gritty residue and bad smells by cleaning your dishwasher's filter, spray arms and door gasket, then running a cleaning cycle — about an hour start to finish.
- GuideHow to Clean a Mattress (Stains, Odors and Dust)Vacuum, spot-clean and deodorize a mattress without soaking it — how to treat urine, sweat and blood stains, dry it properly, and protect your warranty and memory foam.