Check Engine Light On? How OBD-II Trouble Codes Work

Verified Technical data last verified:

When the check-engine light comes on, the car’s on-board diagnostic system (OBD II) has detected a problem and stored a trouble code. Here is what that means, what to do first and how to read the code.

Does my car have OBD II?

In the United States, all 1996 and newer gasoline passenger cars and trucks, and all 1997 and newer diesel passenger cars and trucks, must have OBD II. A few 1994–1995 gasoline models have it too. The emission control label under the hood says “OBD II” if your vehicle has it.

Steady or flashing light?

  • Steady light: most manufacturers advise having the car serviced as soon as conveniently possible. The fault often affects fuel economy, performance or driveability, and driving for a long time without fixing it can damage other parts.
  • Flashing light: a malfunction is happening that can damage the catalytic converter, usually a severe misfire. Reduce speed and load and have the car checked as soon as possible.
  • Red warning lights (oil pressure, coolant temperature, brakes, charging) are more urgent than the check-engine light. Follow your owner’s manual and stop when it is safe.

How to read the code

Plug an OBD II scan tool into the diagnostic connector, a 16-pin socket usually found under the dashboard on the driver’s side, and read all stored and pending codes together with the freeze-frame data before clearing anything. Many parts stores will read codes for you.

What the characters mean

CharacterMeaning
1st: P, B, C or UP = powertrain (engine, transmission), B = body, C = chassis, U = network and communication between modules.
2nd: 0, 1, 2 or 30 = generic code defined by the SAE J2012 standard, the same meaning on every make. 1 = manufacturer-specific. Higher digits contain both generic and manufacturer-specific ranges; each code page on this site says which one it is.
3rd to 5thThe system and the specific fault, for example P0300 random/multiple cylinder misfire, P0301 misfire in cylinder 1.

Look up any code in our fault code library, or start from what you notice in the symptom checker.

A code is a clue, not a diagnosis

A trouble code says what the control unit detected, not which part failed. An oxygen sensor code, for example, can be caused by an exhaust leak or a wiring fault rather than the sensor itself. Before buying parts, confirm the cause with the manufacturer’s test procedure, ask the shop about technical service bulletins, and check for open recalls with the recall check.

After the repair: readiness monitors

Clearing codes or disconnecting the battery resets the car’s self-tests (“readiness monitors”). Until enough of them have run again, an emissions inspection can fail even if nothing is wrong. Driving normally for about a week usually completes them.

Warranty

Independent shops can diagnose and repair OBD II faults just like dealers. However, emission-related faults on newer cars may be covered by the manufacturer’s emission warranty, which only dealers can carry out. Check the warranty booklet before paying for a repair.

Data sources: California Air Resources Board – On-Board Diagnostic II (OBD II) Systems Fact Sheet (Fact sheet dated 2019-09-19, retrieved 2026-12-06)
Spotted an error? Report a correction.
Scroll to Top