A check engine light alone does not automatically fail you, but the underlying problem might

Whether you pass an emissions test with a check engine light depends on what triggered the light. The light itself is not what the test measures — the test measures your vehicle's actual emissions output. If the problem causing the light is one that raises your emissions above the legal limit, you will fail. If it is something else, you may pass even with the light on.

The catch is that you cannot know which category your problem falls into without reading the diagnostic code. A check engine light can mean dozens of different things, from a loose gas cap to a failing catalytic converter. Some of those things affect emissions; many do not.

Key Takeaways

  • A check engine light does not automatically cause an emissions test failure — the test measures actual tailpipe emissions, not the light itself.
  • You need to read your vehicle's diagnostic trouble code to know whether the underlying problem will cause you to fail the emissions portion of the test.
  • Common emissions-related codes include P0420 (catalytic converter), P0171 (fuel system), and P0300 (misfires), which will likely cause a failure.
  • Many check engine codes have nothing to do with emissions and will not affect your test result, even though the light is on.
  • If you fail, you can usually retest after repairs, and some states allow a grace period or waiver if repairs cost more than a certain amount.

How to read your diagnostic code before testing

Your vehicle stores a diagnostic trouble code the moment the check engine light comes on. You need to read this code to know whether the problem affects emissions. You have three ways to do this: use an OBD-II scanner yourself, visit a mechanic, or go to an auto parts store.

An OBD-II scanner is a handheld device that plugs into the diagnostic port under your steering wheel (a standard rectangular socket on all vehicles made after 1996). Basic scanners cost $25 to $100 and will read the code for you. The code is a letter followed by four numbers, like P0420 or P0171. Write it down exactly.

Many auto parts stores, including AutoZone and O'Reilly, will read your code for free if you bring the vehicle in. A mechanic will also read it, usually for a small fee or as part of a diagnostic charge. Once you have the code, you can search it online to learn what it means and whether it is emissions-related.

Which check engine codes will fail you on an emissions test

Emissions tests measure nitrogen oxides, particulate matter, and hydrocarbons coming out of your tailpipe. Problems that affect these outputs will cause a failure. The most common emissions-related codes are:

  • P0420: Catalyst system efficiency below threshold — usually a failing catalytic converter. This almost always causes an emissions failure.
  • P0171 or P0174: System too lean — your engine is running with too much air and not enough fuel. This raises emissions and typically causes a failure.
  • P0300: Random misfire detected — unburned fuel in the exhaust raises emissions. Misfires usually cause a failure.
  • P0401: EGR flow insufficient — the exhaust gas recirculation system is not working. This often causes a failure.
  • P0440: Evaporative emission control system malfunction — affects how fuel vapors are captured. May or may not cause a failure depending on severity.

If your code is one of these, the underlying problem is almost certainly affecting your emissions output. You should not expect to pass until the problem is fixed.

Check engine codes that do not affect emissions

Many codes have nothing to do with how much pollution your vehicle produces. A faulty oxygen sensor downstream of the catalytic converter, a bad thermostat, a transmission shift solenoid problem, or a loose gas cap can all trigger a check engine light without changing your actual emissions.

Codes in the P0500 range (vehicle speed sensor), P0700 range (transmission), P0800 range (transmission control), and many others are not emissions-related. If your code falls outside the emissions system, you may pass the test even with the light on. The emissions test itself will tell you whether you pass or fail — the light is just a warning that something needs attention.

What happens if you fail the emissions test

If you fail, you will receive a report showing which emissions you exceeded and by how much. You then have a set period — usually 30 to 60 days depending on your state — to make repairs and retest. The retest fee is usually lower than the initial test, often $10 to $30.

Some states offer a repair cost waiver if the repairs needed to pass would cost more than a certain amount, often $300 to $500. If you get a repair estimate that exceeds this threshold, you may be able to get a waiver without completing the repairs. Check your state's emissions program rules to see if this applies to you.

A few states also allow a one-time grace period for vehicles that fail by a small margin on their first test. This is rare and usually only applies to older vehicles. Ask at the testing station whether your state offers this.

Steps to take before your emissions test

Read your diagnostic code before you schedule the test. If the code is emissions-related, get the repair done first — you will fail otherwise, and you will pay for two tests instead of one. If the code is not emissions-related, you can proceed with the test as scheduled; the light will not affect your result.

Make sure your vehicle has been driven normally for at least 100 miles before the test. The emissions system needs to complete its self-check cycle, called the readiness monitors. If the monitors are not ready, some states will not allow you to test at all. Clearing the code and then driving only a few miles before testing can cause this problem.

Bring your vehicle registration and any repair records you have. Some testing stations ask for proof of recent maintenance, though this is not required in most states.

State-by-state emissions testing differences

Not all states require emissions testing, and those that do have different rules. Some test only vehicles over a certain age, some test all vehicles, and some test only in certain counties. A few states allow you to test at a private station; others use only state-run facilities.

The failure threshold also varies. Some states are stricter than others, meaning your vehicle might pass in one state and fail in another. Check your state's Department of Environmental Quality or Department of Motor Vehicles website to learn what applies to you.

A handful of states have On-Board Diagnostic (OBD) testing, which reads your vehicle's computer directly instead of measuring tailpipe emissions. If your state uses OBD testing, a check engine light will almost certainly cause you to fail, because the test is looking for any active or recent codes.

Frequently Asked Questions

Will clearing the check engine light before the test help me pass?

No. Clearing the code does not fix the underlying problem. The light will come back on within a few driving cycles if the problem still exists, and you will fail the test. Some testing stations will not even test you if the readiness monitors have not completed their cycle after a recent code clear.

Can I pass if the check engine light is on but the code is not emissions-related?

Yes, you can pass the emissions test itself. The test measures your actual tailpipe emissions, not whether your check engine light is on. However, you should still have the non-emissions code addressed, because it indicates a problem that needs repair.

What if I fail the emissions test — do I have to buy a new car?

No. You have time to make repairs and retest. Most states give you 30 to 60 days. If repairs cost more than your state's threshold (usually $300 to $500), you may may have access to for a waiver. Check your state's rules or ask the testing station about waivers.

How long does it take to fix a check engine code before retesting?

It depends on the code and the repair. A loose gas cap takes minutes. A catalytic converter replacement takes a few hours and costs $400 to $1,200. An oxygen sensor takes an hour or two. Get a repair estimate from a mechanic before you decide whether to proceed.

Do I need to drive my car a certain way before the emissions test?

Drive normally for at least 100 miles before the test so your vehicle's emissions system completes its self-check. Avoid short trips only, highway driving only, or idling. Normal mixed driving is what the test expects.