How-to

How to Clean a Washing Machine: Drum, Door Seal, Dispenser, and Filter

Direct answer

Clean four places. Pour washer cleaner into the empty drum and run tub-clean or the longest hot cycle for the drums; then hand-clean the door seal folds, scrub the detergent dispenser, and clear the drain filter. Tub-clean only reaches between the drums.

Author: CleenU R&D Team Reviewed by Zechao Liang, Technical Director 17 min read

A yellow-gloved hand pulls back a front-loader's door seal fold, revealing black mold spots, gray sludge, and lint packed inside.

The hard part of cleaning a washing machine is the layer you never see. The stainless steel drum you look into every day usually looks fine. The real buildup lives on the plastic outer tub that surrounds it and in the narrow gap between the two. Every load sends detergent, body oils and skin flakes from clothes, fabric softener, and the calcium and magnesium in your water through that gap. The water drains, but a little always stays on the walls, and over months it becomes a slick, gray-black sludge. If your clean laundry smells musty or comes out dotted with little black flecks, that's almost always the source.

So cleaning a washer means handling four areas: the space between the drums, the door seal, the detergent dispenser, and the drain filter. A cleaner and a long cycle take care of the drums. The tub-clean cycle can't reach the other three, so those are a hands-on job. Front-loaders and top-loaders are built differently, so the steps are split by type. First, where the grime comes from; then how to tell how bad it is; then full steps for both machines, how often to do it, and when to stop.

Four areas of a washing machine, and what builds up in each

Think of your washer as equipment with four zones. Work through them one by one and you won't run a single tub-clean and assume the job is done.

Between the drums. The inner drum is full of small holes that let water in and out; the outer tub holds the water. The gap between them stays damp and dark all the time, which makes it the dirtiest part of the machine. The buildup there is a mixture: undissolved detergent, oily fabric softener, skin flakes and lint from clothes, all cemented together by calcium and magnesium and coated in a slimy film that microbes produce.

The door seal. On a front-loader, the rubber gasket around the door folds downward, so a little water always pools in the lowest fold after a wash. Lint, hair, and detergent residue get trapped there, everything stays wet, and black mold spots and gray slime follow fast. Top-loaders have no gasket, but buildup collects around the rim of the tub and under the lid.

The detergent dispenser. Detergent and softener flow through this drawer into the machine. Residue coats the drawer and the housing above it, it stays wet and dark, and it turns black, moldy, and slimy.

The filter. Front-loaders have a drain pump filter behind a small door at the bottom front that catches coins, buttons, hair ties, and clumps of lint. Many top-loaders have a lint trap on the side of the drum. A clogged filter slows draining, dirty water sits in the machine longer, and odor follows.

Cutaway of a front-load washer, white hand-drawn circles marking the gap between drums, door seal folds, detergent drawer, and drain filter.

Front-loaders and top-loaders get dirty in different places

Both types have a gap between the drums, but the problem spots differ, and so does where you focus when you clean.

Front-loaders use very little water and clean by lifting clothes and dropping them as the drum turns. Less water means a higher detergent concentration, so residue that doesn't rinse away sticks to the walls more easily. The door closes sideways and seals tight, so after a wash the inside stays humid and the water in the gasket folds can sit for days. That's why the gasket and the drums are the front-loader trouble spots, and where most odors start. Closing the door right after a wash is a common habit, and it builds a warm, damp room for mold.

Top-loaders use more water and move it with an agitator or an impeller at the bottom. More water dilutes the detergent more, but the gap is larger, and the bottom of the outer tub and the underside of the impeller often carry a thick layer of gray-black sludge you'll never see. The lid opens upward, so it airs out better than a front-loader and there's no gasket to worry about, but the lint trap fills fast. For top-loaders, the focus is filling the tub all the way so the whole gap soaks, and clearing the lint trap often.

Washer-dryer combos are a special case. During drying the inside gets hot and humid, and condensation carries lint and residue toward the condenser and the door seal. On top of the four areas above, clean the dryer lint filter and condenser parts on the schedule in your manual.

What that gray-black sludge between the drums actually is

The first time people clean a washer, the pile of black and gray flakes that comes out can be startling. That sludge isn't one kind of dirt. It's several things stuck together.

The first is detergent residue. Too much detergent, or cold, short cycles, leave surfactants and builders that never fully dissolve or rinse, and they cling to the walls. Fabric softener is worse. Its active ingredients are positively charged cationic surfactants, which are designed to stick to surfaces. They do that on your towels and on the tub walls too.

The second is soap scum and scale. Calcium and magnesium from the water combine with fatty acids from detergent and body oils from clothes to form calcium soap, which is grayish-white, sticky, and doesn't dissolve in water. Hot washes also drop calcium carbonate scale, which locks the other residues onto the walls.

