HomeGuides › How to Read & Clear OBD-II Diagnostic Trouble Codes

How to Read & Clear OBD-II Diagnostic Trouble Codes

Step-by-step diagnostic guide explaining how to hook up an OBD2 scanner, retrieve trouble codes, understand active vs pending codes, and clear check engine warnings safely.

Step 1: Locate the Diagnostic Link Connector (DLC)

Every OBD-II compliant passenger vehicle built since 1996 features a standardized 16-pin connector. This Diagnostic Link Connector (DLC) is typically located under the driver's side dashboard, within 2 feet of the steering wheel. If you cannot find the port, check behind the fuse box door, under the steering column, or near the center console.

Step 2: Connect the OBD2 Scanner and Establish Communication

Plug your OBD2 scanner or wireless dongle into the DLC. Once plugged in, turn the vehicle ignition key to the 'ON' or 'RUN' position (which powers on the dashboard lights and PCM), but do NOT start the engine. This allows the scanner to establish a data connection with the engine control unit (ECU).

Step 3: Read Stored Trouble Codes

Navigate the scan tool menu and select 'Read Codes' or 'Trouble Codes'. The scanner will query the PCM and display any logged entries. OBD-II fault codes are categorized into three states:

  • Active Codes: Confirmed faults that have triggered the Malfunction Indicator Lamp (MIL).
  • Pending Codes: Intermittent faults detected during the current drive cycle that require another failure to turn on the check engine light.
  • Historic/Permanent Codes: Codes that cannot be cleared by a scan tool and require the vehicle's onboard monitors to run and verify the repair before they clear automatically.

Step 4: Analyze Freeze Frame Data

When a code triggers, the PCM captures a 'freeze frame' snapshot of engine sensor readings (such as coolant temperature, fuel trims, engine RPM, and speed). This data is invaluable for troubleshooting because it tells you exactly what conditions caused the failure.

Step 5: How to Clear Codes Safely

After finishing repairs, select the 'Clear Codes' or 'Erase' option on your scan tool. This turns off the check engine light. Warning: Disconnecting the car battery to clear codes is not recommended. It wipes the PCM's adaptive memory (often causing rough running) and resets all readiness monitors. The vehicle will fail emissions inspections until the drive cycles complete.

Citations & Authority References

  • EPA On-Board Diagnostics II User Guide
  • SAE J1979/ISO 15031-5 Diagnostic Communication Services

← Back to all guides

Copied code to clipboard!