OBD Codes List

Diagnostic reference · P0331

P0331

Knock/Combustion Vibration Sensor B Circuit Range/Performance

System
Ignition and misfire (P code)
Lamp
Check Engine Light
Category
Powertrain - Ignition

What it means

P0331 means Knock/Combustion Vibration Sensor B Circuit Range/Performance.

Where it lives

For P0331, the description names the sensor as the part involved.

Check these first

  • A faulty knock sensor B on bank 2
  • Wiring or connector faults on the sensor B circuit
  • Fuel quality or contamination causing knock
  • An ignition fault causing engine knock
  • A faulty ECM input

What to do next

  1. Read knock sensor B on a scan tool
  2. Inspect the sensor B wiring and connector
  3. Check the fuel quality and octane
  4. Check the ignition system for misfires
  5. Replace knock sensor B if it reads wrong
  6. Clear the code and retest

Look up another code

Enter a full code or a symptom. Press / to search. How to read a code

Type a code above, or start from a symptom or a common code.

Updated

Generic SAE J2012 definition. Last updated 2026-10-10.