Tankless water heater error code 12 usually indicates a flame failure during operation. This means the burner ignited but could not maintain a stable flame, causing the system to shut down for safety.
This problem can occur because of gas supply issues, airflow restrictions, dirty components, or sensor problems.
In this guide, we explain what error code 12 means and how to troubleshoot the most common causes.
Tankless Water Heater Troubleshooting Flowchart
No Hot Water
↓
Check Power
↓
Check Gas Supply
↓
Check Water Flow
↓
Check Error Code
↓
Flush Heater if Needed
↓
Call Technician
What Code 12 Means
Code 12 indicates that the burner ignited successfully, but the flame was not maintained during operation.
This means the unit started heating water but then lost the flame, causing the system to shut down for safety.
In most cases, this is related to gas supply issues, airflow problems, or faulty flame detection components.
Common Symptoms
When code 12 appears, you may notice:
- hot water starts but quickly turns cold
- unit shuts off during use
- temperature fluctuates unexpectedly
- intermittent hot water
- error code appears while water is running
These symptoms help confirm the issue is related to flame failure during operation.
What Causes Flame Loss During Operation?
Unlike ignition failure (code 11), code 12 occurs after the unit has already started.
This means something is interrupting the flame while the heater is running, causing the system to shut down for safety.
Common reasons include:
- inconsistent gas flow
- unstable combustion
- faulty flame detection
- airflow disruption
Low Gas Supply
Tankless water heaters need a steady gas supply to keep the burner operating.
If gas pressure drops, the flame may go out and trigger error code 12.
Possible reasons include:
• gas valve partially closed
• gas regulator problems
• undersized gas line
• multiple gas appliances running at once
Check that the gas valve near the heater is fully open.
If the problem continues, gas pressure should be checked by a technician.
If your unit stops producing heat completely, see our guide on tankless water heater not heating.
Blocked Vent or Air Intake
Gas tankless heaters require proper airflow for safe combustion.
If the intake or exhaust vent becomes blocked, the heater may lose flame during operation.
Check for:
• leaves or debris in vent pipes
• snow or dirt blocking outdoor vents
• loose or damaged vent connections
Restoring proper airflow may solve the problem.
Dirty Burner Assembly
Over time, the burner assembly inside a tankless water heater can collect dust, debris, or residue. When this happens, the flame may not burn correctly, which can cause the heater to shut down and display error code 12.
Possible causes include:
• dust buildup inside the unit
• insects entering the vent system
• debris near the burner
• lack of regular servicing
A burner that cannot maintain a stable flame may trigger safety shutdown to prevent unsafe operation.
Cleaning the burner should only be done according to manufacturer instructions.
Dirty Flame Sensor
The flame sensor confirms that the burner is operating correctly.
If the sensor becomes dirty, the heater may think the flame has gone out even when it has not.
Symptoms may include:
• heater starts then shuts off
• repeated ignition attempts
• intermittent error codes
Routine tankless water heater maintenance helps keep sensors clean and working properly.
If your water starts hot and then suddenly turns cold, see our guide on tankless water heater hot then cold.
Mineral Buildup Affecting Operation
Mineral buildup inside the heat exchanger can reduce efficiency and affect internal sensors.
Heavy scale deposits may interfere with normal operation and cause the heater to shut down.
Flushing the system removes these deposits.
👉 See our guide on how to flush a tankless water heater for step-by-step instructions.
Electrical or Sensor Problems
Tankless heaters use multiple sensors to monitor safe operation.
If a sensor sends incorrect signals, the system may shut down even if the burner is working.
Possible issues include:
• loose wiring
• worn sensors
• control board problems
• power interruptions
Resetting the heater may clear temporary faults.
Control Board Malfunctions
Tankless water heaters rely on an electronic control board to manage ignition, sensors, and safety systems.
If the control board sends incorrect signals, the heater may shut down even when the flame is working properly.
Possible signs of a control board issue include:
• random shutdowns
• repeated error codes
• heater works intermittently
• ignition starts but stops quickly
Electrical problems should be inspected by a qualified technician to avoid further damage.
How to Reset After Error Code 12
Sometimes the system only needs a reset.
Typical steps:
- Turn off the heater.
- Wait about 30 seconds.
- Restore power.
- Run hot water again.
If error code 12 returns, further inspection is needed.
High Wind or Outdoor Venting Problems
In some installations, strong wind or poor vent placement can affect combustion.
If wind enters the vent pipe, the flame may become unstable and cause the heater to shut down.
This can happen when:
• vent pipes are too short
• vent caps are damaged
• outdoor units are exposed to strong wind
• intake and exhaust are too close together
Correct vent installation is important for safe operation.
When to Call a Professional
If error code 12 continues after basic checks, a technician should inspect the heater.
Professional service may include:
• checking gas pressure
• cleaning sensors
• inspecting venting
• testing internal components
A licensed technician can safely diagnose the problem.
Related Tankless Water Heater Troubleshooting
If your heater shows other errors or performance problems, see our complete tankless water heater troubleshooting guide.
Frequently Asked Questions
What is error code 12 on a tankless water heater?
Error code 12 usually means the burner ignited but the flame went out during operation.
Can low gas pressure cause error code 12?
Yes. If gas pressure drops, the heater may not maintain combustion and will shut down.
Can flushing fix error code 12?
Sometimes. If mineral buildup affects sensors or heat transfer, flushing the heater may help restore normal operation.
Why does error code 12 appear after the heater starts?
This usually means the heater ignited but could not maintain the flame. Gas pressure, airflow, or sensor problems are common causes.
Can weather affect tankless heater ignition?
Yes. Strong wind or blocked vents can interfere with combustion and cause the heater to shut down.
Does error code 12 mean the heater is broken?
Not always. Many times the problem is caused by airflow restrictions, maintenance issues, or gas pressure problems.