The check engine light means your car's onboard diagnostic system has detected a problem in the engine, emissions system, or transmission

The check engine light—also called the malfunction indicator lamp or MIL—turns on when your vehicle's computer finds a fault code. That code is stored in the engine control module, a computer that monitors dozens of sensors throughout your car. The light itself tells you nothing specific: it could mean a loose gas cap, a failing oxygen sensor, a misfiring cylinder, or a catalytic converter problem. The only way to know what's actually wrong is to read the code with a diagnostic scanner.

The light comes in two versions. A steady light means the problem is not urgent—your car is drivable, but you should have it checked soon. A flashing light means the engine is misfiring or running rough in a way that damages the catalytic converter right now; you should stop driving and have the car towed or driven directly to a mechanic. Do not ignore a flashing check engine light.

Key Takeaways

  • A steady check engine light means a fault code is stored but the engine is safe to drive; a flashing light means stop driving when ready to avoid catalytic converter damage.
  • The light does not tell you what is wrong—you need a diagnostic scanner to read the fault code, which costs $50 to $150 at most shops.
  • Common causes include a loose or missing gas cap, a failing oxygen sensor, a bad spark plug, or a catalytic converter problem, each with different repair costs.
  • Many auto parts stores will read your code for free, but a mechanic's diagnostic scan is more thorough and includes a recommendation for repair.

Why the light turns on: the emissions and engine control systems

Your car's engine control module runs constant self-checks. It monitors oxygen sensors (which measure how much unburned fuel is leaving the engine), fuel injectors, spark plugs, the catalytic converter, the evaporative emissions system (which captures fuel vapors from the tank), and dozens of other components. When a sensor reading falls outside the normal range or a component stops responding, the computer logs a diagnostic trouble code and illuminates the check engine light.

The system is designed to catch problems before they cause serious damage or emissions violations. A misfiring engine, for example, sends unburned fuel into the catalytic converter, where it ignites and overheats the converter. Catch that early and you replace a spark plug or coil pack for $100 to $300. Ignore it and the converter fails, costing $800 to $2,500 to replace. That is why the computer flags it when ready.

Steady light versus flashing light: what each one means

A steady check engine light indicates a fault that is not causing when ready engine damage. Your car will run and drive normally. You can continue to your destination or to a mechanic's shop. The problem should be diagnosed and repaired within a few days or a week, but it is not an emergency. Common steady-light faults include a loose gas cap, a bad oxygen sensor, or a failing catalytic converter.

A flashing check engine light means the engine is misfiring—one or more cylinders are not firing correctly. Unburned fuel is flowing into the exhaust and igniting in the catalytic converter. This overheats the converter and damages it within minutes of driving. If your light is flashing, stop driving as soon as it is safe to do so. Turn off the engine, call a tow truck, and have the car transported to a mechanic. Continuing to drive risks a $1,000+ repair bill.

How to read the fault code: free scans versus diagnostic scans

The fault code is a five-character alphanumeric string—for example, P0171 (system too lean) or P0420 (catalyst system efficiency below threshold). You need a diagnostic scanner to read it. Many national auto parts chains—AutoZone, O'Reilly, Advance Auto Parts, NAPA—will plug in a basic scanner and read your code for free. They will print out a description of what the code means and hand it to you.

A mechanic's diagnostic scan costs $50 to $150 and goes further. The mechanic reads the code, checks for related codes, tests the sensors and components that the code points to, and tells you what is actually broken and what it will cost to fix. A free scan at a parts store tells you the code; a paid diagnostic tells you the problem and the solution. For a steady light, the free scan is often enough to decide whether to attempt a fix yourself or take it to a shop. For a flashing light, go straight to a mechanic—do not waste time on a free scan.

Common causes and what they cost to repair

