Whirlpool Washer 5D Error Code: Excessive Suds
Quick Answer
The 5D code (also displayed as SD on some panels) is triggered when the washer's foam sensor detects too much detergent lather. It is not a broken component. The machine pauses the cycle and adds rinse cycles automatically to clear the foam.
Look, nine times out of ten when I see this code it's a chemistry problem, not a broken machine. The pump's basically gasping for air because the water's too thick with bubbles to drain properly. Ignore it long enough and the pump can actually burn out from the stress. Even correct soap amounts can trigger it if there's old residue caked on your outer tub, and that residue can sit there for months reactivating every single wash.
What Does the 5D Code Mean?
When I pull these machines apart I usually find a thick layer of soap scum coating the outer tub that you'd never see from the inside. This 5D or SD code means your washer's water is basically too thick with foam to drain properly. It's a really common quirk on Whirlpool's VMW platform because the foam sensor on these things is way more sensitive than older machines. The good news? It's almost always free to fix.
Most Likely Causes
Based on aggregated repair data, here is the probability breakdown for this error code:
Symptoms You May Notice
- 5D or SD code appears on the display right in the middle of the wash cycle, usually during or just after the agitation phase when foam is at its peak
- You can actually see foam pushing up against the door glass or lid window, sometimes a surprising amount of it
- The machine goes quiet and just sits there, then you hear it start filling with water again even though you didn't touch a single button
- Code shows up on every load now even when you barely used any detergent, because there's old soap residue baked onto the tub walls
- Clothes come out wetter than normal after the cycle finishes, or the spin sounds weaker, because the pump was struggling to clear soapy water
Can you reset a Whirlpool washer to clear the 5D code?
The 5D code clears on its own once the suds recovery routine finishes, usually around 20 minutes. If the panel's completely frozen and won't respond to anything, unplug the washer for a full 60 seconds. Not 10, not 30, a full 60. Plug it back in and run a Drain and Spin cycle first before starting a new load. That clears out any leftover soapy water sitting in the pump line.
Tools Required for Diagnosis
Diagnostic Checklist
Follow these steps in order. We start with the easiest external fixes before opening up the machine.
Frequently Asked Questions
Is the 5D code on my Whirlpool washer a sign something is broken?
Why does my Whirlpool washer keep showing 5D even when I barely use any detergent?
How much HE detergent should I use in a Whirlpool top-load washer?
Can the 5D code actually damage my Whirlpool washer if I ignore it?
What's the difference between 5D and SD on my Whirlpool washer display?
Related Whirlpool Washer Error Codes
Same Fix on Other Brands
Same Fix Works on These Brands
Whirlpool shares the same hardware platform with these brands. The diagnosis and repair steps are identical.
Models Known to Experience 5D Errors
This repair applies to most Whirlpool washers with this error code. Common model numbers include:
WTW4816FW, WTW5000DW, WTW7000DW, WTW4850HW, WTW8127LC, WTW6120HC, WTW5105HC, WTW7120HC
Last verified for technical accuracy on March 14, 2026