Smog Check Codes

Smog Check Codes
— · 0 votes

Smog check codes are the diagnostic trouble codes (DTCs) stored by your vehicle's engine computer, and they point to a fault in an emissions-related system. A smog check reads these codes through the diagnostic link and can fail a vehicle when the check engine light is on or a fault is stored. Knowing what the code says helps you decide what repair comes before a retest.

  • A code identifies a circuit or system with a fault, not the exact part to replace.
  • A lit check engine light or stored emissions code can fail a smog check before the tailpipe is even tested.
  • Clearing a code without a repair does not fix the fault and resets readiness monitors.
  • The repair must be done and the vehicle driven enough for monitors to run before a retest.
  • A trained technician with a scan tool should diagnose the fault behind the code.

What a smog check code is

A smog check code is a diagnostic trouble code stored by the powertrain control module, the computer that runs the engine. The code is a short identifier that names the system and the type of fault the computer detected. Smog inspections read these emissions codes through the diagnostic connector under the dash.

Each code is built in a fixed pattern, and the first character tells you the broad area of the fault. A P code covers the powertrain, a B code covers the body, a C code covers the chassis, and a U code covers network communication. The following digits narrow down the system, the subsystem and the exact circuit.

The computer sets a code when a sensor reading stays outside the expected range for a set period. That period and the threshold differ for each monitor and each vehicle. The code is a pointer to a fault, so a technician still has to test the circuit and the part before replacing anything.

How codes affect a smog result

A smog check reads stored codes and the status of the readiness monitors before it measures anything at the tailpipe. A commanded check engine light or an active emissions fault can end the test with a fail. The exact pass and fail rules depend on the inspection program that applies to the vehicle.

A stored code that has not lit the light still matters, because the computer records the fault. Readiness monitors show whether the computer has completed its own tests since the last battery disconnect or code clear. A monitor that has not run leaves the vehicle not ready, and that status can block a result.

Some checks also look at pending codes, which are faults seen once but not yet confirmed. A pending code may clear itself if the condition does not repeat. Inspectors cannot approve a vehicle on the promise of a repair, so the fault has to be resolved before the retest.

Reading the code structure

Every diagnostic trouble code starts with a letter, and that letter groups the fault by the part of the vehicle it affects. The second character shows whether the code is generic or defined by the manufacturer. Generic codes share a meaning across brands, while manufacturer codes need the factory service information.

The third character names the system, such as fuel and air metering or ignition. The last two characters give the specific fault within that system. Two vehicles with the same code number can still need different repairs, because the circuit layout differs between models.

A scan tool shows the code together with freeze frame data, which is a snapshot of conditions at the moment the fault set. That snapshot helps a technician see engine speed, load and temperature when the fault occurred. Freeze frame data often narrows the diagnosis faster than the code alone.

CharacterMeaningExample
First letterVehicle system groupP for powertrain
Second digitGeneric or manufacturer code0 for generic, 1 for manufacturer
Third digitSystem within the group1 for fuel and air metering
Last two digitsSpecific fault in the system71 for a circuit fault

Why clearing a code does not fix it

Erasing a code with a scan tool removes the record but leaves the underlying fault in place. The computer will set the code again once the same condition returns. Clearing codes also wipes readiness monitors, which forces the computer to rerun its self-tests.

A vehicle with freshly cleared codes is not ready for inspection until those monitors complete. The drive cycle that runs each monitor varies by vehicle and by monitor, so the time needed differs from one car to the next. Driving patterns matter, and some monitors need specific speed, load and temperature conditions.

Disconnecting the battery has the same effect as clearing codes and also resets learned values. A vehicle brought to a test with cleared codes and incomplete monitors may be turned away rather than passed. Repair the fault first, then drive the vehicle so the monitors can set.

Getting from a code to a repair

Diagnosis starts with the code, the freeze frame data and a visual check of the circuit the code names. A technician confirms the fault with a multimeter or a scan tool before replacing a part. Parts swapping on the strength of a code alone wastes money and can leave the fault in place.

The repair depends on what the test shows, so the cost depends on the fault and the vehicle. A loose connector, a chafed wire and a failed sensor can set the same code. The right repair addresses the cause the test found, not the code text.

After the repair, the technician clears the code and drives the vehicle to confirm the monitor sets and the code stays away. Some faults need a road test under the same conditions that set the original code. A repair that cannot be confirmed on a test drive is not finished.

  • Read the stored and pending codes with a scan tool.
  • Check the freeze frame data for the conditions at the fault.
  • Inspect the wiring and connectors for the named circuit.
  • Test the component before replacing it.
  • Complete the repair and clear the code.
  • Drive the vehicle until the monitors set.
  • Confirm the code does not return before the retest.

When to hand the job to a specialist

Emissions diagnosis involves live electrical circuits, fuel systems and hot engine parts. Work on a fuel system or a high-voltage circuit can injure a person or damage the vehicle, so a trained technician should handle it. An inspection technician can report codes but cannot certify a repair on trust.

A shop with a scan tool and factory service information can follow the diagnostic steps for the specific vehicle. Those steps differ between models, so generic advice from a code list is not enough. Ask for the diagnosis in writing so you know what was tested and what was replaced.

Keep the repair records with the vehicle paperwork, because the inspection may ask for them. Records also help if the same code returns and the shop needs to see the earlier work. A clear paper trail makes the next diagnosis faster.

Preparing the vehicle for a retest

Before a retest, confirm the check engine light is off and no codes are stored. Drive the vehicle through a mix of city and highway conditions so the monitors can complete. A scan tool check of monitor status shows whether the vehicle is ready before you arrive.

Do not clear codes right before the test, because that resets the monitors and can block a result. Fix the fault, then let the computer run its own tests over normal driving. If a monitor refuses to set, a technician can follow the drive cycle for that vehicle.

Bring the repair invoice and any previous test report to the retest. The inspector can see what changed since the last result and record the new outcome. A completed repair and ready monitors give the retest its clearest path.

Smog Check Code Questions

Can a smog check fail because of a code with no check engine light?

Yes, a stored or pending emissions code can fail a smog check even when the light is off. The computer keeps the code in memory after the fault sets, and the inspection reads that memory. A repair and a completed drive cycle are needed to clear the record properly.

Do I need to fix every code before a smog check?

Only codes tied to emissions systems affect a smog result, and the inspection program decides which ones matter. A code for an emissions circuit or a monitor that will not set can block a pass. A technician can tell you which stored codes relate to the test.

Will the code tell me which part to replace?

No, a smog check code names a circuit or system with a fault, not a specific part. The same code can come from a bad sensor, a damaged wire or a loose connector. Testing the circuit is the step that identifies the failed part.

Why did my code come back after I cleared it?

The code returns because clearing it only erased the record, and the fault that set it is still present. The computer sets the code again when the same condition repeats. The repair has to address the cause before the code stays away.

How long do I drive after a repair before a retest?

The distance and driving conditions depend on the vehicle and on which monitors need to run. Some monitors complete on a short mixed drive, while others need specific speed and temperature conditions. Checking monitor status with a scan tool tells you when the vehicle is ready.

Can I pass a smog check with a pending code?

A pending code may or may not block a result, and the inspection program for the vehicle sets the rule. A pending code is a fault the computer saw once but has not confirmed. Treating it as a real fault and repairing it is the safer path.

Read next

Certificates and result records

Latest articles