Editorial standards. This guide is researched against manufacturer guidance, recognized safety standards, and real owner experience. Meet our team and see our editorial process.
📍 Main Guide: Best OBD2 Scanners (Researched and Compared). See our full researched comparison of the top picks.

If your check engine light is on, you have probably wondered whether a plug in scanner can simply make it go away. The short answer is yes, the vast majority of OBD2 scanners can clear diagnostic trouble codes and switch off the dashboard warning light. The longer answer is more important, because clearing a code is not the same as fixing the fault that set it. Understanding what clearing actually does, what it resets, and when it is appropriate will save you from chasing the same warning light over and over. This guide walks through how code clearing works and where it helps you.

Yes, Most OBD2 Scanners Can Clear Codes

Nearly every OBD2 scanner sold today, from basic plug in readers to advanced bidirectional tools, includes an erase or clear function. When you select it, the scanner sends a command to the engine control unit that wipes the stored trouble codes from memory and turns off the check engine light, also called the malfunction indicator lamp. This works on essentially any car or light truck built since the 1996 model year in the United States, since OBD2 became the required standard for that generation onward.

It is worth knowing what a scanner cannot do. Clearing codes does not repair anything mechanical or electrical. The tool only tells the computer to forget the fault it recorded. If you are shopping for a reader and want one that handles both reading and clearing reliably, our roundup of the best obd2 scanners compares the options across price and feature levels.

Why Clearing Without Fixing Just Brings the Code Back

This is the single most common mistake drivers make. A trouble code is a symptom, not the disease. The engine control unit sets a code because one of its sensors reported a reading outside the expected range, such as a misfire, a lean fuel mixture, or a faulty oxygen sensor signal. If you clear the code but leave that condition unaddressed, the computer will detect the same problem on the next drive cycle and set the code again, relighting the check engine light.

Depending on the fault, the light can return within minutes or after a few days of driving. Some intermittent issues take longer to reappear, which can fool you into thinking the problem is solved. Treat a code that comes back as a clear signal that the root cause is still present and needs proper diagnosis and repair, not another round of erasing.

What Clearing Actually Resets

Erasing codes does more than turn off the warning light. It also wipes the freeze frame data, which is the snapshot of sensor values the computer captured at the exact moment the fault occurred. That snapshot is genuinely useful for diagnosis because it records engine speed, load, coolant temperature, and fuel trim at the time of the problem. Once you clear, that evidence is gone, so it is smart to read and note the freeze frame data before erasing anything.

Clearing also resets the readiness monitors. These are the self tests the vehicle runs continuously to confirm that emissions related systems such as the catalytic converter, oxygen sensors, and evaporative system are working. When you clear codes, every monitor reverts to a not ready or incomplete state and has to run again over normal driving before it reports complete.

The Emissions Test Caveat

This is where clearing codes can backfire. Many drivers erase a check engine light right before an emissions or smog inspection, hoping to pass. The problem is that the test station does not only look at the warning light. It also checks the readiness monitors, and because clearing resets those monitors to not ready, the vehicle can fail the inspection on that basis alone even though no light is showing.

Most regions allow only one or two monitors to be incomplete and still pass, so a freshly cleared car usually will not qualify. Resetting the monitors back to ready requires completing a specific drive cycle, which can take many miles of varied driving and sometimes several days. Clearing codes just before a test is therefore a poor strategy. The reliable path is to fix the fault, then drive enough to let the monitors complete naturally before you show up for the inspection.

When Clearing Codes Is Appropriate

There are legitimate times to clear codes. The clearest case is right after you have completed a repair. Once you have replaced the failed part or corrected the condition, clearing the code confirms the fix worked, because if the light stays off through normal driving the problem is genuinely resolved. Clearing also lets you verify whether a code was a one time glitch versus a persistent fault that returns.

It is also reasonable to clear a code that was triggered by a temporary or known event, such as a loose gas cap that you have since tightened, or after disconnecting the battery for service. What you should not do is clear codes to hide a problem from a buyer, to mask a fault before a trip, or to game an emissions test. Used responsibly, the clear function is a confirmation tool that follows a repair, not a substitute for one.

Frequently Asked Questions

Will the check engine light come back after I clear it?

It will come back if the underlying fault is still present, because the computer re detects the problem during normal driving and sets the code again. If you fixed the actual cause first, the light should stay off. A returning light is a reliable sign the root problem has not been solved.

Does clearing codes affect an emissions test?

Yes. Clearing resets the readiness monitors to a not ready state, and inspection stations check those monitors. A recently cleared vehicle can fail even with no warning light showing, because the monitors have not finished running. Drive a full cycle to let them complete before testing.

Should I record the codes before clearing them?

Yes, always note the codes and the freeze frame data first. Clearing erases the freeze frame snapshot, which holds the sensor readings captured when the fault happened and is valuable for diagnosis. Once it is gone you cannot recover it, so write it down before you erase.

The Bottom Line

Most OBD2 scanners can clear codes and turn off the check engine light, but that ability is only useful when it follows a real repair. Clearing without fixing the root cause simply invites the same code back, wipes the freeze frame and readiness data you need for diagnosis, and can cause an emissions test failure. Use the clear function to confirm a completed fix and to reset after legitimate service, not to hide a problem. If you want a capable reader for reading and clearing codes the right way, start with our guide to the best obd2 scanners and choose a tool that matches your needs.

Related Guides


Video Guide

Video: Related tutorial from YouTube