Diagnostic Trouble Code (OBD-II Code)

A diagnostic trouble code is a code your vehicle’s onboard computer stores when it detects a problem, and it is usually what turns on the check engine light.

Why It Matters

Cars and light trucks sold in the U.S. since the 1996 model year use a standard system called OBD-II, so each diagnostic trouble code follows the same format: a letter followed by four characters, such as P0420 or P0A80.

A diagnostic trouble code tells you what the computer noticed, not which part to replace. The same code can have several different causes.

The code is where diagnosis starts, followed by testing to find the actual cause.

When You’ll Run Into One

  • A check engine light that is on or flashing
  • A failed emissions inspection
  • Stored codes on a used car you are thinking of buying

Learn more on our Check Engine Light Diagnostics page.

Related Terms

Back to the full auto repair glossary

Questions About Your Vehicle?

Describe what you are hearing, feeling, or seeing, and we will point you in the right direction. Call 940-566-2125 or schedule your service online.

Monday through Friday, 8:00 AM to 5:00 PM. Night drop is available on the side of the building.