Washing machines are meant to clean our clothes, but they are also experts at trapping moisture, lint, soap scum, and hair. Over time, these residues combine to form a biofilm—a slimy layer where bacteria and mold thrive. If your laundry has started to smell a bit musty or you can see dark spots around the rubber seal, your machine is overdue for a deep clean. Even if everything looks fine on the surface, the hidden parts of the drum and the internal pipes are likely harboring buildup that affects washing performance and hygiene.

Cleaning a washing machine is not a one-size-fits-all task. The method changes depending on whether you have a front-load or a top-load model, and the frequency depends on how often you do laundry. Generally, performing a deep clean every 30 cycles or once a month is the gold standard for maintaining appliance longevity and ensuring your clothes actually come out sanitized.

The essential supplies you will need

Before starting, gather the right tools. You don't necessarily need expensive chemicals, but some components require specific care to avoid damage.

  • Cleaning agents: You can choose between specialized washing machine cleaner tablets (like Affresh or Tide), liquid chlorine bleach, or a natural combination of distilled white vinegar and baking soda.
  • Tools for scrubbing: An old toothbrush is perfect for reaching into the nooks of the detergent drawer. A microfiber cloth or a soft sponge handles the larger surfaces.
  • Safety gear: Wear rubber gloves, especially if you are using bleach or handling a heavily soiled drain filter. Ensure the room is well-ventilated to avoid inhaling fumes.

Step 1: Sanitizing the drum and internal pipes

The drum is where most of the work happens, but the outer tub (the part you can't see) is where detergent residue and minerals from hard water accumulate.

Using a specialized cleaner or bleach

Most modern machines produced in the last few years come with a dedicated 'Tub Clean' or 'Self Clean' cycle. This cycle is programmed to use higher water levels and higher temperatures than a standard wash. If you have this option, use it. Place one cleaning tablet in the bottom of the drum or fill the bleach dispenser to the maximum line with liquid chlorine bleach. Run the cycle completely.

The natural method (Vinegar and Baking Soda)

If you prefer to avoid harsh chemicals, vinegar and baking soda are a classic duo. However, they should not be mixed at the same time as they neutralize each other. First, pour two cups of white vinegar into the detergent dispenser and run a hot cycle. The acidity of the vinegar helps dissolve mineral deposits and kill mold. Once that cycle finishes, sprinkle half a cup of baking soda directly into the drum and run a second hot cycle. The baking soda acts as a deodorizer and helps scrub away any loosened residue.

Step 2: Deep cleaning the detergent dispenser drawer

It is surprising how much mold can grow behind a closed detergent drawer. Fabric softener is particularly problematic; it has a waxy consistency that often leaves a sticky film behind. This film becomes a magnet for black mold.

Pull the drawer out completely. Most models have a release tab you need to press. Once removed, soak the entire drawer in a sink filled with warm, soapy water. Use your toothbrush to scrub every corner, focusing on the undersides where the water jets enter. Don't forget to look inside the cavity where the drawer sits—use a damp cloth to wipe the top and sides of the internal housing. Dry the drawer thoroughly before sliding it back in.

Step 3: Caring for the rubber gasket (Front-load specific)

If you have a front-loading machine, the rubber door seal (gasket) is the most likely culprit for bad odors. It is designed to be watertight, but its folds often trap water, hair, and stray socks.

Peel back the folds of the gasket carefully. You will likely find a layer of grey or black sludge. Spray this area with a mild cleaner or a diluted bleach solution. Wipe it down with a microfiber cloth until all debris is gone. If the mold stains are stubborn, you can soak a few paper towels in bleach, tuck them into the folds of the gasket, and let them sit for 30 minutes before wiping and running an extra rinse cycle. Always dry this area with a towel after you've finished cleaning to prevent immediate moisture buildup.

Step 4: Clearing the drain pump filter

This is the part most people forget until the machine stops draining correctly. The drain pump filter catches coins, buttons, lint, and pet hair before they reach the drain hose. If this filter is clogged, the water in your machine will circulate with old debris, leading to a swampy smell.

Locate the small access door at the bottom front of your machine. Before opening it, lay down a towel and have a shallow bowl ready—some water will inevitably leak out. Unscrew the filter slowly. Clear out any solid objects and rinse the filter under a tap to remove slime and lint. Reach your finger into the hole where the filter was to ensure nothing is blocking the pump impeller. Screw the filter back in tightly to prevent leaks.

Step 5: Checking the water inlet filters

If you notice your machine is taking longer to fill with water, the inlet filters might be clogged with sediment from your home's plumbing. Turn off the water taps behind the machine and unscrew the hoses. You will see small mesh screens at the connection points. Use a hard bristle brush to clean away any sand or mineral grit. Reattach the hoses firmly and turn the water back on, checking for any drips.

Differences between cleaning front-load and top-load machines

While the general principles are similar, each design has specific pain points.

  • Front-load machines: These are more prone to mold because of the airtight door and the rubber gasket. They use less water, which means detergent is more likely to build up if you over-pour. The key focus here must be the gasket and the drain filter.
  • Top-load machines: These often have an agitator in the center. Debris and soap can get trapped underneath or inside the agitator. If your agitator is removable, take it out once a year to clean the base. Top-loaders also tend to collect lint along the top rim of the tub, just under the lid, which should be wiped down weekly.

Natural vs. Chemical: Which is better?

There is a lot of debate regarding the use of vinegar. While vinegar is excellent for removing hard water scale, some appliance manufacturers suggest that frequent use of high-concentration vinegar can eventually degrade rubber seals and hoses.

Specialized cleaning tablets (like those containing sodium percarbonate) are often more effective at breaking down the 'scrud'—the waxy buildup of detergent and body oils. These tablets are formulated to foam up and reach the parts of the outer tub that a standard vinegar soak might miss. For a machine that hasn't been cleaned in years, a chemical cleaner or bleach is usually the more effective starting point, while vinegar and baking soda are great for maintenance in between.

Preventing the smell before it starts

Maintenance is much easier than a deep scrub. Incorporate these habits into your laundry routine to keep the machine fresh:

  1. Leave the door open: After every load, leave the door or lid ajar. This allows the drum to dry out completely. Bacteria love dark, damp environments; airflow is their enemy.
  2. Use the right detergent: If you have a high-efficiency (HE) machine, only use HE detergent. Regular detergent creates too many suds, which the machine can't fully rinse away, leading to rapid buildup.
  3. Don't overdo the fabric softener: Fabric softener is essentially a thin layer of oil. Using too much is the fastest way to create a biofilm inside your pipes.
  4. Dry the gasket: Keep a small towel nearby and wipe the rubber seal of a front-loader after the last wash of the day.
  5. Remove wet clothes immediately: Leaving damp laundry in the drum for hours creates a humid environment that kickstarts mold growth on both the clothes and the machine.

Troubleshooting stubborn odors

If you have cleaned the drum, the drawer, and the filter, but a smell persists, the problem might be in the standpipe or the drain hose. Sometimes, the drain hose is pushed too far into the wall pipe, causing a 'siphoning' effect where sewer gases or dirty water flow back into the machine. Ensure your drain hose has a proper U-bend or 'P-trap' to prevent odors from entering the appliance from the plumbing system.

In some cases, if the machine is very old and has never been cleaned, the buildup behind the drum may be too thick for a standard cleaning cycle to remove. In such instances, a professional service might be necessary to manually disassemble and pressure-wash the components.

By following these steps, you ensure that your washing machine remains an asset rather than a source of frustration. Clean clothes start with a clean machine, and a little bit of monthly effort can add years to the life of your appliance.