Skip to content
SmogGuide
Menu

Guide Updated 2026-10-30

Check engine light and smog check in California

A lit check engine light is an automatic smog check fail in California, and it caused 714,956 OBD failures in 2025.

Will a check engine light fail a smog check

Yes. In California, a car with the check engine light on does not pass. BAR says so in plain words. It does not matter if the car runs fine. It does not matter if the light came on for a small reason. The light, also called the MIL, is the car telling the inspector it found a problem in its pollution controls.

This is the most common way modern cars fail. In 2025 the OBD part of the smog check failed 714,956 cars. That is 6.84% of every 2000 and newer car tested, and it made up about 88% of all the failures on that kind of test.

Good news first. A light is a clue, not a verdict. Most causes can be fixed, and some are covered by a free warranty. Read on for what the inspector looks for and the order to do things in.

How the inspector checks the light

The test has two parts. The first is a bulb check. With the key on and the engine off, your dashboard lights up. The check engine light has to come on too. That proves the bulb works. Then the engine runs, and the light has to go out.

How the inspector reads your check engine light
WhenWhat you should seeResult
Key on, engine offCheck engine light comes onPass
Key on, engine offLight never comes onFail
Engine runningLight goes outPass
Engine runningLight stays onFail
Engine runningLight flashesFail

This means a burned out bulb or a bulb that someone disabled also fails. A light that was unplugged to hide a problem will not pass.

A flashing light is serious. It usually points to an active misfire. It fails the smog check, and it can damage the catalytic converter if you keep driving. Get it looked at soon.

What the OBD scan looks at

After the bulb check, the inspector connects a BAR certified scanner to the data port under your dash. On 2000 and newer cars, that scan is the heart of the test. It reads four things.

  • The light itself. Is the MIL commanded on?
  • Stored codes. A stored fault code points to a failing part.
  • Readiness monitors. The car runs its own self tests. If too many have not finished, the car fails. See our readiness monitors guide.
  • Permanent codes. This is an extra layer, explained below.

For the full walk through of the visit, read what happens during a smog check.

Which cars fail the OBD check most

Age matters a lot. Parts wear out, and sensors drift. The chart shows the 2025 OBD fail rate for each model year from 2000 to 2025.

OBD scan fail rate by model year, 2025

0.0%4.0%8.0%12.0%16.0%2000 14.7%20002001 13.4%2002 12.8%20022003 10.9%2004 11.0%20042005 9.6%2006 9.6%20062007 7.5%2008 8.2%20082009 6.8%2010 8.3%20102011 7.0%2012 8.2%20122013 5.6%2014 6.5%20142015 4.4%2016 5.5%20162017 3.7%2018 4.3%20182019 5.4%2020 5.0%20202021 4.6%2022 4.3%20222023 4.2%2024 4.4%20242025 5.5%
Percent of initial tests that failed the OBD part of the smog check, for model years 2000 to 2025. Source BAR Smog Check Executive Summary 2025

The oldest cars on this track, the 2000 model year, failed the OBD part 14.7% of the time. By model year 2017 the number fell to 3.7%. The newest model years tick up a little. Even new cars are not immune.

OBD fail rate across all 2000 and newer cars, 2019 to 2025

0.0%2.0%4.0%6.0%8.0%20192020202120222023202420252019 7.2%2020 7.6%2021 7.2%2022 6.8%2023 6.9%2024 6.8%2025 6.8%
Percent of initial OIS tests that failed on OBD. Source BAR Smog Check Executive Summary

Across all model years the rate has barely moved since 2019. It has hovered between about 6.8% and 7.6%.

What usually turns the light on

BAR and CARB measure this at the roadside, where officers scan failing cars. The most common code families tell you where trouble starts.

Trouble codes found on failing OBD cars checked at the roadside
Code familyWhat it coversShare of failing cars at roadside, 2024 and 2025
P04xxEmission control systems such as EVAP, EGR and the catalyst39.9%
P01xxAir and fuel metering25.3%
P03xxIgnition and misfire15.3%
P00xxCam and crank position, among other items8.5%

In plain words, nearly 4 in 10 failing cars had an emission control code. That bucket includes the evaporative system (EVAP), the EGR valve and the catalytic converter. A loose gas cap sits in the EVAP family. A second group involves the air and fuel mix. A third group is misfires. Together those three families make up about 80% of the codes in that sample.

Other things BAR and the Referee point to include wrong or aftermarket catalytic converters. For example, a 2000 to 2007 Honda Accord built to the SULEV standard needs the factory converter. They also name modified software, which now fails the test on its own.

The trap that catches people who clear the code

It is tempting to erase the code with a scanner, or to disconnect the battery, so the light goes away. Do not do this right before a test. It causes two separate fails.

  1. It resets your readiness monitors. The car has to drive through its self tests again. BAR says to drive one to two weeks after a battery disconnect or replacement before you test.
  2. It does not erase permanent codes. On cars from model year 2010 and newer, a permanent code stays stored even when the light is off. It goes away only after the car confirms the fault is fixed. The state fails the car if a permanent code is stored, unless the car has completed 15 warm up cycles and 200 miles since the codes were last cleared.

Short version. Fix the real problem first. Then drive the car normally until the monitors finish. Then test.

What to do when the light is on, in order

  1. Do not clear the code. Write down the code or have a shop read it.
  2. Check your warranty first. Federal law and California rules can make the maker pay. See the table below.
  3. Get a written estimate. Smog repairs cost real money. The average reported emissions repair in 2025 was $756.68, so ask questions and get it in writing.
  4. Repair the cause. Pick a licensed smog repair shop. If your notice says STAR, the repair shop and the retest must follow that rule.
  5. Drive it. Give the monitors time to finish. A week or two of normal driving is what BAR suggests after a reset.
  6. Retest. If the light is out and the monitors are ready, you should pass.
