Plug an OBD-II scanner into the port under the dash, turn the key to ON without starting, and select “Erase Codes” or “Clear DTCs.” That’s the fastest way and it works on every car built since 1996. If you don’t own a scanner, AutoZone, O’Reilly, and Advance Auto will read and clear codes for free at the parts counter.

Skip ahead if you just want the steps. The rest of this covers when each method works, what it doesn’t fix, and why the light sometimes comes back two days later.

The five methods, ranked by how well they work

MethodWorksResets readiness monitorsNotes
OBD-II scanner clearBestYes (resets)$25-50 for a basic scanner, free at parts stores
Drive 50-150 miles after repairBest (passive)Naturally completes monitorsNo tools needed, takes 2-5 days
Disconnect battery 15 minSometimesYes (resets)Wipes radio presets, may not work on 2010+ cars
Pull ECU fuseSometimesYes (resets)Older cars only, check manual
Turn ignition on/offRarelyNoOnly works if the fault has already self-cleared

Using a scanner (the right way)

  1. Plug the scanner into the OBD-II port. On most cars it’s under the dash to the left of the steering column, sometimes behind a small panel.
  2. Turn the key to ON (one click before start). Don’t start the engine.
  3. Let the scanner connect. Cheap scanners ($25-$50) handle this on every post-1996 car.
  4. Read the codes first. Write them down. You want to know what was triggering the light.
  5. Select “Erase Codes” or “Clear DTCs.”
  6. Turn the key off, wait 10 seconds, then start the car normally.

If the same code returns within 100 miles, the underlying problem isn’t actually fixed. The ECM re-sets the code as soon as the issue reappears.

The battery disconnect method

Disconnect the negative terminal for 15 to 30 minutes. Pressing the horn for a few seconds drains residual capacitor charge faster. Reconnect, start the engine, and the codes are usually gone.

What it costs you: radio presets, clock, climate settings, sometimes the steering angle sensor calibration on modern cars (which can throw a new fault code until the car relearns). On many 2015+ vehicles, the body control module keeps codes in non-volatile memory and a battery disconnect won’t clear anything. On those, only a scanner clear works.

Don’t disconnect the battery on any car with adaptive transmission learning unless you’re prepared to drive 50 to 100 miles for it to relearn shift points. Driveability can be noticeably rougher in the meantime.

Driving until it clears itself

The ECM clears a code on its own after 40 to 80 successful drive cycles without the fault occurring. A drive cycle is typically a cold start, a few minutes of city driving, a few minutes of steady highway speed, an idle period, and a shutdown. Most people complete one drive cycle a day.

So if you’ve genuinely fixed the problem, the light usually clears in 2 to 7 days of normal driving. No tools required. The downside is you can’t pass a state emissions test in the meantime in most cases, because the readiness monitors will show “incomplete.”

Why the light comes back

Three reasons:

  1. The repair didn’t actually fix the cause. A new gas cap fixed the symptom but the EVAP leak is somewhere else.
  2. A different problem triggered while you were fixing the first one. Common with vacuum leaks where you bumped a hose loose.
  3. Aftermarket part failure. Cheap O2 sensors, cheap MAF sensors, and cheap ignition coils fail at much higher rates than OE parts. If you saved $30 by going generic, this is the consequence.

Pull the codes again. If the same code returns, the root cause is unfixed. If a new code appears, you have a new problem to diagnose.

Flashing versus steady

A steady check engine light is “something’s wrong, get it looked at soon.” A flashing check engine light is “a misfire is happening right now and it’s dumping unburned fuel into your catalytic converter.” If the light flashes, pull over and shut off the engine. Continuing to drive a flashing-CEL car can destroy a $1,000+ catalytic converter inside an hour.

Towing or limping a flashing-CEL car to the shop is the right call.

Emissions testing and readiness monitors

If you cleared codes recently and your state requires an emissions inspection, you’ll fail until the readiness monitors complete. There are 8 to 11 monitors depending on the vehicle (catalyst, EVAP, O2 sensor, EGR, etc.), and each needs specific driving conditions to run.

Most monitors complete within 100 to 200 miles of mixed driving. The EVAP monitor is the slowest and usually needs a half-tank of fuel, an overnight cool-down, and a specific temperature window to run. If you’re trying to pass an emissions test, clear codes at least a week before your appointment.

If your state allows up to 1 or 2 incomplete monitors (most do), 50 miles of mixed driving usually gets you there.

Should you reset before figuring out the cause?

No. Clearing codes without reading them first throws away the diagnostic information. If the light comes back, you have to start over. Read the codes, write them down, fix the actual problem, then clear.

If you don’t own a scanner, walk into any AutoZone or O’Reilly with the light on. They’ll read codes and hand you a printout for free. They’ll also clear codes for free if you ask.