Food

How to Clean Bad Odor From Washing Machine

By Hayride Live · Updated · 5 min read

The most common cause of a smelly washing machine is a buildup of detergent, fabric softener, and grime in the rubber gasket, drum, and drain, especially in front-loaders. The fix is a hot wash with baking soda and vinegar, followed by scrubbing the gasket and filter. If your machine still smells after that, the drain pump filter or the door seal is likely the culprit, and those need separate attention.

Before You Start: What You’ll Need and Safety Checks

Gather white vinegar, baking soda, a microfiber cloth or old towel, an old toothbrush, and a small brush or pipe cleaner for tight spots. Unplug the machine before you touch the filter or any internal parts, and keep a shallow pan and towels ready because water will spill when you open the drain filter. Never mix bleach with vinegar or any other cleaner — the fumes are toxic. Test any cleaning spray on a hidden spot of the gasket first.

The Main Cleaning Method: Hot Wash With Vinegar and Baking Soda

This works for both front-loaders and top-loaders. The heat and the fizzing action loosen the film that holds odor-causing bacteria.

  1. Set the machine to the hottest and longest cycle (usually “heavy duty” or “sanitize”). If your machine has a tub clean cycle, use that setting.
  2. Add 2 cups (480 ml) of white vinegar directly into the detergent dispenser. Do not add any laundry detergent or fabric softener.
  3. When the drum has filled with water and the cycle has run for about 5 minutes, pause the machine and add 1/2 cup (120 g) of baking soda directly into the drum. If your machine doesn’t pause, add the baking soda through the detergent drawer instead.
  4. Let the cycle finish completely. The hot water and the vinegar-baking soda reaction break down soap scum and mineral deposits.
  5. After the cycle ends, wipe the inside of the door glass and the rubber gasket with a dry microfiber cloth.

How to Tell It Worked

Open the door and sniff the drum and the gasket — there should be no sour or musty smell. Run a small load of towels with just a little detergent; if the towels come out fresh and the machine doesn’t smell after the load, the cleaning worked. If the odor returns within a week, you likely have a deeper buildup or a clogged filter.

The One Failure People Hit: A Clogged Drain Pump Filter

Most people stop after the vinegar wash, but the smell often comes from stagnant water trapped in the drain filter. This filter catches lint, coins, and hair, and when it’s full, water sits there and turns sour. The fix is to clean it, and you’ll need to do this every 1–2 months.

  1. Unplug the machine. Locate the small access panel at the bottom front of the machine (usually a square or round cover).
  2. Place a shallow pan under the panel to catch water. Open the panel slowly — some machines have a small drain hose that you need to pull out and unplug first; let the water drain into the pan.
  3. Twist the filter cap counterclockwise and pull it out. It will be dirty and may have lint, hair, and small objects wrapped around it.
  4. Rinse the filter under warm running water. Use an old toothbrush to scrub away the grime. Also wipe the inside of the filter housing with a damp cloth.
  5. Push the filter back in, turn it clockwise until it locks, replace the panel, and plug the machine back in.

Cleaning the Rubber Gasket and Door Seal

If the smell is strongest around the door, the gasket is the problem. Lift the rubber seal and you’ll often find mold, hair, and soap residue. Wipe it down with a cloth dipped in a solution of 1 part white vinegar to 3 parts water. For black mold spots, use a paste of baking soda and water — apply it with a toothbrush, scrub gently, then wipe clean. Always leave the door ajar after every wash so the gasket can dry completely.

Detergent Dispenser and Drawer: The Hidden Source

Detergent and fabric softener leave a sticky residue in the dispenser drawer, and that residue breeds mold. Remove the drawer (pull it out fully, then press the release tab in the center). Soak it in hot water with 1/4 cup (60 ml) of vinegar for 15 minutes, then scrub with a toothbrush. Wipe the drawer cavity inside the machine with a vinegar-dampened cloth. Reinsert the drawer only after it’s completely dry.

Why the Smell Comes Back and How to Prevent It

If you don’t change your habits, the smell will return within a few weeks. The single most effective prevention is to leave the door open after every load — prop it ajar for at least an hour, or overnight. Also use only the recommended amount of detergent (about 2 tablespoons or 30 ml for a standard load) because excess soap leaves a film that traps bacteria. Run a hot vinegar wash once a month, and clean the drain filter every 1–2 months. If your machine has a “tub clean” cycle, run it monthly with a washing machine cleaner, following the product’s instructions.

When the Smell Persists After All This

If you’ve cleaned the gasket, filter, and dispenser and the odor is still there, the problem may be in the drain hose or the internal pump. Check the drain hose for kinks or clogs — disconnect it from the back (after unplugging the machine) and run water through it. If the hose is clear and the smell remains, you may have a broken pump or a buildup deep in the machine’s internal pipes; that requires a service technician. Also, if you have a front-loader and the door seal is torn or cracked, water can get trapped behind it — replace the gasket or call a repair person.

Worked Example: A Front-Loader That Smelled Like Sour Towels

Let’s say your washer smells like damp towels every time you open it. You run the vinegar and baking soda cycle, but the smell persists. Here’s the full sequence that usually fixes it:

  1. Unplug the machine and open the drain filter panel. You find a handful of lint and a coin. You clean the filter and let the water drain.
  2. You pull out the detergent drawer and soak it in vinegar water. You wipe the cavity with a cloth.
  3. You lift the rubber gasket and find black mold spots. You scrub them with a baking soda paste.
  4. You run another hot cycle with 2 cups (480 ml) of vinegar, no detergent.
  5. You leave the door open for 24 hours. The next day, the machine smells clean, and your towels come out fresh.

Top-Loader vs. Front-Loader: What’s Different

Top-loaders usually smell less because they don’t have a rubber gasket that traps water. But they can still get a musty odor from detergent buildup. For a top-loader, run the same hot cycle with vinegar and baking soda, but also check the agitator or impeller — remove any lint stuck around it. Top-loaders have a filter that’s often located inside the drum or behind a small panel; clean it if your model has one. If you have a high-efficiency (HE) top-loader, use only HE detergent and run the tub clean cycle monthly.

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