The **5d** display on a Samsung washing machine points to **excessive suds / foam detected**. Treat it as a diagnostic direction rather than a parts order: operating conditions, wiring, sensors, actuators, and control electronics can overlap. The exact stage when the code appears can be as important as the characters themselves. Note whether it happens at startup, during fill, heating, cooling, draining, spinning, drying, or after a power event. The recorded display form is **5d**. Search normalization stores it as **5D** while preserving the characters a homeowner actually sees.
Reviewed by Ethan Mercer · Last reviewed August 17, 2026
Written by
Ethan Mercer Appliance Repair Content SpecialistPublished August 17, 2026Updated August 22, 2026Technically reviewed August 17, 2026
Content status:
Verified
Error code5D
ApplianceWasher
Quick answer
Excessive suds / foam detected.
Model compatibility: Samsung can reuse or reformat codes across series and model years, so 5D may mean something different on another appliance or generation. Confirm this against your model’s documentation and record your full model number before acting.
Plain language
What this code means
The **5d** display on a Samsung washing machine points to **excessive suds / foam detected**. Treat it as a diagnostic direction rather than a parts order: operating conditions, wiring, sensors, actuators, and control electronics can overlap. The exact stage when the code appears can be as important as the characters themselves. Note whether it happens at startup, during fill, heating, cooling, draining, spinning, drying, or after a power event. The recorded display form is **5d**. Search normalization stores it as **5D** while preserving the characters a homeowner actually sees.
Signs
Symptoms you may notice
When the 5d condition is present, excess foam may be visible and the washer may extend or pause the cycle.
On affected Samsung washing machine models, drain/spin stages can take longer while the control tries to reduce suds.
While 5d is active, the display can clear once the foam level falls.
When the 5d condition is present, 5d appears during the washer stage associated with excessive suds / foam detected.
While 5d is active, the cycle may pause, stop, retry, drain, or refuse to advance until the condition is cleared.
These are simple, non-hazardous checks only. If anything is unclear, stop and contact a technician.
A safe owner-level check is to use HE detergent in the amount recommended for the load and water conditions.
With 5d recorded, do not add more detergent to a cycle already showing excessive suds.
As an external check for 5d, run the documented rinse/clean-up procedure if the model manual recommends it.
A safe owner-level check is to record the code and the cycle stage where it appears.
As an external check for 5d, check owner-accessible water supply, drain hose/filter, load balance, door, detergent, or power only when relevant.
A safe owner-level check is to power-cycle once only where Samsung's guidance recommends it; if the same code returns, move to model-specific diagnosis.
Important safety warning. When working around a washing machine that shows 5d, keep the checks external and non-invasive. Disconnect power and stop use for active leakage near electrical parts, smoke, burning smell, or repeated breaker trips.
Get help
When to request repair service
If the code occurs with correct detergent dosing and little visible foam, water-level sensing, drainage, or control diagnosis may be needed. A repeatable 5d event is more useful diagnostically than repeated resets, because it shows when the excessive suds / foam detected check is failing.
Book your repair
Seeing this code on your Samsung appliance?
Book a specialist visit for a clear estimate and approval before any repair.
A single documented power reset can help after an external condition or power event is corrected. If **5d** returns at the same stage, repeated resets only erase useful evidence and do not repair the cause.
Continue only if the appliance is otherwise safe and the owner-level checks are appropriate. Stop for leakage near electrical parts, smoke, burning odor, arcing, gas concerns, repeated breaker trips, uncontrolled heating, or unsafe temperatures.
Treat **5d** as a starting point, not a replacement instruction. Wiring, feedback signals, operating conditions, and electronic controls can mimic a failed component.
The same-looking code can be reused on another Samsung appliance family or reformatted by region/model year. Match the appliance type and exact model before applying a meaning. This page therefore keeps **Washer 5d** separate from same-looking codes used by other Samsung appliance families.