Reading the codes behind your check engine light

Any gasoline car or light truck built for the 1996 US model year or later has a standard diagnostic port. A scanner plugged into it shows the stored trouble code, which tells you where the computer saw a problem. It takes five minutes and costs little, but a code is a clue, not a diagnosis.

In danger or blocking traffic? Call 911 first.
Free for driversNo account neededPlain answers
SquadRoadside assistant
What's going on with the car? Pick one, or tell Squad in your own words.
Squad can make mistakes. In danger, call 911.

What the port is and where it lives

OBD-II became mandatory in 1996 for US passenger cars and gasoline light trucks under 8,500 pounds gross weight. The connector is a 16-pin trapezoid, and it sits no more than two feet from the steering wheel, so look under the dash on the driver's side, near the knee panel or above the pedals. Some are behind a small cover. Pin 16 supplies battery power to the scanner, so the tool usually does not need its own batteries.

If your light is on and you want context first, see what the light can mean. If it is flashing instead of steady, stop and read the flashing light guide.

What you need

  • An OBD-II scanner. Basic handheld readers show codes. Bluetooth adapters plug into the port and send data to a phone app, and many show live data as well.
  • The car off, with the key ready.
  • A pen and your phone to write down or photograph each code.

Be careful with free apps and unknown adapters. A tool that logs location or driving behavior is sending data somewhere, so read what the app says it collects.

Steps

  1. Find the port and plug the scanner in firmly.
  2. Turn the key to on without starting the engine, or press the start button without the brake, as your car requires. Dash lights should glow.
  3. Follow the scanner's prompts to read codes. Pick stored codes first.
  4. Write down every code and its status. Also check for pending codes, which are faults seen in the current or latest driving cycle but not yet confirmed.
  5. Save any freeze frame data if the tool shows it. It records conditions when the fault was logged.
  6. Turn the car off and unplug the tool.

How to read a code

Codes have five characters, such as a letter followed by four digits.

  • The first letter is the system. P is powertrain (engine and transmission), B is body, C is chassis and U is network.
  • The second character, 0 to 3, shows whether it is a generic code shared by all makes (0) or manufacturer specific (1).
  • The third character points to the subsystem, such as fuel and air metering, ignition and misfires, or the transmission.
  • The last two characters identify the specific fault.

So a code starting with P0 is a generic engine or transmission code. Look up the full code for your make, since the same number can read differently on manufacturer-specific codes. Then see how to act on it. Fuel problems link to fuel system service, sensor codes to sensor repair, and misfire codes to engine misfire.

Why a code is not a diagnosis

A code says which circuit or condition the computer did not like. It does not say which part is broken. An oxygen sensor code can come from the sensor, a wiring fault or an exhaust leak, and replacing parts by code often wastes money. Use the code to narrow down the search and let a shop confirm it. A check engine light diagnosis does that properly.

The light can come on for something as minor as a loose gas cap. Tighten the cap, drive normally, and see if it clears. A cap that will not click shut, or one with a torn rubber seal, is covered in our gas cap repair steps.

Do not clear codes just to turn the light off

Scanners can erase codes, and clearing a code does not fix the fault. It can also hide evidence your mechanic needs and may reset readiness checks, so an emissions test can reject the car until it has driven enough. Clearing without repairing can let a serious problem go unnoticed and lead to engine damage. Write the codes down first, and clear them only after the repair. The same light under another name is covered in service engine soon light.

When to bring in a shop

Bring in a pro if the light is flashing, the engine runs rough or loses power, the car overheats, the oil pressure light is on, or you cannot make sense of the code. If it will not run safely, a tow to a shop beats driving it. For a repair visit at your location, consider a mobile mechanic.

Updated November 25, 2026

Questions drivers ask

Plain answers to the questions we hear most.

Do I need a special scanner for my car?

For a gasoline car or light truck from the 1996 US model year onward, any OBD-II reader works for generic codes. Manufacturer-specific codes and some systems, such as ABS or airbags, may need a more capable tool.

What do the letters at the start of a code mean?

P stands for powertrain, B for body, C for chassis and U for network communication. The digits after the letter narrow down the system and the specific fault. Most check engine light codes begin with P.

Is it safe to clear the code myself?

It is safe for the car, but it is rarely a fix. The light and the code will come back if the cause remains, and clearing can also reset emissions readiness checks. Record the code first and clear it only after a repair.

What is a pending code?

It is a fault the computer saw during the current or latest driving cycle that has to show up again on a later drive before it is stored. Mechanics use pending codes to check whether a repair worked. A stored code is one that has been confirmed and recorded.

Help in your city

Local roads, towing rules and the help that covers them.

Run a tow company, roadside crew or repair shop?

Get jobs from drivers near you on your phone, and pay only for results.

TowSquad for pros

Every TowSquad service