Sacramento Mechanic LineCall (916) 712-7030

Why Is My Check Engine Light On?

Your check engine light is on because the car's on-board diagnostic system detected a fault, most often in the engine, ignition or emissions system, and stored a trouble code. The most common culprits are a loose gas cap, an oxygen sensor, spark plugs or ignition coils, and the catalytic converter. Steady means get it checked soon; flashing means slow down and get help now.

Call (916) 712-7030Free to call. Connects you with an independent local mechanic.

Step by step

  1. Check whether the light is steady or flashing. Flashing means a severe misfire; reduce speed and plan to stop.
  2. Look at your other gauges. A red temperature or oil pressure warning means pull over safely and get help.
  3. Check the gas cap when you can safely stop. Make sure it's on and tight; the light can take a few days to go out.
  4. Notice how the car drives. Shaking, hesitation, smells or noises help a mechanic narrow down the cause.
  5. Get the code read. Many auto parts stores do it for free. Write down the exact code.
  6. Get a real diagnosis before buying parts. A shop tests the parts behind the code and must give you an estimate first.
  7. Fix it before your Smog Check. A car won't pass with the light on.

What is the check engine light actually telling me?

The light is the dashboard end of your car's OBD-II system, which all 1996-and-newer cars and light trucks have. The system watches sensors and emissions parts as you drive and stores a diagnostic trouble code when something falls outside its limits, the EPA explains. The light can come on before you notice any change in how the car runs.

The EPA calls a steady light a request for service, not a signal to stop. Left alone, though, the problems behind it can waste fuel, shorten engine life and grow into bigger repairs.

What causes a check engine light to come on?

CarMD's 2026 Vehicle Health Index, based on 2025 repair data from more than 39 million U.S. vehicles, ranked the 10 most common check engine repairs. The top five, with average parts-and-labor costs:

  • Catalytic converter: $1,511
  • Oxygen sensor: $287
  • Ignition coil and spark plugs: $480
  • Mass air flow sensor: $346
  • Ignition coil: $256

What else is on the list?

Further down CarMD's top 10: the EVAP canister purge control valve ($172), fuel injectors ($572), ABS wheel speed sensor ($314), thermostat ($324) and spark plugs ($299). A loose or missing gas cap is still a common trigger, and the cheapest; CarMD says tightening it is free and a new cap averaged about $28.

Is it safe to keep driving with the check engine light on?

With a steady light and a car that drives normally, you can usually drive to a shop, but book the diagnosis soon. With a flashing light, the EPA says a severe misfire is underway that can damage the catalytic converter, so drive as little as possible, at reduced speed, with no towing or heavy loads.

Stop driving and get help if the light comes with other warnings. AAA says a red temperature or oil pressure light, thick white smoke from the tailpipe, or smoke from under the hood means pull over as soon as it's safe. If you see flames, get everyone away from the car and call 911.

Why does the light turn off by itself?

OBD-II rechecks problems as you drive. If it tests the same component three consecutive times and the fault doesn't return, it turns the light off automatically, the EPA says. That's what happens after you tighten a loose gas cap. The code stays in memory for a while, so a mechanic can still see what happened.

A light that comes and goes repeatedly points to an intermittent problem, such as a misfire under load or a sensor that's starting to fail. Those rarely clear up for good on their own.

Can I just clear the code?

You can, but it doesn't fix anything. If the fault is still there, the light comes back. Clearing codes, or disconnecting the battery, also resets the readiness monitors a Smog Check looks for. BAR recommends driving for a week or two after battery work so the monitors can finish, and a car won't pass Smog Check with the check engine light on.

How much will the repair cost?

Expect to pay for diagnosis first. RepairPal's national average for check engine diagnosis and testing is $125 to $183, and Kelley Blue Book's is about $131 to $209. The repair itself depends on the cause: CarMD put the 2025 average check engine repair at $554, a record high.

Two habits keep costs down. Fix a steady light early, because CarMD says unresolved misfires and bad oxygen sensors can eventually ruin the catalytic converter. And confirm the diagnosis before buying an expensive part; AAA notes code P0420 can come from a converter or from a much cheaper oxygen sensor.

Need a mechanic in the Sacramento area?

One call connects you with an independent local mechanic. Calling is free; you agree on the price and the work directly with the provider.

Call (916) 712-7030

Frequently asked questions

Will the check engine light come on if my gas cap is loose?
Yes. A loose or missing gas cap lets fuel vapor escape, and the OBD-II system can detect that leak and turn on the light, the EPA says. Tighten the cap; the light should go out within a few days of normal driving. If it doesn't, have the code read, because something else may be wrong.
Can I pass Smog Check right after the light goes off?
Maybe not right away. If codes were cleared or the battery was disconnected, the car's readiness monitors need time to rerun their self-tests, and BAR suggests driving for a week or two first. If the light went out on its own after a repair, a Smog Check station can tell you whether the monitors are ready before the official test.

Sources

  1. Frequently Asked Questions About On-Board Diagnostics (fact sheet) — U.S. Environmental Protection Agency
  2. Do You Drive a 1996 or Newer Car or Light Truck? (OBD consumer brochure) — U.S. Environmental Protection Agency
  3. CarMD Reports Record Check Engine Repair Costs in 2025 (2026 Vehicle Health Index, April 22, 2026) — CarMD via PR Newswire
  4. Vehicle Health Index 2025: top check engine fixes (includes gas cap cost) — CarMD
  5. 6 Signs You Need to Pull Your Car Over — AAA (The Auto Club Group)
  6. Auto Parts Prices Explained — AAA
  7. Check Engine Light Prices (national average note; dealer vs. independent definitions) — Kelley Blue Book
  8. Check Engine Light Diagnosis & Testing Cost Estimate (national average) — RepairPal
  9. Smog Check: When you need one and what's required — Bureau of Automotive Repair (BAR)
Call (916) 712-7030