Blog · 2026-11-10

OBD fault codes vs. pending fault codes

Stefan Bogdanescu

Founder & Senior Architect

Understanding OBD Fault Code States: Active vs. Pending vs. Permanent

When interfacing with an engine control unit (ECU) via OBD-II, you will quickly encounter a confusing array of fault codes. Tools like AndrOBD present three distinct retrieval modes: active OBD fault codes, pending codes, and permanent codes. The distinction isn't just semantic; it dictates how you interpret the health of the powertrain and what actions are required to clear the Diagnostic Trouble Code (DTC) memory.

The most immediate visual cue is the Check Engine Light (CEL). When a driver sees the CEL illuminated on the dashboard, they are looking at active faults. These codes reside in the ECU's non-volatile memory because the condition has been met repeatedly or persisted long enough to trigger the lamp. In the context of standard OBD queries, these are often labeled simply as "OBD fault codes." If you query an ECU with an active light but no pending issues, your tool will return only these active DTCs. The light is essentially a status flag indicating that the current code set contains at least one entry marked as ready to be reported.

However, engines rarely fail in binary states. They degrade. A sensor might drift slightly out of tolerance, or an oxygen sensor might run rich for just 30 seconds before returning to normal. The ECU monitors these conditions constantly but requires a specific threshold to acknowledge the fault officially. This is where "pending" codes come into play.

Pending codes represent faults that have occurred recently—often within the last driving cycle—but have not yet satisfied the criteria to illuminate the CEL or be stored permanently in non-volatile memory. The term "pending" implies a probationary status. The ECU has logged the event, but it hasn't confirmed it as a chronic issue. This is why you might see pending codes on an app even when the CEL is completely off. These are transient faults that have technically crossed the detection threshold for the first time or are hovering right near it. They are critical for diagnostic reasoning because they often signal the onset of a problem before it becomes severe enough to trigger the warning light.

The third category, "permanent" codes, refers to DTCs stored in non-volatile memory (EEPROM). These are the stubborn faults that will not disappear simply by turning the ignition off and on again. They require a specific clear command or a full battery disconnect to remove. In many diagnostic strategies, these represent confirmed, long-term issues. The AndrOBD implementation distinguishes these by querying specifically for new entries in this permanent storage area, separating them from the volatile memory where active and pending codes sit.

A common pitfall in developing OBD applications is assuming that "no fault codes" means the engine is healthy. A query returning an empty list of active codes is only meaningful if you also check the pending and permanent lists. If a developer's logic relies solely on the active flag to determine if a car is safe, they will miss early-stage failures represented by pending codes. For instance, a catalytic converter efficiency issue might start with sporadic events that generate pending codes but haven't yet sustained enough occurrences to turn on the light.

When building your diagnostic logic, you should treat these three states as a hierarchy of severity. Active codes require immediate attention and are flagged for the user. Pending codes warrant observation; they indicate a trend that needs monitoring over subsequent drive cycles to see if it transitions to active status. Permanent codes represent historical data that helps identify chronic mechanical failures.

To implement this correctly in your application, ensure your OBD reader library supports querying all three memory banks separately rather than relying on a single "getCodes" method. Many standard parsers will default to returning only active codes, which leads to silent misses in error detection. You must explicitly request the pending and permanent sets to build a complete picture of the engine's health.