How to Clear a Check Engine Light Safely
Last reviewed May 2026 · Find This Code Editorial Team
Clearing a check engine light is straightforward — but doing it correctly means more than just making the light go away. If you don't address the underlying problem, the code will return. And if you clear codes at the wrong time, you might fail an emissions inspection even if your car is running fine.
Fix the cause first. Clearing a code without fixing the problem is a temporary measure at best. If the fault condition still exists, the ECM will detect it again and the light will return within one to two drive cycles.
Method 1: Use an OBD-II scanner (recommended)
The cleanest and most reliable way to clear a check engine light is with an OBD-II scanner. Basic code readers cost $20–$50 and are available at any auto parts store. Many stores will also clear codes for free if you ask.
- 1Plug the scanner into the OBD-II port under the dash (usually near the steering column).
- 2Turn the ignition to the 'on' position without starting the engine, or start the engine — check your scanner's instructions.
- 3Read the stored codes first and record them. Don't clear anything until you understand what's stored.
- 4Select the 'Clear Codes' or 'Erase Codes' option on the scanner.
- 5Confirm the operation. The scanner will send a command to the ECM to clear all stored diagnostic trouble codes.
- 6Start the engine and check that the light has turned off.
Method 2: Battery disconnect (use with caution)
Disconnecting the battery negative terminal for 15–30 minutes will clear the ECM's volatile memory, including stored codes. This does turn off the check engine light — but it has significant downsides:
- It resets all OBD-II readiness monitors to incomplete — exactly the same as using a scanner. There is no advantage over using a scanner.
- It also resets other learned values: idle calibration, transmission shift points, radio presets, and window/sunroof memory on some vehicles.
- On vehicles with anti-theft radio codes, you may need to re-enter a code after reconnecting the battery.
- Some modern vehicles require a specific initialization sequence after a battery reconnect.
Unless you don't have access to a scanner, using one is almost always preferable to disconnecting the battery.
What happens to readiness monitors after clearing?
Clearing codes resets all OBD-II readiness monitors to "incomplete." These monitors are internal self-tests the ECM runs to verify that major emission control systems are working correctly — including the catalyst monitor, EVAP monitor, oxygen sensor monitor, and several others.
After clearing codes, the monitors need to complete at least one full test cycle before they show "ready." This requires driving the vehicle under specific conditions: a mix of cold starts, highway speeds, and city driving — often called a drive cycle.
Why this matters: If your state requires an OBD-II emissions test (smog check) and your monitors are not complete, the inspection equipment will detect this and your vehicle will fail — even if there are no stored codes and the car is running perfectly. Never clear codes right before an emissions inspection.
When will the light come back?
If the underlying problem was repaired, the light should stay off. The ECM will re-run the relevant monitors on subsequent drive cycles, and if no fault is detected, the light remains off permanently.
If the fault condition still exists, the light will return within one to three drive cycles for most codes. For some monitors (like EVAP), it may take a few days of normal driving for the monitor to complete and detect the fault again.
If the light returns with the same code after a confirmed repair, the repair may be incomplete, or there may be a second underlying cause that wasn't addressed.