What a smog check actually measures and why your car might fail
A smog check tests whether your vehicle's emissions control system is working. The test reads data from your engine computer and measures what comes out of your tailpipe. Your car fails if the emissions are too high or if the computer detects a problem it cannot fix on its own.
Most failures happen because the check engine light is on. This light means your engine computer found a fault—usually in the emissions system, oxygen sensor, catalytic converter, or fuel system. Even if the car runs fine and you cannot feel anything wrong, the test will not pass with that light illuminated. The computer must clear the fault code before you test.
The second reason cars fail is that emissions are genuinely too high. This usually means the catalytic converter is not working, the fuel mixture is too rich, or there is an air leak in the exhaust. These are real mechanical problems that need repair, not just a reset.
Key Takeaways
- A check engine light will cause an automatic failure, even if your car runs normally—you must have the fault code read and the problem fixed before testing.
- If your check engine light is off, drive the car normally for 50 to 100 miles before your test so the engine computer can complete its self-checks.
- Keep your gas cap tight and your tires properly inflated, because a loose cap or low pressure can trigger a fault code.
- If you fail, get a written report showing which emissions were high or which code was detected, then take that to a mechanic rather than guessing at repairs.
Turn off the check engine light before you test
If the check engine light is on, your car will fail the smog check. The test station will not even measure your emissions—they will see the fault code and stop. You must fix the underlying problem first.
Take your car to a mechanic or a parts store that reads codes for free. They will tell you what the computer found. Common codes are P0420 (catalytic converter problem), P0133 (oxygen sensor), P0171 (fuel system too lean), and P0174 (fuel system too rich). Once you know the code, you can decide whether to repair it yourself, take it to a mechanic, or get a second opinion.
Do not straightforward disconnect the battery or use a code reader to clear the fault yourself. The light will go off, but the computer will know it was cleared, and the test station will see that. Many states mark that as a failed test. The fault must be actually repaired, not hidden.
Complete the engine computer's self-check cycle
Your engine computer runs a series of background tests called the readiness monitors. These tests check whether the catalytic converter is working, whether the oxygen sensors are responding correctly, and whether the fuel system is sealed. If these monitors have not finished running, the test station will fail you even if your emissions are clean.
The monitors complete during normal driving. You need to drive the car for 50 to 100 miles at varying speeds—highway driving, city driving, and some idle time. Do not just sit in traffic or drive only on the highway. The computer needs to see the engine warm up, cool down slightly, and operate under different loads.
If you have just had repair work done, the monitors reset and you must drive again before testing. If you cleared a fault code yourself, the monitors reset too. Plan your test date for at least a week after any repair work so you have time to complete the driving cycle.
Check your gas cap and tire pressure before test day
A loose or missing gas cap will trigger a fault code for an evaporative emissions leak. The test station will see this code and fail you. Check that your cap is tight and that it seals properly when you turn it. If the cap is cracked or the seal is worn, replace it—they cost $10 to $20.
Low tire pressure can also cause problems. Underinflated tires change how your engine runs and can trigger codes. Check your tire pressure the morning of your test and inflate to the pressure listed on the driver's door jamb, not the maximum pressure on the tire itself. This takes five minutes and costs nothing.
What to do if you fail the smog check
If you fail, the test station will give you a written report. Read it carefully. It will say either that a fault code was detected or that your emissions were too high. This tells you what to fix.
If a code was detected, take that code to a mechanic. Do not guess. A P0420 code means catalytic converter, not oxygen sensor. A P0171 code means the fuel system is running lean, not that you need a new air filter. The code is specific, and fixing the right thing saves you money and time.
If your emissions were too high, the report will show which pollutants exceeded the limit. High NOx (nitrogen oxides) usually points to a timing problem or a faulty oxygen sensor. High HC (hydrocarbons) or CO (carbon monoxide) usually means incomplete combustion—often a spark plug, fuel injector, or air leak issue. A mechanic can diagnose from these numbers.
Most states let you retest after repairs at no extra charge within a set window, usually 30 days. Keep your repair receipts. If the same problem comes back, you may have a warranty claim.
Older cars and high-mileage vehicles
Cars over 25 years old are often exempt from smog checks in many states, though this varies. Check your state's rules—some states exempt vehicles over a certain age, others do not. If your car is old enough to be exempt, you will not need to test.
High-mileage cars that are not exempt may struggle to pass because wear accumulates. Oxygen sensors degrade, catalytic converters lose efficiency, and fuel injectors get dirty. If your car has over 150,000 miles and is failing, expect that repairs may be needed. Preventive maintenance—regular oil changes, air filter replacement, and fuel system cleaning—helps older cars pass, but it cannot fix a worn catalytic converter.
Preparing your car in the weeks before your test
Change your oil and oil filter if they are due. Fresh oil helps the engine run cleaner and can improve combustion. Replace your air filter if it is clogged—a dirty air filter makes the fuel mixture too rich, which raises emissions.
If your spark plugs are original and your car has over 30,000 miles, consider replacing them. Worn plugs cause misfires, which increase emissions and can trigger fault codes. This is especially true for cars over 100,000 miles.
Drive your car normally in the weeks before your test. Do not make a long highway trip the day before and then test the next morning—your monitors may not have completed. Schedule your test for a day when you can drive normally for at least a week beforehand.
Frequently Asked Questions
Can I pass a smog check with the check engine light on?
No. The test station will see the fault code and fail you when ready, regardless of your emissions readings. You must have the code diagnosed and the problem fixed before you test.
How long does it take to pass a smog check after repairs?
If you fixed a check engine light, you need 50 to 100 miles of normal driving for the engine computer to complete its self-checks. This usually takes one to two weeks of regular driving. If you only had an emissions problem with no code, you can test when ready after repair.
What if I fail the smog check twice for the same problem?
Document the repairs with receipts and the test results. Many states have warranty provisions that require the repair shop to fix it again at no cost if the same code comes back within a certain period. Check your state's smog check rules for the warranty window.
Do I need to warm up my car before the smog test?
The test station will warm up your car as part of the procedure. Do not drive hard or race the engine beforehand. Just drive normally to the test station and let them handle the warm-up.
What if my car is too old to pass emissions standards?
If your car is exempt by age, you will not need to test. If it is not exempt and cannot pass, you may need to replace the catalytic converter or have other major repairs. Some states have hardship programs or used car buyback programs, but these vary widely. Check your state's environmental agency website for options specific to your situation.