OBD-II code · Powertrain (generic)
P0331 Knock/Combustion Vibration Sensor B Circuit Range/Performance
Knock sensor B signal is in electrical range but plausibility check fails — typically a loose mounting, wrong torque, or sensor element drift.
Is it safe to drive with P0331?
Usually safe to drive in the short term. Get it diagnosed when convenient, sooner if the car drives differently.
Common causes
- Most likelySensor loose
- Less likelyGateway module routing CAN messages incorrectly
- Less likelyCAN terminating resistor (120 Ω) drifted out of spec
Repair at a glance
- Difficulty
- Medium
- DIY friendly
- Often, with basic tools
- Typical labour
- 0.5–2 h
- Emissions test
- Likely to fail
- Parts involved
- Knock Sensor
Related codes
- P0326Knock/Combustion Vibration Sensor A Circuit Range/Performance
- P032BKnock/Combustion Vibration Sensor C Circuit Range/Performance
- P033BKnock/Combustion Vibration Sensor D Circuit Range/Performance
- P032EKnock/Combustion Vibration Sensor C Circuit Intermittent
- P032FCombustion Engine Producing Insufficient Torque
- P0330Knock Sensor 2 Circuit (Bank 2)
- P0332Knock Sensor 2 Circuit Low Input (Bank 2)
- P0333Knock Sensor 2 Circuit High Input (Bank 2)
- P0334Knock/Combustion Vibration Sensor B Circuit Intermittent
Code data: OBDex open dataset (CC0). Labour times are typical ranges, not a quote.