Guide

How to tell if codes were cleared

Usually you can. Clearing codes resets every readiness monitor to not ready, and many newer cars also report how far they have been driven and how many warm-ups they have had since the codes were cleared. Permanent codes on newer cars cannot be erased with a scanner at all.

Key facts

Key factDetail
Readiness monitorsClearing codes sets all of them to not ready at once
Selective clearingNot possible: clearing is all or nothing
Distance since clearedReported by many newer cars (standard data item, PID 31)
Warm-ups since clearedReported by many newer cars (standard data item, PID 30)
Permanent codesSurvive clearing and battery disconnection on cars that have them
Other reasons for not readyA flat, disconnected or replaced battery, or a recent repair

Not ready monitors on their own do not prove that someone hid a fault. Look at all the clues together.

Clue 1: readiness monitors show not ready

When codes are cleared with a scan tool, the OBD system also resets its readiness status. U.S. EPA inspection guidance explains that all readiness codes are then set to not ready, and that a technician cannot clear some codes while leaving the other monitors ready. Readiness codes exist partly so that inspectors can see whether fault codes were cleared since the car last checked itself.

The monitors only return to ready after the car has been driven under the right conditions. EPA and California both suggest about a week of normal driving after codes are cleared or the battery is disconnected.

So several non-continuous monitors showing not ready usually means the memory was reset recently, or the car has not been driven enough since. Both EPA and CARB note the innocent reasons too: a dead, disconnected or replaced battery, or codes cleared after a genuine repair.

The video on this page shows a scan of one used car: P0016 pending and only 4 of 8 monitors ready.

See also: OBD2 readiness monitors explained · OBD2 drive cycle explained

Clue 2: distance and warm-ups since codes cleared

OBD2 has two standard data items that count from the last time the codes were cleared: the number of warm-up cycles (PID 30) and the distance traveled (PID 31). California's OBD II rule requires them on 2005 and newer cars that use the CAN protocol, and the California Bureau of Automotive Repair says most gasoline cars support them from about 2007 or 2008.

A low distance and only a few warm-ups mean the codes were cleared recently. The Bureau of Automotive Repair describes using these same two values, together with permanent codes, to judge whether a car has been driven enough since a code clear to be ready for a Smog Check.

Not every car or scanner shows these items. If yours does not, rely on the readiness status and the codes.

Clue 3: permanent and pending codes

On cars with permanent codes, which were phased in over the 2010 to 2012 model years according to the Bureau of Automotive Repair, a confirmed emission fault is also stored as a permanent code. It cannot be erased with a scan tool or by disconnecting the battery. Only the car itself clears it, after the related monitor has run and passed.

Pending codes are stored when a self test fails for the first time, before the fault is confirmed and the check engine light comes on. If the fault is still there after codes are cleared, a pending code can return as soon as that self test runs again.

See also: Stored, pending and permanent codes · How to clear the check engine light

What to check before buying a used car

  • Read stored, pending and permanent codes, not just whether the check engine light is on.
  • Open the readiness status and count the monitors that are not ready.
  • If your scanner shows them, note the distance and warm-ups since codes were cleared.
  • Ask the seller about recent battery work or repairs, which also reset readiness.
  • If several monitors are not ready, scan again after about a week of driving, or have the car inspected before you buy.

See also: OBD2 check before buying a used car

Check it with OBD Master Pro

Connect a generic ELM327 class adapter, read stored, pending and permanent codes, then run the emission readiness check to see which monitors are complete. Freeze frame shows the conditions when a stored code was set. Results depend on your car and adapter.

Diagnostic tools: ECU info, readiness monitors, Mode 06 test results and freeze frame
Diagnostic tools: ECU info, readiness monitors, Mode 06 test results and freeze frame

See also: OBD2 trouble code guides

Frequently asked questions

Can a smog check tell if you cleared the codes?

Usually. Clearing resets the readiness monitors to not ready, and inspection programs limit how many can be not ready. California also looks at warm-ups and distance since codes were cleared. Permanent codes stay stored even after clearing.

Does disconnecting the battery hide trouble codes?

It resets readiness just like clearing codes, which an inspection or a used car scan will show. Permanent codes are not erased by disconnecting the battery.

How long after clearing codes are the monitors ready again?

It depends on the car and how it is driven. EPA and California suggest about a week of normal driving, with some longer trips, before an inspection.

Watch a short video

Seller cleared the codes? A pending code and not ready monitors A used car scan: P0016 pending and 4 of 8 monitors ready.

Videos load from YouTube (privacy-enhanced mode) only after you press play.

Try it on your own car

OBD Master Pro turns your Android phone and a generic ELM327 adapter into a code reader: read and clear codes, view freeze frame and live data, and check emissions readiness.

Get it on Google Play

Keep reading

Related guides: Check engine light on: what to do · Flashing check engine light · OBD2 drive cycle explained · How to read an OBD2 code · Stored, pending and permanent codes · OBD2 readiness monitors explained · ELM327 adapter not connecting · How to clear the check engine light · What is fuel trim · OBD2 live data and PIDs · OBD2 port pinout · What is a U code? · O2 sensor readings · ABS and airbag codes · OBD1 vs OBD2 · OBD2 glossary

Common codes: P0171 System Too Lean · P0420 Catalyst Efficiency · P0300 Random Misfire · P0455 EVAP Large Leak

All OBD2 guides · OBD2 by car brand · OBD2 trouble code guides

Sources

Published . Updated . General information only. Details generally vary by model, year and market, so always follow the owner's manual and service information for your vehicle.