The check engine light comes on when your car's onboard computer detects a problem with the engine, emissions system, or transmission

Your car has a computer that constantly monitors dozens of sensors and systems. When one of those sensors reports a reading outside the normal range, the computer stores a code and illuminates the check engine light on your dashboard. The light itself does not tell you what the problem is — only that your car has detected something worth investigating.

The check engine light is yellow or amber, shaped like an engine, and usually appears on your instrument cluster. It can come on suddenly while you are driving, or you might notice it the next time you start the car. Some vehicles have a version that says "Service Engine Soon" instead.

A check engine light does not always mean you need to pull over when ready. Many problems that trigger it are not emergencies. However, you do need to have the code read to understand what your car is reporting.

Key Takeaways

  • The check engine light indicates your car's computer found a problem with the engine, emissions system, or transmission, but the light itself does not identify what that problem is.
  • Common causes include a loose gas cap, a faulty oxygen sensor, a bad catalytic converter, or a misfiring cylinder — some are inexpensive to fix and others are not.
  • You can have the code read for free at many auto parts stores, or a mechanic can read it and explain what it means.
  • Continuing to drive with the light on is usually safe for short distances, but you should not ignore it for weeks or months.
  • The only way to turn the light off is to fix the underlying problem or have a mechanic clear the code after diagnosing it.

Common reasons the check engine light turns on

A loose or missing gas cap is one of the most common triggers. Your fuel system is sealed, and the cap plays a role in that seal. If the cap is loose, cracked, or missing, the computer detects a leak in the system and turns on the light. This is also one of the easiest problems to fix — tighten or replace the cap, and the light may turn off after a few driving cycles.

A faulty oxygen sensor is another frequent cause. This sensor measures how much unburned oxygen is in your exhaust. When it fails, your engine cannot adjust the fuel mixture correctly, which wastes fuel and can damage other parts. Oxygen sensor failures are common on older vehicles and typically cost between $150 and $400 to repair, depending on which sensor has failed and your car's make and model.

A bad catalytic converter will trigger the light and is one of the more expensive problems. The catalytic converter reduces harmful emissions by converting them into less harmful substances. When it fails, it cannot do its job, and your car's emissions system alerts you. Catalytic converter repairs often cost $800 to $2,000 or more.

A misfiring cylinder — when one of your engine's cylinders does not fire correctly — can also turn on the check engine light. This might be caused by a bad spark plug, a faulty ignition coil, a fuel injector problem, or low compression in that cylinder. The cost to fix it depends on the root cause.

Other problems that trigger the light

A mass airflow sensor that is dirty or failing will cause the light to come on. This sensor measures how much air is entering the engine so the computer can adjust the fuel mixture. A clogged sensor can sometimes be cleaned; a failed one needs replacement. The cost is usually $150 to $400.

Problems with your transmission can also trigger the check engine light, though transmission warning lights sometimes appear separately. If the computer detects shifting problems, pressure issues, or sensor failures in the transmission, it will log a code.

A faulty thermostat or coolant temperature sensor can turn on the light if your engine is running hotter or cooler than normal. These are usually less expensive to replace than oxygen sensors or catalytic converters.

Sometimes the light comes on for reasons that are hard to predict without reading the code: a bad fuel pressure regulator, a leaking fuel injector, a failing EGR valve, or even a loose battery terminal that caused a temporary sensor malfunction.

How to find out what the code means

The first step is to have the code read. Many auto parts stores, including AutoZone, O'Reilly Auto Parts, and NAPA, will read your check engine code for free. You drive to the store, give them your keys or pop your hood, and they plug a code reader into the diagnostic port under your steering wheel. The process takes a few minutes.

A mechanic can also read the code, and they will usually explain what it means and what repairs might be needed. If you go to a mechanic, you may be charged a diagnostic fee — typically $50 to $150 — though some shops waive it if you have them do the repair.

The code itself is a number like P0420 or P0171. You can search this code online to learn what it refers to, but the same code can have different causes depending on your car's year, make, and model. That is why having someone explain it in the context of your specific vehicle is helpful.

Whether it is safe to keep driving

In most cases, you can continue driving with the check engine light on, at least for a short time. The light indicates a problem, but not necessarily an emergency. However, there are exceptions: if your car is running very roughly, overheating, or losing power, pull over and have it towed rather than driving it further.

You should not ignore the light for weeks or months. The longer you wait, the more damage the underlying problem might cause. For example, a faulty oxygen sensor that goes unfixed can damage your catalytic converter, turning a $200 repair into a $1,500 one.

If the light is flashing rather than steady, that usually means a more serious problem — often a severe misfire. A flashing light is a sign to stop driving and have the car towed to a mechanic.

How to turn off the check engine light

The only permanent way to turn off the check engine light is to fix the problem that triggered it. Once the underlying issue is repaired, the light will turn off on its own after a few driving cycles, or a mechanic can clear the code using a diagnostic scanner.

Some people try to clear the code themselves by disconnecting the battery, but this is not a real fix. The code will return as soon as the problem is detected again, usually within a few days of driving.

A mechanic can clear the code without fixing the problem, which will turn off the light temporarily. However, the code will come back. The only lasting solution is to address what caused the code in the first place.

When to see a mechanic right away

If the check engine light is flashing, have your car towed to a mechanic rather than driving it. A flashing light usually means a severe misfire, which can damage your engine if you continue driving.

If the light comes on and your car is also overheating, losing power, making unusual noises, or leaking fluid, do not drive it. Have it towed instead.

If the light comes on but your car seems to be running normally, you can drive it to a mechanic or auto parts store to have the code read. There is no need to rush, but do not put it off for more than a week or two.

Frequently Asked Questions

Can I drive with the check engine light on?

Yes, in most cases. A steady check engine light usually means the problem is not an emergency. However, if the light is flashing, your car is overheating, or you notice rough running or loss of power, do not drive it — have it towed instead. Either way, have the code read within a week or two.

Will the check engine light turn off by itself?

No. The light will stay on until the problem is fixed or a mechanic clears the code. Even if you clear the code yourself, it will return when the problem is detected again. The only permanent solution is to repair what caused the code.

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

It depends entirely on what triggered the light. A loose gas cap costs nothing to fix. An oxygen sensor might cost $150 to $400. A catalytic converter can cost $800 to $2,000 or more. That is why having the code read is the first step — it tells you what you are actually dealing with.

Can a check engine light come on and then go away on its own?

Rarely. If the problem is temporary — like a loose gas cap or a brief sensor glitch — the light might turn off after a few driving cycles. But if it comes back, there is a real problem that needs attention. Do not assume it has gone away for good.

What is the difference between a steady and flashing check engine light?

A steady light means the computer has detected a problem, but it is not an when ready emergency. A flashing light usually indicates a severe misfire or another serious problem that is actively damaging your engine. If your light is flashing, stop driving and have the car towed to a mechanic.