How-To

How to Reset a Check Engine Light

Three methods ranked best to worst. The OBD-II scanner is the right answer. The battery-disconnect trick works but wipes a lot more than just the code. The drive-cycle method is slowest but free. Pick your tradeoff.

Quick Facts
Best method
Scannertakes 5 min
Tool needed
$25+OBD-II scanner
Works instantly?
Yeslight off in seconds
DIY difficulty
Easy5 steps
§ 01 · Read This First

Before you reset anything.

Resetting a check engine light without fixing the problem is like disconnecting a smoke alarm because it's beeping. The fire doesn't go away. The warning just gets quieter.

!
Always read the codes first. Before clearing, write down every code with a scan tool. If the light comes back, you'll need that starting point. Clearing without recording what was there erases your diagnostic trail.

When it's appropriate to reset

  • You fixed the underlying problem and want to confirm the repair worked
  • The code was triggered by a one-time event (brief misfire from bad gas, loose gas cap)
  • You're verifying a diagnostic hypothesis

When you should NOT reset

  • Right before an emissions test (you'll fail readiness monitors)
  • To hide a problem from a buyer or mechanic
  • To ignore a flashing light — that's a misfire and resetting won't help
  • Repeatedly, without addressing the cause
§ 02 · Method 1 (Best)

Method 1: Use an OBD-II scanner.

Time: 5 minutes · Cost: $25+ for the scanner · Risk: None

This is the correct way. Every vehicle built since 1996 (USA) has an OBD-II port. A basic code reader plugs in, reads codes, and clears them. Nothing else gets touched — your radio presets, clock, fuel trim learning, and transmission shift points stay intact.

Find the OBD-II port

Look under the dashboard on the driver's side, within 2 feet of the steering column. It's a 16-pin trapezoidal connector. On most cars it's visible without removing any trim. On some trucks it's behind a small plastic cover labeled "OBD" or "Data Link."

Connect the scanner with the ignition off

Plug the scanner in firmly. You should feel it click into place. Bluetooth OBD-II adapters work the same way but pair with a phone app.

Turn the key to "On" (engine off)

This powers up the scanner and the car's ECU. On push-button start cars: press the start button twice without pressing the brake. Dash lights should illuminate but the engine stays off.

Read codes and write them down

Select "Read Codes" or "Read DTCs." Note every code that appears, along with any freeze-frame data. This is your diagnostic record.

Clear codes

Select "Erase Codes" or "Clear DTCs." Confirm when prompted. The scanner will typically flash a confirmation. Most scanners clear both active and pending codes in one command.

Start the engine, verify light is off

Start the engine. The check engine light should be off. If it comes back on within seconds, the problem is still active and serious. If it stays off through normal driving, you're good.

Don't have a scanner? AutoZone, O'Reilly, and Advance Auto Parts will all read codes for free. Most will clear them for free too. They want you to buy the replacement part from them, but there's no obligation. See our scanner buying guide if you want your own.
§ 03 · Method 2 (Slow)

Method 2: Drive cycle reset.

Time: 50-200 miles · Cost: Free · Risk: None

If you've fixed the underlying problem, the car's computer will eventually clear the code on its own. After the ECU observes the problem is no longer present for a specific number of consecutive drive cycles (usually 3), it turns the light off automatically.

What counts as a drive cycle

A drive cycle isn't just "driving around." The ECU needs specific operating conditions to run its self-tests:

  • Cold start (engine coolant under 104°F, within 10°F of ambient temp)
  • Idle for 2-3 minutes, then drive at 25-40 mph for 5 minutes
  • Accelerate to 55+ mph steady-state for 5 minutes
  • Cruise at highway speed for at least 10 minutes
  • Decelerate without braking from 55 to 20 mph
  • Repeat 2-3 times
i
When drive cycle is the right choice. You replaced a sensor, you know the fix is solid, and you don't have a scanner handy. Just drive the car. The light will clear itself in a few days of normal use, assuming your driving includes highway speeds.
§ 04 · Method 3 (Risky)

Method 3: Battery disconnect.

Time: 15-20 minutes · Cost: Free · Risk: Significant

This is the method that lives in auto forum folklore. Disconnect the battery for 15 minutes, reconnect, and the light resets. It works, but it comes with consequences people don't always talk about.

!
What the battery disconnect wipes. Everything the ECU stores in volatile memory. That includes:
  • All stored trouble codes (this is what you wanted)
  • Readiness monitors (so you'll fail emissions until they re-set)
  • Adaptive fuel trim learning (car runs rough for 100+ miles)
  • Transmission shift adaptation (shifts feel weird until relearned)
  • Radio presets, clock, seat memory
  • Anti-theft codes on some vehicles (requires radio PIN to reactivate)
  • Power window one-touch functionality (needs re-programming)
  • Throttle-by-wire adaptation (rough idle until relearned)

How to do it (if you insist)

Turn off everything

Engine off, lights off, radio off, doors closed, keys out of ignition.

Disconnect the negative terminal

Use a 10mm wrench (usually). Loosen the nut, lift the cable off the post, tuck it aside so it can't touch the terminal. Some people do both terminals — only the negative is strictly necessary.

Wait 15-20 minutes

The ECU needs time for residual capacitor charge to drain. Quick disconnects don't always reset the codes.

Reconnect and verify

Put the cable back, tighten, start the engine. Light should be off. Expect rough idle for the first few miles as the ECU relearns.

On modern cars (roughly 2012+), some vehicles require dealer software to reactivate certain features after a battery disconnect. BMW, Mercedes, and some VWs are especially picky. If your car is less than 10 years old, use a scanner instead.

§ 05 · Readiness Monitors

The readiness monitor problem.

Here's what most guides skip. When you clear codes (any method), you also reset the readiness monitors. These are the eight self-tests the ECU runs to confirm every emissions-related system is working properly.

MonitorWhat it testsTime to set
MisfireCylinder firingContinuous
Fuel SystemFuel trim within rangeContinuous
Comprehensive ComponentInput/output sensorsContinuous
CatalystCat efficiencySingle drive cycle, often 20+ miles
Heated CatalystCat warmupCold start required
EVAPFuel vapor containmentSealed system test, fuel level 15-85%
Secondary AirAir pump systemCold start + warm-up
O2 SensorSensor responseMultiple drive cycles
O2 Sensor HeaterSensor heating elementCold start
EGRExhaust gas recirculationSpecific driving conditions

Clearing codes resets all of these to "not ready." Your car isn't ready for emissions testing until enough have run and passed. This is why clearing codes right before inspection is a bad idea.

§ 06 · Emissions Testing

Don't reset before emissions inspection.

Most US states have moved to OBD-II readiness checks for vehicles model year 1996 and newer. The inspector plugs a scanner in and checks two things:

  • Are there any active codes? (Yes = fail)
  • Are the readiness monitors set to "ready"? (No = fail)

If you cleared codes the day before your test, you probably have multiple monitors still in "not ready" state. You'll fail even without any codes present.

i
State-by-state tolerance. Most states allow one or two monitors to be "not ready" on 1996-2000 vehicles, and one "not ready" on 2001+ vehicles. Fully reset ECUs with all monitors unset will fail in every state.

After clearing codes, drive 50-200 miles including highway driving and a cold start to get most monitors set. The EVAP monitor requires fuel between 15-85% — nearly full or nearly empty tanks won't let it run.

§ 07 · Returning Light

If the light comes back on.

Your reset didn't work because the underlying problem still exists. The ECU detected it again and set the code again. This is expected behavior when you reset without fixing the root cause.

✗ Back in minutes

Same code returns fast

Problem is actively happening. Fix the underlying issue. Look up the specific code — P0420, P0171, or P0300 are our most-read deep-dives.

✓ Days later

Different code appears

Different issue from the original. Read the new code and diagnose accordingly. This often happens when fixing one issue exposes another.

§ 08 · FAQ

Questions people always ask.

Yes. Every OBD-II scanner sold, even the cheapest, can read and clear generic codes. The ANCEL AD310 ($30), Autel MS309 ($30), and BAFX Bluetooth ($30) all clear codes reliably. Higher-end scanners add features like live data and bi-directional controls.

Yes, and so do O'Reilly, Advance Auto Parts, and Pep Boys. Bring your car to the parking lot, tell the counter person you need a code scan. They'll walk out with a scanner, plug in, read the codes, print a report, and clear them if you ask. No obligation to buy anything.

If the problem is still active: anywhere from 10 seconds to 100 miles. Most emissions-related codes require 2-3 complete drive cycles to reappear. Misfires can show back up in under a minute if active. Random occasional codes can take weeks or never return.

No. The scanner needs power from the vehicle and the ECU needs to be awake. Key on, engine off is the standard position for scanner work. Trying it with key fully out just gives you a scanner that won't connect.

Yes, similar to battery disconnect but more targeted. Pull the "ECM" or "PCM" fuse from the under-hood fuse box, wait 10 minutes, reinstall. Same side effects as battery disconnect — loses fuel trim learning, transmission adaptation, and occasionally radio settings. Use a scanner instead if you have one.

Three possibilities: (1) the scanner isn't communicating properly — try a different scanner or connection, (2) the active code sets faster than you can clear it — fix the underlying problem first, (3) rare hardware issue with the instrument cluster that mimics a CEL but isn't connected to the ECU. Try a different scanner first.

Depends on the light. ABS, airbag, and TPMS codes often require scanners with additional capability beyond basic OBD-II. A generic $30 scanner will clear engine codes only. Scanners around $100+ often include ABS/SRS/TPMS. Oil change reminders typically reset through a menu on the dash, not a scanner.

MR
Written by
Marcus Reid
ASE Master Technician, L1 Advanced. 22 years of shop experience. Full bio →