How to Clear a Check Engine Light

You can clear codes with a scanner, by disconnecting the battery, or by driving until the ECU clears them on its own. Here's the right way for your situation.

⏱ 5–30 minutes 🔧 Easy 🛠 3 tools needed

📋 Quick Facts

Time
5–30 minutes
Difficulty
Easy
Tools
3
Cost
Free–$25

Clearing a check engine light removes the stored trouble code and turns off the dashboard light, but it does NOT fix the underlying problem. If the fault is still present, the light will return within a few drive cycles. Use these methods only after you've identified and addressed the cause.

🛠 What You'll Need

  • OBD2 scanner OR a 10mm wrench (for battery disconnect)
  • Smartphone with timer
  • Owner's manual (for radio reset code)
⚠ When NOT to DIY thisDon't clear codes right before an emissions test. Most states test for "readiness monitors" - these reset along with the codes and take 50–200 miles of mixed driving to complete. You'll fail for "not ready." Clear codes 1–2 weeks before the test instead.

📝 Step-by-Step Instructions

  1. Diagnose the cause firstRead the codes and address the actual problem. Clearing without fixing wastes your time - the light comes back in a few drive cycles.
  2. Method 1 - Use an OBD2 scanner (recommended)Plug a scanner into the OBD2 port (under the driver-side dash), turn key to ON without starting, navigate to "Erase/Clear Codes" and confirm. Takes 30 seconds. A $25 scanner will pay for itself the first time.
  3. Method 2 - Disconnect the batteryDisconnect the negative battery terminal with a 10mm wrench, then press and hold the brake pedal for 30 seconds to drain residual capacitance. Wait 15 minutes, reconnect. The ECU will reboot with codes cleared.
  4. Re-enter radio code and reset windowsBattery disconnect erases radio presets and one-touch window memory on many cars. Have your radio code ready before you start (check the owner's manual or call the dealer with your VIN).
  5. Method 3 - Drive cyclesIf the underlying fault truly self-corrected (e.g., a loose gas cap that you tightened), the ECU clears the code automatically after 3–5 drive cycles where the relevant monitor passes. Just drive normally for a week.
  6. Confirm the code stays awayDrive for at least 100 miles of mixed city/highway. If the light returns, the underlying problem is still there - re-read the code and dig deeper instead of clearing again.

Not sure what's actually wrong with your car?

Skip the YouTube rabbit hole. Get an AI diagnosis ranked by probability for your exact year/make/model - in 30 seconds.

🔬 Run AI Diagnosis · $5.99 →

🔗 Related Guides

❓ Frequently Asked Questions

How long after clearing does the CEL stay off?
Indefinitely if the fault is fixed. Hours-to-days if it isn't - the ECU re-runs monitors and the code returns when it detects the fault again.
Will clearing codes pass an emissions test?
No, the opposite. Clearing also resets readiness monitors, and most states fail you for "not ready." Wait at least a week and 100+ miles before testing.
Can I clear codes by removing a fuse?
Sometimes - pulling the ECU fuse for 15 minutes works similarly to a battery disconnect. Locate the ECU/PCM fuse in the owner's manual.
Does clearing codes hurt my car?
No, but driveability may feel "off" for the first 20 miles after a battery disconnect because the ECU has to relearn idle and shift adapts.
Why did the light come back so fast?
The fault is still active. The ECU saw it again on the very next drive cycle. Don't keep clearing - fix the root cause.
Can a mechanic clear codes for free?
Most chain parts stores (AutoZone, Advance, O'Reilly) will scan AND clear codes for free in the parking lot. Just ask.
Get an AI diagnosis for $5.99Ranked causes · parts · steps
Diagnose →