A musty smell coming from your washing machine is one of the most common complaints in home laundry, and the good news is that it is almost always fixable for under $20 in supplies. You do not need a repair tech, and in most cases you do not need a new machine — but there is one mistake that causes more of these smells than everything else combined, and it costs nothing to stop making it.
This post contains affiliate links. If you buy through them, we may earn a small commission at no extra cost to you. We only link to products we could verify exist.

That mistake is treating the washer like a sealed, self-cleaning box. A washing machine is a wet, warm, dark container with residual lint, soap scum, and body oils inside it. Left closed and damp, that combination grows biofilm — a slick layer of mold and bacteria — within days. The fix is not a stronger detergent. It is changing how much water and air the machine gets between loads, and then cleaning the specific spots where gunk actually collects.
If this helped, you'll also want to read How to Get Rid of Mildew Smell in Laundry (And Keep It Gone), How to Clean a Washing Machine Cheaply (Yes, It Needs It) and Why Your Windows Are Still Streaky After Cleaning.
Below are the usual culprits, how to confirm each one, what the fix costs, and when it is genuinely smarter to replace the machine than to keep fighting it.
Cause 1: The Door or Lid Stays Closed While Wet
This is the big one, and it is free to fix.
How to confirm it: Open the machine an hour after a load. If the drum smells sour and the gasket or lid feels clammy, you have your answer. Front loaders are far worse offenders here because the door seals airtight against a rubber gasket.
The fix: Leave the door or lid open between loads — not cracked, fully open — for at least a few hours after the last cycle. Wipe the gasket dry with a cloth. Run a hot cycle with two cups of white vinegar or a washer-cleaning tablet once a month. Owner reviews on cleaning tablets consistently report that the smell returns within weeks if the door habit does not change, which tells you the tablet is the smaller half of the fix.
Cost: $0 to about $10 a year in cleaning tablets or vinegar.
Cause 2: The Rubber Door Gasket Is Trapping Sludge
On front loaders, the folded rubber lip around the opening collects lint, hair, and detergent residue. It looks clean from the front and is disgusting underneath.
How to confirm it: Pull the gasket back with your fingers and run a paper towel along the inside of the fold. If the towel comes back gray-brown and smells like a wet basement, that is the source.
The fix: Pull the gasket back and wipe the fold with a damp microfiber cloth and a little dish soap. A Mr. Siga 12-Pack or similar thin cloth works well here because you can fold it into the groove. Expect to find a coin, a hair tie, or a sock in there too — check the drain filter while you are at it. Do this monthly.
Cost: A pack of microfiber cloths typically runs $8 to $15 and lasts years.
Cause 3: Detergent and Fabric Softener Residue
Using more detergent than the load needs, or using softener at all in a machine that already smells, feeds the problem instead of solving it. Softener leaves a waxy film that traps lint and moisture.
How to confirm it: Look for a chalky or greasy film on the inside of the drum and on the dispenser drawer. If you use pods plus liquid, you are likely doubling up.
The fix: Cut to the correct dose — usually two tablespoons of liquid detergent for a normal load, not a full cap. Skip fabric softener entirely for a month and use white vinegar in the rinse instead. Run one hot empty cycle with a cup of baking soda and a cup of vinegar to strip the film.
Cost: $0. This actually saves money.
Cause 4: A Clogged or Smelly Drain Pump Filter
Many front loaders have a small access panel at the bottom front hiding a filter that catches coins, hair, and lint. When it clogs, standing water sits in the pump housing and rots.
How to confirm it: Put a shallow pan and towels down, open the panel, and slowly unscrew the filter cap. If the water that comes out is dark and smells, that is your culprit. Check your manual — not every model has one, and top loaders generally do not.
The fix: Clean the filter under running water, wipe the housing, and reseat the cap firmly. Do this every two to three months. A plastic scraper helps lift caked lint off the filter without scratching it.

