How to Clean a Washing Machine
Mat Caissy
Black slime on the door gasket, a sour smell when you open the lid, or clean clothes that smell off all point to buildup inside your washer. This guide covers the drum, gasket, detergent compartment, and pump filter on front-load and top-load machines, including HE models. It also shows how to do it without damaging the machine or making toxic fumes. Plan on one cleaning cycle plus about 15 minutes of hands-on work, and if you are already cleaning the house, it pairs well with a two-hour kitchen deep clean.
Short answer
Run your washer's own cleaning cycle (Clean Washer, Tub Clean, or Self Clean) with the tub empty and one approved cleaner. That means a washer-cleaner tablet or liquid chlorine bleach, in the amount and place your manual specifies. Then wipe the gasket, clear the filter if your model has one, and leave the door open so the drum dries.
Use one product at a time. Never combine bleach with vinegar, ammonia, or any acid.
Do you actually need to do this?
Clean the washer if you notice any of these:
- A musty or sour smell from the drum or from clothes that just finished washing
- Black or dark slime on the door gasket or under its lip
- Residue, lint, or hair collecting at the bottom of the door
- A "clean washer" reminder light on your control panel
- It has been a month, or about 30 washes, since the last cleaning cycle
You can probably skip the full cycle if the washer smells fine and the gasket is clean. A quick wipe of the gasket and a door left ajar may be all it needs.
If you see mold beyond the reachable surfaces, the washer won't drain, or it leaks or shows error codes, read the professional-help section below before cleaning.
What you need
- Your washer's use and care guide (or the manufacturer's support page for your model)
- One cleaner: a washer-cleaner tablet such as affresh, or liquid chlorine bleach. Plain liquid bleach only; avoid thickened, easy-pour, or no-splash types
- A cloth, plus a soft-bristled brush if you will clean a pump filter
- A bucket or measuring jug for gasket solution (front-load)
- A shallow pan and towels for the filter's leftover water
- Time: Samsung says Self Clean takes about 1 hour on top-loaders and about 4 hours on front-loaders. Whirlpool and LG cycle lengths vary by model.
- Cost: a tablet or a cup of bleach per cleaning, plus supplies you likely own
Ventilate the laundry area. Test any cleaner on a hidden spot of surfaces it might touch, and wipe up drips right away. Keep bleach solutions off natural stone and sealed grout.
Step-by-step
Step 1: Check your manual and empty the tub (5 min)
Cleaner placement and cycle names differ by brand. Look up your model's cleaning cycle, then remove every garment and item from the drum. Never run a cleaning cycle with laundry inside, because Samsung warns it can damage the washer and the contents. You're done when the drum is completely empty.
Step 2: Clear the gasket groove (front-load, 3 min)
Open the door and remove any foreign objects from the groove inside the gasket at the six o'clock position, as LG describes. Check for socks, coins, and hair. This keeps debris from soaking in the cleaner and feeding odors. Done right, the groove is clear and you can see the bottom of the gasket fold.
Step 3: Add the cleaner where your brand says (2 min)

Pick one option:
- Tablet (Whirlpool/affresh): put one tablet at the bottom of the empty basket. Do not put it in the detergent dispenser.
- Liquid chlorine bleach (Whirlpool): add 1 cup (236 mL) to the bleach compartment. More than that could damage the washer over time.
- Liquid chlorine bleach (Samsung): pour it into the detergent compartment up to the max line. Do not use the bleach compartment.
- LG: use a washing machine tub cleaner and follow the package directions.
Add no detergent or other chemicals. You're done when only one cleaner is in the machine.
Step 4: Start the cleaning cycle and leave it alone (cycle length varies)
Close the door or lid and select Clean Washer, Tub Clean, Self Clean, Self Clean+, or Pure Cycle. Start Samsung's cycle right after pouring the bleach. On Whirlpool's bleach procedure, hold START/PAUSE for 3 seconds. Don't interrupt the cycle. If you must stop it, press POWER, per Whirlpool. Done right, the cycle finishes on its own with the drum empty.
Step 5: Rinse the cleaner out (20-60 min)

