# What is a DTC on a car?

## Quick answer

A DTC, or diagnostic trouble code, is a short code the car's computer stores to describe a problem it has detected.

## What is DTC?

DTC stands for diagnostic trouble code. When the car's computer sees a reading that is out of range or a part that is not working right, it saves a code such as P0420 or P0300. Many codes also turn on the check engine light, while others only light a different warning, such as ABS or airbag, or stay stored with no light at all.

Each code has five characters. The first letter shows the system: P for powertrain, B for body, C for chassis and U for network. The second character shows whether the code is generic or maker-specific: a 0 usually means a generic code defined by the SAE J2012 standard, and a 1 usually means one defined by the vehicle maker. The remaining numbers narrow down the circuit or problem.

Codes go through stages. A pending code means a fault was seen once. A confirmed or stored code means it repeated and was confirmed, and a permanent code on newer cars cannot be cleared with a scan tool; it clears itself only after the computer confirms the repair.

A code points to what the computer noticed, not always the part that failed. For example, a lean code can come from a vacuum leak, a dirty sensor or a weak fuel pump. That is why a code is the start of a diagnosis, not the end.

## How it works

1. The engine computer checks sensor readings and part performance all the time.
2. When something stays out of range, it stores a code, sometimes first as a pending code.
3. It often saves freeze-frame data, a snapshot of conditions when the fault happened.
4. A scan tool reads the code and data so a mechanic can test the likely causes.

## Types of DTC

| Type | What it is |
| --- | --- |
| P codes (powertrain) | Engine, transmission, fuel, ignition and emissions faults; these are the codes most drivers see and most basic readers display. |
| B codes (body) | Body systems such as airbags, seat belts, power seats, lighting and climate control. |
| C codes (chassis) | Chassis systems such as ABS, stability control, steering and suspension. |
| U codes (network) | Communication faults between the car's computer modules, often from wiring, power or module problems. |

## Common DTC problems

- Replacing the part named in the code without testing, when a wiring fault or another problem is the real cause.
- Clearing codes before an emissions test, which resets readiness monitors and can cause a failed test.
- Several unrelated codes at once, which can point to a weak battery, poor ground or network fault.
- A code that comes back right after repair, meaning the root cause was not fixed.
- Using a basic reader that shows only engine codes and misses ABS, airbag or body codes.

## Frequently asked questions

### What does the P in a trouble code mean?

P stands for powertrain, which covers the engine, transmission and emissions parts. Most codes drivers see start with P, because those faults turn on the check engine light. Other letters are B for body, C for chassis and U for network communication between modules.

### What is the difference between a pending and a confirmed code?

A pending code means the computer saw a problem once but has not confirmed it yet. If the problem shows up again on later drives, it becomes a confirmed code and usually turns on the check engine light. Pending codes can help catch a problem early.

### Does a code tell you exactly which part to replace?

Not always. A code tells you what the computer noticed, and several different problems can cause the same code, such as wiring faults, vacuum leaks or another failing part. Testing is needed before replacing parts, or you may spend money without fixing the problem.

### Are trouble codes the same on every car?

Generic codes, like P0420, mean the same thing on every OBD-II car, because they follow a shared standard. Makers also have their own codes, often with a 1 as the second character, which need maker-specific information to read correctly. The likely causes can still differ by vehicle.

### How do I read trouble codes?

Plug a scan tool or OBD-II code reader into the 16-pin port, usually under the dashboard on the driver's side, and turn the ignition on. Many parts stores read codes for free. Write down every code and any freeze-frame data before clearing anything.

### What is a permanent DTC?

A permanent code is a confirmed emissions code that a scan tool cannot erase on newer vehicles. It clears itself only after the computer runs its self-test and sees that the problem is fixed. Some emissions tests fail a car with a permanent code present.

### What is freeze-frame data?

Freeze-frame data is a snapshot the computer saves when a code sets, showing conditions such as engine speed, vehicle speed, coolant temperature, load and fuel trim. It helps a mechanic recreate the problem, so note it before codes are cleared.

### Can I clear trouble codes myself?

Yes, most scan tools can clear codes, but it only turns off the light. If the problem is still there, the code will come back. Clearing also resets the readiness monitors, which can fail an emissions test until the car has been driven enough to rerun them.

### Why do I have many trouble codes at once?

Several codes at once can come from one problem. A weak battery, poor ground connection or damaged wiring can make many sensors or modules report faults together. A shop usually checks power, grounds and network codes first before chasing each individual code.

### Do I need a special scanner for ABS and airbag codes?

Usually yes. Many low-cost code readers only read engine and emissions codes. ABS codes, which start with C, and airbag codes, which start with B, are stored in other modules and need a scan tool that supports those systems for your vehicle.

## Sources

- [SAE J2012: Diagnostic Trouble Code Definitions](https://www.sae.org/standards/content/j2012_201812/)
- [EPA: On-Board Diagnostics (OBD)](https://www.epa.gov/state-and-local-transportation/vehicle-emissions-board-diagnostics-obd)

## Related terms

- [OBD-II](https://diagxcar.com/glossary/obd-ii)
- [Check engine light](https://diagxcar.com/glossary/check-engine-light)
- [Misfire](https://diagxcar.com/glossary/misfire)
- [Fuel trim](https://diagxcar.com/glossary/fuel-trim)

## Related pages

- [P0420 Catalyst System Efficiency Below Threshold (Bank 1)](https://diagxcar.com/codes/p0420)
- [P0171 System Too Lean (Bank 1)](https://diagxcar.com/codes/p0171)
- [P0300 Random/Multiple Cylinder Misfire Detected](https://diagxcar.com/codes/p0300)
- [Check engine light](https://diagxcar.com/warning-lights/check-engine)

---

Source page: https://diagxcar.com/glossary/dtc
Updated: 2026-11-03
General information, not a substitute for a qualified mechanic.
