# Smog Check Codes and Code Readers

How OBD-II trouble codes, pending codes and permanent codes affect a smog check, what a code reader shows, and what clearing codes does to readiness.

[Smog check codes](/smog-check-codes) and code readers connect through the onboard diagnostics system, called OBD-II, that a smog inspection station plugs into during a test. The codes stored in that system tell the station why the check engine light is on and whether the vehicle can pass. This page explains the code types, what a reader shows, and how clearing codes affects the result. 

## Reading the code types 

OBD-II trouble codes fall into groups that behave differently during a smog check. A pending code is a fault the computer has seen but not yet confirmed, so the check engine light stays off. A confirmed code has repeated enough for the computer to set the light and store the fault. A permanent code is written when a fault sets the light and stays in memory until the vehicle proves the repair with repeated clean drive cycles. 

## How codes affect the result 

A smog check fail code is a confirmed fault that keeps the check engine light on, and a lit light is a direct reason to fail. Pending codes alone do not turn the light on, yet a station may still see them in the scan data. Permanent codes stay visible to the scan tool even after the light goes out, so they show that a repair is recent. The station reads all of these from the diagnostic link before it judges the result. 

## What a code reader shows you 

A smog check code reader is a scan tool that plugs into the diagnostic link under the dash and displays stored codes. It shows the code number, a short description and the status of the check engine light. A basic reader cannot erase permanent codes, which only clear after the vehicle runs the required self-tests. Reading codes helps you describe the fault, but the repair itself may need a trained technician. 

## Questions about smog check codes 

### Will a smog check pass with pending codes? 

A smog check can pass with pending codes when the check engine light is off and all required self-tests are complete. Pending codes mean the computer has seen a fault without confirming it, so the light stays off. A station still reads them during the scan and may note them. If the fault grows into a confirmed code, the light comes on and the vehicle fails. 

### Can I pass a smog check after clearing codes? 

Clearing codes before a smog check does not help, because erasing them also wipes the readiness status the test needs. The vehicle then shows incomplete self-tests, and an inspection station treats that as not ready rather than as a pass. You must drive the vehicle through the required drive cycles so the monitors run again. Permanent codes are not removed by clearing. 

### What do smog check error codes mean? 

Smog check error codes are fault numbers stored by the engine computer, and each one points to a system such as fuel, ignition or emissions control. The code names the circuit or component that failed a self-test, not always the failed part itself. A technician uses the code with live data and tests to find the cause. Treat the code as a starting point for diagnosis. 

### Do permanent codes fail a smog check? 

Permanent codes do not fail a smog check by themselves when the check engine light is off and the monitors are complete. They stay in the computer as a record until the vehicle passes the self-tests that set them. A station can still see them on the scan, so they show that a fault was repaired recently. If the light is on or a monitor is incomplete, the result changes.
