What you need to do before test day
A smog test measures whether your vehicle's emissions meet your state's standards. To pass, your car needs to be in decent running condition — you don't need a perfect engine, but you do need one that's not dumping excess pollutants. The single most effective step is to drive your car normally for at least 100 miles in the week before your test. This heats up the engine and clears out carbon buildup that can trigger a failed reading.
Check your gas cap before you go. A loose or missing cap can cause the test to fail when ready, even if your emissions are fine. Tighten it or replace it if it's cracked. If your check engine light is on, get that diagnosed and repaired before scheduling the test — most states will fail you automatically if that light is illuminated, regardless of what the emissions actually are.
Make sure your tires are properly inflated to the pressure listed on the driver's door jamb, not the maximum pressure on the tire itself. Underinflated tires can affect how the dynamometer (the machine that measures your emissions) reads your vehicle's performance.
Key Takeaways
- Drive your vehicle for at least 100 miles in the week before your test to warm up the engine and clear carbon deposits.
- A loose or missing gas cap will cause an automatic failure, so check and tighten it before you arrive.
- If your check engine light is on, have the problem diagnosed and fixed before scheduling your test.
- Bring your vehicle registration and a valid ID to the testing station; requirements vary slightly by state.
- If you fail, you typically have 30 days to make repairs and retest at no additional cost, though this varies by state.
Common reasons vehicles fail smog tests
The most frequent failure is a vehicle that hasn't been driven enough before the test. A cold engine or one that hasn't completed its warm-up cycle produces higher emissions readings. This is why the 100-mile drive matters — it's not about distance for its own sake, but about getting the engine to operating temperature and cycling through different load conditions.
Oxygen sensor problems cause many failures. This sensor tells your engine how much fuel to burn, and when it's failing, your engine runs too rich (too much fuel) and produces excess emissions. You may or may not see a check engine light. If your vehicle is older or has high mileage, have the oxygen sensor checked before test day.
Catalytic converter issues are another common culprit. A failing converter won't clean your exhaust properly. If your vehicle has been running rough, hesitating, or losing power, the converter may be the problem. This is expensive to fix, but it's also a safety issue — a failing converter can overheat and damage your vehicle.
Fuel system problems — a dirty fuel injector, a failing fuel pressure regulator, or a clogged fuel filter — can also cause high emissions. If your vehicle idles roughly or hesitates when accelerating, these are worth investigating before the test.
What happens during the smog test itself
The testing station will ask for your vehicle registration and a valid ID. They'll record your vehicle's information and mileage. For most vehicles, the test takes 10 to 20 minutes and happens in one of two ways: a tailpipe test, where a probe is inserted into your exhaust pipe to measure emissions directly, or an on-board diagnostic (OBD) test, where the technician plugs a scanner into your vehicle's computer port to read emissions data.
Which test you get depends on your vehicle's model year and your state's rules. Newer vehicles (usually 1996 and later) typically get the OBD test, which is faster and less invasive. Older vehicles usually get the tailpipe test. Some states do both.
During a tailpipe test, your vehicle may be placed on a dynamometer — a machine with rollers that simulate driving. The technician will rev your engine to specific RPMs while the machine measures what comes out of your exhaust. Stay calm and follow the technician's instructions. Don't rev the engine yourself or try to help — just let them run the test.
What to do if you fail
If your vehicle fails, you'll receive a report showing which emissions exceeded the limit. In most states, you have 30 days to make repairs and return for a retest at no additional charge. Some states allow one free retest; others may charge a small fee for a second test. Check your state's specific rules when you get your failure notice.
Use the failure report to guide your repairs. If nitrogen oxides (NOx) are high, the problem is usually ignition timing or engine temperature. If hydrocarbons (HC) or carbon monoxide (CO) are high, look at fuel system issues, oxygen sensors, or the catalytic converter. Take the report to a trusted mechanic — they can use it to narrow down what needs fixing rather than guessing.
Don't ignore a failure. If you don't retest within the allowed window, you typically cannot renew your vehicle registration. Some states will allow you to retest later, but you may face penalties or have to start the process over.
Maintenance steps that improve your chances
An oil change a week or two before your test won't hurt. Fresh oil helps your engine run more efficiently, though it's not a magic fix. If your oil is very dirty or overdue, changing it is worth doing anyway for your engine's health.
Use a fuel system cleaner additive in your gas tank a few fill-ups before the test. These are inexpensive (usually $10 to $20) and can help clear minor fuel injector deposits. They're not a substitute for actual repairs, but they can help a borderline vehicle pass.
Make sure your air filter is clean. A clogged air filter forces your engine to run rich and can increase emissions. If you can see light through the filter when you hold it up, it's fine. If it looks dark and clogged, replace it — it's a straightforward job that costs $15 to $40 and takes minutes.
Check your battery. A weak battery can cause your engine computer to run in a default mode that produces higher emissions. If your battery is more than three years old or shows signs of weakness (slow cranking, dim lights), consider replacing it before the test.
State-by-state differences in smog testing
Not all states require smog tests, and those that do have different rules. California, for example, tests all vehicles every two years and has stricter standards than most other states. Texas requires tests in certain counties but not others. New York tests vehicles over four years old. Check your state's Department of Motor Vehicles website or your vehicle registration notice to see whether you need a test and how often.
Some states allow you to test at any certified station; others have a network of official testing locations. Some states allow repairs to be done anywhere; others require repairs at state-certified shops. A few states offer waivers for vehicles that fail if repairs would cost more than a certain amount (often $500 to $700). These rules change, so confirm what applies to you before you spend money on repairs.
The cost of the test itself ranges from about $30 to $80 depending on your state and vehicle type. Diesel vehicles and motorcycles may have different fees. Call ahead to confirm the price and whether you need an appointment.
When to consider a pre-test inspection
If your vehicle is older, has high mileage, or has been running rough, consider paying a mechanic to do a pre-test inspection. This usually costs $50 to $100 and involves checking your oxygen sensors, catalytic converter, fuel system, and engine computer for stored fault codes. It's not required, but it can save you money if it catches a problem that would cause a failure.
A pre-test inspection is especially worth doing if you've already failed once. It gives you a clear picture of what needs fixing before you spend money on repairs and then fail again. Many shops will credit the inspection fee toward repair costs if you have work done there.
Frequently Asked Questions
Can I pass a smog test if my check engine light is on?
No. Most states automatically fail any vehicle with an illuminated check engine light, even if the emissions readings would otherwise pass. Have the problem diagnosed and repaired, then clear the code before you test. The light must be off when you arrive at the testing station.
What if I just got my vehicle repaired but it still failed?
Ask the repair shop whether they stand behind their work. Many shops offer a warranty on repairs and will retest for free or at a reduced cost if the problem persists. If the shop won't help, take your failure report to a different mechanic for a second opinion on what needs fixing.
Do I have to use a specific repair shop to pass a retest?
Most states allow you to use any repair shop you choose. A few states require repairs at certified shops, so check your state's rules. Regardless of where you get repairs, keep your receipts — some states require proof of repairs before you can retest.
How long does it take to get smog test results?
You'll know whether you passed or failed before you leave the testing station. The technician will print a report on the spot. If you passed, you're done. If you failed, the report will show your emissions readings and what exceeded the limit.
Can I test my vehicle before the official test to see if it will pass?
Some independent shops and chain stores offer pre-test emissions checks for $20 to $50. These aren't official and won't count toward your registration, but they can give you a heads-up about whether your vehicle is likely to pass. This can be useful if you're on the fence about whether to invest in repairs.