Knock/Combustion Vibration Sensor B Circuit Range/Performance
What it means
P0331 means the second knock sensor's signal is outside the expected range. The knock sensor lets the computer detect engine "knock" and pull ignition timing to protect the engine. Contrary to some templated descriptions, this code does not cause a no-start — it usually just costs a little power and economy until repaired.
Can I keep driving? Safe to drive short-term; the engine may retard timing for protection, giving slightly less power and economy, but it won't stall or fail to start from this code.
What this part does
The knock sensor is a small vibration sensor mounted on the engine block that listens for the metallic pinging sound of abnormal combustion. The engine control module uses the signal to delay ignition timing when knock is detected, protecting the engine. A fault can cause reduced power, poorer fuel economy, a check engine light or, in some cases, audible pinging.
Real-world scan data
Appears alongside · share of P0331 scans
Codes often seen with P0331. Of the 23 scans on our apps that reported P0331 in the past year, 56.5% also showed P0326 (Knock/Combustion Vibration Sensor A Circuit Range/Performance). If your scan shows any of these too, read their pages as well, because one fault can trigger another.
Read & clear P0331 yourself
Scan your car, confirm the code, and clear it once it's fixed — with OBD DashX on your phone.
Need a scanner that reads ABS, airbag and more? GaragePro OBD scan tools ship worldwide. Claim deal →
Common symptoms
What you'll notice
- Check-engine light on
- Slightly reduced power or acceleration (timing pulled for safety)
- Small drop in fuel economy
- Possible pinging under hard acceleration if knock goes undetected
Common causes
Most likely first
- Faulty knock sensor BLikely
- Open, shorted, or chafed wiring in the sensor circuitCommon
- Loose or corroded electrical connectorCommon
- Failed engine control module (rare)Less often
Repair
Likely repair
- Parts often involved: knock sensor, wiring or connector, engine control unit (ECU)
- Labor: 0.5–4 h
- Difficulty: Medium
- DIY: Possible
How to diagnose & fix
Work through it in order
- Read freeze-frame data and confirm the code is knock sensor B (bank 2).
- Inspect the knock sensor connector and wiring for damage or corrosion.
- Check the sensor's resistance and signal against manufacturer spec; ensure the mounting bolt is torqued (a loose sensor gives false readings).
- Replace the knock sensor if it's out of spec with good wiring. Clear and re-test.
FAQ
Quick answers
Is it safe to drive with P0331?+
Can I just clear P0331?+
Related codes
About this page
Scan figures come only from diagnostic scans recorded through our own apps and tools. Cars are usually scanned because a symptom or warning light prompted it, so these figures describe our scan records, not how often a fault occurs in any make or model.
Notes about specific manufacturers summarise public records (NHTSA owner complaints, recalls and manufacturer service bulletins), cited under each note. They report what those records say, not our measurements, and they do not suggest that any manufacturer or vehicle is better or worse than another.
Repair time and cost estimates come from a public repair dataset and are typical ranges, not quotes.
OBD DashX is not affiliated with, sponsored by or endorsed by any vehicle manufacturer. Manufacturer and model names and trademarks belong to their owners and are used only to identify vehicles.
This page is general information, not professional advice. Have safety-critical faults (brakes, steering, airbags, high-voltage systems) checked by a qualified technician. To the extent the law allows, we accept no liability for repairs or decisions made from this page.
Businesses: this content is available through our API. For business →