Run a Rinse & Spin cycle afterward to flush leftover cleaner or bleach. Whirlpool says to do this after an interrupted cycle, and its top-load guide says to do it after bleach. On Samsung machines, don't leave bleach sitting in the washer. Done right, the drum smells neutral and there are no suds.
Step 6: Wipe the gasket and door (front-load, 10 min)
Mix ¾ cup (177 mL) liquid chlorine bleach into 1 gallon (3.8 L) of warm water. Wipe the gasket with a cloth, pull the lip back, and clean underneath. Also wipe around the inside of the door, especially the bottom where hair, lint, and residue collect. If you'd rather avoid bleach here, LG allows vinegar in place of bleach, never both. Done right, no black film comes off on a clean cloth.
Step 7: Clean the pump filter if your model has one (10-15 min)
On LG front-loaders: turn the washer off and unplug it. Drain the remaining water through the small drain hose. Twist the pump filter counterclockwise to remove it. Scrub the filter and its opening with a soft-bristled brush and warm water. Reinstall it fully. Done right, nothing visible is stuck in the filter or opening. For other brands, use your manual's filter instructions.
Step 8: Leave the door open to dry (ongoing)

Prop the door or lid open after cleaning so the interior can ventilate and dry. Done right, the gasket and drum are dry to the touch by the next day.
Safety first: never mix bleach with vinegar, ammonia, or acids
LG's instructions say never to use bleach and vinegar together. Treat ammonia and any acidic cleaner the same way. Mixing them can release toxic gas. That includes many bathroom and rust cleaners, so keep them out of the laundry area during this job.
- Use one product per session. If you used bleach, don't follow it with vinegar or another cleaner.
- Ventilate. Open a window or run a fan, and keep children and pets out of the room.
- Measure. Excess bleach can harm the washer over time.
- Protect nearby surfaces. Patch-test on a hidden spot first. Keep bleach and acid drips off natural stone and sealed grout, and wipe spills immediately.
- If you mix chemicals by accident, leave the area at once, get fresh air, and contact poison control or emergency services.
Which cleaner should you use? Tablet vs bleach vs vinegar
- Washer-cleaner tablet. Whirlpool permits an affresh tablet, and LG recommends a washing machine tub cleaner used per its package. This is the simplest option if your manual lists it.
- Liquid chlorine bleach. Whirlpool and Samsung both allow it for the cleaning cycle, with different placement and amounts. Don't use color-safe bleach or Oxi in the same cycle with bleach.
- Vinegar. LG lists it as a substitute for bleach when wiping the gasket. Use it for gasket wiping only unless your manual approves it for the whole machine.
Where brands disagree, such as bleach compartment versus detergent compartment, follow your own manual.
Front-load vs top-load: what changes
Front-load: these have a gasket that traps moisture and hair, and often a pump filter. Samsung's front-load Self Clean runs about 4 hours. LG's Tub Clean runs a hot wash followed by a high-speed spin to help dry the drum.
Top-load (including HE): Whirlpool's top-load guidance matches the front-load procedure. Put the tablet in the empty basket, or add 1 cup (236 mL) bleach to the bleach compartment, then run the cleaning cycle. Samsung's top-load Self Clean runs about 1 hour.
No cleaning cycle? Check your manual first. Whirlpool's cleaning guide suggests a normal cycle on the hot water setting if your washer lacks a dedicated cleaning cycle.
How to clean the gasket, detergent drawer, and drain filter
Gasket: clear the groove, wipe with the diluted solution from Step 6, and clean under the lip. Never use straight bleach on the gasket, since LG warns it can make the gasket deteriorate over time.
Detergent drawer or dispenser: check your manual for how the compartment comes out or whether it does. Wipe visible residue with a cloth and warm water. Keep tablets out of the dispenser. Whirlpool says the tablet goes in the basket.
Drain (pump) filter: follow Step 7 for LG, and always unplug the washer first. Samsung directs users to its own pump-filter instructions for its models. If your washer has no accessible filter, don't force panels open.
How often to clean your washer
Whirlpool's odor page says to run the Clean Washer cycle every month. Some of its cycle guides say every 30 washes instead. If your washer shows a reminder light, that's your cue. For heavy use, the 30-wash count will come around sooner than monthly. Wipe the gasket whenever you see residue or dampness.
When mold means calling a professional or a repair tech
Wipe-and-cycle cleaning works on mold you can see and reach, like gasket slime. Stop and get qualified help if:
- Mold is growing beyond reachable surfaces or seems to be inside the outer tub
- It comes back quickly after repeated cleanings
- Mold also shows on nearby walls, floors, or cabinets, which suggests a wider moisture problem. Mineral scale on nearby fixtures is covered in removing hard water stains.
- Someone in the home has asthma or a weakened immune system
- The washer won't drain, leaks, or shows error codes
Contact an appliance technician or the manufacturer for machine faults, and a mold-remediation professional for extensive growth.
If the smell comes back: troubleshooting
- Check for trapped items and debris. Look in the gasket groove, under the lip, and around the door bottom.
- Clean the pump filter if your model has one.
- Rerun the cleaning cycle after confirming the right cleaner, amount, and compartment for your brand.
- Keep the door open between loads. A closed, damp drum invites odor.
- Call for service if the smell persists, or the washer fails to drain, leaks, or throws error codes.
Common mistakes and why they cause harm
- Mixing bleach with vinegar, ammonia, or acids. The mix can release toxic gas.
- Adding detergent during the cleaning cycle. Whirlpool says not to add detergent or other chemicals. Extra products can foam and interfere with the cleaner.
- Using more bleach than specified. Whirlpool warns that excess bleach can damage the washer over time.
- Putting a tablet in the dispenser. It belongs in the basket, per Whirlpool.
- Using straight bleach on the gasket. LG warns this can degrade the gasket.
- Running the cycle with laundry inside. Samsung says this can damage the washer and the laundry.
- Using thickened, easy-pour, or no-splash bleach in Clean Washer. Whirlpool notes it can cause excess suds.
What to expect afterward
After the cleaning cycle and a Rinse & Spin, the drum should smell neutral. Wait until the cycle and any rinse are fully done before putting laundry in. Leave the door or lid open so the interior dries. On LG front-loaders, the high-speed spin after Tub Clean helps dry the drum.
Watch for a returning musty smell, new black film on the gasket, or slow drainage. Those mean it's time to wipe the gasket again, check the filter, or run another cycle. Persistent leaks, drain failure, or error codes call for service.
Frequently asked questions
Can I use vinegar instead of bleach or a tablet in the cleaning cycle?
LG permits vinegar for wiping the gasket in place of bleach. A whole-machine cycle with vinegar isn't covered by the instructions we reviewed. For the tub, use the cleaner your manual lists, and never combine vinegar with bleach.
Can I wash clothes right after cleaning?
Finish the cleaning cycle and any Rinse & Spin first. Then leave the door open to dry. Don't add laundry during the cleaning procedure.
Where does the bleach go?
It depends on the brand. Whirlpool's cited procedures use the bleach compartment. Samsung says the detergent compartment, up to the max line, and not the bleach compartment. Check your manual before pouring.
How often should I run the cleaning cycle?
Whirlpool says monthly on its odor page, and some of its cycle guides say every 30 washes. Follow the schedule or reminder in your own manual.
Can I stop the cycle partway?
Avoid it. Whirlpool says not to interrupt the cycle. If you must, press POWER, then run a Rinse & Spin to clear the cleaner.
What if I accidentally mixed bleach and vinegar?
Leave the room immediately and get fresh air. Contact poison control or emergency services for guidance, and don't re-enter until the area has been aired out.
Related guides
- How to Remove Hard Water Stains: Mineral scale around laundry fixtures and nearby hard surfaces often shows up with washer residue and odors.
- How to Deep Clean Your Kitchen in 2 Hours: A timed deep-clean plan for the rest of the house when you are already cleaning appliances.
Next steps
This week, set a monthly reminder, then run one cleaning cycle with a single approved cleaner and an empty drum, wipe the gasket, and leave the door open to dry, and follow the Washing Machine Cleaning Checklist as you work.

Erin M.
Greetings! I’m Erin – Your Gratitude Guide at My Happy Thanks!
I’ve been writing Thank-You notes for as long as I can remember. It could have been the first thing I wrote: “Thank You”! Saying “Thank You” is easy and should not be tricky. In fact, it can be said in hundreds of different ways. But it’s alright if you are a little stuck; I’m here to help!
Let’s Spread Thank-You Notes and Appreciation Together!
I’m really glad you stopped by! Thank you for visiting!
About | Contact | Latest Posts