TradeToolLab may earn a commission if you purchase through links on this page, at no additional cost to you.

How to Use an OBD2 Scanner: Read and Clear Codes Like a Pro

By TradeToolLab · Published 29 November 2026 · Prices checked 29 November 2026 · OBD2 Scanners

Research-based comparison. We have not hands-on tested these tools. Prices were checked on 29 November 2026 and may change. Check the retailer before buying.

Research note: This is a research-based how-to guide. We have not hands-on tested every scanner mentioned. The steps below are the standard procedure for 1996-and-newer OBD2 vehicles.

Direct answer: Plug the scanner into the 16-pin OBD2 port with the key off, turn the key to ON without starting the engine, read and save every code and the freeze frame, fix the cause, then clear the codes and drive until the readiness monitors set again. The order matters: read, save, fix, then clear. Clearing first throws away the best clue you have.

At a glance

Where is the OBD2 port?

It is a 16-pin, trapezoid-shaped socket under the dashboard on the driver's side, usually within a foot of the steering column, above the pedals or near the hood release. Some cars hide it behind a small removable panel. It only fits one way — if the plug will not go in, turn it around, do not force it.

On heavy-duty trucks the port is different. Many use a 6-pin or 9-pin Deutsch connector instead of the 16-pin car port, and need an adapter. If your scanner will not fit, check the truck's connector type before you assume the scanner is broken.

How do I read codes, step by step?

  1. Park safely. Set the parking brake, put an automatic in Park or a manual in Neutral, and switch the ignition off.
  2. Plug in with the key off. Push the scanner plug into the port until it seats. A wired tool usually powers up from the port. A Bluetooth adapter needs its own power light on.
  3. Turn the key to ON, engine off. The dashboard warning lights come on. The engine stays off. On a push-button car, press Start without touching the brake until the dash wakes — the first press is often accessory mode only.
  4. Choose Read Codes. On a handheld, open OBD2 or Diagnostics, then Read Codes or DTCs. On a phone app, connect to the adapter first, then read codes.
  5. Read every category. Open stored (confirmed) codes, then pending codes, then permanent codes if your tool lists them. Write down each full five-character code, its status, and the system it belongs to. Photograph each screen if that is easier.
  6. Save the freeze frame. Open Freeze Frame for each active code. It is a snapshot of engine speed, coolant temperature, load, fuel trims and vehicle speed at the exact moment the fault set. It tells you whether the fault happened cold, at idle, or on the highway. Clearing the code erases it.
  7. Check live data. Look at coolant temperature, oxygen sensor voltage and fuel trims. A code for a lean condition, for example, looks very different if the fuel trims are high at idle but normal at speed.
  8. Look up the code. Use the scanner's built-in library or a trusted code reference. The first letter tells you the system: P is powertrain, B is body, C is chassis, U is network. The second character tells you if it is generic (0) or manufacturer-specific (1).

What do stored, pending and permanent codes mean?

A stored code is a fault confirmed on two drive cycles. That is the one that turned the light on. A pending code was seen once and has not yet been confirmed — drive and re-scan, and watch whether it comes back. A permanent code is an emissions fault your tool cannot erase. It clears itself only after the repair and after the monitors pass. Do not keep pressing Clear on a permanent code and expect it to go away.

When should I clear codes?

Only after you have fixed the cause. Clearing a code does not fix the car. The light goes out, the fault is still there, and it comes back on the next drive — usually with the freeze frame that would have helped you now gone.

To clear, repair the fault first, then use Erase or Clear Codes with the key on and the engine off. The check-engine light should turn off. Then re-scan. If the same code comes back straight away, the repair did not fix the cause, or there is a second fault.

Never clear codes right before an emissions test. Clearing resets every readiness monitor to Not Ready, and a test station will turn the car away even with no codes stored.

What is a drive cycle, and how do I finish one?

A drive cycle is the set of driving conditions the car's computer needs to re-run its self-tests. There is no fixed mileage. A general drive cycle is a cold start, a few minutes of town driving, 10 minutes at a steady 55–60 mph, then 5 minutes idling in gear. In practice, most cars set their monitors after a few days of mixed town and highway driving. After that, plug in again and check that the monitors read Ready and nothing is pending.

Stop and get help if the check-engine light is flashing, the engine is overheating, or there is smoke, a strong fuel smell, stalling, or a big loss of power. Do not keep driving to finish a drive cycle.

Frequently asked questions

Do I need the engine running to use an OBD2 scanner?

No. For a normal code read, key ON and engine OFF is correct. The engine needs to run only for live-data tests that say so, such as a running sensor check.

What does a P-code mean?

P means powertrain — engine or transmission. For example, P0455 is an evaporative emissions large leak, often a loose gas cap. Check the simple cause first.

Why did the code come back after I cleared it?

Because the fault is still there. Clearing erases the code and the freeze frame, but it does not repair anything. Diagnose the cause, fix it, then clear again.

Can I clear a permanent code?

No, not with a normal Clear command. A permanent code clears itself after the repair and after the readiness monitors pass. If it will not clear, the repair is not complete.

How long after clearing codes can I pass an emissions test?

Not until the readiness monitors set to Ready. That usually takes a few days of mixed driving. Check the monitors with your scanner before you go to the test station.

Word count: about 780 words.

Sources — Article 7


↑ Top