The third is lint and skin flakes. They're the scaffolding that helps the soft residue grab hold.

The fourth is biofilm. The gap is damp and warm, with detergent and body oil as food. Microbes settle in and produce a sticky layer of extracellular polymers that wraps everything else, darkens over time, and starts to smell musty and sour.

This sludge is hard to remove for the same reason any biofilm in plumbing is: it's somewhere your hand and brush can't reach, and it's a mixed soil. Go after only one ingredient and the rest keeps holding it together. Cleaning the gap depends on liquid flowing through it, a cycle's heat, water level, and long tumbling, and a cleaner that loosens scale, calcium soap, and oily residue at the same time.

How a washer cleaner and the tub-clean cycle clear the drums

What happens between the drums during a cleaning cycle

  1. A high water level submerges the whole gap between the drums, including the upper half that regular loads never reach
  2. The acid dissolves calcium carbonate scale and pulls the calcium out of calcium soap, so residue that was stuck together loses its frame
  3. Nonionic surfactants work in between the sludge and the wall, emulsifying loosened oily residue and detergent buildup into the water
  4. Water around 140°F (60°C) softens body oils and softener residue and swells the biofilm's slimy layer
  5. Tumbling and spinning shear the loosened sludge into pieces that wash out with the drain water

Two points get overlooked. Water level: plenty of people clean with a regular wash cycle, where water only reaches the lower half of the gap, so the ring of buildup on the upper half never gets wet. Tub-clean and the longest cycles run high water for a long time for exactly that reason. Temperature: cold water carries off loose debris but doesn't do much for calcium soap and oily residue, and around 140°F works noticeably better.

Tub-clean has limits too. In the door seal folds, water only washes past, so buildup and mold spots need a hand. The detergent dispenser sits upstream of the drum and only gets a trickle during tub-clean. The filter is on the drain path, so sludge loosened from the drums actually piles up there. After tub-clean, you still need to deal with those three.

Three quick checks before you clean

Spend five minutes looking first. It tells you whether this is a routine clean or a two-round job.

Smell. Open the door or lid and sniff. Mildew, sewer, or a sour, stale smell means biofilm in the gap or the gasket is giving off odor.

A test load. Wash one old white or light-colored T-shirt by itself, dry it, and look at it against the light. Black or gray-brown flecks mean sludge is already flaking off between the drums. Plan on at least one full cleaning cycle, and two if there's a lot.

The seal and filter. Pull back the lowest fold of a front-loader's gasket and shine a flashlight in. Open the filter and see how much lint and slime is inside. These two spots are a good preview of what's between the drums.

A freshly washed white T-shirt lies in a front-loader drum, with a few black and gray-brown flecks stuck to the fabric.

How manufacturers evaluate a washing machine cleaner

At home you can only see whether flakes come out. In the lab, washer cleaners are typically judged on three things. Here's what each test looks for.

Soiled coupons. Small stainless steel plates are repeatedly dipped in simulated detergent residue, fabric softener, body oil, and hard water, then dried, building a gray layer similar to what forms between the drums. The coupons go into test solution at label strength, heated to around 140°F, and stirred. At a set time, testers check how much of the layer came off and whether what's left is an even film or a few patches.

Foam. Washers clean by tumbling, and too much foam can overflow, slow draining, or trigger an error code. Labs heat the test solution, agitate it hard, and measure foam height and how fast it collapses. The formula has to be low-foaming.

Rubber compatibility. Door seals and drain hoses are rubber and sit in contact with the cleaner. Rubber samples soak in solution stronger than use strength for a set period, then get checked for swelling, hardening, or tackiness, with size and hardness measured before and after.

Beakers labeled T-01 to T-03 hold stainless coupons with gray residue; a blue-gloved hand lifts one beside CleenU Washing Machine Cleaner.

How to clean a washing machine: front-load and top-load steps

The steps are split by washer type; follow the group for yours. The amount assumes CleenU Washing Machine Cleaner & Descaler, about 8.5 oz (250 mL) per cleaning, with two cleanings per 16.9 oz (500 mL) bottle. With any other cleaner, follow its label. Never add laundry during a cleaning cycle.

Cleaning a front-load or top-load washer

