The check engine light signals a problem your car's computer detected, but not necessarily an emergency

The check engine light — also called the malfunction indicator lamp or MIL — turns on when your vehicle's onboard diagnostic system detects a fault in the engine, emissions system, or transmission. It does not mean your engine is about to fail or that you must pull over when ready. It means your car has stored a diagnostic trouble code that a mechanic can read to identify the actual problem.

The light appears as a small engine symbol on your dashboard, usually in yellow or amber. Some cars display it as text saying "Check Engine" or "Service Engine Soon." If the light is flashing rather than steady, that indicates a more serious issue — typically a misfire or catalytic converter problem — and you should avoid driving the car hard and get it scanned within a day or two.

Key Takeaways

  • A steady check engine light means a fault code is stored but does not indicate when ready danger; a flashing light suggests a serious problem and you should limit driving.
  • You need a diagnostic scanner to read the trouble code, which tells you what system triggered the light and narrows down the repair needed.
  • Many auto parts stores offer free code-reading as a service, or you can pay a mechanic $50 to $150 to scan and diagnose the problem.
  • Common causes include a loose gas cap, a faulty oxygen sensor, a bad catalytic converter, or a misfiring cylinder — costs range from $20 to over $1,000 depending on the fault.

How to read the diagnostic trouble code yourself

A diagnostic scanner plugs into the OBD-II port under your steering wheel (a rectangular connector about the size of a deck of cards) and retrieves the code your car's computer stored. The code is a letter followed by four numbers — for example, P0420 or P0171 — and each code points to a specific system or component.

You have three options for reading the code. First, many national auto parts chains including AutoZone, O'Reilly, and Advance Auto Parts offer free code-reading if you visit in person. You drive to the store, a staff member plugs in a scanner, and you get the code and a printout explaining what it means. Second, you can buy a basic Bluetooth scanner ($25 to $60) that connects to your phone and reads codes through an app; these work on most cars made after 1996. Third, you can take the car to a mechanic and pay a diagnostic fee, typically $50 to $150, which usually gets credited toward repair costs if you have the work done there.

What common trouble codes mean and typical repair costs

Once you have the code, you can research what it points to. A few of the most frequent codes and their causes:

CodeMeaningTypical causeRough repair cost range
P0420Catalyst system efficiency below thresholdFaulty catalytic converter or oxygen sensor$400–$2,000
P0171System too lean (not enough fuel)Faulty oxygen sensor, fuel injector, or fuel pump$150–$800
P0300Random cylinder misfireBad spark plugs, ignition coil, or fuel injector$100–$500
P0440Evaporative emission system malfunctionLoose gas cap, cracked hose, or charcoal canister$20–$600
P0128Coolant thermostat malfunctionFaulty thermostat or coolant sensor$150–$400

Costs vary widely by vehicle make, model, and year, and by whether the part is original equipment or aftermarket. A catalytic converter on a Honda Civic costs far less than one on a BMW. Always get a second opinion before authorizing work over $500.

When a loose gas cap is the culprit

One of the easiest fixes is also one of the most common: a loose or missing gas cap. The cap seals the fuel system and prevents fuel vapors from escaping. If it is loose, cracked, or missing, your car's computer detects the leak and triggers the check engine light, usually with code P0440 or P0455.

Check your gas cap first. Open the fuel door, unscrew the cap, and inspect it for cracks or damage. Screw it back on firmly until you hear or feel a click. Then drive the car normally for a few days. If the light was caused only by the cap, it will turn off on its own after the car completes its self-test cycle (usually within 50 to 100 miles of driving). If the light stays on, the problem is something else.

Deciding whether to drive the car or stop when ready

A steady check engine light means you can usually drive the car to a mechanic or auto parts store, though you should not ignore it for weeks. Plan to have it scanned within a few days. Continuing to drive with an undiagnosed fault can sometimes cause additional damage — for example, a misfiring engine can overheat the catalytic converter, turning a $200 spark plug replacement into a $1,500 converter replacement.

A flashing check engine light is different and signals a serious problem, most often a severe misfire. Stop driving as soon as it is safe to do so and have the car towed or driven directly to a mechanic. Continuing to drive can damage the catalytic converter or engine. If the light flashes while you are on the highway, pull over, turn off the engine, and call for a tow.

What happens if you ignore the light

Ignoring a check engine light does not make the problem go away. The fault remains in your car's computer and the underlying issue continues. Depending on what triggered the light, you may experience poor fuel economy, rough idling, loss of power, or stalling. More importantly, the longer you wait, the more likely a small problem becomes an expensive one.

Some states also require a passing emissions test to renew your registration, and a car with an active check engine light will fail that test. If you live in an emissions-testing state and your light is on, you will not be able to register the vehicle until the code is cleared and the underlying problem is fixed.

How to clear the code after repair

Once a mechanic has fixed the problem, the check engine light should turn off on its own within a few driving cycles. If it does not, ask the mechanic to clear the code using their scanner. Some shops do this automatically as part of the repair; others charge a small fee. You can also clear the code yourself using a basic scanner, though this only erases the code — it does not fix the problem. If you clear the code without fixing the underlying issue, the light will come back on.

After clearing the code, the car's computer enters a "not ready" state and begins running its self-test again. This usually takes 50 to 100 miles of normal driving. During this period, if you take the car for an emissions test, it may fail because the computer has not completed its diagnostic cycle. Wait until the "ready" status returns before scheduling an inspection.

Frequently Asked Questions

Can I drive with the check engine light on?

Yes, if the light is steady. A steady light means you can drive to a mechanic or auto parts store to have it scanned. A flashing light indicates a serious problem and you should stop driving and have the car towed. Do not delay getting a steady light checked — the longer you wait, the more damage can occur.

Why did my check engine light turn on after I filled up with gas?

The most common cause is a loose or damaged gas cap. Remove the cap, inspect it for cracks, and screw it back on firmly. Drive normally for a few days and the light should turn off. If it stays on, the problem is likely in the fuel system or emissions system and needs a scan.

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

Costs depend entirely on what triggered the light. A loose gas cap is free to fix. Spark plugs run $100 to $300. A catalytic converter can cost $400 to $2,000 or more. The only way to know is to have the code read, which is free at many auto parts stores or $50 to $150 at a mechanic.

Will the check engine light go away on its own?

No. The light will stay on until the underlying problem is fixed. It may turn off temporarily if you clear the code with a scanner, but it will come back on the next time the fault occurs. The only permanent solution is to repair the problem.

What if the code reader shows multiple codes?

Multiple codes usually point to a single root cause. For example, a bad oxygen sensor might trigger codes for both the sensor itself and a lean fuel condition. Start by fixing the primary code — the one listed first — and have the car rescanned. Often the secondary codes clear once the main problem is repaired.