What Do Washing Machine Error Codes Mean?
A washing machine error code names the system that failed: drain (F21, OE, 5E), door lock (dL, dE, dC), or water supply (F20, IE, 4E). Drain codes usually clear with a filter or hose cleaning; if not, a drain pump is $75 to $150 in parts plus $75 to $100 in labor. Door codes point to a failed front-load latch or top-load lid switch at $150 to $275 parts and labor. Supply codes mean checking that the valves are open and the hoses unkinked before suspecting the inlet valve.
Drain-Related Codes
Codes indicating a drain problem (Whirlpool/Maytag F21, LG OE, Samsung 5E or SE, GE E2): the machine is not draining within the expected time. First step: check the drain filter (front-loaders) for blockages — a clogged filter is the most common cause and requires no parts. Also check the drain hose for kinks and the household drain standpipe for blockage. If the filter is clean and the hose is clear: the drain pump itself may have failed. A drain pump replacement: $75 to $150 in parts plus $75 to $100 in labor. (For more on this, see Washing Machine Repair vs. Replacement: How to Decide.)
Door Lock and Lid Switch Codes
Codes indicating a door or lid problem (Whirlpool/Maytag F34 or dL, LG dE, Samsung dC): the machine cannot confirm the door is locked before starting. On front-loaders: the door latch assembly may have failed. On top-loaders: the lid switch or lid lock mechanism. These are common, mid-cost repairs: $150 to $275 parts and labor. A temporary workaround: some machines allow you to manually press the door latch or hold the lid down to trigger the switch (not recommended as a long-term solution, but useful for confirming the diagnosis). (For more on this, see Common Washing Machine Problems and What Causes Them.)
Water Supply Codes
Codes indicating a fill problem (Whirlpool/Maytag F20, LG IE, Samsung 4E or 1E): the machine is not detecting water entering the drum. Check first: are the hot and cold water supply valves behind the machine fully open? Are the inlet hoses kinked? Is the household water pressure adequate (minimum 20 PSI required)? If these are all clear: the water inlet valve (a solenoid valve on the back of the machine that opens to allow water in) may have failed. Inlet valve replacement: $150 to $275 parts and labor, with the valve itself at $40 to $80.
Working With a Contractor on This Project
Getting the right outcome on any home services project starts before the work begins. A few consistent practices make the difference between a smooth project and a frustrating one.
Get at least two or three quotes. A single quote gives you no basis for comparison. Two or three quotes reveal the market rate for the work, expose scope differences between bidders, and let you assess contractor communication quality before any commitment is made. The lowest bid is not automatically the best value if the scope is thin or the materials are underspecified.
Ask for licenses and insurance before work starts. Verify current general liability insurance and, for any work involving workers on your property, workers compensation coverage. Licensing requirements vary by state and trade; confirm the specific requirements in your jurisdiction. A licensed contractor who carries appropriate insurance protects both parties if something goes wrong during the project.
Get the scope in writing. A written proposal that specifies materials, labor scope, timeline, what is included (permits, cleanup, disposal), and warranty terms is the foundation of a professional engagement. Verbal agreements on any of these points invite misunderstanding. For any project over $500, written scope is non-negotiable.
Clarify the payment schedule upfront. A reasonable payment schedule ties major payments to project milestones: a deposit at signing, a payment at material delivery or project start, and a final payment at completion after a walkthrough confirms satisfaction. A contractor who requires full payment upfront before work begins is a red flag in any trade.
Making a Confident Decision
The information in this article is designed to help you ask better questions of the professionals you work with, evaluate their answers with more confidence, and understand the decisions involved in this type of home services project. It is not a substitute for professional assessment of your specific home.
Every home is different. Roof slopes, local weather, tree exposure, soil conditions, and existing system condition all affect what the right solution is for your specific situation. The general principles here apply broadly, but a professional who assesses your home in person will give you guidance that accounts for the details that general articles cannot.
When you are ready to move forward, getting at least two or three quotes from licensed, insured, local contractors is the most important practical step. It lets you compare approaches, assess contractor quality, and confirm that the solution proposed matches your specific situation and budget.
Washing Machine Repair Cost at a Glance
Here is a quick reference for what common washing machine repairs cost, including parts and labor. A diagnostic or service call fee of $80 to $150 is charged separately by most companies and credited toward the repair if you authorize the work. (For more on this, see Common Washing Machine Problems and How to Diagnose Them.)
| Cost Factor | Typical Range | Notes |
|---|---|---|
| Thermal fuse replacement | $150 to $275 | One of the most common repairs. The part itself costs $5 to $20; the rest is labor and service call. |
| Lid switch or door latch | $150 to $275 | Prevents spinning when the door or lid is open. Parts are inexpensive; the cost is primarily the service call. |
| Drain pump replacement | $150 to $275 | Parts cost $50 to $100; labor is 30 to 60 minutes. |
| Door boot seal (front-loaders) | $150 to $250 | Labor-intensive; the machine must be partially disassembled. |
| Water inlet valve | $150 to $275 | Parts cost $40 to $80. |
| Motor or control board | $350 to $700 | At this cost level, compare repair cost to replacement value. A repair exceeding 50 percent of the machine’s replacement cost on a unit over 8 to 10 years old: replacement is usually the better decision. |
Cost figures on this page were checked against published pricing on September 2, 2026. How we source cost data.
These ranges cover typical US labor rates and standard replacement parts. Brand, model, and local market conditions affect the actual quote.
Frequently Asked Questions
Error codes indicate a sensor-detected problem with a specific component or system (drain, door, water supply, motor, control board). The specific code varies by manufacturer and model -- look up the exact code in your machine's user manual or on the manufacturer's support website. Most codes correspond to a specific component failure that a technician can diagnose and quote for repair.
F21 on Whirlpool and Maytag washers indicates a drain problem -- the machine is not draining within the expected time. First step: clean the drain pump filter (access via the lower front panel). Also check the drain hose for kinks. If those are clear: the drain pump may have failed. This is one of the most common Whirlpool front-loader error codes and often a simple fix.
For most machines: unplug the washing machine for 60 seconds, then plug it back in. This resets the control board and clears any temporary fault codes. If the code reappears immediately after the reset: the underlying problem is still present and the diagnostic reset did not fix the issue. If the code does not reappear: it may have been a transient fault (power glitch, momentary sensor error) rather than a component failure.
Intermittent errors that do not prevent the machine from completing cycles: monitor but do not necessarily repair immediately. An error that appears consistently (the same code every cycle) indicates an ongoing problem -- ignoring it risks progression (a partially failing drain pump eventually fails completely mid-cycle, leaving a full drum of water). An error code that stops the machine mid-cycle: requires diagnosis before the machine is used again.
The user manual (usually downloadable from the manufacturer's website if you do not have the physical copy). The manufacturer's support website (search by model number). YouTube: search your brand and model number plus the error code for technician-produced diagnosis videos. AppliancePartsPros.com and Repair Clinic: both have model-specific troubleshooting guides that explain error codes and list the most likely failed parts.


