If opening your washer releases a sour or musty smell, you’re not imagining it. Over time, moisture, detergent residue, and bacteria can build up inside your machine, creating unpleasant odors that transfer to your laundry. Learning how to clean a smelly washing machine is essential for keeping both your clothes and your home fresh.

Fortunately, a thorough clean doesn’t require harsh chemicals or professional tools — just the right method and a little consistency.


Why Washing Machines Start to Smell

Washing machines create the perfect environment for odor-causing buildup. Warm temperatures, trapped moisture, and leftover detergent combine to encourage mold and mildew growth. This issue is especially common in front-load washers, where rubber door gaskets can trap water and debris.

According to appliance experts at Whirlpool, odor problems usually stem from residue buildup and insufficient airflow inside the drum and seals. Addressing these areas directly is the key to long-term freshness.


How to Clean a Smelly Washing Machine Step by Step

Follow these simple steps to deep clean your washer and eliminate odors at the source.

1. Empty the Washer Completely

Before you begin, make sure there’s nothing inside the drum. Cleaning cycles work best when the washer is empty and unobstructed.

2. Use Vinegar and Baking Soda

White vinegar breaks down residue while baking soda neutralizes lingering odors. This combination is widely recommended by cleaning professionals and household experts.

Add two cups of white vinegar directly to the drum and ¼ cup of baking soda to the detergent dispenser. As explained by Real Simple in their guide on using white vinegar in laundry, vinegar is particularly effective at dissolving buildup that causes odors.

3. Run the Hottest Cleaning Cycle

Select the hottest and longest cycle available on your machine. Heat helps loosen grime, kill odor-causing bacteria, and flush away residue. For top-loading washers, you may increase the vinegar to four cups for a deeper clean.

4. Clean the Detergent Dispenser

Remove the detergent drawer if possible and wash it with warm, soapy water. Detergent and fabric softener buildup in this area is a common — and often overlooked — source of washing machine smells.

5. Wipe the Drum and Door Seal

Once the cycle finishes, wipe down the inside of the drum, door, and rubber gasket using a clean cloth. Be sure to clean inside the folds of the gasket, where moisture tends to linger.


How Often Should You Clean Your Washing Machine?

To prevent odors from returning, aim to deep clean your washer once a month. If you frequently wash towels, gym clothes, or pet bedding, cleaning every two to three weeks may be even more effective.

Home care experts at Better Homes & Gardens note that regular washer maintenance plays a major role in preventing musty smells from developing in the first place.


How to Prevent a Smelly Washing Machine

Once your washer is clean, these habits will help keep it odor-free:

  • Remove laundry promptly after cycles finish
  • Use the correct amount of detergent (especially in HE machines)
  • Wipe the door seal dry after use
  • Leave the washer door or lid open between washes
  • Run routine cleaning cycles as recommended by the manufacturer

Whirlpool’s appliance care guide on removing washer odors emphasizes that airflow and proper detergent use are just as important as deep cleaning.


Final Thoughts

Knowing how to clean a washing machine can make a noticeable difference in how fresh your laundry smells and how well your washer performs. With a simple monthly routine and a few preventative habits, unpleasant washer odors don’t have to be part of your cleaning routine anymore.

A clean washer is the foundation of clean clothes — and a fresher home overall.