What a smog test checks

A smog test measures the pollutants your engine produces in its exhaust. The technician connects a probe to your tailpipe and reads four main emissions: nitrogen oxides (NOx), hydrocarbons (HC), carbon monoxide (CO), and carbon dioxide (CO2). The test also checks your oxygen sensor and catalytic converter to confirm they're working. If your car is 1996 or newer, the test includes a computer scan that reads diagnostic trouble codes stored in your engine's onboard system.

The specific pollutants tested and their limits depend on your state and your car's model year. California, for example, has stricter standards than most other states. Older cars (usually pre-1996) get a simpler test that only measures tailpipe emissions, while newer cars undergo both the tailpipe test and the computer diagnostic scan.

The test itself takes 10 to 30 minutes. You drive onto a dynamometer (a machine with rollers under your wheels) or sit idle while the probe reads your exhaust. Either way, the technician is checking whether your emissions fall within the legal limits for your vehicle's year and model.

Key Takeaways

  • Smog tests measure nitrogen oxides, hydrocarbons, carbon monoxide, and carbon dioxide in your exhaust to confirm your car meets state pollution standards.
  • Cars from 1996 onward also receive a computer scan that checks for stored diagnostic trouble codes and confirms your oxygen sensor and catalytic converter are functioning.
  • Emission limits vary by state and vehicle age, with California enforcing stricter standards than most other states.
  • A failed test usually means your catalytic converter, oxygen sensor, or fuel system needs repair before you can pass and register your vehicle.

The four main pollutants your test measures

Nitrogen oxides (NOx) form when fuel burns at high temperature inside the engine. They contribute to smog and respiratory problems. The test measures how much NOx your engine produces under load or at idle, and your car must stay below the legal limit for its year.

Hydrocarbons (HC) are unburned fuel that escapes through the exhaust. They react with sunlight to form ground-level ozone, the main ingredient in smog. A high HC reading usually means your engine is not burning fuel completely, often because of a worn spark plug, bad fuel injector, or a leak in the fuel system.

Carbon monoxide (CO) is produced when fuel does not burn completely. It is toxic and reduces the oxygen your blood can carry. A high CO reading typically points to a rich fuel mixture (too much fuel, not enough air) or a problem with your fuel injectors or air filter.

Carbon dioxide (CO2) is the byproduct of complete combustion and is not directly harmful at tailpipe levels, but it is measured to confirm your engine is burning fuel efficiently. The test does not fail you for CO2 alone; it is tracked as a baseline for engine performance.

How the computer scan works on newer cars

If your car was built in 1996 or later, the test includes a computer diagnostic scan. The technician plugs a scanner into your onboard diagnostic port (usually under the steering wheel) and reads the codes your engine has stored. These codes tell whether your oxygen sensor, catalytic converter, fuel system, or emissions control devices are malfunctioning.

The scanner checks whether your check engine light is on or whether any codes are stored that indicate a problem. Even if the light is not illuminated, stored codes can cause a test failure. The technician will tell you which system is flagged and what repair is needed before you can pass.

This scan is separate from the tailpipe emissions test. You can pass the tailpipe portion but fail the computer scan if your oxygen sensor is bad or your catalytic converter is not working properly. Both parts must pass for your overall test result to be a pass.

Why your car might fail a smog test

The most common reason for failure is a faulty catalytic converter. This part converts harmful emissions into less harmful gases before they leave the tailpipe. When it fails, your NOx and HC readings spike. Catalytic converter failure is expensive to repair, often costing $800 to $2,500 depending on your vehicle, but it is the most frequent cause of test failure.

A bad oxygen sensor is the second most common culprit. This sensor tells your engine how much fuel to inject based on how much oxygen is in the exhaust. When it fails, your fuel mixture becomes too rich or too lean, raising CO or HC readings. Oxygen sensor replacement typically costs $150 to $400.

Other common failures include a clogged air filter (restricts oxygen, raises CO), worn spark plugs (incomplete combustion, raises HC), a fuel leak or bad fuel injector (raises HC), or a malfunctioning emissions control valve. Some failures are straightforward and cheap to fix; others require significant work.

