Short answer
A pending code means the problem is not yet confirmed, a stored code means the unit has confirmed the fault, and a permanent code is a record that does not clear until the system completes its own test.
Detailed answer
When a unit first sees a problem, it may not confirm it as a fault straight away. If it also appears in later drive cycles, the code becomes stored and the warning lamp may come on.
A pending code can be an early warning of a developing problem. It does not always light the warning lamp, so it may appear on a diagnostic tool while the lamp is off.
Permanent codes are defined to stop code clearing from hiding a fault, and are not found on every car. Noting which type you see on the diagnostic screen is an important detail when drawing conclusions.
Last updated: