P0331 OBD-II Trouble Code: Knock Sensor 2 Circuit Range/Performance (Bank 2)

Our certified mechanics come to you · Get a fair and transparent estimate upfront

Red-stars EXCELLENT RATING ON

Cost of diagnosing the P0331 code

P0331 is a diagnostic trouble code (DTC) for "Knock Sensor 2 Circuit Range/Performance (Bank 2)". This can happen for multiple reasons and a mechanic needs to diagnose the specific cause for this code to be triggered in your situation. Our certified mobile mechanics can come to your home or office to perform the Check Engine Light diagnostic for $114.99 . Once we are able to diagnose the problem, you will be provided with an upfront quote for the recommended fix and receive $20.0 off as a credit towards the repair. All our repairs are backed by our 12-month / 12,000-mile warranty.

Cars Estimate Credit towards follow-up repair Earliest Availability
Ford $114.99 $20.0
Toyota $114.99 $20.0
BMW $124.99 $20.0
SCHEDULE P0331 DIAGNOSTIC Get a fair and transparent estimate upfront

P0331 OBD-II: Knock Sensor 2 Circuit Range/Performance (Bank 2)

Diagnostic Trouble Code (DTC): P0331

P0331 code definition

A P0331 code is stored when the powertrain control module (PCM) determines that an engine pre-detonation (knock or ping) has an abnormally high noise level or that it is out of the ordinary in some other way.

What the P0331 code means

Knock sensor 2, on engine bank 2, is designed to detect engine knocks or pings. This two-wire sensor sends a signal to the PCM to inform it of any instances of knocks or pings and how severe they may be. This input on normal knocks and pings allows the PCM to predict engine pre-detonation and account for it to predict knock trends and slow spark timing as necessary. If a knock or ping is too loud or too far out of the ordinary, the P0331 code will be saved, and the Check Engine light or MIL (Malfunction Indicator Light) will be illuminated.

What causes the P0331 code?

There are a few different causes for a P0331 code to be stored, including:

  • Using the incorrect fuel octane
  • A damaged knock sensor connector
  • An open circuit to the knock sensor
  • A knock sensor circuit that’s shorted to ground or voltage
  • A faulty knock sensor
  • Moisture in the knock sensor’s connectors
  • A faulty PCM (rare)

What are the symptoms of the P0331 code?

Noticeable symptoms when a vehicle has a stored P0331 code include:

  • An illuminated Check Engine Light or MIL
  • A pinging from the engine upon acceleration
  • An audible knocking coming from the engine

How does a mechanic diagnose the P0331 code?

When a mechanic diagnoses the problem causing a P0331 code to be stored, they will first listen to the engine while it’s running to determine if there is a knock or if the problem is more likely an issue with the sensor. After listening to the engine and visually inspecting it, they’ll address the issue causing the knock, clear the code, and retest to ensure that the sensor is not malfunctioning and there aren’t any other problems.

If there is no audible knock or the code is stored again after fixing the knock, the mechanic will unplug the knock sensor to inspect for corrosion or moisture in the connector. They will then take the proper diagnostic steps to address any issues with the knock sensor and retest the code again.

How serious is the P0331 code?

A knocking engine is at risk of leaving you stranded on the side of the road. If you hear a deep knocking in your vehicle, it could be an indication that the rod bearings are worn and in danger of seizing. If your vehicle has stored a P0331 code because it has a malfunctioning knock sensor, the PCM will not be able to adjust for engine knock, and further engine damage can occur.

What repairs can fix the P0331 code?

A P0331 code may be fixed by simply cleaning corrosion from the knock sensor’s connectors and ensuring that there is no moisture in the connectors. Other possible repairs include:

  • Using the proper octane for the vehicle and/or using an octane booster
  • Cleaning out carbon deposits in the engine’s cylinders
  • Replacing the spark plugs
  • Repairing or replacing the rod bearings
  • Repairing or replacing the knock sensor
  • Repairing or replacing the wiring and connectors for the knock sensor’s circuit

Additional comments for consideration regarding the P0331 code

In addition to other problems that may occur due to a persistent abnormal engine knock and/or a faulty knock sensor, failing to diagnose and clear a P0331 code will make it impossible to pass an OBD-II emissions test, as the MIL or Check Engine light will be illuminated until the problem is resolved.

Need help with a P0331 code?

YourMechanic offers certified mobile mechanics who will come to your home or office to diagnose and repair your vehicle. Get a quote and book an appointment online or speak to a service advisor at 1-800-701-6230.

Check Engine Light
trouble codes
P0331

No more waiting rooms! Our mechanics will come to you to diagnose and fix the P0331 code.

SCHEDULE P0331 DIAGNOSTIC
Get a $20 credit for the follow-up repair

Recent Check Engine Light is on Inspection reviews

Excellent Rating

(7400)

Rating Summary
6879
249
58
41
173
6879
249
58
41
173
 at YourMechanic

David

13 years of experience
393 reviews
David
13 years of experience
Chevrolet Malibu L4-2.4L - Check Engine Light is on Inspection - Marietta, Georgia
He explained everything to me in detail on what I needed to know about my car. Definitely recommend him for getting the job done.
 at YourMechanic

Raymond

37 years of experience
402 reviews
Raymond
37 years of experience
Toyota Camry L4-2.2L - Check Engine Light is on - Las Vegas, Nevada
Raymond did a great job however I was charged for two hours labor and he was only here less than 45 minutes. should I expect this on future appointments with your mechanic ?
 at YourMechanic

Shane

17 years of experience
217 reviews
Shane
17 years of experience
Volkswagen EuroVan V6-2.8L - Check Engine Light is on Inspection - Austin, Texas
Arrived on time. Explained the issues he found and how he will fix it. I have parts on order and will schedule an appointment to have Shane install the parts when they arrive.
 at YourMechanic

Kanstantsin

19 years of experience
51 reviews
Kanstantsin
19 years of experience
Ford F-150 V8-4.6L - Check Engine Light is on Inspection - Littleton, Colorado
Kanstantsin arrived early. Was very courteous and professional. Will highly recommend to anyone. Thank you Kanstantsin.


More related articles

P3484 OBD-II Trouble Code: Cylinder 11 Deactivation/Intake Valve Control Circuit High
P3484 code means cylinder 11 was deactivated during certain driving conditions due to low oil pressure, engine condition, or electrical components.
P2702 OBD-II Problem Code: Trans Friction Element C Apply Time Range/Performance
P2702 means that a malfunction has occurred with the transmission friction element’s application due to leaks or low transmission fluid.
P0664 OBD-II Trouble code: Intake Manifold Tuning Valve Control Circuit Low Bank 2
P0664 means an electrical error occured in the intake manifold tuning valve control circuit due to a faulty PCM driver or electrical component.

Related questions

Car refuses to drive once dash lights turn on.
I would have a second opinion by a different mechanic to confirm. The Check Engine Light and Coolant Light may be an indication of another problem, and the computer may go into a failure mode and will limit throttle and...
Cylinder 2 misfire
You need to pull out the coil and check to see if there is oil in the spark plug hole, or on the plug wire boot. If there is, then replace the valve cover and spark plug boots after cleaning...
Engine Malfunction, power reduced
Hello, and thank you for writing in. You are thinking in the right direction. Start by inspecting the throttle body, air intake, and the throttle and intake sensors. Make sure the electrical connections are all clean, dry, and tight. You...

How can we help?

Our service team is available 7 days a week, Monday - Friday from 6 AM to 5 PM PST, Saturday - Sunday 7 AM - 4 PM PST.

1 (855) 347-2779 · hi@yourmechanic.com