5d Error Code on Washing Machine: Suds Detection Fix
Quick Answer
The 5d code indicates your washer is choked with too many soap suds. To fix it, let the machine sit for 30 minutes so the bubbles dissipate, then run a 'Rinse and Spin' cycle with no detergent at all.
I've seen the 5d code more times than I can count. It's usually just too much soap, but here's the thing: it's also a classic sign your drain pump is struggling. If you let it go, those suds start working on the outer tub seal, and that's a $200+ repair nobody wants. Fix the detergent habit now and you'll dodge a much bigger headache down the road.
What Does the 5d Code Mean?
Most of the time, this isn't a parts problem at all. It's the machine telling you to ease up on the soap. You're looking at zero dollars if it's just detergent, maybe $15-40 if you need a new drain pump filter, or up to $150 if the pump itself is toast. But honestly? Nine out of ten calls I go on for this code end with me telling the customer to just switch to HE detergent.
Most Likely Causes
Based on aggregated repair data, here is the probability breakdown for this error code:
Symptoms You May Notice
- The washer stops mid-cycle, sometimes just a few minutes into the wash phase, and just sits there with 5d or Sd flashing at you.
- You can actually see foam through the door glass. Sometimes a lot of it, like a bubble bath in your laundry room.
- The drain phase drags on forever. Should take 3 minutes, takes 20 or more.
- After the cycle supposedly ends, there's still a puddle sitting at the bottom of the drum.
- A loud, labored humming from the pump area during drain, like it's working way harder than it should be, because it is.
Can you reset a Generic washer to clear the 5d code?
Hit the Power button to shut it off, then actually unplug it from the wall. Don't just flip the breaker, pull the cord. Wait a full 60 seconds because the control board holds a small charge for a bit after power loss. Plug it back in and the error should be cleared from memory. If 5d shows up again within the next cycle, the root cause is still there. The reset just clears the alert, it doesn't fix anything.
Tools Required for Diagnosis
Service / Diagnostic Mode
For most Samsung front loaders: Power on the washer. Press and hold 'Spin' and 'Soil Level' buttons together until the display lights up with all icons. Turn the dial until 'tST' appears to enter test mode for the pump.
Diagnostic Checklist
Follow these steps in order. We start with the easiest external fixes before opening up the machine.
Replacement Parts
If your diagnostic testing proves the component has failed, you will need a replacement. We recommend OEM parts over aftermarket for water-handling components.
| Part Name | OEM Number | Estimated Price |
|---|---|---|
| Drain Pump AssemblyDC92-01223A · $45–$120 | DC92-01223A | $45 – $120 |
| Water Level Pressure SwitchW11217031 · $30–$85 | W11217031 | $30 – $85 |
Frequently Asked Questions
Can I use regular detergent if I use less of it?
Is 5d the same as the Sud error?
How do I get the foam out of the washer quickly?
Why does 5d happen during the 'Clean Washer' cycle?
Will 5d keep coming back even after I fix it?
Related Generic Washer Error Codes
Same Fix on Other Brands
Models Known to Experience 5d Errors
This repair applies to most Generic washers with this error code. Common model numbers include:
Samsung WF45R6100AW, Samsung WF50R8500AV, Samsung WF42H5000AW, Whirlpool WFW5000DW, Whirlpool WFW9290FW, Maytag MHW5500FW, Kenmore Elite 41302, LG WM3900HWA
Last verified for technical accuracy on March 17, 2026