Samsung Washer Code 5UD5: 5 Common Causes + Fixes

If you’re like me, you rely on your Samsung washer and dryer to keep your clothes clean and looking new. However, when your machine starts giving you error code 5UD5, it can interrupt your laundry routine. So, what causes Samsung washer code 5UD5, and how can you fix it?

When your Samsung washer displays code 5UD5, common causes are using excess or the wrong detergent, a clogged drain pump filter, and a faulty foam level sensor. Easy fixes include using the correct detergent, clearing the drain pump filter, and replacing the sensor.

If you’re experiencing Samsung washer code 5UD5, don’t despair! With a little troubleshooting, you can get your machine up and running in no time. Read on for a rundown of the most common causes of Samsung washer code 5UD5 and their corresponding solutions.

washer start button

1. Using Too Much Detergent

The leading cause of Samsung washer code 5UD5 is using too much detergent. Using more than the recommended amount of detergent can cause suds to build up in your machine. This can lead to several problems, including an error code.

If you’re using too much detergent, the machine will automatically fill with water to try and dilute the suds. However, if there’s too much detergent in the machine, the water will cause more suds to form.

Additional signs that you’re using too much detergent include:

  • There’s detergent residue on your clothes.
  • There are water spots on your clothes.
  • You see suds in the washer after a cycle.

How To Fix

If you’ve been using too much detergent, it’s time to cut back. Here are a few guidelines to ensure you’re using the correct amount of detergent:

  • Use only the amount of detergent recommended by the manufacturer. 
  • If you’re using a powdered detergent, ensure it’s fully dissolved before adding your clothes. 
  • Use the recommended amount of laundry boosters. If you must use a booster, only use the amount recommended by the manufacturer to avoid excess sudsing.

2. Using the Wrong Type of Detergent

Using the wrong type of detergent can also cause suds to build up in your machine and trigger error code 5UD5. For example, if you’re using a regular detergent in a high-efficiency washer, that can cause problems.

Here are additional signs that you’re using the wrong type of detergent:

  • There’s a film on your clothes after they come out of the wash.
  • Your clothes smell musty or have a residue after washing.
  • The washer leaves spots or streaks on your clothes.

How To Fix

If you have a high-efficiency washer, it’s important to use a high-efficiency detergent. This kind of detergent is designed to work well with high-efficiency washers and can help to prevent sudsing.

If you’re unsure which type of laundry detergent you should use with your washer, consult the user manual or visit the manufacturer’s website. 

Detergent in washer

3. Detergent Residue in the Washer

If you don’t clean your washer regularly, detergent residue can build up over time. That residue can cause suds to form, leading to error code 5UD5.

Not cleaning your machine can also lead to a musty smell, so it’s important to clean it regularly to prevent problems.

Other tell-tale signs your washer needs a good cleaning include:

  • The washer doesn’t fill with water as it should.
  • The washer isn’t draining properly.
  • The washer leaves water spots on your clothes.
  • Your clothes don’t seem as clean as they should be after a cycle.

How To Fix

If you’ve not been cleaning your washer regularly, it’s time to start. Here are a few tips for cleaning your washer:

  • Wipe down the door seal after each use. This removes any detergent residue or buildup that could cause sudsing.
  • Run an empty load with hot water and a cup of white vinegar every month. This will help to remove any detergent residue or other buildup in your machine.
  • Routinely clean the detergent dispenser. 

Related Post: Samsung Washer 5C Error Code

4. The Drain Pump Filter Is Clogged

The drain pump filter is a critical part of your washer. It helps to prevent things like lint and small items from getting into the pump and causing problems.

However, over time, the filter can become clogged with debris. When that happens, it can cause error code 5UD5.

A clogged drain pump filter can also cause your washer to stop mid-cycle. 

Here are additional signs that the drain pump filter is clogged:

  • The washer makes strange noises.
  • The washer doesn’t drain properly.

How To Fix

If you suspect the drain pump filter is clogged, it’s time to clean it. Here’s how to do that:

  1. Unplug the washer and turn off the water supply.
  2. Open the access door to the drain pump filter.
  3. Remove the emergency drain hose from the clip.
  4. Empty the water from the washer into a bucket.
  5. Remove any debris from the filter.
  6. Replace the filter and reattach the emergency drain hose.
  7. Turn on the water supply and plug in the washer.
  8. Run a test cycle to make sure the washer is working properly.

Here’s a video that may come in handy if you need a visual guide for clearing the drain pump filter:

5. The Foam Level Sensor Is Faulty

The foam level sensor is another critical part of your washer. It detects the level of foam in the washer and tells the machine when to stop filling with water.

If the foam level sensor is faulty, it can cause error code 5UD5. It can also cause your washer to overfill or underfill with water. So, if you notice that your washer isn’t filling properly or is overfilling, the foam level sensor might be to blame.

foam level sensor samsung washer

How To Fix

If your washer’s foam level sensor is damaged, it’s time to replace it. Here’s how to do that:

  1. Unplug the washer and turn off the water supply.
  2. Remove the screws from the back of the washer.
  3. Locate the foam level sensor and disconnect the wiring harness.
  4. Remove the old foam level sensor and install the new one.
  5. After you’ve replaced the foam level sensor, reattach the back panel of the washer and turn on the water supply.
  6. Plug in the washer and run a test cycle to ensure it’s working properly.

Don’t attempt to replace the foam level sensor unless you’re confident in your ability to do so. If you’re not sure, it’s best to call a professional.

If your washer is under warranty, call the manufacturer and have them send a technician out to make the repairs, otherwise, you risk voiding your warranty.

Extra Fix: In addition to the fixes above, you can let the suds dissipate on their own. Just wait 20-40 minutes and then restart your washer. In most cases, that will be enough time for the suds to dissipate. 


If your Samsung washer is displaying error code 5UD5, don’t panic. In most cases, it’s a simple problem you can fix yourself. Remember, error code 5UD5 often results from any of the following:

  • Using too much detergent.
  • Using the wrong type of detergent.
  • Detergent residue in the washer.
  • A clogged drain pump filter.
  • A faulty foam level sensor.

If you’re still having trouble after fixing the issues above, call a professional. Otherwise, if your washer is still under warranty, take advantage of that.