Cost: $0 if you already own a bucket and rags.
Cause 5: The Standpipe, Hose, or Drain Trap
If the smell is worse right after the machine drains, or you notice it near the wall rather than the drum, the problem may be downstream. A drain hose pushed too far into the standpipe can siphon sewer gas back into the room. A lint-clogged hose grows its own biofilm.
How to confirm it: Smell the end of the drain hose and the standpipe opening. Sewer smell — sulfur or rotten eggs — points to a trap or vent issue rather than the drum. A musty, wet-cardboard smell points to the hose itself.
The fix: Pull the drain hose out so it sits only a few inches into the standpipe, and make sure there is a proper air gap. If the hose itself smells, replace it — they are inexpensive and universal. If you get sewer smell from a sink or floor drain nearby, the trap has dried out; pour a quart of water down it.
Cost: A replacement drain hose is typically $10 to $20. Pouring water down a trap is free.
Cause 6: Hard Water and Mineral Buildup
Hard water leaves calcium deposits that give bacteria somewhere to cling. This is more common than people realize — in much of the US, water runs 7 to 15 grains per gallon, which is squarely "hard."
How to confirm it: White crust on the drum, the dispenser, and the water inlet screen. Dishes and glasses come out spotted. Soap does not lather well.
The fix: Run a descaling cycle with citric acid or a commercial washer descaler every three to six months. A Pyrex Glass Measuring Cup makes it easy to measure the right amount of powder or liquid without guessing. If your whole house is hard, a water softener is the real answer, but that is a $500-plus decision, not a quick fix.
Cost: Descaler runs about $10 to $20 per treatment.
When to Stop and Replace It Instead
Cleaning fixes a smell. It does not fix a machine that is already failing. If you are cleaning monthly and the smell returns within a week, or you are also seeing water on the floor, a grinding noise on spin, or a drum that no longer turns smoothly, you are spending time on a machine that is on its way out.
Two things fail first on budget washers: the door seal and the drum bearing. Once the bearing goes, the repair often costs more than the machine is worth — a bearing and labor commonly runs $250 to $400, which is close to the price of a new entry-level unit.
If you are replacing, the most common picks in owner reviews for reliability at a reasonable price are the Hoover WindTunnel 3 for a top-load setup and the Shark Navigator Lift-Away if you are also dealing with the lint and pet hair that tends to migrate from laundry rooms into carpets and upholstery. Neither is a washing machine, so be clear on what you are buying: the Hoover is a vacuum, not a washer, and it is listed here only because laundry-room cleanup is where most of this mess ends up. For the washer itself, buy on capacity and warranty rather than features — a 4.5 cubic foot top loader with a 10-year motor warranty is a better bet than a 5.5 cubic foot machine with a one-year warranty and a dozen cycle presets you will never use.
Preventing This Next Time
Four habits cover almost all of it. Leave the door open after every load. Use less detergent than the cap says. Wipe the gasket monthly. Run a hot cleaning cycle every 30 days. Add a descale cycle every three to six months if your water is hard.
None of that requires special products, and none of it takes more than a few minutes. The machines that smell worst are almost never the cheap ones — they are the ones that stay shut.
The Bottom Line
A musty washing machine is a maintenance problem, not a defect, and the fix is usually free. Start with the door habit, then work through the gasket, the filter, and the detergent dose in that order — that sequence solves the large majority of cases without spending anything. Only start pricing a replacement when the smell comes back within days of a full cleaning or when you also hear or see mechanical failure. At that point, put the money into a machine with a long motor warranty instead of into a repair on a unit that has already given you its best years.
Frequently Asked Questions
How often should I clean my washing machine to stop the smell?
A hot cleaning cycle once a month, plus a monthly wipe of the door gasket, is the baseline most manufacturers recommend. If your water is hard, add a descaling cycle every three to six months. Leaving the door open between loads costs nothing and does more than any single cleaning product.

What is the correct amount of detergent for a normal load?
About two tablespoons of liquid detergent for a standard load, not a full cap. Using pods plus liquid at the same time doubles the dose and leaves the waxy film that feeds the smell. Skipping fabric softener for a month and using white vinegar in the rinse helps strip that film.
When is it worth replacing the machine instead of cleaning it again?
When the smell returns within a week of a full cleaning, or when you also see water on the floor, hear grinding on spin, or feel the drum turn roughly. A drum bearing repair commonly runs $250 to $400, which is close to the cost of a new entry-level washer, so at that point replacement usually makes more sense than another repair.