What happens during an emissions test and what you need to know before you go
An emissions test measures how much pollution your vehicle releases through its exhaust. A technician plugs a diagnostic machine into your car's onboard computer port (usually under the dashboard on the driver's side) and reads the data. The test itself takes 10 to 30 minutes. You pass if your vehicle's emissions fall below the legal limit for your state — the limit varies by state and sometimes by county, and it also depends on your vehicle's model year and engine type.
Most states require emissions testing every one or two years, usually tied to your vehicle registration renewal. Some states test all vehicles; others test only those in certain age ranges or counties with air quality concerns. A few states have no emissions testing at all. You cannot renew your registration without a passing test result in states that require it, so the test is mandatory, not optional.
The most common reason a vehicle fails is a loose or missing gas cap, followed by problems with the catalytic converter, oxygen sensors, or the engine control system. Many failures are fixable and inexpensive. Some are not. Knowing what to check before you go to the test station can save you money and a failed test result.
Key Takeaways
- Check your gas cap, oil level, and tire pressure before the test — a loose cap is the single most common reason for failure and takes 30 seconds to fix.
- Drive your vehicle normally for at least 100 miles before testing so the engine computer can run its self-diagnostic cycle, which the test machine reads.
- If your check engine light is on, get the diagnostic code read before the test so you know whether it will cause a failure.
- A failed test does not mean your vehicle is unsafe to drive; it means emissions are above the legal limit and you must repair it before registration renewal.
- Repair shops can often fix emissions problems for $100 to $500, but some issues like catalytic converter replacement cost significantly more.
Prepare your vehicle in the week before the test
Start with the simplest checks. Open your fuel door and inspect the gas cap. If it is cracked, loose, or missing, replace it — a faulty cap lets fuel vapors escape and triggers a failure on many vehicles. A new cap costs $5 to $15 at any auto parts store. Screw it on firmly until you hear or feel a click.
Check your engine oil level using the dipstick under the hood. Low oil can cause the engine to run rich (burning too much fuel) and produce excess emissions. Top it off if needed. Also check your tire pressure with a gauge — underinflated tires make the engine work harder and increase emissions. Inflate to the pressure listed on the driver's side door jamb, not the maximum pressure on the tire itself.
If your check engine light is on, do not ignore it. Visit an auto parts store and ask them to read the diagnostic trouble code for free — most will do this without charge. Write down the code (it will be something like P0420 or P0171). This tells you whether the problem will cause a test failure. Some codes do; others do not. Knowing this before you arrive at the test station saves you from a wasted trip.
Drive normally for at least 100 miles before your test appointment
Your vehicle's onboard computer runs a series of self-diagnostic tests called the readiness monitors. These monitors check whether the catalytic converter is working, whether the oxygen sensors are functioning, whether the fuel system is sealed, and several other systems. The test machine reads these monitors to determine if your vehicle is ready to be tested.
If you have recently replaced your battery, cleared a check engine code, or had major repair work done, these monitors reset to "not ready." Driving the vehicle through a variety of conditions — highway driving, city driving, acceleration, and idle time — allows the monitors to run and report back as "ready." Most vehicles need 100 to 200 miles of normal driving to complete all monitors. Highway driving counts, but so does regular commuting.
If you arrive at the test station and the machine says your monitors are not ready, you will fail the test automatically, even if your emissions are clean. This is not a reflection of your vehicle's actual pollution output; it means the computer has not finished its self-checks. Schedule your test after you have driven the vehicle enough to complete the cycle.
Understand what the test measures and why some vehicles fail
The emissions test machine connects to your vehicle's onboard diagnostic port and reads two main things: the data stored in your vehicle's computer (which includes any fault codes) and, on older vehicles, the actual tailpipe emissions. Modern vehicles (usually 1996 and newer) are tested by computer data only; the machine does not measure exhaust directly.
A vehicle fails if it has an active fault code related to emissions, if its readiness monitors are not complete, or if the emissions data exceeds your state's legal limit. The most common failures are a loose gas cap (which triggers a fuel system code), a faulty oxygen sensor, a failing catalytic converter, or a problem with the engine control system. Less common but still possible: a bad mass airflow sensor, a vacuum leak, or a malfunctioning EGR valve.
Some failures are cheap to fix. A gas cap replacement costs under $20. An oxygen sensor replacement typically runs $100 to $300. Other failures are expensive: a catalytic converter replacement can cost $500 to $2,500 depending on your vehicle. If your vehicle fails, a repair shop can read the diagnostic code and give you an estimate before you commit to the repair.
What to do if your vehicle fails the test
A failed test result does not mean your vehicle is unsafe or that you have broken the law. It means your emissions are above the legal limit for your state. You have a grace period (usually 30 to 60 days, depending on your state) to repair the vehicle and retest. During this time, you can still drive the vehicle legally.
Take your failed test report to a repair shop. The report includes the diagnostic code that caused the failure. A technician can use this code to diagnose the problem and provide a repair estimate. Do not assume the repair will be expensive — many emissions failures are fixed for under $200. Get the estimate in writing before authorizing the work.
After the repair is complete, schedule a retest at an emissions testing station. Bring your repair receipt with you. Some states offer a waiver program: if you have spent a certain amount of money on repairs (often $500 to $1,000) and the vehicle still fails, you may be able to renew your registration anyway. Check your state's emissions testing website to see if this option is available to you.
Know the difference between state-run and private testing stations
Some states run their own emissions testing stations; others contract with private repair shops and testing centers. The test itself is identical regardless of where you go, but the experience differs. State-run stations are usually cheaper ($10 to $30 per test) and faster, but they may have longer wait times and limited hours. Private stations are often more convenient and may offer same-day service, but they charge more ($30 to $50 per test).
A few states allow you to test at any certified repair shop, while others require you to go to a specific state-approved station. Check your state's emissions testing website or your vehicle registration renewal notice to find out where you can test and whether you need an appointment. Many states now allow you to schedule online.
Frequently Asked Questions
Can I pass an emissions test if my check engine light is on?
Not usually. If the check engine light is on, your vehicle has an active fault code stored in the computer. The test machine will read this code and fail your vehicle, even if your actual emissions are clean. You must have the code diagnosed and repaired before the test. However, if the code is unrelated to emissions (for example, a problem with the transmission), some states may still pass you — ask the testing station.
What if I just had my vehicle serviced and it still fails?
A recent oil change or tune-up should not cause a failure. However, if a repair shop recently cleared your check engine light or replaced your battery, your readiness monitors have reset and you need to drive the vehicle 100 to 200 miles before testing. If you tested too soon after service, schedule a retest after driving more miles. If you have driven enough and still fail, the original problem may not have been fixed — return to the shop that serviced your vehicle.
Do I need to warm up my vehicle before the test?
Yes, but only slightly. Arrive at the testing station with your engine at normal operating temperature — this usually means driving there normally, not idling in the parking lot. A cold engine produces higher emissions and may fail the test even if a warm engine would pass. However, do not overheat the engine or drive aggressively before testing.
What happens if I fail the retest after repairs?
If your vehicle fails again after you have paid for repairs, contact the repair shop when ready. Most shops may provide their work for 30 days. If the same problem persists, they should diagnose and fix it at no additional charge. If a different problem caused the second failure, you may owe for a second repair. Some states offer a second-failure waiver if you have spent enough money on repairs — check your state's program rules.
Can I test my vehicle in a different state to avoid failing?
No. You must test in the state where your vehicle is registered. Some states have stricter emissions limits than others, but you cannot choose which state's test to take. If you move to a state with different emissions requirements, your vehicle must meet that state's standard before you can register it there.