OBD2

How to Clear Check Engine Light Codes (OBD2)

· 4 min read · Check Engine Light

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Clearing the codes on your check engine light (CEL) resets the engine control module (ECM) and turns off the warning light. This is useful after you've fixed the underlying problem, or to see if a fault is intermittent. You'll need an OBD2 scanner — most auto parts stores sell basic ones for under $50, or you can borrow one from a friend. Before you start, make sure the car is parked safely and the ignition is off.

What You'll Need

  • OBD2 scanner (wired or Bluetooth)
  • Optional: phone or tablet if using a Bluetooth scanner
  • Paper towel or rag (to wipe the port if dirty)

Step-by-Step

  1. Locate the OBD2 port. It's usually under the dashboard on the driver's side, near the steering column or fuse box. If you can't find it, check your owner's manual.
  2. Turn the ignition off. Make sure the key is in the "off" position and remove it if possible.
  3. Plug in the scanner. Push the connector firmly into the port. It only fits one way.
  4. Turn the ignition to "on" (not cranking the engine). You should see the scanner power up. If it doesn't, turn the key to the accessory position.
  5. Read the codes. Navigate the scanner's menu to "Read Codes" or "Diagnostic Trouble Codes." Write down any codes displayed — you'll need them later.
  6. Clear the codes. Go to "Erase Codes," "Clear Codes," or "Reset" in the menu. Confirm when prompted.
  7. Turn off the ignition and unplug the scanner.
  8. Start the engine. The check engine light should be off. If it stays on, the problem is still present.
  9. Drive the car normally for a few days. Some codes return only after a drive cycle. If the light comes back, re-scan and address the code.

Common Mistakes

  • Clearing codes without fixing the problem. This is the most common error. The light will come back, and you might miss a serious issue.
  • Using the wrong scanner. Some cheap scanners only read codes, not clear them. Check the instructions first.
  • Disconnecting the battery instead. This clears codes but also resets radio presets, clock, and other settings. It can also trigger a "pending" code that takes longer to clear.
  • Not recording the codes first. If you clear without writing them down, you lose the diagnostic info.
  • Assuming the light is off means the problem is gone. Some codes are stored as "pending" and may not trigger the light until they occur again.

Tips

  • Use a scanner with live data. This lets you see sensor readings and confirm the fix before clearing.
  • Clear codes after a repair, not before. If you clear first, you won't know if the repair worked.
  • Check for pending codes. Some scanners show "pending" codes that haven't turned on the light yet. Address those too.
  • If the light is flashing, don't drive. A flashing CEL indicates a misfire that can damage the catalytic converter. Stop driving and have it towed.
  • Keep a log of codes and dates. This helps you spot patterns and gives your mechanic useful info.

Troubleshooting

Scanner won't power on. Check the fuse for the OBD2 port (often labeled "cigarette lighter" or "ACC"). Also try turning the key to the "on" position — some cars don't power the port in accessory mode.

Scanner says "Link Error" or "No Communication." Make sure the ignition is on. Try wiggling the connector. If it still fails, the port may be damaged or the car's ECM is not responding — consult a mechanic.

Codes come back immediately. This means the fault is still active. Re-diagnose the code, check the repair, and look for loose connections or damaged wiring.

Light goes off but comes back after a few days. This often indicates an intermittent issue, like a loose gas cap or a failing sensor. Check the gas cap first — tighten it until it clicks. If it returns, scan again to see if the code is the same or different.

Cleared codes but light stays on. Some cars require a specific drive cycle to reset the monitor. Drive at highway speeds for 10–20 minutes, then idle for a few minutes. If the light still stays on, the scanner may not have actually cleared the codes — try again.

Frequently Asked Questions

Will clearing codes pass an emissions test?

No. Clearing codes resets the readiness monitors, and most states require them to be "ready" before passing. You'll need to drive a specific drive cycle to set them again.

Can I clear codes without a scanner?

Disconnecting the battery for 15–30 minutes can clear codes, but it also resets other settings and may not clear all codes. A scanner is more reliable.

How long does it take for the check engine light to go off after clearing?

It should go off immediately after clearing. If it stays on, the code is still active.

Is it safe to drive with the check engine light on?

If the light is steady, you can usually drive to a mechanic. If it's flashing, stop driving immediately — it indicates a misfire that can damage the engine or catalytic converter.

What does a code like P0420 mean?

P0420 indicates the catalytic converter efficiency is below threshold. It's a common code, but it can be caused by a faulty oxygen sensor, exhaust leak, or a failing converter. Always diagnose before replacing parts.

Will clearing codes void my warranty?

No. Clearing codes is a normal diagnostic procedure. However, if you clear codes to hide a problem and it causes damage, that could affect a warranty claim.