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

The check engine light (also called the malfunction indicator lamp or MIL) is a yellow or amber light on your dashboard shaped like an engine. When it turns on, it means your car's computer found a fault code — a specific problem it can read from sensors throughout the vehicle. This is not an emergency stop signal. You can usually drive the car, but you need to find out what triggered it.

The light stays on until either the problem is fixed or the code is manually cleared from the computer. Clearing the code without fixing the underlying problem means the light will come back on. Some cars show the light briefly during startup as a system check; if it stays on while driving, something needs attention.

Key Takeaways

  • A check engine light means your car's diagnostic computer found a fault code, not that your engine is failing right now.
  • You can drive the car in most cases, but you should not ignore the light for weeks or months.
  • A mechanic or auto parts store can read the fault code for free or low cost to tell you what the problem is.
  • Common causes include a loose gas cap, a faulty oxygen sensor, or a catalytic converter issue — some cheap to fix, some expensive.
  • If the light is flashing instead of steady, the engine is misfiring and you should not drive the car at highway speeds.

Understand the difference between a steady light and a flashing light

A steady check engine light means a fault was detected, but the engine is not currently misfiring or running dangerously. You can drive to a mechanic or auto parts store to have it diagnosed. There is no rush, but do not put it off for months.

A flashing check engine light means the engine is misfiring right now — fuel is not burning properly in one or more cylinders. This can damage the catalytic converter (an expensive part) if you keep driving. Pull over safely, turn off the engine, and have the car towed or driven slowly to a repair shop. Do not drive at highway speeds with a flashing light.

Read the fault code yourself or have it read for free

The fault code is a five-character code (like P0420 or P0171) that tells you which system triggered the light. You have two ways to find out what it is without paying a mechanic.

Use an OBD-II scanner: Most auto parts stores (AutoZone, O'Reilly, Advance Auto Parts, NAPA) will read your code for free. Drive there, tell them the light is on, and they plug a small device into the diagnostic port under your steering wheel. The port looks like a rectangular slot about the size of a USB port. They print out the code and what it means. This takes 10 minutes and costs nothing.

If you want to check codes yourself, you can buy a basic OBD-II scanner online for $20 to $50. Plug it into the same port, turn the key to the "on" position (do not start the engine), and the scanner displays the code. More expensive scanners ($100+) show more detail, but the free reading at an auto parts store is usually enough to know whether you need a $50 repair or a $1,500 one.

Common fault codes and what they cost to fix

Once you have the code, you can research what it means. Here are the most common ones:

Fault CodeWhat It MeansTypical Cost to Fix
P0420Catalytic converter not working efficiently$400–$2,500
P0171 or P0174Engine running too lean (not enough fuel)$100–$500
P0300Random cylinder misfires$100–$1,000
P0401EGR system malfunction$200–$800
P0440Evaporative emissions system leak (often a loose gas cap)$20–$200

The cost depends on your car's make and model, your location, and whether you go to a dealership or an independent mechanic. Dealerships typically charge more. If the code is P0440 (emissions leak), check your gas cap first — a loose or cracked cap is the most common cause and costs nothing to fix if you already have a cap at home.

Decide whether to fix it now or monitor it

Once you know the code, you have three choices: fix it right away, monitor it and fix it later, or ignore it (not recommended).

Fix it now if: The light is flashing, the code is P0420 (catalytic converter), or you are planning to sell or trade in the car soon. A flashing light means active engine damage. A bad catalytic converter gets worse over time and will eventually fail completely. A check engine light will fail a vehicle inspection in most states.

Monitor it if: The light is steady, the code is something minor (like a loose gas cap or a faulty sensor), and the car is running normally. You can drive it for a few weeks while you save money or get quotes from different shops. If the light comes back on after you clear it, the problem is still there and needs fixing.

Do not ignore it: The light will not go away on its own. Ignoring it can lead to worse damage (especially with a flashing light), failed inspections, and a car that is harder to sell. Even a small problem can become expensive if left alone.

Get repair quotes from multiple shops

Before you commit to a repair, get quotes from at least two shops. Call or visit with the fault code in hand. A good shop will tell you what the code means, what they think caused it, and what they recommend. Some shops will diagnose the problem for free; others charge $50 to $150 for a full diagnostic.

Independent mechanics are often cheaper than dealerships for the same repair, but dealerships have access to factory parts and technical information specific to your car. For expensive repairs (over $500), it is worth getting two or three quotes. For cheap repairs (under $200), one quote is usually enough.

Ask the shop whether they can clear the code after the repair and whether they offer a warranty on the work. Most reputable shops warranty repairs for 30 days or 1,000 miles.

Prevent the check engine light from coming back

Once the repair is done, you can reduce the chance of another fault code by following basic maintenance: change your oil on schedule, replace air filters when they are dirty, use the correct fuel grade for your car, and keep your gas cap tight. A loose gas cap is one of the easiest problems to prevent and one of the most common reasons the light comes on.

If the light comes back on with the same code after a repair, return to the shop that did the work. Most will re-diagnose and re-repair for free under warranty. If it comes back with a different code, that is a separate problem.

Frequently Asked Questions

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

A steady light is usually safe for short distances to a mechanic. A flashing light means the engine is misfiring and you should not drive at highway speeds — have it towed instead. Either way, do not drive for weeks or months with the light on, as the underlying problem can get worse.

Can I clear the check engine light myself without fixing the problem?

Yes, you can buy an OBD-II scanner and clear the code, or a mechanic can clear it. The light will come back on within days or weeks if the problem is not fixed. Clearing the code without fixing the cause is a temporary solution, not a real fix.

What does a loose gas cap have to do with the check engine light?

Your car's emissions system is sealed. A loose or cracked gas cap lets fuel vapors escape, which triggers the P0440 fault code. Tighten or replace the cap and the light may go off on its own after a few drive cycles, or you can have a mechanic clear the code.

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

Auto parts stores read the code for free. Independent mechanics usually charge $50 to $150 for a full diagnostic that includes reading the code and testing to confirm the cause. Dealerships may charge $100 to $200. If you decide to have them do the repair, many shops waive the diagnostic fee.

Will the check engine light fail my vehicle inspection?

Yes, in most states a check engine light will fail a vehicle inspection. You need to have the problem diagnosed and fixed before the inspection, or the inspection will not pass. Some states allow a grace period if the light just came on, so check your local rules.