What a smog test measures and why your state requires it
A smog test, also called an emissions test or smog check, measures how much pollution your vehicle's exhaust produces. The test checks for nitrogen oxides, particulate matter, and hydrocarbons — the pollutants that create smog and harm air quality. States with poor air quality, particularly California, require all registered vehicles to pass this test before you can renew your registration.
The test itself takes about 10 to 15 minutes and costs between $30 and $80 depending on your state and vehicle type. You cannot register your vehicle without a passing result, and you cannot legally drive without current registration. If your vehicle fails, you have options: repair it and retest, or in some cases, seek a waiver if repairs are too expensive.
Not every state requires smog testing. States with federal air quality violations — mainly California, New York, Massachusetts, and a handful of others — mandate it. If you live in a state that does require it, you must test before your registration expires, typically every two years.
Key Takeaways
- A smog test measures exhaust pollution and takes 10 to 15 minutes at a certified testing station.
- You must pass before renewing your vehicle registration; failure means you cannot legally drive until repairs are made and you retest.
- The test costs $30 to $80 and is required only in states with federal air quality violations, mainly California and a few others.
- If your vehicle fails, you can repair it and retest, or in some states request a waiver if repair costs exceed a certain threshold.
- Newer vehicles (usually 8 years old or newer) often skip the test entirely, and some states exempt electric or hybrid vehicles.
How the testing station runs your vehicle through the smog test
When you arrive at a certified testing station, bring your vehicle registration, proof of insurance, and a photo ID. The technician will ask for your vehicle identification number (VIN) and current mileage. They will then connect your vehicle to a dynamometer — a machine that measures your engine's output — or in some cases, use an on-board diagnostic (OBD) scanner that reads data directly from your vehicle's computer.
For older vehicles, the dynamometer test involves driving your car on rollers while the machine measures emissions under simulated highway and city driving conditions. For newer vehicles (usually 1996 and later), the technician plugs a scanner into your OBD port, usually located under the steering wheel or dashboard, and reads the emissions data your vehicle's computer has already recorded. This OBD test is faster and does not require you to drive on the rollers.
The test produces a pass or fail result on the spot. A pass means your emissions are within the state's limits. A fail means your vehicle produced too much pollution and cannot be registered until you repair it and retest. The testing station will give you a printed report showing which emissions exceeded limits.
What happens if your vehicle fails the smog test
A failing result does not mean your vehicle is unsafe to drive — it means the emissions are too high for your state's air quality standards. You have several paths forward. The most common is to take your vehicle to a repair shop, have the mechanic diagnose and fix the problem (often a faulty oxygen sensor, catalytic converter issue, or engine control problem), and then return to a testing station to retest.
Retesting costs the same as the initial test, $30 to $80. Some states allow you to retest at the same station for free within a certain window (often 30 days), so ask before you leave if that option exists. You do not need to wait for your registration to expire before retesting — you can retest as soon as repairs are complete.
If repair costs are very high, some states offer a waiver program. California, for example, allows a waiver if repairs would cost more than $500 to $800 (the threshold varies by vehicle age). To request a waiver, you typically must show a written repair estimate from a shop and submit it to the testing station or your local air quality district. A waiver lets you register your vehicle despite the failed test, but it is usually a one-time option and does not excuse future tests.
Which vehicles are exempt from smog testing
Not every vehicle on the road must pass a smog test, even in states that require testing. Newer vehicles, typically those 8 years old or newer, are often exempt because they have advanced emissions control systems that rarely fail. Some states exempt vehicles that are only 6 years old; others use 10 years as the cutoff. Check your state's specific rules, as the age threshold varies.
Electric vehicles and plug-in hybrids are exempt in most states because they produce zero tailpipe emissions. Diesel vehicles sometimes follow different rules than gasoline vehicles and may be tested at separate facilities. Vehicles registered as classic or collector cars are often exempt as well, though they must still be registered.
If your vehicle falls into an exempt category, you will not be required to test, but you still must renew your registration. The registration renewal notice will tell you whether testing is required for your specific vehicle.
When to schedule your smog test before registration expires
You should schedule your test before your registration expires, not after. Once your registration lapses, you cannot legally drive your vehicle, even to the testing station. Most states allow you to test up to 30 days before your registration expires, and the passing result is valid for the full registration period.
Plan to test at least two weeks before your registration expires. This gives you time to receive your test results, handle any repairs if you fail, and retest if needed — all before your registration important date. If you wait until the last few days and fail, you may not have time to repair and retest before your registration expires.
You can find certified testing stations through your state's air quality district website or by searching online for "smog test near me" plus your state. Call ahead to confirm hours and whether they accept walk-ins or require an appointment, as some stations book up during peak renewal periods.
What to do if you move to a state with different smog testing rules
If you relocate from a state that requires smog testing to one that does not, you do not need to retest your vehicle. Your out-of-state registration is valid until it expires, and when you register in your new state, you follow that state's rules going forward. If the new state does not require testing, you will not be tested.
The reverse is also true: if you move from a state with no testing requirement to one that does, you will need to pass a smog test before you can register your vehicle in the new state. Some states allow a grace period of 30 to 60 days after you move to complete testing and registration, but do not rely on this — contact your new state's DMV when ready to confirm the timeline.
Common reasons vehicles fail smog tests and how to prevent them
The most common failure causes are a faulty oxygen sensor, a malfunctioning catalytic converter, or a loose or missing gas cap. These are usually inexpensive to fix — a gas cap replacement costs under $20, and an oxygen sensor typically runs $100 to $300 in labor and parts. A catalytic converter is more expensive, often $500 to $1,500, which is why many states offer waivers for high repair costs.
To reduce the chance of failure, keep your vehicle well-maintained: change oil on schedule, replace air filters as recommended, and address any check engine light when ready. If your check engine light is on, get it diagnosed before testing — the light often indicates an emissions problem that will cause a test failure. Avoid testing when ready after a short drive; let your engine warm up fully, as a cold engine produces higher emissions.
If you have not driven your vehicle in several months, take it for a 20-minute highway drive before testing. This helps clear out any buildup and allows the engine computer to run its self-diagnostic cycle, which can improve test results.
Frequently Asked Questions
Can I test my vehicle before my registration expires?
Yes. Most states allow testing up to 30 days before your registration expires. The passing result is valid for your full registration period, so you can test early and renew your registration when ready. Testing early gives you a buffer if you fail and need time to repair and retest.
What if I fail the smog test and cannot afford repairs?
If repair costs are high, you may be able to request a waiver. California and some other states waive the requirement if repairs exceed $500 to $800 (the threshold varies). You will need a written repair estimate from a shop. A waiver usually allows you to register once, but you may be required to test again the following year.
Do I need to test if I just bought a used vehicle?
That depends on your state and the vehicle's age. If the vehicle is within the exempt age range (usually 8 years old or newer), you do not need to test before registration. If it is older and your state requires testing, you must pass before you can register it in your name.
How long does a smog test take?
The actual test takes 10 to 15 minutes. However, you should plan for 30 to 45 minutes total, including check-in, paperwork, and waiting time. Peak periods (near registration important date) can mean longer waits, so arrive early or call ahead to ask about wait times.
What if my vehicle's check engine light is on?
Most testing stations will not test a vehicle with an active check engine light because the light usually indicates an emissions problem. Get the code read and the issue diagnosed before testing. Once the problem is fixed and the light is off, you can retest.