The check engine light usually comes on after an oil change because the technician disturbed a sensor or connector, not because the oil itself is wrong
The most common cause is the oxygen sensor or mass airflow sensor getting bumped during the work. These sit near the oil filter or drain plug on many vehicles. A loose connector, a sensor that shifted slightly out of position, or even a sensor that was accidentally unplugged and not fully reseated will trigger the light. The second most common cause is that the oil cap was not replaced properly, which allows air into the crankcase and sets off emissions sensors.
Less often, the light comes on because the technician used the wrong oil viscosity — usually too thin — and the engine is running lean or misfiring as a result. This is rare at reputable shops but happens at quick-lube places that work fast and don't cross-check the owner's manual. A few vehicles also have a service reminder system that the technician failed to reset after the oil change, which displays as a check engine light rather than a service light.
The light itself does not mean the engine is damaged. It means the onboard diagnostic system detected a code — usually a sensor reading that is out of range. The engine will usually run normally, though you may notice slightly rough idle or reduced fuel economy if the code is affecting how the computer adjusts the fuel mixture.
Key Takeaways
- A loose or bumped oxygen sensor or mass airflow sensor near the oil filter is the most likely cause, and reconnecting it usually clears the light.
- Check that the oil cap is seated fully and that the drain plug is tight, since either one loose will trigger emissions codes.
- If you used a shop, call them back and describe the light; most reputable shops will re-inspect the work at no charge.
- The check engine light does not mean your engine is failing — it means a sensor reading is out of range, which is usually a quick fix.
- Do not ignore the light for weeks, but you can safely drive to a shop to have it scanned and diagnosed.
How to check the most common causes yourself
Start with the oil cap. Open the hood, locate the cap on top of the engine (usually marked with an oil can symbol), and turn it clockwise by hand until it stops. It should be snug but not so tight that you strain to turn it. A loose cap is the easiest fix and will often clear the light within a few drive cycles — usually 20 to 40 miles of normal driving.
Next, check the drain plug underneath the engine. You will need to get under the vehicle safely — use jack stands, not just a jack. Feel the plug by hand (it will be warm but not hot if the engine has been off for a few minutes). It should not turn by hand. If it does, tighten it with a wrench, but do not over-tighten, which can strip the threads. A quarter turn past snug is usually enough.
If both of those are tight, the issue is almost certainly a sensor. You can visually inspect the connectors near the oil filter and drain area. Look for any connector that is not fully seated — it will have a small gap or will not click into place. Gently push any loose connector until you hear or feel a click. Do not force it; if it does not seat easily, leave it for a technician.
When to return to the shop that did the work
If you had the oil change done at a shop, call them and tell them the light came on within a day or two of the service. Most reputable shops — whether a dealership, independent mechanic, or chain like Jiffy Lube or Valvoline — will re-inspect the work at no charge. They will check the sensor connectors, the oil cap, and the drain plug, and they have a scanner to read the specific code the light is reporting.
Bring your receipt and the vehicle. The shop should not charge you to diagnose a problem that occurred during their service. If they do, or if they tell you the light is unrelated to the oil change, ask to see the diagnostic code they scanned. The code will tell you whether it is a sensor issue (which is almost always related to the work) or something else.
If the shop refuses to help or charges you, you have the right to take the vehicle elsewhere for a second opinion. Many independent shops will scan the code for free or for a small diagnostic fee ($50 to $100) and can tell you whether the problem is related to the recent service.
What the diagnostic code tells you
When a technician scans your vehicle with a diagnostic tool, they will see a code like P0101 (mass airflow sensor) or P0135 (oxygen sensor circuit). These codes are standardized across all vehicles, so any shop can read them. The code tells you exactly which sensor is reporting a problem, which makes the fix straightforward.
Common codes after an oil change are P0101, P0135, P0171 (system too lean), and P0300 (random misfire). All of these point to either a sensor that was disturbed during the work or an air leak from a loose cap or drain plug. None of them indicate engine damage. Once the sensor is reconnected or the cap is tightened, the code usually clears on its own within a few drive cycles.
If the code is something unrelated — like a transmission code or a spark plug code — then the light is probably coincidental and not caused by the oil change. In that case, the shop is not responsible, but you should still have it diagnosed to understand what is happening.
How long the light stays on after you fix it
Once you fix the underlying problem — whether that is reseating a connector, tightening the cap, or tightening the drain plug — the light does not turn off when ready. The engine computer needs to run through its diagnostic cycle again, which usually takes 20 to 40 miles of normal driving. Some vehicles clear the code faster; others take longer.
If you want the light to turn off right away, a technician can clear the code with a scanner. However, clearing the code without fixing the problem will just make the light come back on after another 20 to 40 miles. So always fix the problem first, then clear the code or let it clear on its own.
If the light stays on for more than 100 miles after you have fixed the obvious problems, the issue is more complex. At that point, have the vehicle scanned again to see if a different code has appeared or if the original code is still present.
When the oil change shop used the wrong oil
If you checked the cap and drain plug and they are both tight, and the shop used oil that does not match your owner's manual, that can cause the light. For example, if your manual calls for 5W-30 and the shop used 0W-20, the thinner oil may not provide enough pressure to the sensors, or the engine may run lean and trigger a misfire code.
Check your receipt to see what oil was used. Then open your owner's manual or look at the inside of your fuel door — most vehicles have a sticker showing the correct viscosity. If the oil does not match, call the shop and ask them to drain and refill with the correct grade. Most shops will do this at no charge if the error is theirs.
If the shop refuses or if you are unsure whether the oil is correct, take the vehicle to an independent shop and have them scan the code. If the code is P0171 (system too lean) or a similar fuel mixture code, the wrong oil viscosity is a likely cause. The independent shop can also drain and refill with the correct oil if needed.
Frequently Asked Questions
Is it safe to drive with the check engine light on?
Yes, in most cases. The light means a sensor is out of range, not that the engine is failing. You can safely drive to a shop to have it diagnosed. However, if the light is flashing rather than steady, the engine is misfiring and you should not drive it — have it towed instead.
Will the light turn off on its own?
Only if you fix the underlying problem. Once the sensor is reconnected or the cap is tightened, the light will clear on its own after 20 to 40 miles of driving. If you do nothing, the light will stay on indefinitely.
Can I clear the code myself without fixing the problem?
You can disconnect the battery for 15 minutes to clear the code, but it will come back on after another 20 to 40 miles. It is better to fix the problem first, then let the code clear naturally or have a shop clear it with a scanner.
What if the shop says the light is not their fault?
Ask them to scan the code and show you the result. If the code is a sensor code (P0101, P0135, P0171, P0300), it is almost certainly related to the oil change work. If they refuse to help, take the vehicle to another shop for a second opinion.
How much will it cost to fix?
If the shop that did the work fixes it, there should be no charge — it is warranty work on their service. If you go to a different shop, a diagnostic scan usually costs $50 to $150, and the actual fix (reseating a connector or tightening a cap) is usually free or under $50.