In this guide
What the UB code means
UB (sometimes shown as Ur on older models, and related to the UE code on other brands) is Samsung's unbalanced-load signal: during spin, the drum's vibration sensors detect the load swinging unevenly beyond what the machine can correct, so it stops or slows the spin to protect itself. It typically appears in the last minutes of a cycle, leaving clothes soaking wet — the wash itself finished fine; only the extraction failed. A related guide that readers pair with this one all the time is LG's OE drain error.
The usual causes, in order
- One heavy item: a bath mat, a single blanket or a pair of jeans absorbs water and becomes a wrecking ball on one side of the drum.
- Too small a load: two or three items cannot distribute around the drum — small loads unbalance as easily as big ones.
- Too large a load: an overfilled drum cannot rearrange itself at all.
- The machine is not level: a rocking washer amplifies every imbalance — check for a wobble and adjust the feet.
- Worn suspension: on older machines, tired suspension rods or dampers let a normal load swing too far — the code then appears on ordinary mixed loads, repeatedly.
Safe first checks
Open the door (wait for the lock to release), redistribute the load evenly around the drum, add a towel or two to a tiny load to give it body, and remove a single sodden heavyweight to spin separately. Run a drain-and-spin cycle. Level the machine: press down on opposite corners — any rock means adjusting the locking feet until it is planted. If UB returns on a normal, evenly spread, mid-size load in a level machine, suspect the suspension and book a technician; continued unbalanced spinning is what damages bearings and tubs.
UB versus the codes it gets confused with
UE/UB family = balance. DC on Samsung = the door is open or the load shifted during a specific check. 4C = water supply, 5E/5C = draining. Reading the exact letters matters because the fixes share nothing — our Samsung drain and supply guides cover those separately. If you want the same treatment for a related case, see Samsung Washer Error Code 5E Meaning.
Frequently asked questions
Why does UB appear at the very end of the cycle?
Balance only matters at high spin speed, which happens at the end. The washer washes happily unbalanced; it refuses to spin that way. The difference between this case and LG's IE fill error on washers is small but it changes what you should do, so it is worth knowing.
Can I just keep restarting the spin?
Redistribute first — restarting the same clumped load only repeats the shutdown, and repeated unbalanced spin attempts stress the suspension and bearings. The next time a washing machine code stops things mid-cycle, start with the Error Code Lookup before you reach for a screwdriver.
Does UB mean my washer is broken?
Usually not — it is most often a load problem. It becomes a machine problem when it fires on normal, evenly distributed loads in a level washer. If you want the same treatment for a related case, see Samsung's 4C water-supply error.
Researched by the Error Code Editorial Team. Every code meaning on this site is checked against manufacturer service documentation before publication, and the first checks we list are the ones technicians actually run first. Spot something wrong? Tell us — corrections are verified and fixed, not debated.