Home Project Resources
Home › Guides

How to Clean a Washing Machine: Front Load, Top Load and Smelly Washer Fixes

By Joan Ramos · Updated November 2026 · 9 min read

How to Clean a Washing Machine: Front Load, Top Load and Smelly Washer Fixes
A front-loading washing machine with its door propped open and the detergent drawer pulled out to dry in a bright laundry room.

To clean a washing machine, run a hot cleaning cycle with one cleaner your manual allows, then wipe the door gasket, drum and detergent dispenser, and leave the door or lid open so everything dries. That's the whole job, and it takes about ten minutes of hands-on time plus one empty cycle. Do it about once a month, or right away if your washer smells musty.

The details change a little by washer type. Front loaders need extra attention on the rubber door gasket, where water and lint hide. Top loaders collect gunk under the lid, along the rim and in the dispenser. High-efficiency machines of both kinds tend to build up detergent residue when they get too much soap. A clean washer also makes for cleaner laundry, which is why I like doing it as part of a New Year reset.

Key facts

  • Clean the washer about once a month, sooner if it smells.
  • Use the clean cycle or a hot empty wash with one approved cleaner.
  • Never mix vinegar and bleach, or any two cleaners.
  • Leaving the door or lid open after each load prevents most smells.
  • Unplug it before reaching into hidden parts.

Free calculator from Home Project Resources

Washer Cleaning Planner: Steps and a Monthly Schedule

Pick your washer type and how it smells. You get the steps and a schedule.

Need more? Open the free Paint Calculator.

Choose your washer type (front load, top load with an agitator, or top load without an agitator, the high-efficiency kind) and how it smells right now: no smell and just routine care, a little musty, or a strong smell or black spots on the gasket. The planner gives you the steps for your machine and a schedule, from simple monthly care to "clean now, then monthly."

Quick reference: where each washer gets dirty

WasherTrouble spotWhat to do
Front loadRubber door gasketWipe it after use, check under the lip and leave the door ajar
Top load with agitatorUnder the lid and the dispenserWipe the rim, lid and dispenser, then run a hot cycle
High-efficiency top loadLid, rim and detergent residueUse HE detergent and run the clean cycle

Gather a few things first

You don't need much. Grab your washer's manual (or look up the model online), rubber gloves, two or three soft cloths, an old toothbrush or soft brush, a bucket or sink of warm, soapy water and the one cleaner your manual recommends. If your machine has a drain pump filter, add a shallow pan and an old towel, because a little water comes out when you open it.

The manual matters more than people think. It names the right cleaner, tells you whether your model has a self-clean or tub-clean setting, and shows where the filter is. Some manuals allow white vinegar or a small amount of bleach, and some do not. Following it keeps you within the warranty and keeps seals and hoses safe.

The monthly routine, step by step

  1. Empty the drum and check the gasket for coins and socks.
  2. Wash the dispenser tray and brush its cavity.
  3. Run the clean cycle, or a hot empty wash with one approved cleaner.
  4. Wipe the gasket, drum, lid and door with warm, soapy water.
  5. Dry the gasket and leave the door or lid open.

The order is deliberate. Cleaning the dispenser first means anything you knock loose gets flushed away by the hot cycle. Wiping the gasket and drum after the cycle is easier, because the hot water has already softened the film. If you see heavy buildup, it's fine to run a second empty hot cycle with plain water to rinse away what the first one loosened.

Picking a cleaner, and the one rule you can't break

The safest choice is your washer's own cleaning cycle with a cleaner made for washing machines, since that is what the maker designed and tested. White vinegar is allowed in some manuals and works well on detergent film and light odors. A small amount of bleach is allowed in some manuals too, and it's the stronger choice for mildew. Check yours before using either.

Whatever you choose, use only one cleaner per cycle. Never mix vinegar and bleach, or bleach and ammonia, or any two cleaners. Some combinations release dangerous gas. If you want to switch products, run a full plain-water rinse cycle in between so nothing meets in the drum or the dispenser.

Front loaders: it's all about the gasket

A front-load washer seals its door with a thick rubber gasket, and that gasket is the main reason front loaders get a reputation for smelling. Water collects in its folds, lint and hair stick to the damp rubber, and mildew grows in the dark. Fold back the lip all the way around and look underneath. You may find a gray film, a stray sock or black spots.

Wipe the whole gasket with a cloth dipped in warm, soapy water, using an old toothbrush to get into the folds. Wear gloves if you see mildew. For black spots that won't wipe away, use the cleaner your manual allows for mildew, one product only, then rinse with a damp cloth and dry it. Spots that have stained deep into the rubber may not come out completely, but cleaning stops the smell. After that, a quick wipe and an open door after laundry day keeps it from coming back.

Top loaders, with and without an agitator

A classic top loader with a center agitator hides grime under the lid, along the top rim of the tub and around the fabric softener cup. Lift the lid and look at the underside and the rim: that brown or gray residue is old detergent mixed with lint. Wipe it with warm, soapy water and a brush, clean the softener dispenser and then run a hot cycle.

High-efficiency top loaders, the ones without an agitator, use much less water, so extra detergent has nowhere to go. That residue builds up on the lid, the rim and inside the tub. Use only HE detergent, measure it to the line rather than pouring freely, and run the machine's clean cycle monthly. If your clothes come out with a slick or soapy feel, too much detergent is usually the reason.