If your check engine light is on, you will fail the test regardless of your tailpipe readings. The light means your onboard diagnostic system has detected a problem, and the test will not proceed until that code is cleared and the underlying issue is repaired.

What happens if you pass or fail

If you pass, the testing station issues a smog certificate or sticker (depending on your state) that you take to your local Department of Motor Vehicles to renew your registration. The certificate is proof that your car meets current emission standards. In most states, you must pass smog before you can register or renew registration.

If you fail, the testing station gives you a detailed report showing which emissions exceeded the limit or which diagnostic codes were found. You then have a set period (usually 30 days) to repair the problem and retest. Some states allow one free retest within a certain timeframe; others charge a retest fee of $10 to $50.

If you repair the car and pass the retest, you receive your certificate and can register. If you fail again, you may be required to have the repair performed by a certified technician or enroll in a state program for high-emission vehicles. Some states offer repair information programs or waivers for vehicles that repeatedly fail despite genuine repair attempts.

How often you need to test and what affects the schedule

Most states require smog tests every two years as part of vehicle registration renewal. Some states test annually, and a few test every three years. Your state's Department of Motor Vehicles website lists the exact schedule for your area.

New cars (usually model year 2000 and newer) are often exempt from testing for the first four to eight years, depending on your state. This exemption exists because new cars have advanced emissions controls and rarely fail. Once the exemption expires, you enter the regular testing cycle.

Vehicles that fail smog tests may be required to test annually instead of every two years until they pass. Some states also require more frequent testing for vehicles over a certain age or with a history of failures. Check your state's rules to know your specific testing schedule.

Preparing your car for a smog test

The best preparation is regular maintenance. Keep your oil changed, air filter clean, and spark plugs replaced on schedule. These straightforward steps keep your engine running efficiently and reduce the chance of high emissions.

Before your test appointment, drive your car for at least 20 minutes at highway speed to warm up the catalytic converter and oxygen sensor. A cold engine produces higher emissions and can cause an unnecessary failure. Some states require the engine to be at normal operating temperature when the test begins.

Make sure your gas cap is tight and not cracked. A loose or damaged cap can trigger a diagnostic code and cause a test failure. If your check engine light is on, have the code read and the problem repaired before you test. Do not attempt to clear the code yourself without fixing the underlying issue, because the code will return and you will fail.

If your car has been sitting unused for weeks, drive it regularly for a few days before testing. Vehicles that sit idle can accumulate moisture in the fuel system and catalytic converter, raising emissions temporarily.

Frequently Asked Questions

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

No. If your check engine light is illuminated, your car will fail the computer diagnostic portion of the test. The light indicates a stored diagnostic code, and the test cannot proceed until that code is cleared and the underlying problem is repaired. Clearing the code without fixing the issue will cause it to return within a few driving cycles.

What is the difference between a tailpipe test and a computer scan?

A tailpipe test measures the actual pollutants in your exhaust: nitrogen oxides, hydrocarbons, and carbon monoxide. A computer scan reads diagnostic codes stored in your engine's onboard system to check whether emissions control devices like your oxygen sensor and catalytic converter are working. Cars from 1996 onward must pass both; older cars only take the tailpipe test.

How much does a smog test cost?

Smog test fees vary by state and testing station, typically ranging from $30 to $80 for a single test. Some stations charge extra for a retest if you fail. Check your state's Department of Motor Vehicles website or call local testing stations for the exact fee in your area.

If I fail, do I have to use a specific repair shop?

Most states allow you to repair your car at any shop you choose, including doing the work yourself if you have the skills. However, some states require that certain repairs (like catalytic converter replacement) be performed by a certified technician or use original equipment parts. Check your state's rules before you begin repairs.

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

You can drive it to get repairs, but you cannot renew your registration until you pass. If your registration expires before you pass the retest, driving the car becomes illegal. Most states give you 30 days to repair and retest, so plan your repairs quickly to avoid registration expiration.