Try this first
A sewer smell usually comes from the drain
The wall pipe your washer drains into has a trap below it that holds water to block sewer gas. If the washer hasn't been used for a while, that water can dry up and let the smell through. A partly clogged drain, or a hose sealed tight into the pipe, can also pull drain water back into the washer. If the smell stays after the trap has water in it, the drain needs a plumber.
- Run a rinse cycle to put water back through the drain and refill the trap.
- Make sure the drain hose hooks loosely into the pipe, about 4.5 inches in, and isn't taped.
- If water backs up out of the pipe when the washer drains, or the smell stays, have a plumber check the drain.