Front-load washer

  1. Clean the detergent drawer and filter first

    Pull out the detergent drawer, press the release tab, and remove it. Scrub off residue and black spots with warm water and an old toothbrush, and wipe out the housing above it with a damp cloth. Open the small filter door at the bottom front, set a shallow pan underneath, unscrew the filter, clear out lint and debris, rinse, and screw it back in.

    Caution:Put down the pan and a towel before you open the filter. A fair amount of water will come out.

  2. Pour the cleaner into the empty drum

    Make sure the drum is empty, pour about 8.5 oz (250 mL) of cleaner straight into the drum, and close the door.

  3. Run tub-clean or the longest 140°F cycle

    If your washer has a tub-clean or clean-washer cycle, use it. If not, pick the longest cycle at 140°F (60°C), such as a long cotton cycle, so the cleaner soaks and tumbles through the gap.

  4. Run one more empty rinse

    When the cycle ends, keep the drum empty and run a rinse or quick cycle to carry out leftover cleaner and the sludge it loosened.

  5. Wipe the door seal and clear the filter again

    Pull back the gasket folds and wipe out loosened buildup and lint with a damp cloth, using a soft brush on black spots. Dry the folds with a dry cloth. Then open the filter again and clear the debris this round knocked loose.

  6. Leave it open to dry

    Leave the door and detergent drawer open so the inside airs out, then wash as usual.

Top-load washer

  1. Remove and clean the lint trap

    If your machine has a lint trap on the side of the drum, pull it out, dump the lint, scrub the mesh with an old toothbrush, rinse, and put it back. Remove and scrub any detergent or softener dispensers that come out.

  2. Add the cleaner and fill to the top

    Pour about 8.5 oz (250 mL) of cleaner into the empty tub and choose the highest water level, so water covers the top of the inner tub and soaks the upper half of the gap.

  3. Run the longest cycle

    Run your washer's clean-washer cycle if it has one, or the longest wash cycle. If you can set the temperature, choose hot, around 140°F.

  4. Run an empty rinse and skim out flakes

    After the cycle, run one more empty rinse. If black flakes float on the water during the rinse, scoop them out with a small mesh strainer, clear the lint trap again, and leave the lid open to dry.

A yellow-gloved hand pours pale liquid from a measuring cap into the empty drum of a front-load washer with the door wide open.
A yellow-gloved hand wipes a front-loader's door seal folds with a damp cloth that's picked up gray-black sludge, showing clean light gray rubber.
A yellow-gloved hand scrubs a removed washer detergent drawer with an old toothbrush at the sink, black mold spots in its corners.
A front-loader's bottom filter door is open; a yellow-gloved hand unscrews a lint-wrapped filter as dirty water drains into a shallow pan.

Three mistakes come up again and again. The first is skipping the filter before you start. Sludge from the drums ends up in the filter; if it's already half clogged, draining slows and dirty water backs up into the drum. The second is skipping the empty rinse at the end, which leaves cleaner and freshly loosened flakes to land on your next load. The third is the wrong cycle. A regular or cold quick wash doesn't fill high enough or get hot enough to reach the buildup on the upper half of the gap.

How often to clean your washing machine

How you use the washer is a better guide than the calendar. Here's a sensible rhythm for common situations; if your manual says otherwise, follow the manual.

How often to clean your washer, by how you use it

Typical household, detergent dosed per the label, mostly warm washes
Clean with a washer cleaner every 1 to 2 months
Mostly cold or quick cycles, lots of liquid detergent and softener
Monthly, since residue builds up between the drums faster
Hard water, kettle crusts over quickly
Monthly, since scale and soap scum form faster
Babies, pets, or frequent loads of gym clothes and towels
Monthly, with more body oil, hair, and lint
Musty-smelling laundry or black flecks
Clean now, and repeat in a week if there's heavy buildup
Detergent drawer, door seal, and filter
Dry the seal after every wash; clean the drawer and filter every 2 to 4 weeks

Three everyday habits stretch the time between cleanings more than any product. Take laundry out as soon as the cycle ends and leave the door and detergent drawer open. On a front-loader, give the gasket folds a quick wipe with a dry cloth. And measure detergent by the label instead of eyeballing it.

How to tell it's clean

When you're done, check these.

Open the door or lid: no mildew or sour smell. Wash that old white T-shirt by itself again and dry it: no black flecks, or just one or two. Pull back the gasket: no gray slime in the folds, and the rubber doesn't feel sticky. Open the filter: only a little lint.

For the first two or three loads after cleaning, you may still see an occasional black fleck. That's buildup that loosened but hadn't come free yet, and it's normal; just clear the filter before washing. If the second load after cleaning still comes out with lots of flecks, the buildup was thick and this round only took off the surface. Run another round in a week the same way, which works better than doubling the dose.

What to avoid, and when to stop

The big one: never mix chlorine bleach with an acidic washer cleaner or vinegar. They release an irritating gas when they meet, so don't add them together or back to back without a rinse in between.

