# How to Fix Whirlpool Error F26 (Door Switch Error)
The F26 error code is a common issue on many Whirlpool front-loading washing machines and usually indicates a fault with the door locking mechanism. Fixing this error typically involves a simple inspection and, if necessary, replacing one primary component.
—
## 1. Understanding Error Code F26
### What this code means in plain English
The F26 error signifies a **Door Switch Error** (or Door Lock Fault).
This code appears when the central control unit (CCU) attempts to lock the door (at the start of a cycle) or unlock the door (at the end of a cycle), but it does not receive the necessary electrical signal confirmation from the **Door Lock Assembly** within a specified timeframe.
**The machine is failing to sense that the door is successfully locked or unlocked.**
Because the door lock is a critical safety feature (preventing flooding and injury), the machine stops immediately and prevents the cycle from continuing until the signal fault is cleared.
### The Likely Culprit
In 90% of F26 cases, the actual issue is a faulty **Door Lock Assembly** (also often called the Door Latch or Door Switch). Over time, the internal solenoid or micro-switches within this plastic assembly wear out or fail electrically.
—
## 2. Step-by-Step Troubleshooting and Fix
Before attempting any diagnostics or repairs, **ALWAYS UNPLUG THE WASHER** from the wall outlet to prevent electric shock.
### Step 1: Power Cycle and Visual Check (The Simple Reset)
1. **Safety First:** Unplug the washer for 5 minutes.
2. **Plug Back In:** Restore power and attempt to run a short diagnostic cycle (like “Drain & Spin”). If the F26 reappears, proceed to Step 2.
3. **Check for Obstruction:** Open the door and carefully inspect the door opening and the latch mechanism (the metal protrusion on the door itself). Look for trapped socks, towels, coins, or detergent buildup that might be physically preventing the door strike from seating fully into the lock assembly.
4. **Inspect the Door Strike:** Ensure the metal or plastic piece attached to the door (the “strike”) is straight, not bent, and securely fastened.
### Step 2: Accessing and Testing the Door Lock Assembly
If the visual checks pass, the issue is internal to the lock assembly itself. You will need to access the part, which is located inside the cabinet frame, just behind the rubber door gasket.
1. **Remove the Door Gasket Clamp:** Locate the spring clamp or retaining wire that holds the front of the rubber door boot gasket to the metal cabinet. Use a flathead screwdriver or pliers to carefully pull the retaining spring loose and remove the clamp.
2. **Peel Back the Gasket:** Peel the front lip of the rubber door gasket away from the cabinet opening and tuck it into the drum. This exposes the front of the door lock assembly, which is usually held in place by two or three screws.
3. **Examine the Wiring:** Before removing the screws, check the wiring harness connected to the assembly. Ensure the connector is firmly seated and that there are no visible signs of pinched, frayed, or burnt wires. Loose connections can sometimes trigger the F26 error.
4. **Remove the Assembly:** Remove the screws holding the lock assembly to the frame and gently pull the entire unit out. Keep the wires connected for now if you plan to perform a continuity test.
### Step 3: Determining the Need for Replacement
Unless you have access to a multimeter to test the internal switches for continuity (an advanced step requiring a wiring diagram), the safest and most common fix for F26 is simply to **replace the entire Door Lock Assembly.**
If the lock assembly:
* Smells burnt.
* Shows physical damage or melting on the plastic housing.
* Clicks or locks intermittently but still displays the error.
* Does not retract the lock mechanism when power is applied.
…it needs replacement.
### Step 4: Installation
1. **Transfer Wiring:** Disconnect the old assembly and connect the new assembly to the wiring harness.
2. **Mount:** Screw the new assembly back into the cabinet frame.
3. **Reassemble Gasket:** Pull the rubber door gasket back over the metal cabinet lip.
4. **Install Clamp:** Reinstall the wire retaining clamp or spring around the gasket lip to secure it. Ensure the gasket is seated correctly to prevent leaks.
5. **Test:** Plug the machine back in and run a short test cycle.
—
## 3. Replacement Part Information
The Door Lock Assembly is a standardized part across many Whirlpool models, but you must verify the exact part number using your washer’s full model number (usually found inside the door frame).
**Check the price for a replacement Door Lock Assembly here: https://www.amazon.com/s?k=Whirlpool+Door Lock Assembly&tag=trivian-20**