A loose or missing gas cap is the most common reason for a check engine light. The cap seals the fuel tank and allows the evaporative emissions system to work correctly. Without it, the system detects a leak and logs a code. The fix: tighten or replace the cap ($5 to $20). If the light stays on after you replace the cap, drive for 50 to 100 miles; the computer will clear the code on its own.

An oxygen sensor failure is the second most common cause. Oxygen sensors measure how much unburned fuel is in the exhaust and tell the engine computer how to adjust the fuel mixture. A failing sensor sends wrong readings, making the engine run too rich (too much fuel) or too lean (too little fuel). Repair cost: $150 to $400 per sensor, depending on which sensor and which vehicle. Most cars have two or four oxygen sensors.

A bad spark plug or ignition coil causes misfires and a flashing check engine light. Spark plugs wear out and stop firing; ignition coils (which create the spark) fail and stop working. Either one prevents fuel from igniting in a cylinder. Repair cost: $100 to $300 for spark plugs, $150 to $400 for an ignition coil. This is often the cause of a flashing light.

A catalytic converter problem triggers codes like P0420 or P0430. The converter cleans exhaust gases before they leave the car. When it fails, it no longer converts pollutants efficiently. This can happen because of age, overheating from a long-ignored misfire, or a defect. Repair cost: $800 to $2,500 depending on the vehicle. This is the most expensive common check engine light repair.

What to do when the light comes on

If the light is steady and your car is running normally, you have time to plan. First, check your gas cap—tighten it or replace it if it is cracked or missing. Drive for 50 to 100 miles and see if the light goes out. If it does, the problem was the cap. If it stays on, take the car to a mechanic or an auto parts store for a code scan.

If the light is flashing, stop driving when ready. Do not attempt to limp to a mechanic or a parts store. Call a tow truck and have the car transported. Driving on a flashing light causes catalytic converter damage that turns a $200 repair into a $2,000 repair.

Once you have the code, search online for that code and your vehicle's year, make, and model. You will find forums and repair guides that describe what the code usually means and what repairs are common. This helps you understand what a mechanic is telling you and whether the quoted repair makes sense. If you are unsure, get a second opinion from another shop.

Clearing the code and resetting the light

The check engine light will not turn off until the underlying problem is fixed or the code is cleared from the computer's memory. Some codes clear themselves after a certain number of driving cycles (usually 10 to 40 starts and stops) if the problem does not happen again. For example, if a loose gas cap triggered the code and you tightened it, the light may go out after a week of normal driving.

A mechanic can clear the code with a diagnostic scanner after the repair is done. Do not ask a mechanic to clear the code without fixing the problem—the light will come back on within days or weeks. Clearing the code without fixing the cause is a temporary mask, not a solution.

Frequently Asked Questions

Can I drive with the check engine light on?

A steady light means yes, your car is safe to drive, but you should have it diagnosed within a few days. A flashing light means no—stop driving when ready and have the car towed. Driving on a flashing light damages the catalytic converter.

Will the check engine light go away on its own?

Sometimes. If the problem was temporary—a loose gas cap, a brief sensor glitch—the code may clear after 10 to 40 driving cycles. If the problem is ongoing, the light will stay on until the fault is repaired or the code is cleared by a mechanic.

What does it mean if multiple codes appear?

Multiple codes usually point to one root cause. For example, a failing oxygen sensor can trigger codes for both the sensor itself and a fuel mixture problem. A mechanic's diagnostic will identify which code is primary and which are secondary, so you fix the real problem, not just the symptoms.

Is it safe to ignore a steady check engine light?

Short term, yes. Long term, no. A steady light signals a problem that will get worse and more expensive if ignored. An oxygen sensor failure or a small catalytic converter issue caught early costs hundreds; ignored for months, it costs thousands.

How much does a diagnostic scan cost?

Free scans at auto parts stores read the code but not much else. A mechanic's diagnostic scan costs $50 to $150 and includes testing to confirm what is broken and what the repair will cost. For a flashing light or an unclear code, the paid diagnostic is worth the money.