A voltage code, not a part code
L2 is different from most dryer codes because it points at the electrical supply to the machine rather than a component inside it.
One leg of the 240V supply
Denton Repair Services' Whirlpool dryer code guide describes it as: "L2 indicates low or missing line voltage, and this one is genuinely useful. It typically means one leg of the 240V supply has been lost, which is exactly the fault that leaves a dryer tumbling perfectly while producing no heat." The signature symptom is a drum that turns but never warms.
Check the breaker first
The source's instruction is specific: "Check the double-pole breaker fully off and back on." The 240V dryer circuit uses a two-pole breaker, and one pole tripped is exactly the half-loss that L2 describes.
Non-official repair reference — this page is an independent summary of a technician's guide, not a Whirlpool service manual; checking a double-pole breaker means handling the home electrical panel safely.
Source
Source: Denton Repair Services — Whirlpool Dryer Error Codes · Checked 2026-11-12.