What a scanner does to clear the light
A diagnostic scanner clears the check engine light by erasing the trouble code stored in your vehicle's computer. The light comes on because the engine control module detected a problem—a misfire, an oxygen sensor fault, a loose gas cap, or something else—and saved that code to memory. The scanner reads that code, shows you what it means, and then deletes it from the system. Once the code is gone, the light turns off.
This is different from the light turning off on its own. Your car will not erase the code just because time passes. The light stays on until either a mechanic clears it with a scanner, or you do it yourself if you own one.
One important thing to know: clearing the code does not fix the underlying problem. If your oxygen sensor is actually faulty, the light will come back on within a few driving cycles once the computer runs its diagnostic tests again. Clearing the code is a way to reset the light so you can see whether the problem has truly been resolved or whether it returns.
Key Takeaways
- A scanner clears the check engine light by deleting the trouble code from your engine control module, but this does not repair the problem that triggered the code.
- Most basic scanners can read and clear codes, though some vehicles require a more advanced scanner depending on the make and model.
- The process takes a few minutes: plug in the scanner, locate the diagnostic port under your steering wheel, let the scanner read the code, then select the clear or erase option.
- If the code returns within a few days or weeks, the underlying issue has not been fixed and you will need to address the actual fault.
- Some vehicles will not allow you to clear a code yourself if it relates to emissions, and a mechanic or dealership may be required instead.
Locating your vehicle's diagnostic port
Every car sold in the United States since 1996 has an OBD-II port (On-Board Diagnostics, version 2). This is a 16-pin connector where you plug in your scanner. Finding it is the first step.
The port is almost always located under the steering wheel, on the driver's side of the dashboard. Look below the steering column, toward the left side of the vehicle. It is usually mounted on a bracket or hanging from a cable. The connector itself is rectangular and about the size of a deck of cards, with two rows of eight pins each.
If you cannot find it under the steering wheel, check the other side of the dashboard (passenger side), or look under the center console. Some vehicles hide it in less obvious spots, but it is always somewhere inside the cabin, never under the hood. Your vehicle's owner manual will show you the exact location if you are still unsure.
Steps to read and clear the code
Once you have located the port and have your scanner in hand, the process is straightforward.
First, turn on the ignition without starting the engine. You want the electrical system awake but the engine off. This powers the scanner and lets it communicate with the engine control module.
Second, plug the scanner into the OBD-II port. Push it straight in until you hear or feel a click. The scanner will power on and may display a menu or ask you to select your vehicle year, make, and model. Follow the on-screen prompts. Some scanners do this automatically; others require you to enter the information manually.
Third, select "Read Codes" or "Scan" from the menu. The scanner will communicate with your engine control module and retrieve any stored trouble codes. This takes 10 to 30 seconds. The scanner will display the code number (like P0420 or P0171) and a plain-language description of what it means.
Fourth, select "Clear Codes," "Erase," or "Delete" from the menu. The exact wording depends on your scanner model. The scanner will ask you to confirm—usually by pressing a button or selecting "Yes." Once you confirm, the code is deleted from memory and the check engine light turns off.
Finally, turn off the ignition and unplug the scanner. You are done. Start your vehicle and verify that the light is no longer on.
What happens if the light comes back
If the check engine light returns within a few days or a week, the problem that triggered the code has not been resolved. The engine control module ran its diagnostic tests again, found the same fault, and stored the code a second time.
This is actually useful information. It tells you that clearing the code was not enough—the underlying issue needs to be fixed. Common reasons the light returns include a faulty oxygen sensor, a loose or damaged gas cap, a misfire in one or more cylinders, or a problem with the catalytic converter. Some of these are straightforward fixes (a gas cap costs a few dollars); others require professional repair.
If the light stays off for weeks or months and then comes back, that is usually a different problem. Your vehicle may have developed a new fault, or an old one has gotten worse. Plug in your scanner again and read the new code to see what changed.
When you may need a professional scanner
Most basic scanners sold at auto parts stores can read and clear codes on any vehicle made after 1996. However, some vehicles—particularly luxury brands and newer models—require a more advanced scanner to access certain systems.
If your scanner cannot communicate with your vehicle, or if it reads the code but will not let you clear it, your vehicle may have manufacturer-specific protections. Some vehicles will not allow code clearing if the fault relates to emissions control, and a dealership or certified mechanic may be required to clear it instead.
Additionally, if the code is related to the transmission, airbags, or other safety-critical systems, some vehicles restrict who can clear it. Check your scanner's manual or contact the manufacturer to see whether your vehicle has these restrictions.
Understanding what the code means before you clear it
Before you erase the code, take a moment to write down the code number and its description. This information tells you what the engine control module detected, and it helps you decide whether the problem is something you can ignore, something you can fix yourself, or something that needs a mechanic.
For example, a P0420 code means the catalytic converter is not working efficiently—a serious and expensive repair. A P0171 code means the engine is running too lean (not enough fuel), which could be a bad oxygen sensor or a fuel injector problem. A P0455 code means the gas cap is loose or missing—a five-minute fix.
Many online code databases will show you the meaning of any code you encounter. Knowing what the code means helps you understand whether clearing it is safe, or whether you should address the underlying problem first.
Frequently Asked Questions
Will clearing the code damage my engine?
No. Clearing the code does not change anything in your engine or its operation. It only erases the record of the fault from the computer's memory. The light turns off, but if the problem still exists, the code will return once the engine control module runs its tests again.
Can I clear the code without a scanner?
Not easily. Some very old vehicles (pre-1996) can be reset by disconnecting the battery for 15 minutes, but this does not work on modern cars with OBD-II systems. A scanner is the standard and reliable way to clear the code. Basic scanners are inexpensive and widely available at auto parts stores.
How long does it take for the check engine light to come back on if the problem is not fixed?
It varies. The engine control module runs its diagnostic tests continuously while you drive. Some faults are detected within a few driving cycles (a cycle is one startup and shutdown). Others may take days or weeks of driving before the module detects the problem again and stores the code a second time.
Is it safe to drive with the check engine light on?
It depends on the code. A loose gas cap or a minor sensor fault usually means it is safe to drive, though you should address it soon. A misfire, a transmission problem, or a catalytic converter fault can damage your engine or emissions system if ignored. Read the code to understand the severity before deciding whether to drive the vehicle.
Do I need to clear the code before selling my car?
Not legally, but many buyers will have the vehicle scanned before purchase. If the check engine light is on, it may lower the offer or make the buyer walk away. Clearing the code makes the vehicle look better at sale time, though an honest seller should disclose what the code was and whether the underlying problem has been fixed.