What happens during a smog check and why your car might fail

A smog check tests whether your vehicle's emissions fall within the limits your state has set. A technician plugs a diagnostic scanner into your car's onboard computer, reads the emissions data, and checks that your catalytic converter and oxygen sensors are working. The test takes about 10 to 15 minutes. Your car fails if the emissions exceed the standard, or if the scanner detects a check engine light or a pending fault code — even if the light isn't currently on.

Most failures happen because of a problem the car is already signaling: a loose gas cap, a faulty oxygen sensor, a bad catalytic converter, or an issue with the evaporative emissions system. Some cars fail because they haven't been driven enough at highway speeds to clear out old diagnostic codes, or because the engine computer hasn't completed its self-check cycle yet. A few fail because the test station's equipment was miscalibrated, though this is rare.

Key Takeaways

  • Before you test, check that your gas cap is tight, your check engine light is off, and your car has been driven at highway speeds for at least 10 minutes in the past few days.
  • If your check engine light is on, take your car to a mechanic before the smog check — the test station will reject it when ready.
  • Older cars and cars with high mileage fail more often, but a well-maintained vehicle of any age can pass if the emissions system is working.
  • If you fail, ask the test station for a copy of the diagnostic report so you know exactly what to fix, then have a mechanic address that specific problem.
  • Some states allow a retest at a reduced cost within a certain window after a failure, so check your state's rules before paying for repairs.

The steps to take before your test appointment

Start by checking your gas cap. A loose or damaged cap will trigger a fault code and cause an when ready failure. Tighten it firmly — you should hear or feel a click. If the cap is cracked or missing, buy a replacement at any auto parts store for a few dollars.

Next, look at your dashboard. If your check engine light is on, do not go to the test station yet. The test will fail automatically. Instead, take your car to a mechanic or an auto parts store that reads codes for free. They will tell you what triggered the light. Common culprits are a faulty oxygen sensor, a bad catalytic converter, or a loose gas cap you may have already missed. Have the problem fixed before you reschedule your test.

If your check engine light is off, drive your car at highway speeds — 55 mph or faster — for at least 10 minutes sometime in the week before your test. This helps the engine computer complete its self-diagnostic cycle and clears out old codes that might still be stored. If you have not driven the car much lately, this step matters more.

Make sure your car is in good general condition. Your tires should be properly inflated, your oil should be at the right level, and your engine should not be misfiring or running rough. If your car sounds or feels wrong, have a mechanic look at it before the test.

What to expect at the test station

When you arrive, bring your vehicle registration and a valid ID. The technician will ask you questions about your car — the year, make, model, and engine type — to make sure they are testing it to the right standard. Different model years and engine sizes have different emissions limits.

The technician will then connect a scanner to your car's diagnostic port, usually located under the steering wheel or near the driver's side door. The scanner reads data from your engine computer. This takes a few minutes. The technician is looking for two things: whether any fault codes are stored in the computer, and whether your emissions numbers fall within the legal range.

If everything passes, you will receive a certificate or a sticker, depending on your state. This document proves your car met the emissions standard. Keep it with your registration — you may need to show it when you renew your vehicle registration or sell the car.

What to do if you fail

If you fail, ask the test station for a printed copy of the diagnostic report. This report shows exactly which emissions were too high or which fault code was detected. Do not leave without it — this information tells a mechanic what to fix.

Take the report to a mechanic you trust. Show them the specific code or the emissions numbers that failed. A good mechanic will not replace parts at random; they will diagnose the exact cause of the failure and fix only what needs fixing. This saves you money and time.

Before you pay for repairs, ask the mechanic for an estimate. If the repair is expensive, you can get a second opinion from another shop. Some common repairs — like replacing an oxygen sensor or tightening an emissions hose — are inexpensive. Others, like catalytic converter replacement, can cost more, but your mechanic can tell you what to expect.

Retesting after a failure

Most states allow you to retest at a reduced cost within 30 days of a failure, though some states have different windows. Check your state's smog check rules before you schedule repairs — knowing the retest window helps you plan.

After your mechanic finishes the repair, drive the car at highway speeds again for at least 10 minutes to let the engine computer confirm the fix worked. Then schedule your retest. Bring the same documents you brought the first time.

If you fail a second time, the same process applies: get the diagnostic report, show it to a mechanic, and have them fix the specific problem. Repeated failures usually mean either the original problem was not fully fixed, or a different emissions component has failed. A mechanic can help you figure out which.

Maintenance habits that prevent smog check failures

The best way to pass a smog check is to keep your car maintained. Change your oil on schedule, replace your air filter every 12,000 to 15,000 miles, and have your mechanic inspect your emissions system during regular service visits. Many emissions problems start small and get worse over time — catching them early is cheaper than waiting until the smog check fails.

Drive your car regularly at highway speeds. Cars that sit for long periods or are driven only in stop-and-go city traffic sometimes fail because the engine computer has not completed its full diagnostic cycle. A weekly highway drive keeps the system running and helps clear out minor codes.

Pay attention to warning lights and unusual sounds. If your check engine light comes on, or if your car sounds like it is misfiring or running rough, have it checked soon. These are signs that something in the emissions system may be failing, and fixing it early is easier and cheaper than waiting.

Frequently Asked Questions

Can I pass a smog check if my check engine light is on?

No. The test station will reject your car when ready if the check engine light is on or if a fault code is stored in the computer. You must have the problem diagnosed and fixed before you can test. Take your car to a mechanic or an auto parts store that reads codes for free to find out what triggered the light.

How long does a smog check take?

The actual test takes 10 to 15 minutes once you are at the station. Waiting time depends on how busy the station is — it could be a few minutes or an hour. Call ahead or check online to see if the station takes appointments, which can reduce your wait.

What if I fail because of an old fault code that is not a real problem anymore?

This can happen if your car was repaired but the old code was never cleared from the computer. A mechanic can clear the code using a diagnostic scanner, then you can drive the car for a few days to let the computer run through its self-check. If the code does not come back, you can retest. Some test stations will also clear old codes for you if you ask.

Do I have to use a specific test station, or can I go anywhere?

Your state's smog check program lists all authorized test stations. You can choose any station on the list. Some stations are faster or less busy than others, so you can shop around. Make sure the station is authorized for your vehicle type — some test only passenger cars, while others test trucks or motorcycles too.

What if my car is too old to have a diagnostic port?

Very old cars — usually before the mid-1990s — may not have an onboard computer or diagnostic port. These cars are often tested differently, using a tailpipe emissions test instead of a computer scan. Check your state's smog check rules or call your local test station to find out what test your car needs.