What a smog inspection actually checks

A smog inspection measures what your car's exhaust contains—specifically nitrogen oxides, particulate matter, and hydrocarbons—and compares those readings against the legal limit for your vehicle's model year. The test does not check whether your car runs well or whether you maintain it properly. It checks one thing: whether the emissions control systems that came with your car are still working.

The technician plugs a probe into your vehicle's tailpipe or connects to the onboard diagnostic port (usually under the steering column) and reads the emissions data. For most cars, the whole test takes under ten minutes. The machine prints a pass or fail. There is no partial credit, no "almost passing"—your car either meets the standard or it does not.

The legal limits vary by state and by the age of your vehicle. Older cars are held to looser standards than newer ones, because older emission control technology was less precise. A 2005 car and a 2020 car cannot be judged by the same numbers.

Key Takeaways

  • A smog inspection measures tailpipe emissions against a legal standard set by your state, not by the testing station.
  • The test takes about ten minutes and requires your car to be in reasonable running condition—a car that will not start cannot be tested.
  • A failed inspection usually points to a broken oxygen sensor, catalytic converter problem, or fuel system leak, not general neglect.
  • You can get a second opinion at a different station if you fail, and some states allow a retest at the same station within a set window.
  • Repairs needed to pass are your responsibility, but the inspection itself is required by law in most states before registration renewal.

When your state requires a smog inspection

Not every state requires smog testing. California, New York, Massachusetts, and several others do. Some states test only cars in certain counties or only vehicles above a certain age. Some test every year; others test every two years. Your state's Department of Motor Vehicles website lists the requirement for your county and vehicle year.

Even if your state does not require smog testing statewide, your county might. Los Angeles County, for example, requires testing even though much of California does not. The rule depends on air quality history in your area—counties with documented smog problems are more likely to test.

If your state does require it, you cannot renew your vehicle registration without a passing inspection report. The testing station sends the result directly to the state, so you do not submit it yourself. If you fail, you have a window—usually 30 to 60 days—to repair the car and retest before your registration expires.

What causes a smog inspection failure

The most common reason for failure is a broken oxygen sensor. This sensor tells your engine how much fuel to burn based on how much oxygen is in the exhaust. When it fails, the engine cannot adjust properly, and emissions spike. Replacing an oxygen sensor costs between $150 and $400 depending on which sensor and which car.

The second most common cause is a problem with the catalytic converter, the part that chemically breaks down harmful gases before they leave the tailpipe. A clogged or failing catalytic converter will fail the test. Repair or replacement is expensive—$500 to $2,500—but a failing catalytic converter also makes your car run poorly, so you will notice other symptoms first.

A fuel system leak can also cause failure. This includes a loose or missing gas cap, a cracked fuel line, or a leak in the charcoal canister that captures fuel vapors. A loose gas cap is free to fix. A fuel line or canister leak runs $200 to $600.

Less commonly, failure points to a problem with the evaporative emissions system (which captures fuel vapors), a faulty engine control module, or a misfire in one or more cylinders. These are more complex and more expensive to diagnose and repair.

How to prepare your car for the test

Your car must be in running condition to be tested at all. If it will not start or runs so poorly that the technician cannot safely drive it into the bay, the station will refuse to test it. Before you book an appointment, make sure your car starts reliably and idles without stalling.

Warm up your engine before you arrive. Most testing stations will do this for you, but arriving with a warm engine means the test happens under more realistic conditions. Do not rev the engine or drive hard when ready before the test—the point is a normal warm idle, not a fresh cold start.

Check your gas cap. A loose or missing cap is one of the easiest failures to fix and one of the most common reasons for failure. Tighten it firmly or replace it if it is cracked.

If your check engine light is on, the test will likely fail because the light indicates a fault the onboard diagnostic system has detected. You do not have to fix the underlying problem before testing—some faults do not affect emissions—but the light itself will cause a fail. Have the code read at an auto parts store (usually free) to understand what triggered it.

What happens if you fail the inspection

A failed inspection report tells you the specific emissions that were out of range, but it does not diagnose what is broken. "Nitrogen oxides too high" does not tell you whether it is the oxygen sensor, the catalytic converter, or something else. You will need a mechanic to diagnose the actual problem.

Take the failed report to a trusted mechanic and explain what failed. A good mechanic can often narrow down the cause based on the specific emissions that were high. Do not assume the cheapest repair is the right one—a $150 oxygen sensor replacement will not fix a $1,500 catalytic converter problem, and you will fail again.

Most states give you 30 to 60 days to repair and retest. Some states allow you to retest at the same station at no charge within that window; others require you to go to a different station or charge a retest fee. Check your state's rules before you book repairs.

If you believe the test was wrong, you can request a second opinion at a different testing station. This costs another inspection fee, but it is your right. If the second station passes your car, you have documentation that the first test was an error.

The cost of a smog inspection

The inspection itself costs between $30 and $80 depending on your state and the testing station. This is a one-time fee per test. If you fail and need to retest, some states charge a second fee; others do not.

The cost of repairs to pass the test is separate and depends entirely on what is broken. An oxygen sensor might be $150 to $400. A catalytic converter might be $500 to $2,500. A fuel system leak might be $200 to $600. A loose gas cap is free. There is no way to know the repair cost until a mechanic diagnoses the problem.

If your car is very old or has high mileage, budget for the possibility that multiple systems might need attention. A car that barely passes one year might fail the next as emission control parts age.

Smog inspection versus a regular safety inspection

A smog inspection measures only what comes out of the tailpipe. It does not check your brakes, tires, lights, or steering. A safety inspection (required in some states) checks those things but does not measure emissions. Some states require both; some require only one; some require neither.

Do not confuse the two. Passing a safety inspection does not mean you will pass a smog inspection, and vice versa. If your state requires both, you need to pass both before you can renew registration.

Frequently Asked Questions

Can I pass a smog inspection if my check engine light is on?

No. The light indicates a fault code in the onboard diagnostic system, and the inspection will fail automatically. You do not have to fix the underlying problem, but you must clear the code first. A mechanic or auto parts store can do this, though the code may return if the underlying problem is not fixed.

What if I just bought a used car and it fails the smog inspection?

That is the buyer's responsibility in most states. Some states have a short window (usually 30 days) during which a used car purchase can be voided if it fails smog, but this varies. Check your state's lemon law or used car purchase rules. If you are past that window, the repairs are your cost.

Do I have to use a specific repair shop to fix smog-related problems?

No. You can use any mechanic you trust. Some states have certified smog repair shops, but using one is not required. Choose a mechanic based on reputation and honesty, not whether they are on an official list.

How often do I need a smog inspection?

This depends on your state and county. Some require it every year; others every two years. Some states exempt newer cars (usually 2000 or newer) from testing. Check your state's DMV website or your registration renewal notice to find out the schedule for your vehicle.

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

Yes, you can drive it. A failed smog inspection does not make the car unsafe or illegal to operate. It only prevents you from renewing your registration. You have a window (usually 30 to 60 days) to repair and retest before your registration expires.