Skip to content

P0331 – Knock Sensor 2 Circuit Range/Performance (Bank 2) (OBD2)

P0331 means "Knock Sensor 2 Circuit Range/Performance (Bank 2)". The knock sensor signal is electrically present but implausible: it does not match what the control unit expects for the current operating conditions or from other sensors. This is a performance fault, not a broken wire.

Last updated

P0331 quick summary

Fault codeP0331
MeaningKnock Sensor 2 Circuit Range/Performance (Bank 2)
SystemPowertrain (Engine & Transmission)
VehiclesGeneric OBD2
SeverityMedium
Can I drive?Yes. The engine retards ignition to protect itself, so it has less power and uses more fuel. Use the correct octane fuel and avoid heavy loads until the fault is fixed.
Repair cost€30 – €500

How knock sensors protect the engine

The knock sensor listens for the metallic vibrations of uncontrolled combustion (knocking) so the engine control unit can retard ignition timing before damage occurs.

A knock sensor is a piezoelectric microphone bolted to the engine block. When combustion knocks, it produces vibrations at a characteristic frequency; the sensor turns them into a small AC voltage. The control unit filters this signal per cylinder and retards ignition timing on any cylinder that knocks.

Engines with two cylinder banks usually have one or two sensors per bank. If the control unit sees no signal, a signal outside its range, or an implausible signal, it stores a knock sensor code and retards the timing on all cylinders as a precaution. That protects the engine but reduces power and increases fuel consumption.

Typical causes are a failed sensor, a sensor tightened to the wrong torque, corroded connectors (knock sensors often sit low on the block, sometimes under the intake manifold) and damaged wiring. Real mechanical noises can also trigger knock codes.

Bank 2 is the cylinder row that does NOT contain cylinder 1, so this code only appears on V6, V8, V10, V12 and boxer engines.

On VAG vehicles (VW, Audi, Škoda, Seat, Cupra), VCDS and older VAG testers can show this code as the five-digit VAG code 16715 (P0331). Both numbers mean the same fault.

Symptoms of P0331

  • Check Engine light on
  • Reduced power and sluggish acceleration
  • Higher fuel consumption
  • Audible pinking or knocking under load (if the protection is not working)
  • Sometimes no other symptoms

Most common causes of P0331 (most likely first)

Mechanic's Pro Tip

When replacing a knock sensor, clean the mounting surface to bare metal and use a torque wrench. A sensor that is just 'snug' or overtightened can report wrong values – and many repeat knock codes come from incorrect installation, not bad parts.

  1. 1.Knock sensor worn, contaminated or out of calibration

    Most likely

    The signal drifts slowly, so it is still within the electrical limits but wrong.

  2. 2.Mechanical problem in the system the knock sensor measures or controls

    For example a leak, a sticking part or a restriction that really changes the measured value.

  3. 3.High resistance in a connector or ground

    Corrosion causes a voltage drop that shifts the reading.

  4. 4.Failed knock sensor

    The piezo element cracks or the sensor ages.

  5. 5.Wrong tightening torque

    Knock sensors must be tightened to a specific torque; too loose or too tight changes the signal.

  6. 6.Real knocking or mechanical noise

    Low-octane fuel, carbon deposits, overheating or loose components can trigger the sensor.

  7. 7.Shared harness problem

    On V engines both sensors often share a harness section.

Step-by-step diagnostic guide

  1. 1

    Read codes and knock retard data

    Read all codes and look at the knock retard values per cylinder in live data. Note whether the fault is electrical (low/high) or a range/performance code.

  2. 2

    Compare live data with expected values

    Read the knock sensor values in live data and compare them with related readings (engine speed, load, temperature or pressure) and with the specification. A value that is electrically fine but wrong for the conditions confirms a performance fault – then check the mechanical side before replacing the part.

  3. 3

    Inspect wiring and connector

    Inspect the knock sensor harness and connector for corrosion, oil and damage.

  4. 4

    Measure the sensor

    Check the sensor resistance and signal according to the specification.

    Multimeter: Many piezo knock sensors show a very high resistance (often in the megaohm range) or are checked by their AC output when tapping the block near the sensor – follow the manufacturer's test.

  5. 5

    Check mounting and torque

    Make sure the sensor surface is clean and the bolt is tightened to the specified torque (often around 20 Nm).

  6. 6

    Rule out real knocking

    Use the correct fuel, check for overheating and carbon deposits, and listen for mechanical noises before replacing the sensor.

How do I read fault codes? →Where the OBD2 port is, which scanner to use and how to read and clear codes step by step.

Frequently asked questions

Can I keep driving with P0331?

Yes. The engine retards ignition to protect itself, so it has less power and uses more fuel. Use the correct octane fuel and avoid heavy loads until the fault is fixed.

How much does it cost to fix P0331?

Typical repair costs are 30 € – 500 €, depending on the cause and the vehicle. The most common fixes are: knock sensor worn, contaminated or out of calibration; mechanical problem in the system the knock sensor measures or controls; high resistance in a connector or ground. Always confirm the cause with the tests above before buying parts.

Is a knock sensor code dangerous?

The code itself is not, because the control unit retards timing for protection. But if the sensor fails while the engine really knocks, the protection may be reduced, so fix it and use the correct fuel.

Why are knock sensors hard to replace?

On many V engines they sit under the intake manifold, so the manifold has to be removed. On in-line engines they are often easier to reach.

What is the difference between P0331 and similar codes?

P0331 belongs to a group of codes for the same component that differ in the type or location of the fault: P0328 – Knock Sensor 1 Circuit High Input (Bank 1 or Single Sensor); P0329 – Knock Sensor 1 Circuit Input Intermittent (Bank 1 or Single Sensor); P0330 – Knock Sensor 2 Circuit (Bank 2); P0332 – Knock Sensor 2 Circuit Low Input (Bank 2); P0333 – Knock Sensor 2 Circuit High Input (Bank 2); P0334 – Knock Sensor 2 Circuit Input Intermittent (Bank 2). The tests on this page apply to the whole group; the type of fault tells you where to start.

Related fault codes

This guide is for information only. Working on vehicles can be dangerous — if you are unsure, have the car checked by a qualified mechanic. Values can differ between model years; always check the manufacturer's repair information.