Cleaning Guides

How to Clean a Washing Machine

Published November 2, 2026 10 min read
Scrub Verdict is reader-supported. When you buy through links on our site, we may earn a commission at no extra cost to you. Learn more.
Our verdict: Here is how to clean a washing machine so the musty smell stops moving into your laundry: wipe the gasket or rim, soak the dispenser drawer, run the hottest empty cycle with white vinegar, then clean the drain filter. Nearly all the grime lives in those four places.

How we researched this guide: Research-based. This routine follows care instructions from major appliance makers and cleaning institute guidance, checked against verified owner reports. Amounts are typical household guidance, and your manual wins any disagreement. We have not hands-on tested this routine. How we research.

Here is the odd truth behind how to clean a washing machine: it is the one appliance whose entire job is cleaning, and it never gets cleaned itself. It just accumulates a thin layer of everything it washes away. If your laundry comes out smelling faintly musty even when it is technically clean, the machine is the source, not the detergent. The fix is one thorough routine, then a few small habits.

Why a machine that washes gets dirty

Four things build up. First, detergent residue: most people use more detergent than the load needs, and the excess does not rinse away. It coats the drum, the hoses, and the outer tub in a film. Second, fabric softener, which works by coating fibers and coats the machine the same way. Third, mold and mildew, which grow in any warm, damp fold that never fully dries, especially the rubber door gasket on a front-loader. Fourth, debris: lint, hair, sand, and the occasional coin collect in the drain pump filter.

That film is why the smell transfers. A load of towels tumbles for an hour against a coated drum in warm water, and some of the film, and its sour odor, ends up in the fabric. Cleaning the machine is really about stripping that film and clearing the damp corners where mold lives. Once you know how to clean a washing machine properly, the maintenance version takes ten minutes a month.

Why vinegar leads this routine

White vinegar is the lead cleaner here because it does the two jobs this routine needs most: it dissolves mineral scale from hard water, and it cuts through detergent and softener residue. It is also cheap, already in most kitchens, and safe to send through the machine at cleaning strength. Our white vinegar in laundry guide covers its other uses around the wash.

One limit deserves stating plainly: vinegar is a descaler and residue cutter, not a registered disinfectant, and nothing in vinegar’s household use changes that. This routine removes grime, film, and the odor they cause. It does not sterilize the machine, and no honest guide should claim it does. Removing the film and drying the damp spots is what actually stops the smell, because mold and bacteria need that buildup to live on.

Front-load machines: the step-by-step clean

Front-loaders seal tight to hold water behind a horizontal door, and that seal is exactly where mold moves in. Give this design the full sequence below.

Step 1: Wipe the door gasket. With the machine empty and off, pull back the rubber gasket fold all the way around the opening and wipe inside it with a cloth dampened with a half-and-half mix of white vinegar and water. Expect black mold spots, trapped hair, and slime. For stubborn patches, lay a vinegar-soaked cloth on the spot for 15 to 20 minutes, then scrub with an old toothbrush. Dry the fold with a clean cloth afterward.

Step 2: Soak the dispenser drawer. Pull the drawer out (most have a release tab), take it apart, and soak the pieces in a sink of hot water. Scrub off the softener crust and detergent gel, rinse, and dry. Wipe inside the drawer housing too; that slot grows mold of its own.

Step 3: Run the vinegar cycle. Put about 2 cups of white vinegar in the drum or the detergent dispenser, as typical household guidance suggests, and run the hottest, longest empty cycle the machine offers. If it has a tub clean or self-clean setting, use that. The hot vinegar water strips film from the drum and the outer tub where you cannot reach.

Step 4: Wipe down. When the cycle ends, wipe the drum, the door glass, and the outside of the gasket with a clean cloth. Check the gasket fold once more and pick out anything the cycle loosened.

Step 5: Clean the drain pump filter. Most front-loaders hide it behind a small door at the bottom front. Put a towel and a shallow tray down first: the filter holds water, along with lint, hair, and usually a coin or two. Unscrew it slowly, let the water drain into the tray, clear the debris, rinse the filter, and screw it back firmly. Check your manual for the exact location on your model.

Step 6: Let it dry open. Leave the door and the drawer ajar so the gasket and drum dry fully. This is not an afterthought; it is the step the habits section builds on.

Top-load machines: the step-by-step clean

No door gasket means less mold, but a top-loader hides its film in a bigger tub and under the rim instead. The sequence shifts, not the logic.

Step 1: Fill and add vinegar. Set the machine to its largest load size, hottest water, and longest cycle. As it fills, add about 4 cups of white vinegar directly to the water, the typical guidance for a full-size tub. Let it agitate for a minute to mix.

Step 2: Pause and soak. If your machine lets you pause or stop the cycle with the lid open, let the full tub soak for about an hour. The soak does the heavy work on softener film and scale.

