P0331

Universal

Knock Sensor 2 Circuit Range/Performance (Bank 2)

Definition source: General OBD-II reference catalog
Definition verification: Not independently verified for display.
Time: Varies by diagnosis and vehicle | Diagnostic difficulty: Medium
Medium Severity

The engine computer monitors Knock Sensor 2 on Bank 2 for vibration signals associated with engine knock. This code means the signal or circuit response is outside the expected range or performance; it does not by itself prove the sensor has failed. Depending on the vehicle, the computer may adjust ignition timing, and the fault can affect performance or engine protection.

Report an error with this code

⚠️ Before You Begin (Safety First)

The code alone does not usually mean you must stop immediately. Avoid hard acceleration and heavy loads until it is diagnosed. If you hear persistent loud knocking, notice severe power loss, or see an oil-pressure or overheating warning, stop safely and arrange assistance.

Common Symptoms

  • The check-engine light may be on because the engine computer detected an out-of-range or poor-performing sensor circuit.
  • There may be no noticeable symptoms if the fault does not significantly affect engine operation.
  • The engine computer may alter ignition timing, which can cause reduced power, slower acceleration, or changed fuel economy.
  • If engine knock is present or the computer cannot respond to it as intended, continued heavy load may increase the risk of engine damage.

Common Causes

  • Knock Sensor 2 on Bank 2 may be faulty, but the code alone does not establish that.
  • Damaged, loose, corroded, or poorly connected wiring or connectors may disrupt the sensor signal.
  • A sensor mounting or connection problem may affect how vibration is detected.
  • Electrical interference or another circuit fault may distort the signal.
  • Abnormal engine noise or vibration may produce a signal the engine computer interprets as out of range.

Diagnostic Steps

  1. Check whether the check-engine light is steady or flashing and note any knocking, power loss, or other warning lights; stop driving if severe symptoms or an oil-pressure or overheating warning occurs.
  2. Use a compatible scan tool to record P0331 and any related codes before clearing anything; related faults can help narrow the diagnosis.
  3. With the engine off and cool, visually inspect accessible wiring and connectors for looseness, corrosion, rubbing, or obvious damage. Do not pull on wires or reach into hot or moving areas.
  4. Check the owner's manual or vehicle-specific service information for the correct Bank 2 and sensor identification; locations and procedures vary by engine.
  5. If the fault returns or wiring damage is not obvious, have the sensor circuit and mounting checked using vehicle-specific service information rather than replacing the sensor based only on the code.

When to Call a Professional

Confirm the code and check for related faults before replacing parts. A technician can compare scan data with the vehicle's service information, inspect the Bank 2 sensor circuit and connections, test the circuit as specified, and check for abnormal engine noise or vibration that could affect the signal.

Compare component listings

Confirm diagnosis and vehicle fitment before buying. A listing does not prove that a part needs replacement. We may earn a commission from qualifying purchases.

Commonly Asked Questions

Does P0331 mean the knock sensor must be replaced?

No. It identifies a range/performance problem in the Knock Sensor 2 circuit on Bank 2. Wiring, connections, mounting, signal interference, or engine vibration can also contribute.

What does Bank 2 mean in this code?

Bank 2 identifies one side of the engine as defined for that vehicle. Its exact location, and the location of Sensor 2, depend on the engine; use model-specific service information.

Can I keep driving with P0331?

A short, gentle trip may be possible if the vehicle runs normally and has no severe symptoms, but avoid heavy loads and arrange diagnosis. Stop safely if there is persistent loud knocking, severe power loss, or an oil-pressure or overheating warning.

Could a wiring problem trigger this code?

Yes. A loose, damaged, or corroded connection or wiring fault can affect the sensor signal and cause a range/performance code.

Browse Available Code Guides

Previous and next available guides in database record order, across makes. Adjacent entries may share a code number and do not necessarily describe related faults.