What actually happens during an emission test and what fails you

An emission test measures what comes out of your tailpipe—specifically nitrogen oxides, particulate matter, carbon monoxide, and hydrocarbons. A machine plugs into your vehicle's diagnostic port (usually under the steering wheel) and reads what your engine is producing. The test also checks that your emissions control systems are working and that you haven't tampered with them.

You fail if your vehicle produces pollutants above the legal limit for your state, or if your check engine light is on, or if your emissions control equipment has been removed or disabled. Some states also fail you if your gas cap is missing or damaged—a loose cap lets fuel vapors escape, which counts as emissions. The specific limits and which pollutants matter most vary by state and by how old your vehicle is.

Most vehicles that fail do so because the engine isn't running efficiently, not because something is catastrophically broken. A clogged air filter, old spark plugs, low tire pressure, or a malfunctioning oxygen sensor can all push you over the limit. The good news is that these are fixable, and often cheaply.

Key Takeaways

  • Your vehicle fails the test if pollutant levels exceed your state's limits, your check engine light is on, or your emissions control systems have been removed or disabled.
  • Most failures come from poor engine efficiency caused by worn spark plugs, a clogged air filter, low tire pressure, or a faulty oxygen sensor—all fixable maintenance items.
  • Running your vehicle on the highway for 15 to 20 minutes before the test clears out carbon buildup and gives your engine the best chance to pass.
  • If you fail, you can usually retest after repairs, and many states waive the retest fee if you fix the problem within a set time frame.

Prepare your vehicle in the weeks before the test

Start with the basics: check your tire pressure and inflate all four tires to the pressure listed on the driver's door jamb (not the maximum on the tire itself). Underinflated tires increase rolling resistance, which makes your engine work harder and produce more emissions. This is one of the easiest and cheapest things to fix.

Replace your engine air filter if it looks visibly dirty or clogged. A clean filter lets air flow freely into the engine, which improves combustion and lowers emissions. You can do this yourself in most vehicles—it takes five minutes and costs $15 to $40. Check your owner's manual for the location.

If your spark plugs are due (usually every 30,000 miles, though some modern plugs last longer), replace them before the test. Worn plugs don't ignite fuel as efficiently, which means unburned fuel and higher emissions. This is more involved than an air filter and may cost $100 to $300 depending on your vehicle, but it's worth doing if you're close to the service interval anyway.

Top off your fuel tank the day before the test. Some states require a full tank for the test to be valid. Even if yours doesn't, a full tank gives you a better chance of passing because the fuel system is less likely to introduce air into the line, which can affect readings.

Drive your vehicle correctly in the days before testing

Avoid short trips and idling in the days leading up to the test. Short drives don't let your engine reach full operating temperature, which means the emissions control systems don't work as well as they should. If you must drive short distances, combine them into one longer trip.

About 15 to 20 minutes before you go to the test station, drive on the highway or a main road at steady speed. This "highway drive" clears out carbon buildup in the engine and exhaust system and brings the engine to full operating temperature. Your emissions control systems work best when the engine is warm, so arriving at the test station with a warm engine gives you the best chance to pass.

Do not rev the engine or drive aggressively in those final minutes. Steady, moderate acceleration is what you want. The goal is to warm the engine and clear the system, not to stress it.

What to check if your check engine light is on

If your check engine light is on, you will fail the test regardless of your actual emissions levels. The light means your vehicle's onboard diagnostic system has detected a problem—it could be something minor like a loose gas cap, or something more serious like a faulty oxygen sensor.

Before you go to the test station, use a code reader (available at most auto parts stores for $25 to $100, or you can borrow one) to find out what triggered the light. Many stores will read the code for free. Once you know the code, you can decide whether to fix it yourself or take it to a mechanic. Common codes that cause test failures include P0171 (fuel system too lean), P0300 (random misfire), and P0420 (catalytic converter efficiency below threshold).

If you can't identify the problem or the fix is expensive, you still have options. Some states allow you to retest after a certain number of days even if the light is still on, as long as you've made a good-faith repair attempt. Check your state's rules before you give up.

Understand what happens if you fail

Failing the test does not mean your vehicle is unsafe or that you've broken the law. It means your emissions are above the legal limit for your state. You will receive a report that tells you which pollutants were too high and by how much.

Most states allow you to retest after you make repairs. Many waive the retest fee if you retest within 30 to 60 days (the window varies by state). Some states also have a "waiver" program: if you fail twice and have spent a certain amount on repairs (usually $300 to $500), you can get a waiver that lets you register your vehicle anyway. This is not a free pass—you still have to make a genuine repair attempt, and the waiver is temporary.

If your vehicle is very old or has serious mechanical problems, a mechanic can help you understand whether the repair is worth the cost. Sometimes a vehicle that barely fails can be brought into compliance with a $200 repair; sometimes a vehicle that fails badly will need $1,000 or more in work. Get a diagnosis before you commit to repairs.

Know the rules about emissions control equipment

Your vehicle has several emissions control systems: the catalytic converter, the oxygen sensors, the exhaust gas recirculation (EGR) valve, and the evaporative emissions control (EVAP) system. All of these must be present and functional for you to pass the test. Removing or disabling any of them is illegal and will cause you to fail.

If a previous owner removed or disabled any of this equipment, you will need to have it restored before you can pass. This is more expensive than routine maintenance—a catalytic converter alone can cost $500 to $2,500 depending on your vehicle—but it is the only way to pass the test and stay legal.

If you suspect tampering, a mechanic can inspect your vehicle and tell you what's missing or disabled. Do this before you take the test so you know what you're dealing with.

What to do at the test station

Arrive with a warm engine (that 15- to 20-minute highway drive you did before heading to the station). The technician will plug a machine into your diagnostic port and run the test. The whole process usually takes 10 to 15 minutes. You will be asked to sit in the vehicle while the test runs, or you may be asked to wait in a waiting area—it depends on the station.

The technician will tell you when ready whether you passed or failed. If you pass, you will receive a certificate or a sticker (depending on your state) that you need to register your vehicle. If you fail, you will get a report showing which pollutants were too high. Keep this report—it tells you what to fix.

Do not argue with the results or ask for a retest on the spot. The machine is calibrated and the test is standardized. If you believe there was an error, you can request a retest at a different station, but this usually costs another fee and is rarely worth it. Instead, make the repairs the report suggests and retest.

Frequently Asked Questions

Can I pass the test if my check engine light is on?

No. Your vehicle will fail the test if the check engine light is on, even if your actual emissions are within limits. You must turn off the light before you test. Use a code reader to find out what triggered it, fix the problem if you can, or take it to a mechanic.

How long does it take to get results after the test?

You get the results when ready at the test station. If you pass, you receive your certificate or sticker right away. If you fail, you get a report showing what pollutants were too high. You can retest as soon as you've made repairs.

What if I fail because of a faulty oxygen sensor?

An oxygen sensor usually costs $150 to $400 to replace, depending on which sensor and which vehicle. Replacing it is straightforward for a mechanic. After replacement, clear the check engine light (or let it clear itself after a few drive cycles), then retest.

Do I have to fix my vehicle if I fail, or can I just get a waiver?

You must make a genuine repair attempt. A waiver is only available after you fail twice and have spent money on repairs—usually $300 to $500 depending on your state. The waiver is temporary and you still have to register your vehicle. It is not a way to avoid repairs entirely.

What if my vehicle is too old or too damaged to pass?

Some states have programs for vehicles that repeatedly fail or are too expensive to repair. Check your state's emissions program website to see if you may have access to for a hardship waiver or if your vehicle is exempt due to age. Exemptions vary widely by state.