An OBD emission test reads your car's onboard diagnostic system to confirm it is monitoring emissions correctly
An OBD emission test (onboard diagnostic) plugs a scanner into a port under your steering wheel and reads data your car's computer has been collecting about its emissions system. The test does not measure tailpipe emissions directly. Instead, it checks whether your vehicle's own monitoring system is working — whether your catalytic converter, oxygen sensors, and fuel system are functioning well enough that the car can detect problems if they develop.
Most states that require emissions testing use OBD testing for model year 1996 and newer vehicles. The test takes about 10 minutes. You either pass (your car's monitoring system is intact and no fault codes are stored), fail (fault codes indicate a problem), or get an inconclusive result (the monitoring system has not completed its self-check cycle yet).
Key Takeaways
- An OBD test reads your car's onboard computer to verify its emissions monitoring system is working, not to measure what comes out of the tailpipe.
- The test looks for stored diagnostic trouble codes that indicate problems with the catalytic converter, oxygen sensors, fuel system, or emissions controls.
- A passing OBD test means your car's monitoring system is functional; a failing test means you need repairs before you can pass inspection.
- Some states allow you to clear a fault code and retest when ready at the same station, while others require you to drive the car for a set period before retesting.
- If your check engine light is on, the car will fail the OBD test regardless of whether the underlying problem is serious.
How the OBD scanner reads your car's emissions data
The technician plugs a handheld scanner into the OBD-II port, a standardized connector located under the dashboard on the driver's side (or sometimes on the passenger side). This port connects directly to your vehicle's engine control module — the computer that monitors engine performance and emissions systems in real time.
The scanner retrieves two types of information: whether any diagnostic trouble codes (DTCs) are stored in the computer's memory, and whether the car's emissions monitoring system has completed its self-test cycle. A code like P0420 (catalytic converter efficiency below threshold) or P0135 (oxygen sensor malfunction) will cause an OBD test failure. The car does not need to be running poorly or feel broken — a stored code is enough to fail.
The test also checks the status of the readiness monitors — internal checks the car runs on its emissions equipment. If too many monitors show "not ready," the test result is inconclusive, and you may be asked to drive the car for a specified number of miles before retesting.
What causes an OBD test failure
A stored diagnostic trouble code is the most common reason for failure. These codes are triggered when a sensor detects a problem — a loose gas cap, a failing oxygen sensor, a clogged catalytic converter, or a fuel system leak. The car stores the code and turns on the check engine light, which stays on until the code is cleared.
A second reason for failure is too many readiness monitors in "not ready" status. This usually happens if the car's battery was recently disconnected, the check engine light was recently cleared, or the vehicle has not been driven enough for the car to complete its self-diagnostic cycle. Readiness monitors typically set themselves after 50 to 100 miles of mixed driving (highway and city).
The check engine light itself does not cause failure — the code behind it does. However, if the light is on, there is always a code stored, so the car will fail.
Passing, failing, and inconclusive results
A pass means no diagnostic trouble codes are stored and the readiness monitors show the car's emissions system is functioning and has completed its self-check. You receive your passing inspection certificate when ready.
A fail means one or more diagnostic trouble codes are stored. You cannot receive an inspection certificate. You must have the problem repaired, then return to have the code cleared and the car retested. Some testing stations allow you to clear the code and retest on the same visit at no additional charge; others require you to return on a different day. Check your state's rules and your station's policy before leaving.
An inconclusive result means the readiness monitors have not finished their cycle. You are typically given instructions to drive the car for a set distance (often 50 to 100 miles) under normal conditions, then return for a retest. This is not a failure — it is a delay while the car completes its self-diagnostic.
What to do if your car fails the OBD test
The technician will provide you with the diagnostic trouble code or codes. You can look up what each code means using the code number (for example, searching "P0171 code" will tell you it relates to fuel system trim). However, the code points to a system, not always to the exact part that needs repair.
Take the code to a mechanic you trust. A P0420 code (catalytic converter efficiency) might mean the converter itself is failing, or it might mean a failing oxygen sensor is sending bad data to the computer. A mechanic can diagnose the actual problem and give you a repair estimate. Some repairs are inexpensive (replacing a gas cap, clearing carbon buildup); others are costly (catalytic converter replacement can run $800 to $2,500 depending on the vehicle).
After repair, return to the testing station to have the code cleared and the car retested. If the repair was successful and no new codes appear, the car will pass. If the same code returns, the repair did not solve the underlying problem, and you may need a second opinion from another mechanic.
OBD testing versus tailpipe testing
Some states use OBD testing only (reading the car's computer). Others use tailpipe testing (measuring actual emissions from the exhaust), and some use both. OBD testing is faster and cheaper to administer, but it only confirms that your car's monitoring system is working — not that emissions are actually low.
A car can pass an OBD test and still emit high levels of pollutants if the monitoring system itself is faulty or if the car is not being driven in a way that triggers the monitors. Conversely, a car with a minor sensor glitch might fail an OBD test even if its actual emissions are acceptable. Your state's inspection program determines which test applies to your vehicle.
Preparing your car for an OBD test
Drive the car normally for at least 50 miles before testing if the check engine light is off and you have not recently had the battery disconnected or the codes cleared. This allows the readiness monitors to complete their cycle and reduces the chance of an inconclusive result.
If the check engine light is on, have the car scanned at a mechanic or auto parts store (many offer free scans) to find out what code is stored. If it is a straightforward fix like a loose gas cap, tighten it, clear the code, and drive for a few miles before testing. If it is a more serious code, get a repair estimate and decide whether to repair before inspection or after.
Do not clear the codes yourself when ready before testing. Clearing codes resets the readiness monitors, which will then show "not ready," and you will get an inconclusive result instead of a pass or fail. If you clear codes, drive the car for 50 to 100 miles before retesting.
Frequently Asked Questions
Can I pass an OBD test with the check engine light on?
No. If the check engine light is on, a diagnostic trouble code is stored in the computer, and the car will fail the OBD test. You must have the underlying problem diagnosed and repaired, then have the code cleared before the car can pass.
What does "readiness monitor not ready" mean?
It means your car's onboard computer has not yet completed its self-diagnostic check for that particular emissions system. This usually happens after a battery disconnect or code clear. Drive the car for 50 to 100 miles of mixed driving (city and highway), and the monitors will set themselves. Then retest.
Do I have to repair my car if it fails the OBD test?
Yes, if you want to pass inspection and register your vehicle. You cannot receive an inspection certificate with a stored diagnostic code. However, you can choose to repair the car yourself, have a mechanic repair it, or sell the car as-is to a buyer who accepts its condition.
How much does an OBD test cost?
OBD testing fees vary by state and testing station, typically ranging from $10 to $50. Some states include the test as part of a full emissions inspection; others charge separately. Contact your local testing station or your state's environmental agency for the exact fee in your area.
Can I retest the same day if my car fails?
It depends on your state and the testing station. Some stations allow you to clear the code and retest when ready at no extra charge. Others require you to return on a different day or after driving the car for a set distance. Ask the technician before you leave.