The check engine light means your vehicle's onboard diagnostic system detected a problem

The check engine light (also called the malfunction indicator lamp or MIL) turns on when your car's engine computer finds a fault in the emissions system, engine, or transmission. It does not mean your engine is about to fail or that you are unsafe to drive — it means the computer logged a diagnostic trouble code and you need to read that code to know what is actually wrong.

The light can stay on steadily, blink, or flash. A steady light usually means a problem that needs attention but is not an emergency. A blinking or flashing check engine light means the engine is misfiring or running rough, and you should stop driving and have it towed rather than continuing to operate the vehicle.

The code itself is the real information. Without reading it, the light tells you almost nothing — it could point to a loose gas cap, a failing oxygen sensor, a catalytic converter problem, or dozens of other issues ranging from a $15 fix to a $1,500 repair.

Key Takeaways

  • A steady check engine light is not an emergency, but a blinking light means you should stop driving and have the vehicle towed.
  • The diagnostic trouble code stored in your engine computer is what tells you the actual problem — the light itself is just a warning that a code exists.
  • You can read the code yourself with an inexpensive code reader, at a repair shop, or at many auto parts stores for free.
  • Some codes require when ready repair (like a misfire), while others can wait a few days without risking damage to the vehicle.
  • A check engine light does not automatically mean you will fail an emissions test, but some codes will cause a failure.

How to read the diagnostic trouble code

The code is stored in your engine computer and can only be read with a scanner. You have three main options: use your own code reader, visit a repair shop, or go to an auto parts store.

An OBD-II code reader (OBD stands for onboard diagnostics) is a handheld device that plugs into a port under your steering wheel. Basic readers cost $25 to $60 and will display the code number and a short description. More advanced readers show live data from your sensors. If you plan to own a car for years, buying one is cheaper than paying a shop to read the code each time.

Many chain auto parts stores — including AutoZone, O'Reilly, Advance Auto Parts, and NAPA — will read your code for free if you bring the car in. They will print out the code number and a generic description, but they cannot tell you whether the problem is serious or what it will cost to fix. This is a good first step if you do not own a reader.

A repair shop will read the code, diagnose the underlying cause, and give you a repair estimate. This costs money upfront (usually $50 to $150 for diagnostics) but gives you the most complete picture of what is wrong and what it will cost to fix.

Common check engine light codes and what they mean

Diagnostic trouble codes are five characters: the letter P, followed by four numbers. The first number tells you the system involved (P0 is engine, P2 is transmission, P3 is emissions). The remaining three numbers identify the specific fault.

Some codes you may encounter:

  • P0171 or P0174 (System Too Lean) — The engine is running with too little fuel. Common causes are a failing oxygen sensor, a vacuum leak, or a faulty fuel injector. This can damage the catalytic converter if ignored for weeks.
  • P0300 (Random Misfire Detected) — The engine is misfiring in multiple cylinders. Causes include bad spark plugs, a failing coil pack, low fuel pressure, or a vacuum leak. A blinking light with this code means stop driving.
  • P0420 (Catalyst System Efficiency Below Threshold) — Your catalytic converter is not working properly or is failing. This often results from an upstream problem like a misfire or oxygen sensor fault. Repair costs range from $400 to $1,200.
  • P0440 (Evaporative Emission System Malfunction) — A leak or fault in the system that captures fuel vapors. A loose or missing gas cap is the most common cause and costs nothing to fix. A real leak in the system costs $200 to $600.
  • P0128 (Coolant Thermostat Malfunction) — The engine is not reaching proper operating temperature. Usually means a stuck thermostat. Repair typically costs $150 to $300.

These are examples only. There are hundreds of possible codes, and the same code can have different root causes depending on your vehicle's make, model, and year. A code number alone does not tell a mechanic what to replace — they have to test the related systems to find the actual problem.

When a check engine light is an emergency

