How to Pass OBD II Emissions Test: Codes, Monitors and Light
6 min read · by Nicole Bennett · Last updated: November 14, 2026
How to pass OBD II emissions test comes down to three checks: no stored emissions codes, a check engine light that works and is off, and readiness monitors that show ready. Most of the work happens days before the appointment.
The test does not measure your tailpipe on most newer cars. It reads the computer’s records, so a car can fail for a code that has nothing to do with how it runs on the street.
What the inspector checks on an OBD II test
An OBD II emissions test reads stored trouble codes, the check engine light, and the readiness monitors on gasoline vehicles from 1996 and newer. OBD II became mandatory for US passenger cars and light trucks that year, and many states use it in place of a tailpipe test for those cars, according to Wikipedia’s overview of on-board diagnostics.
Because the test reads the computer’s memory, the car can fail even when it drives normally. The three checks below cover most reasons a car fails the OBD II portion.
- Stored emissions-related trouble codes.
- The check engine light (MIL), which must work and be off.
- Readiness monitors, which must show that each system has run its self-test.
Fix stored codes before the test
Any stored emissions-related trouble code causes a fail, so the first job is to find out what is stored. Read the codes with a scanner, then fix the cause before you clear anything. For what a scanner can show, read OBD2 scanner limits at emissions tests.
The guide from a scanner retailer’s emissions test guide says the same thing: scan for codes and fix the underlying problems before clearing them. Clearing a code without a repair only removes the record, and the underlying fault stays in the car. If the car has already failed, see steps after a failed emissions test.
Pending codes are a separate issue. That guide does not discuss them, so read them with the scanner as well, since a pending code can point to a problem that has not yet set a stored code. Misfire counts are another reading, covered in misfire counter on OBD II.
Let the readiness monitors reach ready
Readiness monitors reset when codes are cleared, when the battery is disconnected, or after a major repair. A monitor shows ready only after its self-test has run to completion, so a cleared car needs a drive before it can pass.
The scanner retailer’s guide recommends driving about 50 to 100 miles with a mix of highway and stop-and-go traffic, and it advises against long idling. That mileage has no official source in the guide, so treat it as a starting point and check the monitor status with a scanner rather than trusting the miles alone.
A scanner’s readiness screen lists each monitor as ready or not ready. The not-ready entries show which test still needs to run, so they tell you what kind of driving to do next. Check that list again after each drive rather than guessing from the mileage alone.
The trade-off is simple: clearing codes gives you a clean screen, but it also resets the monitors you need. Clear codes only after the repair is done, and then give the car time to finish its tests.

Check the light and the gas cap
The check engine light must be off during the test, and it should light briefly when you turn the key to the on position without starting the engine. If the light never comes on, the bulb may be faulty, and the guide says that alone can cause a fail.
Look at the gas cap too. A loose or damaged cap can set an evaporative system leak code, which is an emissions code and can cause a fail. Tighten the cap, check the seal, and confirm the light stays off after a short drive.
- Turn the key to on without starting the engine and confirm the light comes on, then goes off.
- Inspect the gas cap for cracks and tighten it until it clicks.
- Read stored codes and fix the causes before clearing anything.
- Drive the car so the monitors can run, then recheck the readiness status.
Keep the steps in this order. Checking the light before the drive tells you whether the bulb needs attention, and checking the monitors afterward confirms the car is ready for the appointment.

When a clean scan still leaves you at risk
A clean code list does not guarantee a pass if a monitor is still incomplete. Monitor requirements depend on the model year and the state rules, so the same car can pass in one place and fail in another.
If you schedule the test soon after a repair, book it a few days out rather than the next morning. That gap gives the monitors time to finish, and a retest means another trip to the station and another round of driving.
This guide covers the common gasoline case from 1996 and newer. Diesel vehicles, older cars, and some states use different procedures, so check your state’s current inspection rules before you schedule the test. Requirements for one state are in Illinois emissions test requirements.
Frequently Asked Questions
Can I clear the codes right before the emissions test?
Clearing codes right before the test is risky. Clearing resets the readiness monitors, so the car may show not ready and fail. Fix the cause first, clear codes only after the repair, and give the car time to complete its monitors.
How many miles should I drive before the test?
The scanner retailer’s guide suggests about 50 to 100 miles with a mix of highway and stop-and-go driving. That figure is not from an official source, so confirm with a scanner that the monitors show ready.
Does the check engine light have to be off?
Yes. The guide says the light must be off during the test, and an illuminated light causes an automatic fail. It should come on briefly at key-on, which confirms the bulb works.
Does a 1990s car need an OBD II test?
Usually not. OBD II became mandatory for US passenger cars and light trucks in 1996, so many states use the OBD II test only for gasoline vehicles from 1996 and newer. Older cars may face a tailpipe test instead.
Read the codes, fix the causes, check the light, and let the monitors finish before the appointment. If your state uses different rules, its inspection office sets the final standard for your car.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnHow to Pass Emissions Test in Virginia and Avoid Common Failures
LearnHow to Pass Emissions Test in Maryland: Prepare for VEIP
LearnHow to Pass an Emissions Test in Texas
LearnHow to Pass Emissions Test in Illinois With Fewer Rejections
LearnHow to Pass Emissions Test in Colorado and Avoid a Failed Inspection
LearnU0075 Code: Find the Cause of CAN Bus Communication Failure