What Is a Permanent Code? How to Clear It After Repair
13 min read · by Nicole Bennett · Last updated: November 25, 2026
What is a permanent code? It is an emissions-related diagnostic trouble code that stays in the vehicle’s OBD memory until the vehicle’s own system verifies that the underlying fault is no longer present. A permanent code is also called a permanent diagnostic trouble code, or PDTC. It records a fault that previously turned on the check engine light, even if the light has since gone out. The code is not a new failure by itself. It is a record that the vehicle still needs to complete its own verification.
This status can confuse drivers after a repair. A basic scanner may show no current or stored code while a permanent code remains in the background. That does not automatically mean the repair failed, but it does mean the relevant emissions monitor has not yet confirmed the result. The distinction matters before replacing more parts, clearing data, or going for an emissions inspection.
Identify the original DTC, check whether it is active, review its recorded conditions, and let the correct monitor run. The drive pattern varies by vehicle and system.
What a Permanent Code Means
A permanent code is the vehicle’s retained record of an emissions-related fault that previously caused the malfunction indicator lamp, or MIL, to turn on. Federal OBD regulations define a permanent DTC as one associated with a MIL-on DTC and stored in non-volatile memory. The onboard diagnostic system must decide when it can be erased; a driver or ordinary scan-tool command cannot simply delete it. See the federal OBD regulations for the formal definition and erase conditions.

The word permanent describes the storage status, not a separate code family and not a promise that the defect will last forever. The scanner may display the original trouble code, such as P0171 for System Too Lean, with a permanent status. The first character still identifies the system: P means powertrain, B means body, C means chassis, and U means network. For a P-code, the second character is important too: 0 generally identifies a generic SAE definition, while 1 is manufacturer-specific. A permanent label does not change the original code’s definition.
A permanent DTC is different from the other code categories a scanner can show. A pending code means the computer has detected a possible fault but has not confirmed it. A confirmed or MIL-on code means the fault met the conditions for the warning light. A permanent code is the retained record of that MIL-on event. One fault can therefore appear in more than one status list while the computer works through its checks.
| Scanner status | What it tells you | Typical meaning |
|---|---|---|
| Pending | A potential fault was detected. | The monitor needs more evidence; the MIL may remain off. |
| Confirmed or MIL-on | The fault met the criteria for a confirmed DTC. | The MIL is commanded on unless the fault has since passed its deactivation checks. |
| Permanent | The computer retained the related MIL-on DTC. | The vehicle must verify the repair before the record clears. |
Why the Code Stays After the Check Engine Light Turns Off
The check engine light and the permanent-code record follow different rules. The light can turn off after the computer sees the original fault stop recurring, while the permanent record remains until the correct monitor completes its verification. A dark dashboard light is encouraging, but it is not the same as a completed repair check.
On some OBD systems, the MIL can turn off after three qualifying drive cycles without a repeat fault, while the permanent record remains until the relevant monitor completes its verification. A drive cycle is not simply any trip around the block. The vehicle may need a particular coolant temperature, fuel level, engine load, road speed, or amount of steady driving before the relevant monitor will run. The catalyst monitor, oxygen-sensor monitor, evaporative-system monitor, and misfire monitor do not all use the same enabling conditions.
The permanent record adds another step. Short trips, repeated cold starts, low fuel, extreme temperatures, stop-and-go traffic, or interrupted driving may prevent the monitor from finishing. A repaired vehicle can be sound while its self-test remains incomplete.
A check engine light that is off means the computer is not currently commanding it on for that fault; it does not prove every monitor has passed. A permanent-only entry with no matching current or pending DTC often means verification is unfinished. If the code returns as current or pending, diagnose it again rather than treating it as a leftover record. A related explanation is in What Is a Permanent Dtc.
How to Check a Permanent Code With an OBD2 Scanner
Use a scanner that supports permanent DTCs and the vehicle’s communication protocol. On supported vehicles, permanent emissions codes are usually requested through Service Mode 0A. Standard OBD-II vehicles use a 16-pin diagnostic connector, commonly under the driver-side dashboard near the steering column, but available data and scanner menus vary by model year.

