That swampy whiff coming from behind the washing machine usually has nothing to do with the washer itself. A smelly washer drain is typically a plumbing issue along the short path the wastewater travels: the drain hose, the vertical standpipe it sits in, the P-trap under or behind the wall, and the pump filter inside the machine. Each one fails in a predictable way, and a simple sniff-test order tells you which one to fix.
The quick version: start by sniffing the top of the standpipe with the hose pulled out. A strong odor there points to slime in the pipe or a dry or missing trap. Next check how far the hose is pushed down the pipe, since a hose jammed too deep can siphon the trap dry. Then pull and clean the washer’s pump filter. Most drain odors are fixed with a cleaned standpipe, a properly seated hose and a trap that stays full of water.
Whole-house sewer gas problems, such as blocked roof vents or a cracked main line, are a different and bigger issue. The steps here stay focused on the drain path right at the laundry box.
Why a Smelly Washer Drain Happens: How the Drain Works
When the washer pumps out, water shoots up the drain hose and down into a standpipe, usually a 2 inch pipe rising from the floor or set into a recessed laundry box in the wall. Below that pipe sits a P-trap: a U-shaped bend that always holds a few inches of water. That water plug is what stops sewer gas from rising into the room. Behind it, the drain connects to a vent that lets air in so the trap does not get sucked dry.
Odors show up when any part of that system breaks down. Lint, soap scum, fabric softener and hair coat the inside of the standpipe with a gray slime that rots and smells like mildew or rotten eggs. A trap that dries out, or one that was never installed, lets sewer gas straight into the laundry room. A hose stuffed too far down the pipe creates an airtight seal that can siphon the trap empty on every drain cycle. Inside the washer, a clogged pump filter holds stagnant water that turns sour.
Safety First
- Unplug the washer or turn off its breaker before pulling it away from the wall, opening the pump filter or reaching behind it.
- Shut off the hot and cold supply valves before moving the machine so you do not stress or kink the fill hoses.
- Never mix drain cleaners, and never combine bleach with vinegar, ammonia or acid-based products. Toxic gas can result. Flush thoroughly with water between products.
- Avoid harsh caustic drain openers in a laundry standpipe. They rarely clear lint clogs and can splash back. Wear gloves and eye protection for any chemical use and keep the room ventilated.
- If you notice a gas smell (natural gas has a rotten-egg odor added), especially near a gas dryer or water heater, leave the home and call your gas utility from outside. Do not try to diagnose it.
The Sniff-Test Order
- Standpipe opening. Unplug the washer, pull the drain hose out of the standpipe and sniff the opening. A sharp sewer or rotten-egg smell means trap or vent trouble. A musty, sour or soapy-rot smell points to biofilm in the pipe.
- Drain hose end. Sniff the end of the hose and look inside. Slime there means the hose needs flushing or replacement.
- Pump filter. Open the filter access panel, drain it into a pan and sniff. A sour smell here means trapped water and debris inside the washer.
- Laundry sink or floor drain. If a nearby sink or floor drain smells too, the issue is likely a dry trap on that fixture or a venting problem.
- Room-wide timing. Notice when the smell appears. If it spikes right after the washer drains, suspect siphoning or a slow drain. If it is constant, suspect a dry or missing trap.
Tools and Materials
- Rubber gloves, eye protection, a flashlight and old towels
- A long flexible bottle brush or a drain snake auger (a 1/4 inch hand auger is plenty for a standpipe)
- Enzyme drain cleaner, or baking soda and white vinegar used without bleach
- A bucket and a shallow pan for the pump filter
- Replacement drain hose, if yours is slimy or cracked
- Hose clamp or a drain hose retainer clip
Fixing Each Source
Clean a Slimy Standpipe
With the hose out, push a long brush or the drain snake auger down the standpipe and work it up and down to break loose slime and lint. Pull out what you can, then pour a kettle of hot (not boiling) water down the pipe. Follow with an enzyme drain cleaner per the label, or a half cup of baking soda and a cup of vinegar, left for 30 minutes and flushed with hot water. Repeat monthly for a few months if the buildup was heavy. Adding a lint trap sock or mesh filter to the end of the drain hose cuts future buildup dramatically.
Refill a Dry Trap
If the laundry box has not been used in a while, such as after a vacation or in a vacation home, the trap can simply evaporate dry. Pour a gallon of water down the standpipe to refill it. If the smell disappears and returns after a week or two of nonuse, a tablespoon of mineral oil on top of the trap water slows evaporation.
Fix the Hose Height and Depth
The drain hose should hang loosely in the standpipe, typically pushed down only 6 to 8 inches, with an air gap around it. Never seal the hose into the pipe with tape. An airtight connection lets the pumping water siphon the trap dry. Most manufacturers also call for the standpipe to rise roughly 30 to 96 inches above the floor; check your manual. A pipe that is too short can let the washer siphon water continuously, while one that is too tall strains the pump.
Clean the Pump Filter
With the washer unplugged, place towels and a pan under the access panel, release the small drain tube if your model has one, then unscrew the filter slowly. Remove lint, coins and sludge, rinse it and reinstall it snugly. This is a common source when a washing machine drain smells like rotten eggs only when the machine runs.
Replace a Slimy Drain Hose
Corrugated hoses trap gunk in their ridges. A new hose usually costs $10 to $25 and takes minutes to swap at the back of the machine. Clamp it securely so it cannot pop off and flood the floor.
When the Problem Is the Trap or Vent
Some odor from washer drain pipe connections persists no matter how clean the standpipe is. That usually means the trap is missing (common in older or amateur laundry installations), installed incorrectly, or not vented. A gurgling sound when the washer drains, slow draining in nearby fixtures or water pushing up and out of the standpipe all hint at a vent or main-line problem.
An S-trap, an illegal trap configuration in many places, or a drain without any vent can siphon dry on every cycle. Correcting either involves opening the wall or floor, cutting into drain pipe and meeting local plumbing code. That is work for a licensed plumber, who can also pull any required permit.
Troubleshooting Quick Reference
- Smell only after draining: hose sealed too tightly or pushed too deep; trap siphoning.
- Smell after time away: evaporated trap. Refill with water.
- Water backs up out of the standpipe: lint clog or undersized pipe. Snake it, add a lint filter, and call a plumber if it repeats.
- Smell inside the drum too: pump filter, gasket or detergent residue in the washer itself.
- Gurgling and slow drains elsewhere: venting or main-line problem. Call a plumber.
Costs and When to Call a Plumber
Most drain smell fixes cost $10 to $40 in brushes, enzyme cleaner, a lint filter or a new hose. A plumber snaking a laundry standpipe typically charges $100 to $300 depending on region and access. Adding or correcting a trap or vent ranges more widely, often several hundred dollars to over a thousand if walls need to be opened.
Call a licensed plumber if the standpipe overflows, if there is no visible trap, if multiple drains in the home gurgle or smell, or if you suspect a cracked drain line under the floor. Plumbing modifications should follow local code and may require a permit.
Frequently Asked Questions
Why does my washer drain smell like rotten eggs?
Rotting biofilm in the standpipe or pump filter produces sulfur odors. A dry trap that lets sewer gas through smells similar. Clean the pipe and filter and confirm the trap holds water.
How far should a washer drain hose go into the standpipe?
Usually only about 6 to 8 inches, hanging loosely with an air gap. Pushing it deeper or taping it in place can siphon the trap dry.
Can I pour bleach down the washer drain?
A diluted bleach flush on its own is fine occasionally, but never mix it with vinegar, ammonia or drain cleaners. Enzyme cleaners are safer for routine biofilm control.
Does a washer standpipe need a P-trap?
Yes. Plumbing codes generally require a trap on a washer standpipe to block sewer gas. If you cannot find one, have a plumber inspect the drain.
How do I keep my washer drain from smelling?
Add a lint filter to the hose end, flush the standpipe with hot water and enzyme cleaner monthly, clean the pump filter regularly and keep the trap filled.