Step 3: Scrub the details while it soaks. Dip an old toothbrush in vinegar solution and scrub under the rim, around the agitator cap or the impeller base, and inside the bleach and softener dispensers, where crust builds up out of sight.

Step 4: Finish the cycle. Close the lid, restart, and let the cycle run to the end so the vinegar water drains and rinses.

Step 5: Run a baking soda assist if odor lingers. For a machine that still smells sour, run a second, shorter hot cycle with about half a cup of baking soda sprinkled in the drum. Baking soda is a mild odor absorber and a gentle scrubber; our baking soda in laundry guide explains where it helps and where it does not.

Step 6: Wipe and leave the lid open. Wipe the rim and lid underside, then leave the lid up so the tub dries between loads.

The two designs at a glance

JobFront-loadTop-load
Main mold hotspotDoor gasket foldsUnder the rim, dispensers
Vinegar amountAbout 2 cupsAbout 4 cups
Filter to cleanDrain pump filter, bottom frontLint filter on some models; check the manual
Drying habitDoor and drawer left ajarLid left open

Habits that keep it clean

The single highest-value habit is leaving the door or lid open, and the dispenser drawer ajar, between loads. A sealed, damp machine is a mold incubator; an open one dries out and stays fresh weeks longer. Close behind it is detergent dosing: follow the dosing lines for your load size and soil level, and treat them as a ceiling, not a suggestion. Overdosing is what feeds the film in the first place.

Wipe the gasket fold on a front-loader once a month, quickly, before anything spots. Run the full vinegar routine monthly in a humid home or a heavy-use household, and every couple of months for lighter use. Learning how to clean a washing machine once is the hard part; after that it is a short calendar habit, not a project.

When the smell survives the clean

If the musty smell is still there after two full routines, stop scrubbing the drum and look at the drain path. Clean the drain pump filter again; a filter that refills with debris fast can point to a partial blockage. Check the drain hose for kinks, a clogged end, or green growth inside it. Smell the standpipe or drain the hose feeds into as well: sometimes the sewer-side drain is the odor source and the machine is innocent. Only after those checks should you suspect a failing part. If your clothes have already picked up the smell, our guide to how to get mildew smell out of clothes handles the fabric side of the problem.

What not to use

Skip scouring powders and abrasive pads anywhere inside the machine. They scratch the drum’s smooth finish, and scratches give residue film more to grip, so the machine gets dirty faster afterward. A soft cloth and an old toothbrush handle every reachable surface in this routine.

Also keep the cleaning cycle simple: vinegar alone, nothing else in the drum or the dispenser. Adding detergent to the clean cycle works against you, because detergent and an acid cancel each other out and the leftover detergent becomes fresh film. The same goes for softener, which should never be part of a cleaning run at all. One product, hot water, full cycle: that is the whole formula.

A short note on bleach

Some manufacturers specify a bleach cycle for tub cleaning, and if your manual does, follow the manual; it knows your seals and coatings. One rule is absolute either way: never mix bleach with vinegar, in the machine or anywhere else, because the combination releases toxic chlorine gas. If you ever switch from one method to the other, run a plain empty rinse cycle in between so the two never meet.

Frequently asked questions

My machine has a self-clean cycle. Is that enough on its own?

It is a good start, not the whole job. A self-clean cycle washes the drum and outer tub, but it does not wipe the gasket folds, scrub the dispenser drawer, or empty the drain pump filter, which are three of the four places this guide targets. Run the cycle, then spend five minutes on the parts it cannot reach.

Will vinegar damage the rubber seals or hoses?

Guidance varies by maker, which is the honest answer. Many manuals describe vinegar cleaning directly; others steer owners toward commercial machine cleaners and warn against frequent acid use. Occasional cleaning cycles at the amounts above are the common pattern, but your manual is the authority on your model. If it advises against vinegar, use the manual’s method and keep every other step in this guide, especially the gasket, drawer, and filter.

Why are there gray or black specks on clothes after a wash?

Those flakes are usually pieces of the residue film itself, breaking loose from the outer tub and landing on laundry. Treat them as a meter reading: the buildup is heavy, not light. Run the full vinegar routine, then wipe the empty drum with a white cloth and look at what comes off. If the cloth picks up gray smears, run a second vinegar cycle before doing more laundry. The specks stop once the film is actually gone.

Can I use citric acid or a cleaning tablet instead?

Yes. Citric acid powder descales much the way vinegar does, and commercial washing machine tablets are formulated for exactly this job; follow the dose on the packet. Either one only replaces the cycle step, though. The manual work in this guide, the gasket wipe, drawer soak, and filter clean, still applies, because no powder or tablet reaches into a rubber fold or a coin-filled filter.

By Scrub Verdict Editorial Team

Scrub Verdict publishes independent, research-backed reviews and guides for cleaning equipment. Every pick is scored on cleaning performance, ease of use, build quality, and value — read how we test.