In short
To use an OBD2 scanner, plug it into the port under the driver’s side of the dash with the key off, turn the key to on without starting the engine, and read the codes. Write down every code and save the freeze frame, look the codes up, fix the cause, then clear them and drive until the readiness monitors set again.
Learning how to use an OBD2 scanner takes about ten minutes, and the order matters more than the buttons. Reading a code is easy; what trips people up is clearing it too soon, which erases the clues and resets the checks an emissions test looks at.
This is the routine I follow hands-on every time a light comes on in our driveway, and I tested it three times this fall. A check engine light came up on my Ford F-150, which sleeps outside all year, two days after a fill-up. My older GM half-ton, our rough-road pickup, logged a cylinder 2 misfire code. And my Chevy Malibu sedan got a readiness check the week before its emissions test, about ten minutes with a corded reader in the footwell. Each one taught a different step below, and the misfire took a coil swap and two days of driving before the scanner showed everything ready. If you don’t own a scanner yet, my best OBD2 scanner guide matches the tool to the lights you need to read.
What You’ll Need
You’ll need
- An OBD2 code reader or scanner (corded, or a Bluetooth sensor with its app)
- Your phone or a notepad to record codes and freeze frame data
- Your owner’s manual, for the port location and warning light meanings
- The key or key fob, and a few minutes with the car parked
Safety First
Safety:
- Park on level ground with the parking brake set and the transmission in park before you plug anything in.
- A flashing check engine light means a misfire bad enough to damage the catalytic converter: stop driving as soon as it’s safe and scan before you go on.
- Route a corded scanner’s cable away from the pedals, and never read a phone app while the car is moving.
- Don’t clear airbag (SRS) codes to turn the light off; an airbag light means the system may not deploy, so find the cause first.
How to Read Codes With an OBD2 Scanner
Find the OBD2 Port
The OBD2 port is a 16-pin, D-shaped socket under the dash on the driver’s side, usually above the pedals or near the hood release. Some hide behind a small cover or near the center console; the manual shows where. Every gas car and light truck sold in the US since 1996 has one.
Plug In With the Key Off
Turn the ignition off, line up the scanner’s plug with the D shape and push it in until it seats. It fits one way only. The port feeds the scanner power on its own pin, so a corded reader lights up as soon as it’s in.
Turn the Key to On, Engine Off
Switch the ignition to on without starting the engine; on push-button cars, press start twice without your foot on the brake. That wakes the computers so the scanner can talk to them. Start the engine only when you want live data.
Link the Scanner to the Car
Choose read codes or diagnose on a handheld. With a Bluetooth sensor, open its app and connect from inside the app, not your phone’s Bluetooth settings. If the screen says no link or link error, my guide on why an OBD2 scanner says no link walks through the fixes in order.
Read Every Code, Not Just the First
Read stored (confirmed) codes, then pending codes, then permanent codes if your tool lists them. Note each code exactly, letter included: P for powertrain, B for body, C for chassis, U for network. On the F-150, mine read one evaporative system code and nothing pending.
Save the Freeze Frame
Open freeze frame and photograph or save it. It’s a snapshot of engine speed, coolant temperature, load and fuel trims at the moment the code set, and it tells you whether the fault happened cold, at idle or on the highway. Clearing the code erases it.
Look Up What the Code Means
A code with a 0 in the second place, like P0300, is a generic code that means the same on every car. A 1 there is the maker’s own code, so look it up for your make. A code names the fault the computer saw, not the part to buy: a misfire code can be a coil, a plug or an injector.
Fix the Cause, Then Clear the Code
Repair the fault first, then use erase or clear codes with the key on and the engine off. On the GM half-ton, I swapped the cylinder 2 coil with cylinder 3 and the misfire moved to cylinder 3, so the coil was the part. If the light comes straight back, the fix didn’t take.
Drive, Then Check Readiness
Clearing codes resets the readiness monitors, the self-tests an emissions inspection reads. Drive normally for a few days, mixing town and highway, then plug in again and check that the monitors show ready and nothing is pending. That’s how I knew the Malibu was set for its test.
Save These Before You Clear Anything
Clear codes is the one button that throws away information, and most guides never say what it takes with it. Here is what a scanner shows, what clearing does to each item, and why you’d want it first.
| What the scanner shows | What it is | What clearing does | Why it matters |
|---|---|---|---|
| Stored (confirmed) codes | Faults that turned on the check engine light | Erases them and turns the light off | The code is your only record of what went wrong |
| Pending codes | Faults seen once, not yet confirmed | Erases them | An early warning; they often show before the light does |
| Permanent codes | A protected copy of confirmed emissions codes (cars from about 2010 on) | Nothing; they clear only when the monitor runs and passes | A scanner that “won’t clear” one isn’t broken; the car wants proof of the fix |
| Freeze frame | Engine data from the moment the code set | Erases it | Shows whether the fault happens cold, at idle or under load |
| Readiness monitors | The car’s self-tests: catalyst, EVAP, oxygen sensors and more | Resets them to not ready | Inspections allow two not ready for 1996 to 2000 vehicles, one for 2001 and newer |
That last row is why clearing codes the week of an emissions test backfires. With most monitors set back to not ready, a 2001 or newer car is turned away until it has been driven enough for them to run again, which can take days of normal driving and longer for the EVAP monitor. Disconnecting the battery does the same thing, so if you’re changing a car battery before a test, plug a memory saver into the port first.
Mistakes That Bring the Light Back
Clearing without fixing is the big one. 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. Read, save, fix, then clear, in that order.
The second is buying the part the code names. An oxygen sensor code is often a vacuum leak making the sensor read lean, and a catalyst code can follow a misfire you ignored. Check the cause behind the code, and when the warning is a battery or charging light rather than a code, a meter test of the battery or alternator answers it faster than a scanner, and a clamp battery test settles a weak battery.
The third is trusting a basic reader on lights it can’t see. A code reader that reads emissions codes only will show no codes while an ABS or airbag light stays lit, and newer Chrysler, Dodge, Jeep and Ram vehicles let any tool read codes but refuse to clear them for a tool without AutoAuth access. If you’d like one tool that reads codes and tests the battery with clamps, see my OBD2 scanner and battery tester picks.
OBD2 Scanner Questions
Where Is the OBD2 Port?
The OBD2 port is under the dash on the driver’s side on almost every car, usually above the pedals, near the hood release or behind a small panel. It’s a 16-pin D-shaped socket. If you can’t see it, the owner’s manual shows the spot, and a flashlight helps.
Should I Clear Codes With an OBD2 Scanner?
You should clear codes with an OBD2 scanner only after you’ve written them down, saved the freeze frame and fixed the cause. Clearing first erases the clues, the light returns, and the readiness monitors reset, which can fail an emissions test until you’ve driven enough to set them.
Can I Use an OBD2 Scanner While Driving?
You can leave a Bluetooth OBD2 scanner connected while someone else drives or while the app logs live data, but never read a screen yourself while driving. Keep corded scanners away from the pedals, and unplug any dongle that isn’t built to stay in, since some drain the battery when parked.
Why Won't My Code Clear?
A code that won’t clear is either a permanent code, which clears only after the car’s own monitor runs and passes, or a live fault that sets again right away. On 2018 and newer Chrysler-built vehicles, clearing is also blocked unless the scanner signs in through AutoAuth.
How Many Miles After Clearing Codes to Pass Inspection?
There’s no fixed mileage after clearing codes; the readiness monitors set once the car completes its drive cycles, which usually takes a few days of mixed town and highway driving. Plug the scanner in and check readiness before you go: one not ready is allowed on 2001 and newer cars.