mypros+
Error code reference

LG Dryer Error Code E21

Ignition controller lockout

Avg. service call
$285
National average. Trip fee plus diagnostic plus labor. Before parts.
MyPros+ 3-day pass
$9.95
Same diagnostic steps, on your phone. Start now.
You keep in your pocket
~$275
Even before you buy the part.
Skip the service call. Fix it yourself.
Full procedure unlocks instantly.
Get Started

What the E21 error code actually means

Your LG gas dryer tried to light the burner several times and could not get it to stay lit, so it shut down for safety and displayed E21. This could be caused by a problem with the igniter, the gas supply, or a sensor that checks whether the flame is burning. The dryer will not run again until the issue is identified and corrected.

Diagnostic procedure

The full E21 procedure

Step 1 is visible so you can confirm you are on the right page. The remaining steps, the ones that tell you whether to actually replace a part, unlock with any pass.

MyPros+ · DiagnosticsStep 1 preview
1
First diagnostic step
Check ignition controller, spark electrode, flame rod, and gas valves (Valve 1 and Valve 2).
More steps, wiring diagram references, and verified part numbers
Includes expected resistance and voltage values, connector pinouts, and supersession notes for replacement parts.
Unlock E21 procedure $9.95

Or subscribe: $29/month for unlimited access to all codes plus Max AI diagnostics.

Most common causes of E21

Ranked by how often they cause this code
  1. 1Failed or weak igniter/spark electrode
  2. 2Faulty or contaminated flame rod
  3. 3Defective gas valve coil (Valve 1 or Valve 2)
  4. 4Insufficient gas supply pressure
  5. 5Ignition controller failure

Most DIYers save hundreds by diagnosing before ordering parts.

Get Started

$29/month · Cancel anytime · Or $9.95 3-day pass

Questions people ask about E21

What does E21 mean on a LG dryer?
E21 on an LG gas dryer means the ignition controller has entered a lockout state after the burner failed to ignite successfully. The dryer attempted to start the gas ignition sequence but could not confirm a stable flame through the flame rod sensor. The lockout is a safety measure to prevent unburned gas from building up inside the appliance.
Is the E21 error on my LG dryer a safety concern?
Yes, this error involves the gas ignition system, and you should not attempt to bypass or ignore it. The lockout function exists specifically to stop the dryer from repeatedly attempting ignition when something is wrong, which could otherwise allow unburned gas to accumulate. Do not operate the dryer until the root cause has been diagnosed and corrected. If you smell gas at any point, leave the area and contact your gas utility immediately.
How much does it cost to repair an LG dryer showing E21?
Repair costs vary depending on which component has failed. A flame rod cleaning or electrode replacement is typically one of the lower-cost repairs, while replacing gas valve coils or an ignition controller module involves higher parts costs. Including labor, most E21-related repairs fall somewhere in the range of $100 to $350, though prices vary by region and the specific parts required.
Can I fix the E21 error myself?
Some steps are accessible to a knowledgeable DIYer, such as checking that the gas supply valve is fully open, cleaning a contaminated flame rod, or inspecting the spark electrode for visible damage. However, testing gas valve coil resistance and diagnosing the ignition controller requires a multimeter and familiarity with live appliance circuits. If you are not comfortable working with gas components or electrical testing, a qualified technician should handle the repair.
Will resetting the dryer clear the E21 error code?
Resetting the dryer by unplugging it or cycling the power may temporarily clear the displayed code, but it will not fix the underlying ignition problem. If the root cause is not addressed, the dryer will attempt ignition again, fail, and return to lockout, displaying E21 again. A reset is only useful as part of troubleshooting after a repair has been made.

78,000+ service manuals · 160,000+ error codes · 55+ brands

Get Started

$29/month · Cancel anytime · Or $9.95 3-day pass