VinGear VIN decoder VinGearVIN decoder, VIN lookup & history check Check a VIN

P0331 code meaning

Knock/Combustion Vibration Sensor B Circuit Range/Performance

Powertrain system Generic code P03xx codes Check engine light

What P0331 means

The knock sensor is a piezoelectric structure-borne sound sensor bolted to the engine block; the module evaluates its signal per cylinder and retards ignition when it detects knock. Sensor B is the second sensor – bank 2 on V engines, but on some four-cylinders also bank 1. With a fault the module retards ignition across the board as protection – noticeable loss of power and higher consumption. P0331 means the circuit is electrically sound but the signal is implausible. GM sets it when the filtered background noise stays below a threshold – typically a loose sensor or one not bolted down properly – in the first trip; Saab's GM-based engines also when excessive knock persists on several cylinders or a whole bank for 8–10 s. Ford does not use this code.

P0331 at a glance

  • Check engine lightYes, usually on
  • Emissions testCan fail
  • Limp modeNot expected
  • Repair difficultyMedium, DIY possible
  • Typical labor0.5 to 4 hours
  • Clears after repairWhen cleared with a scanner

Symptoms of P0331

  • Check engine light on
  • Loss of power, sluggish response from ignition retard
  • Higher fuel consumption

Common causes of P0331

  • Most likelySensor loose, wrongly torqued or mounted with sealant or on a dirty surface
  • PossibleEngine software or calibration (bulletins for some models)
  • PossibleGenuine knock on a whole bank or mechanical noise
  • Less likelySensor aged or damaged (low sensitivity)

Check the most likely causes first. Replacing parts by guesswork is the most expensive way to clear a code.

Parts involved

Knock sensor bKnock sensor wiringEngine control module

What each part of P0331 means

PPowertrain system: engine, fuel system, ignition, emissions and transmission.
0Generic code: it means the same on every make (SAE standard).
3Area: ignition system or misfire.
31The exact fault in that area.

What to do next

  • Note P0331 and any other codes stored with it: several codes together often point to one cause.
  • Check for loose connectors and damaged wiring around the parts the code names.
  • Check open recalls for your car: some faults are fixed for free by the dealer. Enter your VIN.
  • Clear the code only after the repair. If it comes back, the fault is still there.

Buying a used car? Scan it for stored codes before you pay. A recently cleared memory can hide a problem.

Questions about P0331

What does P0331 mean?

P0331 means "Knock/Combustion Vibration Sensor B Circuit Range/Performance". The knock sensor is a piezoelectric structure-borne sound sensor bolted to the engine block; the module evaluates its signal per cylinder and retards ignition when it detects knock. It is a generic code, so it means the same on every make.

Is it safe to drive with P0331?

Usually yes, for a short time, if the check engine light is steady and the car drives normally. If the light flashes or the car runs badly, stop and have it checked.

Will P0331 fail an emissions test?

Yes, it can. P0331 is emissions-related, so most inspection programs fail a car while it is stored or while the check engine light is on.

How hard is P0331 to fix?

Difficulty: medium. A typical repair takes 0.5 to 4 hours of work. A careful DIY repair is possible with basic tools and a scanner.

Will P0331 clear itself after the repair?

Clear the code with a scanner after the repair. If the fault is fixed, it does not come back.

Look up another code

Technical content: OBDex open OBD-II database (public domain, CC0), checked 10 Oct 2026, edited for US drivers by the VinGear team.
Technical sources for P0331