Read and Erase OBD2 Fault Codes: Save the Record First
6 min read · by Nicole Bennett · Last updated: November 14, 2026
Read and erase OBD2 fault codes with a scan tool, but save the codes and freeze frame data first. Clearing a code does not fix the fault that set it, and some codes cannot be erased at all.
The stored record tells a technician what the computer saw. Keep that record until the repair is done and the light stays off after a few drives.
Read and erase OBD2 fault codes: what gets stored
An OBD2 fault code is a five-character code, such as P0300, that the engine computer stores when it detects a fault. The first letter marks the system, with P for powertrain, C for chassis, B for body and U for network.
The next characters show whether the code is generic or manufacturer specific, plus the system and the fault involved. A code tells you where the computer saw a problem, not which part to replace.
Codes are stored in more than one way. An Innova guide to code types explains the differences, and the table below summarizes them.
| Code type | What it means | Can a scan tool erase it? |
|---|---|---|
| Pending | Set on the first trip of a two-trip fault, and cleared automatically if the fault does not return | Yes, the Mode 04 clear includes pending codes |
| Confirmed | Stored when a failure is found, and the check engine light turns on | Yes, stored confirmed codes can be erased |
| Permanent | Works like a confirmed code but is kept in memory until the fault is repaired | No, a scan tool cannot clear it |
| History | Records a fault that was repaired or no longer affects the car | Yes, but save it first, since it helps trace intermittent faults |
Before you erase anything, save the record
Save the codes and freeze frame data before you erase anything, because clearing removes the record a technician may need to find the cause.

- Connect the scan tool to the OBD2 port under the dashboard and turn the ignition on as the tool directs.
- Read the stored and pending codes, then open the freeze frame data for the first code.
- Write down each code, its status, the mileage and the time the light came on, or take a screenshot.
- Review any history codes, since erasing them removes the record that helps trace intermittent problems.
Once the record is saved, you can decide whether to repair the fault first or erase the codes to check whether the light returns. Writing the record takes only a few minutes, and it can save a second visit to the shop. Brand-specific steps are in Ford read and clear fault codes.
How erasing codes works and what it does not fix
Erasing codes turns off the check engine light and clears stored data, but it does not repair the fault that set the code. The Wikipedia overview of OBD-II warns that resetting codes does not address the underlying issues.
The clear command, Mode 04, removes emission-related diagnostic information, including pending and confirmed codes and freeze frame data. Some tools can turn off the light simply by resetting codes, so a clear is never proof of a repair.
Erasing codes also resets the readiness monitors, which the car must run again before an emissions check can pass. Expect a few normal drives before the monitors show complete. Nissan owners can compare the steps in Nissan fault code clearing steps.
Codes you cannot erase with a scan tool
Permanent codes cannot be erased with a scan tool or by disconnecting the battery. They clear only after the underlying problem is fixed and the vehicle is driven long enough for the relevant monitor to run.

That is why a permanent code can stay on the scan tool after a clear attempt. Once the monitor passes without finding the fault, the code clears on its own, which can take several drive cycles.
- A permanent code stays after a scan tool clear
- Disconnecting the battery does not remove a permanent code
- The code clears only after a passing monitor run, not on command
Mistakes to avoid when you erase codes
The most common mistake is erasing codes before saving them, which removes the only record of what the car reported. The second mistake is treating a clear as the repair.
Another mistake is erasing codes again and again to hide the light, for example before an inspection. Each clear removes evidence of an intermittent fault, which makes the next diagnosis slower and more expensive.
If a code returns, the fault is still present or has come back. Compare the new code with the saved record, since the same code often points to the same system. For a manufacturer example, see how to read Toyota fault codes.
If the code points to brakes, airbags or the fuel system, have a shop inspect the car before you erase the code and drive it. Those systems affect safety, and a light that goes off does not prove the system works.
Frequently Asked Questions
Can I erase OBD2 codes myself?
Yes, most basic scan tools can erase stored codes. Save the codes and freeze frame data first, then drive the car and check whether the code returns. Erasing does not repair the fault, so the repair still comes first.
Will disconnecting the battery erase codes?
Not for permanent codes. Innova’s guide says permanent codes cannot be cleared by disconnecting the battery. Use a scan tool and a saved record instead of relying on a battery disconnect to clear codes.
Why did the check engine light come back after I erased codes?
The fault may still be present. If the computer detects it again on later drives, it can store the code and turn the light on again. Check the saved record and the repair before you erase the code another time.
Should I save codes before I erase them?
Yes. Erasing removes the stored data, including freeze frame and history records. A screenshot or a written list gives a technician the detail needed to find the cause if the problem returns.
Read the codes, save the record, fix the cause, then erase and watch the light. That order keeps the most useful information and helps you avoid a repeat visit.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnHow to Read and Erase Infiniti Fault Codes
LearnFord Read and Clear Fault Codes: Safe Steps
LearnHow to Read and Clear Fault Codes on Kia
LearnHow to Read Toyota Fault Codes: Step by Step Guide
LearnHow to Read Cadillac Fault Codes: Step by Step Guide
LearnP0298 Code: Diagnose and Fix High Engine Oil Temperature