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

Our certified mechanics come to you · 12-month, 12,000-mile warranty

SCHEDULE P0331 DIAGNOSTIC 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 $69.99. Once we are able to diagnose the problem, you will be provided with an upfront quote for the recommended fix and receive $20.00 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$69.99$20.00
Toyota$69.99$20.00
BMW$69.99$20.00
SCHEDULE P0331 DIAGNOSTIC Get a fair and transparent estimate upfront

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.

trouble codes
Check Engine Light
P0331

Fast and easy Check Engine Light is on Inspection service at your home or office.

SCHEDULE P0331 DIAGNOSTIC
Get a fair and transparent estimate upfront

Recent Check Engine Light is on Inspection reviews

Excellent Rating


YourMechanic Check Engine Light is on Inspection Service

Average Rating

4.5/5

Number of Reviews

4,150

Rating Summary
3,799
173
45
26
107
3,799
173
45
26
107
Kim

Kim

21 years of experience
79 reviews
Kim
21 years of experience
Service was a great value. Appreciated the information and next step recommendations and referrals. Was very knowledgeable and nice. Would use his services again.
2005 HONDA CR-V - CHECK ENGINE LIGHT IS ON - CHAPEL HILL, NORTH CAROLINA
Rodney

Rodney

33 years of experience
336 reviews
Rodney
33 years of experience
Super knowledgeable. Very thorough. Being someone that knows very little about cars, he was nice enough to dumb it down and break it down for me to understand the problems with my car. Great customer service!
2006 VOLKSWAGEN JETTA - CHECK ENGINE LIGHT IS ON - FOLSOM, CALIFORNIA
John

John

17 years of experience
310 reviews
John
17 years of experience
Outstanding
2007 VOLKSWAGEN PASSAT - CHECK ENGINE LIGHT IS ON INSPECTION - ORLANDO, FLORIDA
Dan

Dan

36 years of experience
611 reviews
Dan
36 years of experience
I had such a great time with Dan, who was kind enough to explain step by step what needs to be done on my car.
2002 CHEVROLET EXPRESS 1500 - CHECK ENGINE LIGHT IS ON - SUWANEE, GEORGIA

More related articles

Rules of the Road For Iowa Drivers
Driving on the roads requires knowledge of the rules, many of which are based on common sense and courtesy. However, even though you know the rules in...
Veteran and Military Driver Laws and Benefits in Idaho
The state of Idaho offers a number of benefits and perks for those Americans who have either served in an Armed Forces branch in the...
Veteran and Military Driver Laws and Benefits in New Mexico
The state of New Mexico offers a number of benefits and perks for those Americans who have either served in an Armed Forces branch...

Related questions

Q: Do I need to repair or replace my ECM?

You can get an ECM-related code for a number of different reasons. It can be something as simple as a voltage loss from a bad battery connection, or it may need a new ECM. I usually check the codes and...

Q: When starting, car has heavy gas smell and starts to smoke from under hood with engine light on.

In order to start diagnosis the computer will need to be scanned for codes. The problem sounds like you have a fuel injector leaking or a cylinder misfire. Check engine oil to see if it is overfull indicating fuel has...

Q: Will a bad O2 sensor damage my car's computer?

The engine control unit (ECU) is a possible cause of the O2 sensor fault codes but not the most likely. Your vehicle is equipped with 4 O2 sensors. Bank 1 is the driver's side. Bank 2 is the passenger side....

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-800-701-6230 · hi@yourmechanic.com