What happens during an emission test and what you need to do beforehand
An emission test measures what comes out of your car's tailpipe — mainly nitrogen oxides, particulate matter, and hydrocarbons. The technician plugs a probe into your vehicle's exhaust system, runs it through a short cycle, and records whether the pollutants stay below your state's limits. You pass or fail based on those numbers alone; there is no partial credit or retesting within the same visit in most states.
The single most important step before testing is to make sure your engine is in good working condition. A car that runs poorly will almost always fail. This means addressing any check engine light, getting an oil change if you are overdue, and making sure your gas cap is tight (a loose cap can trigger a sensor that causes failure). If your car has been sitting unused for weeks, drive it for at least 20 minutes on the highway before your test appointment to warm up the engine and clear out any buildup.
You will need your vehicle registration and proof of insurance at the testing station. Some states also require your vehicle identification number (VIN) or odometer reading. Check your state's testing website to confirm what documents to bring — requirements vary.
Key Takeaways
- Fix any check engine light and perform basic maintenance like oil changes before your test, because a poorly running engine is the most common reason for failure.
- Drive your car for at least 20 minutes on the highway before your appointment to warm the engine and clear deposits that can cause high emissions.
- A loose or missing gas cap will often cause failure on its own, so check it before you arrive at the testing station.
- If you fail, you typically have 30 days to repair the problem and retest at no additional cost, though this varies by state.
Address check engine lights and diagnostic trouble codes
If your check engine light is on, the testing station's equipment will read the diagnostic trouble code stored in your vehicle's computer. Many states will fail you automatically if a code is present, even if your emissions numbers would otherwise pass. You do not need to fix the underlying problem before testing — you just need the code cleared or the light off.
You can have the code read for free at many auto parts stores like AutoZone or O'Reilly. Write down the code number (it will look like P0420 or similar). Some codes point to straightforward fixes: a loose gas cap, a faulty oxygen sensor, or a catalytic converter problem. Others are harder to diagnose. If the code is something you can fix yourself or affordably at a shop, do it before testing. If the repair is expensive and you are not sure it is necessary, ask the testing station whether that specific code will cause an automatic failure in your state — some codes are warnings, not test failures.
Get an oil change and replace your air filter
Old oil and a clogged air filter both make your engine work harder and produce more emissions. If your oil change is overdue by more than 500 miles, get it done before testing. Use the oil grade specified in your owner's manual — using the wrong grade can affect emissions readings.
A dirty air filter is one of the easiest things to fix and one of the most common culprits in borderline failures. If you cannot remember when you last replaced it, replace it now. This is a 10-minute job at any shop and costs between $20 and $50. If your car has high mileage or you drive in dusty conditions, check the filter yourself — hold it up to a light and if you cannot see through it clearly, it needs replacing.
Warm up your engine before the test
Emission tests measure pollutants more accurately when your engine is at normal operating temperature. A cold engine produces higher emissions readings. If you drive straight from home to the testing station on a short trip, your engine may still be warming up when the test begins, which can cause you to fail even if the car would pass when fully warmed.
Drive for at least 20 minutes on the highway before your appointment, with the engine running at normal driving speeds. This warms the catalytic converter and clears out any fuel residue or carbon buildup. Avoid idling in traffic or sitting in the parking lot with the engine running — you need actual driving, not just time. If your appointment is early in the morning, drive the night before or arrive early and take a short highway drive before checking in.
Check your gas cap and fuel system
A loose, missing, or damaged gas cap is one of the most common reasons for emission test failure. The cap seals your fuel system, and without a proper seal, fuel vapors escape and trigger both a check engine light and high hydrocarbon readings. Before you go to the testing station, open your fuel door and make sure the cap is there, tight, and not cracked.
If your cap is missing or damaged, buy a replacement at any gas station or auto parts store for $5 to $15. Make sure you get the correct cap for your vehicle — the part number is usually printed on the old cap or in your owner's manual. Screw it on until you hear a click; do not over-tighten. If you replaced the cap recently, drive for a few miles to let the system reset before testing.
Know what to expect during the actual test
When you arrive at the testing station, you will check in with your registration and insurance. The technician will visually inspect your vehicle for obvious problems like a missing catalytic converter or exhaust damage. Then they will connect a probe to your tailpipe and run the test, which usually takes 10 to 15 minutes.
During the test, your car may be put on a dynamometer (a treadmill-like device for the wheels) or tested while idling and revving, depending on your state's protocol. You will see the results on a screen within minutes. If you pass, you are done — your results are recorded with the state. If you fail, you will receive a printout showing which pollutants exceeded the limit. Keep this printout; you will need it to show a mechanic what to fix.
What to do if you fail and need to retest
Most states give you 30 days to fix the problem and retest at no additional cost. Some states allow one free retest; others charge a small fee for the second test. Check your state's rules on the testing website or ask the technician before you leave.
Take your failure printout to a mechanic and explain which emissions were too high. High nitrogen oxides often point to ignition timing or fuel injection problems. High hydrocarbons usually mean incomplete combustion, which can be caused by a bad spark plug, fuel injector, or oxygen sensor. High particulate matter in diesel vehicles often means the diesel particulate filter needs cleaning. A good mechanic can narrow down the cause based on the specific pollutant that failed.
After repairs, drive for at least 20 minutes on the highway again before your retest appointment. This ensures the engine is warm and any fault codes are cleared. If you fail a second time, some states allow a third test or have a waiver process for vehicles that have been repaired but still cannot pass — ask the testing station about your state's policy.
Frequently Asked Questions
Can I pass an emission test if my check engine light is on?
In most states, no — the testing equipment will read the diagnostic code and fail you automatically, even if your actual emissions numbers are acceptable. You need the light off or the code cleared before testing. This does not always mean you need an expensive repair; sometimes it is just a loose gas cap or a sensor that needs resetting.
What if I fail because of a problem I cannot afford to fix?
Some states have hardship waivers or extended timelines for low-income drivers, but these vary widely. Contact your state's environmental or transportation agency to ask about your options. A few states also allow you to fail twice and still register your vehicle if you can show you made a good-faith repair attempt.
How long does an emission test take?
The actual test takes 10 to 15 minutes. The whole visit, including check-in and paperwork, usually takes 30 to 45 minutes. Some testing stations have walk-in appointments, but many require you to book ahead, especially during peak testing months.
Do I need to do anything special to my car if I have not driven it in a while?
Yes — drive it for at least 20 minutes on the highway before your test appointment. A car that has been sitting will have a cold engine and may have fuel or carbon buildup that causes high emissions readings. The highway drive warms the catalytic converter and clears the system.
What happens if I pass my emission test?
The testing station sends your results to your state's environmental agency, and your vehicle registration is updated. You will not receive a separate document — your passing test is recorded in the system. When you renew your registration, the state will confirm that your vehicle passed emissions testing.