Emissions warranties that can pay for a repair
CoverageWhat is coveredLength
California certified carA smog check failure of any kind3 years or 50,000 miles
California certified carHigh priced emissions parts7 years or 70,000 miles
PZEV (partial zero emission) carEmissions parts15 years or 150,000 miles
PZEV hybridHybrid battery10 years
Federal warrantyEmissions defects2 years or 24,000 miles
Federal warrantyCatalytic converter and engine computer8 years or 80,000 miles

You can call the CARB helpline at (800) 242-4450 for recalls and warranty questions.

What a fix usually costs

Stations log the repairs they do on failed cars in BAR's system. That log is a floor, since some repairs never get logged. Still, it gives the best picture we have. In 2025 stations logged repairs on 46,033 vehicles. The average was $756.68.

What emissions repairs cost, 2025

0.0%10.0%20.0%30.0%40.0%$1 to $100 13.1%13.1%$1 to $100$101 to $250 20.9%20.9%$101 to $250$251 to $500 18.5%18.5%$251 to $500$501 to $650 8.4%8.4%$501 to $650Over $650 39.1%39.1%Over $650
Share of repaired vehicles by total reported repair cost. Source BAR Smog Check Executive Summary 2025

Roughly 4 in 10 of those repairs ran over $650. Those jobs averaged $1,525. That is why the warranty and the help programs matter. If your light is on and the car is young, call the dealer before a shop.

Cases that trip people up

You are buying a car with the light on

A seller has to hand over a valid smog certificate when a car is sold. A certificate is valid for 90 days. A car with the light on cannot get one, so a seller with a lit light has a repair to do first. Cars that are four model years old and newer are an exception, and the buyer pays an $8 transfer fee instead.

You changed your software or engine tune

Since July 19, 2021, illegally modified software gets its own failure. It shows up as a "Modified Software" result. A tune that has a CARB Executive Order passes. A tune that does not have one fails, even with the light off.

You put on a different catalytic converter

Wrong or aftermarket converters are a known cause of OBD fails. If your car was built to a strict California standard, the factory part may be the only one that works. The Referee station program handles disputes over converter labels. In 2025 it did 722 catalyst label inspections and 262 OBD monitor issue inspections.

The light comes on and off

An on and off light can be hard to catch. The test only needs the light to be on during the test or a code to be stored. If your car has thrown a code, have a shop find out why before your test date, not on it.

Is it getting better

A little. Here are the monthly OBD fail rates for 2026 so far. Since May they have run lower than the 6.84% for all of 2025.

OBD fail rate by month, January to September 2026
Month in 2026Initial tests that failed OBD
Jan6.80%
Feb6.93%
Mar6.85%
Apr6.77%
May6.55%
Jun6.54%
Jul6.53%
Aug6.63%
Sep6.64%

If the repair costs more than you can pay

You have three programs to look at. They are covered in detail in our other guides.

  • CAP repair help. Income eligible owners can get up to $1,450 toward repairs on a 1996 or newer car. See CAP repair assistance.
  • Vehicle retirement. The state buys some failing cars for $1,350 to $2,000.
  • The repair cost waiver. After at least $650 of eligible repairs and a second fail, the Referee may postpone the requirement for up to two years.

The full ladder is in our failed smog check guide.

Questions people ask

Can I pass a smog check with the check engine light on?

No. BAR states that a vehicle will not pass a smog check with the check engine light on. The light must come on at key on and go out once the engine runs.

Will a flashing check engine light fail the smog check?

Yes. A light that stays on or flashes with the engine running is a fail. A flashing light often means a misfire, so get it checked soon.

What if my check engine light does not come on at all?

That also fails. With the key on and engine off, the light has to light up to prove the bulb works. A light that never lights fails the bulb check.

Can I clear the code and go straight to the smog check?

It is a bad idea. Clearing codes or disconnecting the battery resets your readiness monitors, so you will probably fail as not ready. On 2010 and newer cars it can also leave a permanent code, which fails the car unless you have driven 15 warm up cycles and 200 miles since clearing.

What is a permanent code?

A permanent diagnostic trouble code stays stored even after a scan tool clears the other codes. It goes away only after the car confirms the fault is fixed. Since July 1, 2019, a stored permanent code fails 2010 and newer cars.

How long should I drive after fixing the problem?

BAR says to drive one to two weeks after a battery disconnect or replacement. BAR's rulemaking file says two weeks is the time in which most properly working cars set their required monitors.

Does a loose gas cap turn on the check engine light?

It can. The gas cap is part of the evaporative system, and the evaporative and other emission control codes are the largest group of codes found on failing cars. Tighten the cap and have the code read before you test.

Is a check engine light repair covered by warranty?

Often yes if the car is young enough. California certified cars carry a smog failure warranty of 3 years or 50,000 miles, and high priced parts are covered for 7 years or 70,000 miles. Federal coverage runs 2 years or 24,000 miles, and 8 years or 80,000 miles for the catalytic converter and engine computer.

What if I cannot afford the repair?

Look at the Consumer Assistance Program. Income eligible owners can get up to $1,450 toward repairs on 1996 and newer cars and up to $1,100 on 1976 to 1995 cars. You can also look at vehicle retirement or a repair cost waiver.

Sources

Statewide

Smog Check Stations Across California