- Connect the scanner with the ignition in the position specified by its instructions. Identify the vehicle by VIN or select the correct year, make, model, and engine when required.
- Read MIL status and current or confirmed powertrain codes first. Record every code before clearing anything. A permanent DTC is more useful when it can be compared with the current fault list.
- Open the permanent-code menu, usually labeled Mode 0A or Permanent DTCs. Save the exact code and note whether it is also listed as current, pending, or confirmed.
- Read freeze-frame data for the original fault when available. Mode 02 freeze-frame information is a snapshot of operating data near the time the DTC set. Note engine speed, coolant temperature, vehicle speed, calculated load, and fuel-system status.
- Review live data and the relevant readiness monitor. Mode 01 provides supported live parameters and monitor status. Mode 07 can show pending faults from the last drive cycle. Mode 06 may provide monitor test values, but its test IDs and limits can require vehicle-specific service information.
- Save or photograph the report before making repairs or clearing ordinary codes. You may need the original freeze frame and monitor results to compare the post-repair results.
Mode 04 is different: it clears ordinary emissions DTCs and related freeze-frame or test data and resets readiness, but it does not erase a permanent DTC. A basic reader may not display Mode 0A. Check scanner and vehicle support; an unsupported message does not prove that no permanent DTC is stored.
Use the original code to guide diagnosis
Do not replace a part just because its name appears in a code description. For P0171, check fuel trims, intake leaks, fuel delivery, and sensor inputs before condemning an oxygen sensor. Short-term and long-term trims combined beyond roughly plus or minus 10 percent suggest a mixture problem; values near 25 percent or more can help explain a lean or rich code. Compare idle with raised-rpm data.
For an oxygen-sensor or catalyst code, compare upstream and downstream activity and review Mode 06 where supported. A narrowband upstream sensor commonly switches around 0.1 to 0.9 volts; a working catalyst generally leaves the downstream signal steadier. Use the exact service limits for the vehicle.
How a Permanent Code Clears After a Repair
A permanent code clears when the OBD computer runs the monitor responsible for the original fault and determines that the malfunction is no longer present. There is no universal button, mileage total, or number of trips that works for every vehicle. The required conditions depend on the monitor, engine calibration, and manufacturer strategy.
Fix the cause of the original DTC rather than trying to remove its permanent status. Inspect the relevant wiring, connectors, hoses, grounds, fuses, and sensor circuits. Save the scan report first: clearing ordinary DTC data can erase freeze-frame information and reset readiness monitors.
Tip: Do not disconnect the battery or repeatedly send a clear-code command to make a permanent code disappear. Neither action proves the repair, and a conventional clear can reset readiness monitors. Keep the code report, complete the manufacturer’s drive pattern, and confirm that the monitor passes and the permanent entry is gone.
Why drive-cycle instructions differ
The federal OBD rules describe different erase conditions depending on the monitor. In some cases, the permanent DTC can clear at the end of a drive cycle when the monitor has run and found no fault. Other monitor types must meet more than one independent no-fault condition, which can require additional driving. The computer must also stop commanding the MIL for the original malfunction.
A Ford service bulletin gives one example of a manufacturer-specific verification strategy. It describes clearing after three consecutive confirmed fault-free permanent-DTC driving cycles, or after one confirmed fault-free cycle following a scan-tool clear request. For that Ford procedure, the cycle includes 10 minutes of engine run time, 5 minutes of vehicle operation above 40 km/h (25 mph), and 30 seconds of continuous idle. Those figures are not a universal drive cycle for every Ford or every other make. Always use the instructions for the exact vehicle and fault.
Confirm the result instead of guessing
After the drive pattern, rescan the vehicle. Check that the MIL is off, the original DTC is no longer current or pending, the relevant readiness monitor reports complete, and the permanent-code list no longer contains the repaired fault. A monitor that still says Not Ready has not finished its test. If the same code returns as current or pending, resume diagnosis rather than repeating the same drive cycle indefinitely.
A thermostat that runs too cool, weak battery, unrelated active fault, incorrect fuel level, or bad supporting sensor can block a monitor. A healthy battery at rest is about 12.6 volts; charging voltage is typically 13.5 to 14.7 volts. If you want to go deeper, OBD2 Permanent Codes Explained covers a connected topic.
Symptoms, Severity, and Repair Cost Factors
A permanent code does not create a unique set of symptoms. The symptoms come from the original fault, and they may have stopped if the repair worked. A vehicle with a permanent-only record may start, idle, and drive normally, while the computer waits for a suitable opportunity to rerun the monitor.
The original DTC determines the symptoms. A misfire may cause rough idle, hesitation, or reduced power. A fuel-metering fault can affect fuel economy or idle quality. An evaporative-emissions fault may have no obvious drivability effect, and a catalyst code may appear without a clear change in how the engine runs.
Judge urgency by the warning light, the underlying code, and how the vehicle behaves—not by the word permanent. A steady check engine light with normal operation usually allows a cautious trip for diagnosis, but the fault should not be ignored. A flashing check engine light indicates an active misfire that can overheat and damage the catalytic converter. Reduce engine load and arrange prompt inspection. Stop driving and seek assistance if the vehicle overheats, loses power severely, stalls in traffic, or shows another critical warning.
Repair cost depends on the root cause, diagnostic time, part access, parts quality, labor hours, and any programming or relearn work. A loose connector or split hose may take less labor than an intermittent wiring fault, buried emissions component, catalyst, or fuel-system repair.
DIY work can cost less for an accessible, confirmed fault, but guessing at a sensor can waste money. A shop may use wiring tests, smoke testing, fuel-pressure checks, scan data, and a road test. Ask which test result supports the recommended repair.
Permanent Codes and Emissions Inspections
A permanent code can affect an emissions inspection even when the check engine light is off. Inspection rules depend on the state and vehicle class, so do not assume that a rule from one state applies nationwide. California provides a clear example of a state program that checks permanent DTCs separately from the MIL and readiness monitors.
The California Bureau of Automotive Repair says its OBD inspection added a permanent-DTC check on July 1, 2019. Its current reference lists 2010-and-newer vehicles as subject to the check when the vehicle supports permanent DTCs; it also notes that some 2010 vehicles do not support the feature. Under the stated California OIS standard, a stored PDTC generally causes a failure even if the MIL is commanded off.
California’s reference says the PDTC result is ignored after at least 15 warm-up cycles and 200 miles since OBD information was last cleared. It also lists exceptions for certain vehicles with known PDTC problems. Check local rules and the vehicle’s status before testing. The California BAR OBD test reference explains its pass/fail criteria.
A battery disconnect or code clear can reset readiness monitors to Not Ready. California’s incomplete-monitor allowance differs by model year and fuel type; other states set their own limits. Check readiness with the scanner and confirm local inspection rules.
Do not clear codes just before inspection. That can erase diagnostic evidence, reset readiness, and leave the permanent record untouched. Repair the cause, let the monitor run, and check the permanent list and readiness again. For tools that help with this kind of work, check Best OBD2 Scanners for Sports Cars.
Frequently Asked Questions
Does every 1996 or newer OBD-II car support permanent codes?
No. OBD-II became required on US cars and light trucks starting in 1996, but PDTC support came later. California’s reference excludes 1996–2009 vehicles from its PDTC check and notes that some 2010 vehicles do not support it.
Can a permanent code have the same number as a pending code?
Yes. The number identifies the fault; the status shows how the computer tracks it. Ford’s example shows P0113 in both pending and permanent views. Do not count matching entries as separate failed parts.
Does Mode 0A show the freeze-frame snapshot?
No. Mode 0A displays permanent DTCs; freeze-frame information is requested separately through Mode 02. Some vehicles retain only the frame for the highest-priority fault.
Could a permanent code remain because of a vehicle software issue?
Yes. California BAR tracks vehicles where a PDTC may not clear properly and lists service actions, recalls, or extended warranties for some cases. Check the VIN for open emissions recalls.
Can a scanner show how often a monitor has run?
Some scanners provide Mode 09 In-Use Performance Tracking. It reports the number of times each supported monitor test has completed, which can help you see whether the vehicle is getting opportunities to run its self-checks.
A permanent code is a record that your vehicle has not finished verifying an earlier emissions fault, not proof by itself that a part still needs replacement. Diagnose the original DTC, fix the cause, complete the correct monitor drive pattern, and rescan to confirm the permanent entry has cleared before an emissions test.
-
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
LearnOBD2 Permanent Codes Explained: Why Clearing the Code Does Not Work
LearnWhat Is a Permanent DTC? Understand Codes and Clear Them Correctly
LearnAirbag SRS Codes Explained: What B-Codes Mean and What to Do
LearnHow to Read and Clear Mazda Fault Codes
LearnP0521 Ford F150: Diagnose Oil Pressure Sensor Problems
LearnP0128 Kia: Diagnose Coolant Temperature Problems