A blinking or flashing check engine light means the engine is misfiring severely. Stop driving as soon as it is safe to do so and have the vehicle towed to a repair shop. Continuing to drive can damage the catalytic converter, which is expensive to replace.

A steady light is not an emergency, but some codes do require prompt attention. If the code is P0300 (misfire), P0420 (catalytic converter), or P0171/P0174 (running too lean), have it diagnosed within a few days. These problems can worsen and cause damage to expensive components.

Other codes like P0440 (loose gas cap) or P0128 (thermostat) can usually wait a week or two without risk. However, you should still have them diagnosed and repaired before the next emissions test or inspection, depending on your state's requirements.

Check engine light and emissions testing

Some check engine light codes will cause your vehicle to fail an emissions test. Others will not. The test itself checks whether your vehicle meets emissions standards for your state. A code that indicates an emissions system problem — like P0420 (catalytic converter) or P0171 (running too lean) — will typically cause a failure.

A code that has nothing to do with emissions, like P0128 (thermostat), usually will not cause a failure on its own. However, if the underlying problem causes a misfire or other emissions-related symptom, it could fail.

The safest approach is to have any check engine light diagnosed and repaired before scheduling an emissions test. Some states allow you to retest after repairs at no additional cost if you fail, but others charge a retest fee.

What to do if the light comes back after repair

If the check engine light returns after a repair, the underlying problem may not have been fully fixed, or a new problem has developed. This is different from the light staying on because the repair shop forgot to clear the code — that would be unusual and worth complaining about.

Bring the vehicle back to the shop that did the repair and ask them to read the code again. If it is the same code, the repair did not solve the problem and the shop should diagnose further at no additional charge (most shops warranty their work for 30 days). If it is a different code, a new problem has developed and you will likely pay for new diagnostics.

If you took the vehicle to a chain auto parts store for a free code read and then to an independent shop for repair, bring it back to the independent shop first. They know what they repaired and can tell whether the fix worked.

Clearing the code yourself versus having a shop do it

Once you have repaired the problem, the code needs to be cleared from the engine computer so the light turns off. A code reader can clear it, and so can a repair shop. Some people clear the code themselves to avoid a shop visit, but this is risky if you have not actually fixed the problem.

If you clear the code without repairing the underlying issue, the light will turn back on within a few days or weeks. You will have wasted time and may have allowed damage to worsen. A repair shop will clear the code only after confirming the repair is complete, which is the safer approach.

If you own a code reader and have made a repair yourself (like replacing spark plugs or fixing a vacuum leak), clearing the code is straightforward — the reader has a clear or erase function. If you are unsure whether your repair actually fixed the problem, have a shop read the code before clearing it.

Frequently Asked Questions

Is it safe to drive with the check engine light on?

A steady check engine light is usually safe to drive on, though you should have it diagnosed within a few days. A blinking or flashing light means the engine is misfiring and you should stop driving and have the vehicle towed. Continuing to drive with a misfire can damage the catalytic converter.

Can a loose gas cap cause the check engine light?

Yes. A loose or missing gas cap triggers code P0440 (evaporative emission system malfunction). Tighten the cap and drive for a few days — the light often turns off on its own. If it stays on, the code is still stored and you will need to clear it with a code reader or have a shop do it.

How much does it cost to fix a check engine light?

It depends entirely on the code and the underlying problem. A loose gas cap costs nothing. A new oxygen sensor costs $150 to $300. A failing catalytic converter costs $400 to $1,200. The only way to know is to read the code and have a shop diagnose the problem.

Will the check engine light turn off on its own?

No. The light will stay on until the problem is fixed and the code is cleared. Some vehicles will turn off the light after several days if the problem goes away on its own (like a temporary sensor glitch), but this is rare. You need to fix the problem and clear the code.

What is the difference between a check engine light and other warning lights?

A check engine light indicates a problem with the engine, emissions, or transmission system. Other lights — like the oil pressure light, battery light, or temperature light — indicate specific problems with those systems. A check engine light is broader and requires a code read to know what is actually wrong.