What happens during an emissions test and what you need to know before you go

An emissions test measures what your vehicle's exhaust contains — primarily nitrogen oxides, particulate matter, and hydrocarbons — and compares those levels against your state's standards. The test itself takes 20 to 45 minutes and involves driving on a dynamometer (a treadmill for cars) while a machine reads your tailpipe output, or in some states, a simpler on-board diagnostic scan that reads your vehicle's computer. You do not need to do anything special during the test itself; the technician runs it while you sit in the car.

The key to passing is arriving with a vehicle that is actually ready to be tested. Most failures happen because the engine computer has not completed its self-diagnostic cycle, the check engine light is on, or basic maintenance has been skipped. A vehicle that runs rough, has visible exhaust smoke, or has not been driven regularly in the weeks before the test is at higher risk of failing.

Key Takeaways

  • Drive your vehicle for at least 100 miles at highway speeds in the week before your test to complete the engine computer's diagnostic cycle, which is required in most states.
  • Check that your check engine light is off and your gas cap is tight; either one will cause an automatic failure in most testing programs.
  • Keep your maintenance current — a vehicle overdue for an oil change, air filter replacement, or spark plugs is more likely to fail.
  • If you fail, you usually have 30 days to fix the problem and retest at no additional cost, though this varies by state.

The engine computer diagnostic cycle and why it matters

Your vehicle's onboard computer runs a series of self-tests called the OBD-II cycle (onboard diagnostic cycle). These tests check whether your emissions control systems are working correctly. In most states, the test center's scanner will not even begin the emissions test until this cycle is complete. If it is not complete, you will fail automatically, even if your vehicle would pass if the cycle were finished.

To complete the cycle, drive your vehicle for at least 100 miles at a mix of highway and city speeds. Highway driving at steady speeds is especially important — aim for at least 30 minutes of continuous highway driving at 50 mph or faster. This gives the computer time to run through all its checks. Do this in the week before your test, not the day before. If you have not driven the vehicle much recently, or if you just had the battery disconnected or replaced, the cycle resets and you need to complete it again.

Some states have a "drive cycle" requirement that is more specific. Check your state's emissions testing website or call the test center to confirm what counts as a completed cycle in your area.

Check engine light, gas cap, and other automatic failure points

If your check engine light is on when you arrive at the test center, you will fail. Period. The light indicates that your vehicle's computer has detected a problem, and testing centers will not proceed. You do not need to know what the problem is — you just need to get it diagnosed and fixed, or have the code cleared by a technician, before you return.

A loose or missing gas cap will also cause an automatic failure in most states. The cap is part of your vehicle's emissions control system because it prevents fuel vapors from escaping. Before you leave for the test, open your fuel door and make sure the cap is hand-tight. This is one of the easiest things to fix and one of the most common reasons people fail unnecessarily.

Your vehicle's tires should also be properly inflated. Underinflated tires increase rolling resistance and make the engine work harder during the test. Check your door jamb or owner's manual for the correct pressure and inflate to that number, not the maximum pressure listed on the tire itself.

Maintenance tasks that improve your chances

A vehicle that is overdue for routine maintenance is more likely to fail. If your oil change, air filter, or spark plugs are past due, handle those before the test. An engine running on old oil or a clogged air filter has to work harder and produces more emissions. Spark plugs that are worn out can cause misfires, which will show up on the test.

Check your air filter yourself — it is usually accessible under the hood and takes two minutes to inspect. If it looks dark or clogged, replace it. An air filter costs $15 to $40 and takes 10 minutes to swap. Your oil should be at the correct level on the dipstick; if it is low, top it off before the test.

If your vehicle has a catalytic converter problem — indicated by a rattling sound from underneath, a rotten-egg smell in the exhaust, or a check engine light with a code pointing to the converter — that is a more expensive fix and you should address it before testing. A failing catalytic converter will cause an emissions failure.

What to do if you fail the test

If you fail, the test center will give you a report showing which emissions your vehicle exceeded. You will have a window to fix the problem and retest. In most states, you have 30 days and the retest is free if you return to the same testing location. Some states allow one free retest; others allow two. Check your state's rules.

The report will tell you which system failed — for example, "nitrogen oxides exceeded" or "monitor not ready." This information helps a mechanic know where to look. If the problem is something straightforward like a loose gas cap or an incomplete diagnostic cycle, you may pass on the retest without any repairs. If the problem is real, a mechanic can use the failure code to diagnose it.

If you cannot afford to fix the vehicle, some states have hardship exemptions or allow you to register anyway with a waiver, though this varies widely. Contact your state's emissions program directly to ask what options exist if repair costs are prohibitive.

Preparing the day of the test

Arrive with a full tank of gas or close to it. Some test centers require this, and it ensures your fuel system is working normally. Drive to the test center normally — do not do a hard acceleration run or try to "warm up" the engine in any special way. The test is designed to measure your vehicle's emissions under normal driving conditions.

Bring your vehicle registration and any paperwork the test center requested. Have your keys ready and be prepared to sit in the vehicle while the technician runs the test. The whole process, from check-in to completion, usually takes 30 to 60 minutes depending on the facility's workload.

If you are testing a used vehicle you just bought, make sure the title or bill of sale is in your name or that you have documentation showing you are authorized to test it. Requirements vary by state.

Different test types and what to expect

Most states use one of two test methods. The dynamometer test has you drive on a rolling treadmill while the machine measures your exhaust. You will see the speed increase and decrease on a screen in front of you — just follow the trace like you are driving normally. The test simulates city and highway driving patterns.

The OBD-II scan is simpler: the technician plugs a scanner into your vehicle's diagnostic port (usually under the steering wheel) and reads the data your vehicle's computer has already collected. This takes 10 minutes and does not require you to drive. Some states use OBD-II only; others use it as a pre-screening step before the dynamometer test.

A few states still use the older two-speed idle test, which measures emissions while your vehicle idles at two different RPM levels. This is less common now. Check your state's emissions program website to see which method your area uses.

Frequently Asked Questions

Do I need to warm up my engine before the test?

No. Drive to the test center normally and arrive with your engine at normal operating temperature. The test is designed to measure your vehicle under typical driving conditions, not after a special warm-up. Arriving with a cold engine or an overheated engine can actually hurt your results.

What if I fail because my diagnostic cycle is not complete?

You can retest after completing the drive cycle. Drive at least 100 miles at mixed speeds, including 30 minutes of highway driving, then return to the test center. The retest is usually free within 30 days. You do not need any repairs — just the completed cycle.

Can I pass if my check engine light is on?

No. The test center will not proceed if the light is on. You need to have the code diagnosed and either fixed or cleared by a technician before you return. This does not always mean an expensive repair — sometimes it is a loose gas cap or a sensor issue that is quick to fix.

How often do I need to get my vehicle tested?

That depends on your state and your vehicle's age and type. Most states test every one or two years. Some states test only vehicles over a certain age, and a few have no emissions testing at all. Check your state's emissions program website or your vehicle registration to see when your next test is due.

What if my vehicle is too old or too new to test?

Vehicles older than a certain year (usually 1975 or earlier) are often exempt. Vehicles under a certain age (often four or five years) may also be exempt. Your registration notice will tell you whether your vehicle needs testing. If you are unsure, call your state's emissions program or the test center directly.