The check engine light usually resets itself once the problem is fixed, but an oil change alone won't turn it off if the code is still stored
The check engine light comes on because your engine's computer detected a fault and stored a diagnostic trouble code in its memory. An oil change addresses one specific maintenance task—it does not erase codes that were triggered by something else. If the light came on before your oil change, it will stay on afterward unless you clear the code or the underlying problem goes away on its own.
The light will reset automatically only if the condition that triggered it no longer exists and the computer runs enough drive cycles to confirm the problem is gone. This can take anywhere from a few days to a few weeks of normal driving. If you want the light off when ready, you need to clear the code manually using a diagnostic scanner.
Key Takeaways
- An oil change does not erase diagnostic trouble codes; the light stays on until the code is cleared or the underlying problem resolves itself.
- You can clear the code yourself with an inexpensive OBD-II scanner, which plugs into the diagnostic port under your steering wheel.
- If the light comes back on within a few days, the original problem still exists and needs repair—clearing the code only hides the symptom.
- Some auto parts stores offer free code-reading service, which tells you what triggered the light in the first place.
- Disconnecting the battery no longer works on most modern cars because they retain codes in permanent memory.
What the check engine light actually means
Your engine's computer monitors dozens of sensors and systems—oxygen sensors, catalytic converter efficiency, fuel pressure, emissions controls, and more. When any of these readings fall outside normal range, the computer stores a code and turns on the check engine light. The code is not erased by routine maintenance like an oil change.
The light serves as a warning that something needs attention, but it does not tell you what. A code for a loose gas cap looks the same to you as a code for a failing oxygen sensor. That is why reading the code is the first step—it tells you whether the problem is minor or serious, and whether it is safe to drive.
How to clear the code with a scanner
An OBD-II scanner is a handheld device that plugs into your car's diagnostic port and reads the codes stored in the engine computer. Most cars built after 1996 have this port, usually located under the steering wheel or on the driver's side of the dashboard. The scanner costs between $25 and $100 for a basic model that reads and clears codes.
To clear the code yourself: plug the scanner into the diagnostic port, turn the ignition to the "On" position without starting the engine, navigate to the "Clear Codes" or "Erase Codes" menu on the scanner, and confirm. The light should turn off when ready. Some scanners will ask you to confirm a second time to prevent accidental erasure.
If you do not want to buy a scanner, many auto parts stores—including AutoZone, O'Reilly, and NAPA—offer free code-reading service. They will tell you what code is stored, but they cannot clear it for you. You would need to either buy a scanner or take the car to a mechanic.
Why the light comes back on—and what that means
If you clear the code and the light returns within a few days or a week, the underlying problem still exists. Clearing the code is a temporary fix; it does not repair the fault. The computer will detect the same condition again and store the code a second time.
This is important: do not keep clearing the code without fixing the problem. The light exists to alert you to something that may affect emissions, fuel economy, engine performance, or safety. Ignoring it can lead to more expensive repairs later. For example, a failing oxygen sensor triggers a check engine light and also causes your car to run rich (burning too much fuel), which damages the catalytic converter over time. Clearing the code without replacing the sensor means you are paying for two repairs instead of one.
Common reasons the light stays on after an oil change
If the light was already on before your oil change, the oil change did not cause it and will not fix it. The code is unrelated to oil level or oil condition. However, a few scenarios can cause confusion:
The light came on during the oil change. If a technician accidentally disconnected a sensor while working under the hood, or if they overfilled the oil and it triggered a level sensor, the code would be new. In this case, tell the shop what happened and ask them to clear the code at no charge.
You cleared the code yourself before the oil change. If you erased the code and then had an oil change, the light should stay off as long as the original problem is resolved. If it comes back on, the problem was not fixed by the oil change.
The code is for low oil pressure. This is rare but possible. If the code is P0520 (oil pressure sensor malfunction) or P0521 (oil pressure out of range), low oil level could trigger it. An oil change would fix this if the problem was straightforward low oil. However, if the code returns after topping off the oil, the sensor or oil pump may be failing.
When to take the car to a mechanic instead
If you are not comfortable using a scanner, or if the code comes back when ready after clearing it, a mechanic can diagnose the problem and repair it. Bring the code number with you if you have it—this saves the shop time and reduces diagnostic fees.
Some codes indicate serious problems that affect drivability or safety. A code for a misfire (P0300 series), transmission issue (P0700 series), or catalytic converter problem (P0420) should be addressed soon. Others, like a loose gas cap (P0457), are minor. A mechanic can tell you which category your code falls into and whether it is safe to drive while waiting for repair.
Why disconnecting the battery no longer works
Older cars stored diagnostic codes in temporary memory that cleared when power was cut. Disconnecting the battery for 15 minutes would erase them. Modern cars retain codes in permanent memory even after the battery is disconnected. Disconnecting the battery may reset some systems, but the check engine code will return within a few drive cycles.
This change happened because regulators wanted to prevent people from hiding emissions problems. If codes disappeared every time someone disconnected the battery, mechanics and inspectors would have no way to know if a car had a chronic problem. Permanent memory ensures the code stays until it is properly cleared with a scanner or the problem is genuinely fixed.
Frequently Asked Questions
Can I drive with the check engine light on?
In most cases, yes—the light indicates a problem that needs attention but does not mean your engine will fail when ready. However, some codes indicate serious issues like a misfire or transmission problem that can cause damage if you keep driving. Read the code first to know what you are dealing with. If the light is flashing rather than steady, stop driving when ready; a flashing light means engine damage is occurring.
Will the light turn off on its own after a few days?
Only if the condition that triggered the code no longer exists. If you fixed the problem—replaced a bad sensor, tightened a loose gas cap, or resolved whatever caused the fault—the computer will confirm the fix over several drive cycles and turn the light off. This usually takes three to seven days of normal driving. If the problem is still there, the light stays on.
How much does it cost to clear a check engine code?
Reading the code is free at most auto parts stores. Clearing it yourself with a scanner costs $25 to $100 for the scanner (which you keep). A mechanic typically charges $50 to $150 just to read and clear the code, though this is often waived if you have them repair the underlying problem. The real cost is fixing whatever caused the code in the first place.
What if the code is for something the oil change should have fixed?
Tell the shop that performed the oil change. If they caused the code—by disconnecting a sensor or overfilling the oil—they should clear it at no charge. If the code is unrelated to their work, they are not responsible for it. Always ask what code is stored before assuming the oil change caused it.
Is it safe to ignore the check engine light?
Not long-term. The light warns you of problems that affect emissions, fuel economy, or engine health. Ignoring it can turn a small repair into a large one. For example, a bad oxygen sensor costs $200 to $400 to replace, but ignoring it damages the catalytic converter, which costs $800 to $1,200. Read the code, understand what it means, and address it within a reasonable time.