Food

How to Clean a Washing Machine (Front and Top Load)

By Hayride Live · Updated · 5 min read

Run an empty hot-water cycle with 2 cups (480 ml) of white vinegar in the detergent dispenser, then a second hot cycle with 1/2 cup (120 g) of baking soda added directly to the drum; this takes about 2 hours total and needs only vinegar, baking soda, and a microfiber cloth. Do this monthly, or every 3 months if you use liquid fabric softener or live in a hard-water area. If your machine smells musty, start with the vinegar cycle, then scrub the rubber gasket before the baking soda cycle.

What You’ll Need

Gather these before you start so the cycles run without interruption:

  • White vinegar: 2 cups (480 ml) per cleaning cycle
  • Baking soda: 1/2 cup (120 g) per cleaning cycle
  • Microfiber cloth or soft sponge
  • Old toothbrush (for crevices)
  • Optional: washing machine cleaner (follow the package’s amount, but vinegar and baking soda work fine)

Run the Vinegar Cycle

Vinegar dissolves detergent residue, hard-water minerals, and the soap scum that causes musty smells. It’s safe for all machine types, but check your manual first—some manufacturers advise against vinegar, and if yours does, use a commercial cleaner instead.

  1. Empty the washing machine completely, including any forgotten items in the drum.
  2. Pour 2 cups (480 ml) white vinegar into the detergent dispenser (the same slot you use for liquid detergent). If your dispenser has separate compartments, use the main wash one.
  3. Set the machine to the hottest, longest cycle with an extra rinse if available. For a front loader, choose the “tub clean” or “drum clean” setting if it has one.
  4. Start the cycle and let it run completely. Do not open the door mid-cycle.
  5. When it finishes, leave the door or lid open for 30 minutes so the inside dries.

Scrub the Gasket and Dispenser

On front-loaders, the rubber door gasket traps water, hair, and lint—that’s the main source of mold and odor. Top-loaders hide grime in the detergent drawer and under the agitator. Scrub these areas after the vinegar cycle, while the surfaces are still warm and damp.

  1. Wearing rubber gloves, pull back the rubber gasket on a front-loader and wipe the entire fold with a microfiber cloth dipped in vinegar. Use an old toothbrush to reach the crevices where the gasket meets the drum.
  2. Remove the detergent dispenser drawer if it pulls out (check your manual). Rinse it under hot water, scrub with a toothbrush, and wipe the drawer housing inside the machine with a damp cloth.
  3. For top-loaders, lift the lid and wipe the underside, the rim, and the top edge of the drum. If your model has a removable fabric softener cup or lint filter, take it out and rinse it.
  4. Rinse the cloth often and wring it out well—you don’t want to leave vinegar residue behind.
  5. Leave the door or lid open while you move to the next step.

Run the Baking Soda Cycle

Baking soda neutralizes remaining odors and helps lift any vinegar smell. It also gives the drum a gentle abrasive scrub without scratching the finish.

  1. Add 1/2 cup (120 g) baking soda directly into the empty drum of the washing machine.
  2. Set the machine to the hottest, longest cycle again, with an extra rinse if available.
  3. Start the cycle and let it finish completely.
  4. When it ends, wipe the inside of the door or lid with a dry microfiber cloth to remove any baking soda residue.

Clean the Filter and Exterior

Most front-loaders have a small filter near the bottom front panel that collects coins, lint, and hair. Top-loaders may have a lint filter inside the drum. A clogged filter makes the machine drain slowly and can cause odors.

  1. Locate the filter: on front-loaders it’s behind a small door at the bottom right or left; on top-loaders it’s often a removable cylinder inside the drum or near the agitator.
  2. Place a shallow pan or towel under the filter door to catch water—there will be some.
  3. Open the filter cover and unscrew the filter counterclockwise. Pull it out carefully.
  4. Rinse the filter under warm water, removing lint and debris with your fingers or an old toothbrush.
  5. Wipe the filter housing with a damp cloth, then replace the filter and close the door.
  6. Wipe the outside of the machine, including the top, the control panel, and the door glass, with a damp microfiber cloth. Use a dry cloth to buff the stainless steel.

Keep It From Smelling Again

The fastest way to prevent musty odors is to leave the door or lid open after every wash. This lets the interior dry completely—moisture is what mold and bacteria need to grow.

  • Leave the door or lid ajar for at least 30 minutes after each load, or overnight if you have space.
  • Wipe the rubber gasket dry with a cloth after the last load of the day.
  • Use the correct amount of detergent—too much leaves residue that feeds mold. Check your machine’s manual and the detergent label; most loads need only 1–2 tablespoons (15–30 ml) of liquid detergent.
  • Remove wet clothes promptly after the cycle ends. Leaving them overnight is a top cause of mildew.
  • Run a hot water cycle with just vinegar every 1–3 months depending on how often you use the machine.
  • If you use fabric softener, consider cutting back—it coats the drum and gasket with a waxy film that traps odors. Use it only every few loads, or switch to dryer sheets.

Symptom / Cause / Fix

Symptom Cause Fix
Musty smell Mold in gasket or drum Vinegar cycle + scrub gasket; dry door after each use
Clothes come out with residue Too much detergent or hard water Use less detergent; run vinegar cycle monthly
Slow drain or water pooling Clogged filter or drain hose Clean the filter; check the hose for kinks
Mold on the gasket Moisture left behind Wipe gasket dry after each load; leave door open

Safety note: Never mix vinegar with bleach or any other cleaner—it creates toxic chlorine gas. Use vinegar alone in the machine, and don’t add bleach to the same cycle. Always unplug the machine before reaching into the filter area, and if you see standing water that won’t drain, stop and check the filter before running another cycle.

When to call a professional: If you’ve cleaned the filter, run vinegar and baking soda cycles, and still get a persistent odor or water leaks, the drain pump or door seal may need replacement. This requires a technician—don’t attempt to remove the front panel or access internal parts yourself, as you risk damaging the machine or injuring yourself.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.