Tracking down a smell

A musty washer almost always comes down to moisture with nowhere to go. A wet gasket and a closed door is the most common cause; wipe it and leave the door ajar. Too much detergent is next, especially the wrong type in an HE machine; use the amount on the label. Wet clothes left sitting in the drum for hours will sour both the laundry and the machine, so move them to the dryer right away.

A dirty dispenser and a clogged lint trap or drain filter round out the list. Wash the tray and its cavity, and clean the filter as the manual says. If the whole laundry room smells damp, the washer may not be the only source; our guide to a musty basement smell helps you check the space around it. Persistent black growth on walls or behind the machine is worth a closer look with black mold identification.

A worked example: a smelly front loader

Say your front loader has a light musty smell and a few black dots under the gasket lip. Start by unplugging it, then open the drain pump filter at the bottom front with a shallow pan and towel underneath. Pull out any lint, coins or hair, rinse the filter and screw it back in firmly. Plug the machine back in.

Next, wash the dispenser drawer in the sink and brush the cavity. Run the clean cycle with the one cleaner your manual allows. Wipe the gasket, the folds and the door glass, then dry it. Leave the door and drawer open overnight. From then on, wipe the gasket every week or two, leave the door ajar after every load and run a clean cycle monthly. Most mild smells are gone after this first round.

Habits that keep it fresh between cleanings

The best cleaning is the one you barely need to do. Leave the door or lid open after each wash so air can dry the drum. Wipe the gasket now and then. Use only as much detergent as you need. Take clothes out when the cycle ends instead of letting them sit. Run a cleaning cycle about once a month. That's really all it takes.

Hard water can leave mineral scale inside the drum and heater, and it makes detergent work harder. If you see white crust on faucets and dull, stiff towels, read our guide to hard water signs. And if the washer drains slowly into a laundry sink or standpipe, unclogging the drain may solve it before you blame the machine.

Safety while you clean

Unplug the washer before you reach into the filter, the dispenser cavity or any hidden part. Wear gloves when you're working around mildew and cleaners, and open a window or run a fan in a small laundry room. Keep kids and pets away from the open drum and from the cleaner bottle, and store cleaners up high once you're done. Use one cleaner at a time. If you notice a leak, a burning smell or a drum that won't spin, stop and call an appliance repair pro rather than taking the machine apart yourself.

Give the whole laundry room a refresh

While the washer is open and drying, clean its neighbor too. Lint that escapes the screen builds up in the dryer duct, so follow our steps on how to clean a dryer vent. A fresh washer is also the right time to wash bedding; see how to clean pillows and weighted blankets, and treat any kitchen spills on clothes with the dish soap steps in how to get grease stains out of clothes. The dishwasher builds up the same kind of film, so cleaning the dishwasher pairs well with this job.

If the laundry room walls look tired, figure out how much paint you need with the paint calculator, and if the floor is worn, the flooring calculator helps you price new vinyl or tile. Add the monthly washer clean to your home maintenance checklist, and find every free planner on our home page.

Quick answers about cleaning a washing machine

How do you clean a washing machine?

Run the machine's own clean cycle or a hot, empty wash with one cleaner your manual allows. Then wipe the door gasket, drum, lid and dispenser with warm, soapy water, and leave the door or lid open so it dries. Clean the drain filter as your manual shows if your model has one.

How often should you clean a washing machine?

About once a month is a good routine. Wipe the gasket and leave the door open after laundry day in between. If you notice a smell, black spots or soapy residue on clothes, clean it right away and then go back to the monthly schedule.

Can I use vinegar to clean a washer?

Many manuals allow white vinegar for some machines, but not all. Check yours first. Use vinegar or a washer cleaner, one at a time, and never mix vinegar with bleach or any other cleaner. Run a plain rinse cycle between different products.

Why does my front-load washer smell?

Moisture trapped in the door gasket, plus detergent residue, lets mildew grow. Wipe the gasket and under its lip, leave the door ajar between loads, use the right amount of high-efficiency detergent and run a cleaning cycle monthly. Clean the drain filter too.

Should I leave the washer door open?

Yes. Leaving the door or lid ajar lets air in and dries the drum and gasket, which stops most smells before they start. If you have small children or pets, keep the laundry room door closed instead so nobody climbs into the drum.

Is it safe to run bleach in a washer?

Some manuals allow a small amount of bleach for a cleaning cycle, and some do not. Follow your manual, use bleach alone and never mix it with vinegar, ammonia or any other cleaner. Open a window and wear gloves while you work.

What is the black gunk in my washer gasket?

Usually mildew mixed with lint, hair and detergent residue. Wipe it with warm, soapy water and a soft brush, then use the one mildew cleaner your manual allows if spots remain. Dry the gasket and keep the door open afterward. Deep stains in the rubber may not fully fade.

Do top-load washers need cleaning too?

Yes. Top loaders collect residue under the lid, along the rim and in the dispenser. Wipe those areas and run a hot cycle or the clean cycle monthly. High-efficiency top loaders also build up detergent film, so use HE detergent and measure it carefully.

More guides

See all