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

The check engine light is not a warning that your engine is about to fail. It is your car's way of storing a fault code—a specific error message—that a mechanic can read with a diagnostic scanner. The light turns on because the engine control unit (the computer that manages how your engine runs) has detected something outside its normal operating range. That something could be minor, like a loose gas cap, or serious, like a failing catalytic converter. The only way to know which is to have the code read.

The light itself does not tell you what is wrong. It tells you that something is wrong and that your car has recorded the details. Ignoring it will not make the problem go away, and driving with the light on can sometimes cause additional damage—particularly if the problem involves the emissions system or fuel delivery.

Key Takeaways

  • A check engine light means your car's computer has detected a fault and stored a diagnostic code that only a scanner can read.
  • Common causes include a loose or missing gas cap, a failing oxygen sensor, a bad catalytic converter, or a misfiring cylinder.
  • You can drive to a mechanic with the light on, but you should not ignore it or delay having it diagnosed.
  • A mechanic will connect a diagnostic scanner to retrieve the code and determine what repair is actually needed.

Common reasons the check engine light turns on

A loose or missing gas cap is the most common reason for a check engine light. The cap seals your fuel tank and helps maintain fuel system pressure. When it is loose or missing, the computer detects a pressure drop and turns on the light. This is also the easiest fix: tighten or replace the cap, and the light may turn off within a few driving cycles.

An oxygen sensor failure is the second most common cause. Your car has at least two oxygen sensors—one before the catalytic converter and one after. They measure how much unburned oxygen is in the exhaust. When one fails, the engine cannot adjust the fuel mixture correctly, and fuel economy drops. The car will still run, but it will run rich (using too much fuel) and may feel sluggish.

A failing catalytic converter triggers the check engine light because the converter is not cleaning exhaust gases as it should. This is a serious repair—converters are expensive—but the car will still drive. However, a severely clogged converter can restrict exhaust flow enough to reduce engine power or cause overheating. Delaying this repair can damage the engine itself.

A misfiring cylinder means one of your engine's cylinders is not firing properly. This could be a bad spark plug, a failing ignition coil, a fuel injector problem, or low compression in that cylinder. You will usually feel this as a hesitation or rough idle, and fuel economy will drop. Continuing to drive on a misfire can damage the catalytic converter.

Other common triggers include a faulty mass airflow sensor (which measures how much air enters the engine), a bad thermostat, a transmission shift solenoid problem, or an issue with the evaporative emissions system (which captures fuel vapors from the tank).

What happens when you ignore the light

Ignoring a check engine light does not cause when ready engine failure, but it does allow small problems to become expensive ones. If the light is on because of a misfiring cylinder, continuing to drive sends raw fuel into the catalytic converter, which can overheat and fail. A new catalytic converter costs $800 to $2,500 depending on your vehicle. A spark plug costs $20 to $100.

If the light is on because of a failing oxygen sensor, your engine will run too rich, burning extra fuel and coating your spark plugs with carbon. This can lead to a misfire, which then damages the catalytic converter. Again, the cost compounds.

Some check engine codes indicate emissions system problems that are illegal to drive with in many states. If you are pulled over and a police officer scans your vehicle, you could face a fine. More importantly, a car that is not passing emissions standards is polluting more than it should.

In rare cases—such as a severe knock sensor failure or a transmission control problem—driving with the light on can cause actual engine damage. This is why diagnosis matters: you need to know whether you have a $20 fix or a $2,000 one.

How a mechanic reads the diagnostic code

When you take your car to a mechanic, they will connect a diagnostic scanner (also called a code reader) to the OBD-II port under your steering wheel. This port is standard on all cars made after 1996. The scanner retrieves the fault code that your car's computer has stored. The code is a number like P0300 (random misfire) or P0420 (catalytic converter efficiency below threshold).

The code tells the mechanic where to look, but it does not always tell them the exact cause. A P0300 code means a misfire is happening, but the cause could be a spark plug, an ignition coil, a fuel injector, a vacuum leak, or low compression. The mechanic will perform additional tests—checking spark plug condition, fuel pressure, ignition coil output, or compression—to narrow down the real problem.

Some shops charge a diagnostic fee ($50 to $150) to read the code and perform these tests. Others waive the fee if you have the repair done there. Many auto parts stores will read the code for free, but they cannot perform the additional testing that identifies the actual cause.

When you can drive with the light on and when you should not

If your check engine light is steady (not flashing), you can usually drive to a mechanic. A steady light means the problem is not causing when ready engine damage. A flashing check engine light is different: it means a misfire is occurring right now, and you are damaging the catalytic converter with every mile. If the light is flashing, pull over safely, turn off the engine, and have the car towed or driven directly to a mechanic at low speed.

If the light came on and your car is running normally with no unusual sounds, vibrations, or warning smells, the problem is likely not urgent. But "not urgent" does not mean "can wait months." A loose gas cap can be tightened when ready. An oxygen sensor failure should be addressed within a week or two. A catalytic converter problem should be diagnosed within a few days.

If the light came on and you notice rough idle, hesitation during acceleration, a burning smell, or loss of power, do not drive the car hard. Get to a mechanic as soon as you reasonably can. These symptoms suggest a misfire or fuel system problem that will get worse.

What you can check before going to a mechanic

Start with the gas cap. Turn off the engine, open the fuel door, and check whether the cap is loose or missing. If it is loose, tighten it until you hear or feel a click. If it is missing, replace it with a new one that matches your vehicle (your car's manual or a parts store can tell you which). Drive the car for a few days. If the light was caused only by the cap, it will turn off on its own after 10 to 40 miles of driving.

If you have a code reader (a basic one costs $25 to $60 at an auto parts store), you can retrieve the code yourself. Write down the exact code number and any description the reader provides. This information will help a mechanic understand what you have already checked.

Do not attempt to clear the code yourself unless you have fixed the underlying problem. Clearing the code without fixing the issue will turn off the light temporarily, but the problem will remain and the light will come back on.

Frequently Asked Questions

Can a loose gas cap really cause a check engine light?

Yes. The fuel system is sealed, and the cap maintains pressure. When the cap is loose or missing, the computer detects a pressure leak and turns on the light. This is the most common reason for the light to come on, and it is also the easiest to fix. Tighten or replace the cap and drive normally for a few days.

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

If the light is steady, you can drive to a mechanic. If the light is flashing, do not drive the car—have it towed. A flashing light means a misfire is happening now and you are damaging the catalytic converter. A steady light means the problem is not causing when ready damage, but you should still have it diagnosed within a few days.

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

The cost depends entirely on what is wrong. A gas cap costs $15 to $30. A spark plug costs $20 to $100. An oxygen sensor costs $150 to $400. A catalytic converter costs $800 to $2,500. Only a diagnostic scan can tell you which repair you actually need.

Will the check engine light turn off on its own?

No, not unless you fix the underlying problem. The light will stay on until the fault is repaired and the code is cleared. If the problem is a loose gas cap, the light may turn off after you tighten it and drive for a while. For any other problem, the light will remain on until a mechanic addresses it.

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

A steady light means a fault has been detected but is not causing when ready damage. A flashing light means a misfire is occurring right now, and you are damaging the catalytic converter. If your light is flashing, stop driving and have the car towed to a mechanic instead of driving it there yourself.