What San Francisco's Smog Check requires

San Francisco requires a Smog Check — an emissions test that measures whether your vehicle's exhaust meets California air quality standards. You need one every two years if your car is registered in San Francisco County, unless your vehicle is brand new, electric, or exempt for other reasons.

The test itself takes about 10 minutes. A technician plugs a diagnostic machine into your vehicle's onboard computer port (located under the steering wheel) and reads the emissions data. For older vehicles without that computer connection, the technician performs a tailpipe test instead. You pass or fail based on whether your emissions fall within the legal limits for your vehicle's model year and engine type.

The test costs between $30 and $50 at most stations, though prices vary. You pay whether you pass or fail. If you fail, you have 30 days to fix the problem and retest at no additional charge at the same station.

Key Takeaways

  • San Francisco requires a Smog Check every two years for most vehicles registered in the county, with some exceptions for new cars and electric vehicles.
  • The test plugs into your vehicle's onboard computer or measures tailpipe emissions directly and takes about 10 minutes.
  • You can get tested at any Bureau of Automotive Repair (BAR) certified station in San Francisco, and you must pass before you can renew your vehicle registration.
  • If you fail, you have 30 days to repair the problem and retest for free at the same station.
  • Common failures involve oxygen sensors, catalytic converters, and fuel system leaks — repairs typically cost $200 to $800 depending on the problem.

When your vehicle needs a Smog Check

Your vehicle needs a Smog Check when you renew your registration with the California Department of Motor Vehicles (DMV). The DMV will not issue a new registration sticker without proof of a passing test. You must complete the test within 90 days before your registration expires.

Some vehicles are exempt. New cars (typically model year 2000 and newer with fewer than 6,000 miles) do not need a test for their first registration. Electric vehicles and hydrogen fuel cell vehicles are permanently exempt. Vehicles registered outside California do not need a Smog Check in San Francisco unless they are being registered in California for the first time.

If you are moving to San Francisco from another state, you will need a Smog Check before you can register your vehicle in California, even if it did not need one in your previous state. The test must be done at a California-certified station.

Finding a certified Smog Check station

You can test at any station certified by the Bureau of Automotive Repair (BAR), which is part of California's Department of Consumer Affairs. The BAR maintains a searchable database of certified stations on its website at bar.ca.gov. Search by zip code or station name to find locations near you in San Francisco.

Most independent repair shops, chain shops like Jiffy Lube and Firestone, and some dealerships perform Smog Checks. Call ahead to confirm they are BAR-certified and ask about wait times — some stations get busy during the weeks before registration important date. Many stations accept walk-ins, but you may wait 30 minutes to an hour during peak times.

Do not use an uncertified station. Only a BAR-certified test is valid for DMV registration. If you use an uncertified station, you will have to test again at a certified one, and you will pay twice.

What happens if you fail the test

A failure means your vehicle's emissions exceed the legal limit for its model year. The technician will give you a printed report showing which emissions system failed — usually the oxygen sensor, catalytic converter, fuel system, or engine computer. This report is your roadmap for repairs.

You have 30 days from the test date to fix the problem and retest at the same station for free. You do not pay for the second test. If you cannot fix the problem within 30 days, you can request a Smog Check Star Program extension, which gives you up to 90 days total to repair and retest. You must request this extension before your 30 days expire — ask the testing station how the process works.

If you do not retest within the allowed time, your registration will not renew, and you cannot legally drive the vehicle in California. The DMV will not issue a new registration sticker until you provide proof of a passing test.

Common reasons for failure and repair costs

The most common failure is a faulty oxygen sensor, which monitors exhaust composition and tells the engine computer how to adjust the fuel mixture. A replacement typically costs $150 to $300 in parts and labor. This is usually the cheapest repair.

A failing catalytic converter is the second most common issue. This part cleans up harmful emissions before they leave the tailpipe. Replacement costs $400 to $1,200 depending on your vehicle. Some older vehicles have multiple converters, which increases the cost.

Fuel system leaks, a loose or missing gas cap, and engine computer problems also cause failures. A gas cap replacement costs $15 to $30. A fuel leak repair can range from $200 to $600. Engine computer issues are less common but may require diagnostic work costing $100 to $200 before you know what needs fixing.

If you are unsure what repair is needed, ask the testing station for the name of a repair shop they recommend. Many stations have relationships with nearby shops and can explain the failure in detail.

Smog Check Star Program for older vehicles

If your vehicle is 1975 or older, it may be exempt from Smog Check altogether. Vehicles registered as classic cars or street rods with a special registration classification do not need to test. Check your registration documents or contact the DMV to confirm your vehicle's classification.

If your vehicle is between 1976 and 1999, it must pass a Smog Check, but you may be able to join the Smog Check Star Program if you fail. This program allows vehicles that fail to receive a conditional registration for up to 90 days while you repair and retest. You must meet income requirements and your vehicle must have been registered in California for at least two years. Ask the testing station whether your vehicle qualifies.

Preparing your vehicle before testing

Before you go to a Smog Check station, make sure your vehicle has been driven for at least 20 minutes so the engine is warm. A cold engine can produce inaccurate readings. Also check that your gas cap is tight — a loose cap triggers a failure on many vehicles.

If your check engine light is on, get that diagnosed before testing. The light indicates a problem the computer has detected, and the test will likely fail. Many repair shops will diagnose the issue for $50 to $100 before you pay for a full repair.

Keep your vehicle well-maintained. Regular oil changes, air filter replacements, and spark plug service help keep emissions systems working. If your vehicle is due for maintenance, do that before testing — it is cheaper than failing and having to repair and retest.

Frequently Asked Questions

Can I test in a different county and use that result in San Francisco?

Yes. A Smog Check from any BAR-certified station in California is valid for registration in any California county, including San Francisco. You do not have to test in San Francisco County — you can test anywhere in the state.

What if I just bought a used car and do not know when it was last tested?

Contact the seller or the previous owner to find out. If you cannot reach them, assume it needs a test. The DMV will tell you when you try to register it. You can also call the DMV at 1-800-777-0133 to check whether your specific vehicle has a current passing test on file.

Do I need a Smog Check if I am just renewing my registration online?

Yes. Even if you renew online, the DMV will not issue a new registration without proof of a passing Smog Check. You must complete the test before you renew, then provide the test number or certificate during the online renewal process.

What if my vehicle fails and I cannot afford the repair?

Some repair shops offer payment plans or financing for emissions repairs. Ask the testing station for referrals to shops that work with customers on cost. You can also contact local nonprofits or community action agencies in San Francisco to ask about repair information programs, though availability varies.

How long does a Smog Check certificate last?

A passing Smog Check is valid for 30 days from the test date. You must use it to renew your registration within that window. If your registration expires before you test, you cannot legally drive the vehicle, and you will owe late fees when you finally renew.