Guide

Check engine light came on then went off

A check engine light that goes off by itself usually means the car did not see the fault again over several drives, such as after a loose gas cap was tightened. The code can stay stored for many drives afterwards, so a scan still shows what happened.

Key facts

Key factDetail
Why it turns offThe same self test ran on three drives in a row without finding the fault
Is the code gone?Not yet: a confirmed code may be erased only after 40 engine warm-up cycles without the fault
Code with no lightOften a pending code: seen once, not confirmed; many clear without repair
Permanent codesOn newer cars a scanner cannot erase them; the car clears them after its own recheck
What EPA saysUsually nothing is needed unless the light comes back on
If it was flashingA flashing light means a severe misfire; have the car checked soon

Misfire, fuel system and EVAP faults have their own rules for turning the light off, so the timing varies by fault and by car.

Why the light turns off by itself

The engine computer runs self tests called monitors. When a test fails, it stores a trouble code and turns on the check engine light. U.S. federal rules (40 CFR 86.1806-05) and California's OBD II rule (13 CCR 1968.2) let the light go off once the same test has run on three drives in a row without finding the fault again.

So a light that went out tells you the fault did not show up during those drives. EPA's consumer guidance names two common cases: a loose gas cap that was tightened, or a fouled spark plug that cleared. EPA adds that usually nothing more is needed unless the light comes on again.

For misfire and fuel system faults, both rules only count drives with similar conditions to when the fault was found: engine speed within 375 rpm, load within 20 percent and the same warm-up state.

The code can still be stored

Turning the light off is not the same as erasing the code. Both the federal and the California rule let the computer erase a confirmed code only after the fault has not come back for at least 40 engine warm-up cycles, and only while the light is off for it. Until then a scan tool can usually read it.

A freeze frame is stored together with the code. It is a snapshot of engine conditions at the moment the fault was detected, which helps explain a fault that does not happen every day.

See also: Stored, pending and permanent codes and freeze frame · How to read an OBD2 code

Pending codes: a fault seen once

When a fault is first detected, the computer stores a pending code without turning on the light. If the same fault is found again on the next drive in which the test runs, the code is confirmed and the light comes on. If it is not found, the pending code is erased.

EPA's inspection guidance treats codes stored with the light off as pending and notes that they often clear without any repair. That is why a scan can show a code even when the dashboard looks fine. The short video on this page shows a pending P0420 on a car whose light had already gone out.

Permanent codes and inspections

On cars from the 2010 to 2012 model years onward, a confirmed code that turned on the light is also saved as a permanent code. California's Bureau of Automotive Repair notes that clearing codes or disconnecting the battery does not erase it; only the car's own OBD system clears it after it confirms the fault is gone.

Clearing codes with a scanner, or a flat or disconnected battery, also resets the readiness monitors. The car then needs normal driving before an emissions inspection can read it as ready.

See also: OBD2 readiness monitors explained · How to clear the check engine light

What to do after the light went off

  • Scan the car when it is convenient and note any stored, pending or permanent codes and the freeze frame, so you know what happened if the light returns.
  • If the light was flashing at any point, treat it as a severe misfire. EPA says a blinking light means a problem such as a catalyst-damaging misfire that should be addressed as soon as possible.
  • If you had just refueled, check that the gas cap is tight. EPA says to have the car serviced if the light does not go out after a few short trips once the cap is tightened.
  • If the same code keeps coming back, have it diagnosed. A fault found again on a later drive confirms the code and turns the light back on.
  • Avoid clearing codes just before an emissions test, because the readiness monitors reset.

See also: Flashing check engine light · Check engine light after getting gas

Check it with OBD Master Pro

Connect a generic ELM327 class adapter and read stored, pending and permanent codes, then open the freeze frame for any code you find. The emission readiness check shows which self tests have run since the last clear. 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: Check engine light on: what to do · OBD2 trouble code guides

Frequently asked questions

Is it safe to keep driving if the check engine light went off?

EPA says that usually nothing is needed unless the light comes on again. A light that went out means the fault was not seen again recently, so a quick scan is still useful. If the light flashed, have the car checked soon.

How long does a code stay stored after the light goes off?

Federal and California OBD rules let the computer erase a confirmed code after at least 40 engine warm-up cycles without the fault. Until then a scanner can usually read it.

Why is there a code but no check engine light?

It is often a pending code, stored the first time a fault is detected. The light only comes on if the fault is found again on a later drive, and many pending codes clear by themselves.

Watch a short video

Check engine light went off? Look at pending codes The video shows a pending P0420 on a car whose check engine light had already gone out.

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.