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.
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. Using non-HE detergent is the single most common cause. Switching to HE detergent at a reduced amount (1-2 teaspoons per load) resolves the issue permanently. Running a Tub Clean cycle with Affresh removes detergent residue that causes recurring 5D codes even after switching to HE.
Not seeing 5D on your display?
Select what your appliance is actually doing and we'll take you to the right guide.
What Does the 5D Code Mean?
Too many suds in the tub. Not a hardware fault. Switch to HE detergent and use less of it.
Most Likely Causes
Based on aggregated repair data, here is the probability breakdown for this error code:
Symptoms You May Notice
- 5D or SD displayed on control panel mid-cycle
- Visible foam through lid glass or door window
- Cycle paused or running extra rinse cycles
- Code recurs on every wash even with small detergent amounts
Can you reset a Whirlpool washer to clear the 5D code?
5D clears on its own once the machine finishes its extra rinse cycles. If you need to cancel mid-cycle, press and hold the Start/Pause button for 3 seconds to drain and unlock the lid. No manual code clear is required.
Tools Required for Diagnosis
Diagnostic Checklist
Follow these steps in order. We start with the easiest external fixes before opening up the machine.
While 5D is displayed, do not open the lid or door
While 5D is displayed, do not open the lid or door. The machine is already running extra rinse cycles. Let it run to completion.
Check the detergent you are using
Measure 1-2 teaspoons of HE detergent for a normal load
Run a Tub Clean cycle with one Affresh tablet or 1/2 cup of
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?
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
Last verified for technical accuracy on March 14, 2026