What the BAR smog test actually checks

The BAR (Bureau of Automotive Repair) smog test measures what comes out of your tailpipe — specifically, how much nitrogen oxide (NOx), carbon monoxide (CO), and hydrocarbons (HC) your engine produces. It does not test your oil level, tire pressure, or whether your check engine light is on. It tests only emissions, and only on a dynamometer (a machine that simulates driving) or through a tailpipe probe while your engine idles.

California requires this test every two years for most vehicles, and every year for vehicles over 8 years old. The test takes about 10 minutes. Your car either passes (emissions below the legal limit for your model year) or fails (emissions above that limit). There is no middle ground — you pass or you do not.

The reason this test exists is that your engine produces pollutants as a byproduct of burning fuel. Over time, wear and damage to the engine, fuel system, and emissions control equipment cause those pollutants to increase. The test catches cars that have drifted far enough out of spec that they are contributing significantly to air pollution.

Key Takeaways

  • The BAR smog test measures tailpipe emissions of nitrogen oxide, carbon monoxide, and hydrocarbons — not engine condition or maintenance status.
  • California requires the test every two years for most vehicles and annually for vehicles over 8 years old, and you cannot register your car without a passing result.
  • A failing test usually points to a specific problem: a faulty oxygen sensor, a clogged catalytic converter, a vacuum leak, or a malfunctioning emissions control system.
  • Repairs to fix a failed test are often expensive because they involve emissions equipment, but driving a car that fails is also illegal and contributes to smog formation.
  • Some repairs — like replacing spark plugs or fixing a vacuum leak — can be done at an independent shop, while others require a certified smog technician.

Why your car fails the smog test

A car fails the smog test when one or more of its emissions control systems is not working correctly. The most common culprits are the oxygen sensor (which tells the engine how much fuel to burn), the catalytic converter (which breaks down pollutants before they leave the tailpipe), and the evaporative emissions system (which captures fuel vapors from the tank).

A faulty oxygen sensor is the single most common reason for failure. When it stops working, your engine cannot adjust the fuel-air mixture correctly, and emissions spike. A clogged or damaged catalytic converter does the same thing — it cannot convert pollutants into harmless gases, so they pass straight through to the tailpipe. Vacuum leaks (small cracks in hoses that pull unmetered air into the engine) throw off the fuel mixture and raise emissions.

Less commonly, a failing test points to a problem with the fuel injectors (which may be dirty and spraying fuel unevenly), a bad spark plug or ignition coil (which causes incomplete combustion), or a malfunctioning EGR valve (which recirculates exhaust to reduce emissions). All of these are part of the emissions control chain, and all of them affect what the test measures.

What happens when you fail

You cannot register your vehicle in California without a passing smog test result. If your test fails, you have 30 days to repair the car and retest. During that 30 days, you can still drive the car — the state does not impound it — but you cannot renew your registration.

After you repair the car and pass the retest, you take that passing certificate to the DMV (or submit it online) to complete your registration. The retest itself costs money — usually between $30 and $50 — and the repairs almost always cost more. An oxygen sensor replacement runs $150 to $400 depending on which sensor and your car model. A catalytic converter replacement can cost $400 to $2,500 or more.

If you do not repair and retest within 30 days, your registration expires and you are driving illegally. You can be cited for driving an unregistered vehicle, and the fine is separate from the cost of eventually fixing the car.

How to prepare your car for the test

The best preparation is preventive maintenance: keep your oil changed, your air filter clean, and your spark plugs fresh. A well-maintained engine produces fewer emissions. If your check engine light is on, get the code read before the test — some codes will cause an automatic failure, and you want to know that before you pay the test fee.

Drive the car normally for at least 20 minutes before the test. A cold engine produces higher emissions, so the test station wants to see your engine at operating temperature. If the car has been sitting for weeks, drive it for a few days before testing — this helps the engine computer relearn its settings and can lower emissions slightly.

Do not use fuel additives or "smog test helpers" in the days before the test. They do not work, and some can damage your fuel system. If your car is borderline (emissions close to the legal limit), these products will not push it over the line.

The difference between a smog test and a visual inspection

California smog stations perform two separate checks: the emissions test and a visual inspection. The visual inspection looks for missing or tampered emissions equipment — specifically, the catalytic converter, the air filter, and the fuel cap. If any of these are missing or obviously damaged, your car fails the visual inspection regardless of what the tailpipe emissions are.

A missing catalytic converter is an automatic failure. This is why catalytic converter theft is a serious problem in California — a car cannot be registered without one, and replacing it is expensive. If your converter has been stolen, you must replace it before you can pass the visual inspection and move on to the emissions test.

The visual inspection also checks that your vehicle has not been modified in a way that bypasses emissions equipment. For example, if someone has removed the EGR valve or disconnected the evaporative system, the inspection will catch it.

When to take your car to a smog station versus a repair shop

A smog test station performs the test and tells you whether you pass or fail. They do not repair cars — they only test them. If you fail, you take the failure report to a repair shop. Some stations are also repair shops, but the test and the repair are separate services.

A certified smog repair shop (also called a STAR station) can diagnose why you failed and fix it. Not all repair shops are certified to do smog repairs — only shops that have passed a Bureau of Automotive Repair inspection and maintain certain standards can call themselves STAR stations. If you need repairs, a STAR station is your best option because they understand emissions systems and can do the work legally.

If you fail the test, bring the failure report to the repair shop. The report tells them which emissions are too high, which narrows down what could be wrong. A good shop will diagnose the actual problem (not just guess) before quoting you a repair price.

What a passing test means for your car's health

A passing smog test means your emissions are within the legal limit for your vehicle's model year. It does not mean your engine is in perfect condition — it means the emissions control systems are working well enough that your car is not contributing excessively to air pollution.

You can pass the smog test and still have other maintenance issues. Your transmission could be slipping, your brakes could be worn, your suspension could be shot — none of that shows up on a smog test. The test is narrowly focused: it measures only what comes out of the tailpipe, and only those three pollutants.

That said, a car that passes the smog test is usually a car that has been maintained reasonably well. Engines that are neglected — oil never changed, air filter clogged, spark plugs original from 15 years ago — tend to fail. So a passing test is a good sign that the owner has been keeping up with basic maintenance.

Frequently Asked Questions

Can I drive my car if it fails the smog test?

Yes, you can drive it during the 30-day repair window. You cannot register it, but you can drive it to the repair shop and back. After 30 days, if you have not repaired and retested, driving it becomes illegal because your registration has expired.

How much does a smog test cost?

A smog test costs between $30 and $50 at most California stations. The price is set by the station, not by the state, so it varies. If you fail and need to retest, you pay the fee again.

What if I just replaced my catalytic converter — will I automatically pass?

Not necessarily. A new catalytic converter will help, but if other emissions systems are faulty (like a bad oxygen sensor), you can still fail. The test measures total tailpipe emissions, so every part of the system has to be working.

Do I have to use a STAR station to repair my car after a failed test?

No, but a STAR station is recommended because they are certified and trained in emissions repair. Any shop can do the work, but a STAR station has more accountability and is less likely to sell you unnecessary repairs.

What if my car is too old to pass the smog test?

If your car is very old and the emissions are too high to fix affordably, you have limited options. You can keep repairing and retesting, or you can look into California's vehicle retirement programs, which offer money to take old, high-emission cars off the road. The amount varies by program and vehicle age.