Vinegar and baking soda are stopgaps. Vinegar dissolves a little scale, but it's weak and has no surfactants, so it can't break up calcium soap and oily residue between the drums; baking soda mostly deodorizes. Skip dish soap entirely: it foams too much and will overflow. Don't use steel wool or stiff brushes on the gasket or tub, since scratched rubber and plastic hold more grime.

A yellow-gloved hand gently brushes black spots in a door seal fold with a soft brush, an unused steel wool pad sitting on top of the washer.

Where CleenU Washing Machine Cleaner & Descaler fits in

Cleaning between the drums takes the combination described above: an acid that dissolves scale and breaks up calcium soap, a low-foam surfactant that emulsifies oily residue, and a corrosion inhibitor to protect metal parts. CleenU Washing Machine Cleaner & Descaler is built on that approach: organic acids with nonionic surfactants and a corrosion inhibitor, pH 2.0–3.5, chlorine-free, with a fresh citrus scent. Pour about 8.5 oz (250 mL) into the empty drum, run tub-clean or the longest 140°F (60°C) cycle, then run one more empty rinse. It works in front-loaders and top-loaders, and a 16.9 oz (500 mL) bottle covers two cleanings. Keep the drum empty while it runs, never use it with chlorine bleach, and if your washer's manual says not to use a cleaner, follow the manual.

If your washer is starting to smell musty or leave black flecks, take a look at our Washing Machine Cleaner & Descaler.

For other spots around the house that turn smelly and moldy, like robot mop pads, see Smelly, Graying Robot Mop Pads: How to Wash Them. For why damp rooms grow mold so easily, see Why Bathrooms Grow Mold.

Washing machine cleaning questions

How do you clean a washing machine?

Clean four areas. Pour washer cleaner into the empty drum, run tub-clean or the longest 140°F cycle, then an empty rinse; hand-wipe the door seal folds, scrub the detergent drawer, and clear the drain filter.

How often should you clean your washing machine?

Every 1 to 2 months for most households, and monthly if you wash cold, use a lot of liquid detergent and softener, or have hard water. If laundry smells musty or picks up black flecks, clean it right away.

How do you use washing machine cleaner?

Pour it into the empty drum or tub with no laundry, run tub-clean or the longest 140°F cycle, then run one more empty rinse. Use the amount on the label; CleenU Washing Machine Cleaner & Descaler takes about 8.5 oz (250 mL).

Can I just run tub-clean without a cleaner?

Only for loose debris. Tub-clean supplies high water and time, but dissolving scale, breaking up calcium soap, and dispersing oily residue takes a cleaner. On a machine with buildup, use both together.

Black flecks keep showing up for a few loads after cleaning. Is that normal?

Yes. Loosened buildup between the drums keeps shedding for a few washes, so clear the filter before each one. It drops off after two or three loads; with heavy buildup, clean again in a week.

Can I wash clothes right after cleaning the machine?

Run one more empty rinse first, then wash as usual. Otherwise leftover cleaner and freshly loosened sludge can end up on your clothes.

Can I use washing machine cleaner in a top-loader?

Yes. Pour it into the tub, choose the highest water level, and run the clean-washer cycle or the longest cycle. Clean the lint trap separately.

The black spots on my door seal won't come off. What now?

Right after the cleaning cycle, while it's still wet, brush gently with a soft brush and wipe. Mold stains that have soaked into the rubber may not come out; don't scrape with steel wool, and dry the folds after every wash so they don't spread.

Can I clean my washer with bleach?

Never use bleach together with an acidic washer cleaner or vinegar, or back to back without a rinse, because chlorine and acid release an irritating gas. If you use bleach, follow your washer's manual, use it on its own, and rinse well before switching products.

Can I clean my washer with vinegar or baking soda?

Only in a pinch. Vinegar is weak and has no surfactants, so it does little for the calcium soap and oily residue between the drums; baking soda mainly deodorizes. For routine cleaning, a dedicated washer cleaner is less work.

How long does it take to clean a washing machine?

Mostly cycle time, typically one to two hours for tub-clean or the longest cycle, plus about half an hour for the rinse and for hand-cleaning the seal, drawer, and filter.

How can I clean my washer less often?

Dose detergent by the label, unload right away, leave the door and drawer open, and wipe the gasket folds dry. Running a hot cycle for towels and sheets now and then also slows buildup between the drums.

Whether a washing machine is really clean comes down to the gap between the drums. Treat four areas separately: clean between the drums with a washer cleaner plus tub-clean or the longest 140°F cycle, followed by an empty rinse; wipe out the door seal folds, scrub the detergent drawer, and clear the filter. Front-loaders and top-loaders take different steps, but the principle is the same: enough water, enough heat, and enough time. Clean every one to two months based on how you wash, leave the door open and the gasket dry between loads, and the musty smell and black flecks stay gone.