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. 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$20.00
Toyota$20.00
BMW$20.00
SCHEDULE P0331 DIAGNOSTIC Get a fair and transparent estimate upfront

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

Diagnostic Trouble Code (DTC): P0221

P0221 code definition

A P0221 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 P0221 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 P0221 code will be saved, and the Check Engine light or MIL (Malfunction Indicator Light) will be illuminated.

What causes the P0221 code?

There are a few different causes for a P0221 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 P0221 code?

Noticeable symptoms when a vehicle has a stored P0221 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 P0221 code?

When a mechanic diagnoses the problem causing a P0221 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 P0221 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 P0221 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 P0221 code?

A P0221 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 P0221 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 P0221 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 P0221 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-6220.

trouble codes
P0331
Check Engine Light

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.8/5

Number of Reviews

4,796

Rating Summary
4,411
187
47
28
123
4,411
187
47
28
123

Matthew

31 years of experience
633 reviews
Matthew
31 years of experience
Mercedes-Benz E320 - Check Engine Light is on - Williamsburg, Virginia
MATT WAS AMAZING! HE EXPLAINTED EVERYTHING SO WELL! HIS EXPERTISE AS A MECHANIC IS EVIDENT AND I HIGHLY RECOMMEND HIM.

Mario

18 years of experience
101 reviews
Mario
18 years of experience
Lexus LS430 - Check Engine Light is on - Naples, Florida
NICE GUY, COMPLETED ALL WORK PROFESSIONALLY, HE ACTUALLY OFFERED SUGGESTION AND ATTITUDE WAS THAT HE CARED UNLIKE PAST MECHANIC

Kai

12 years of experience
3 reviews
Kai
12 years of experience
Hyundai Sonata - Check Engine Light is on - Plano, Texas
Great. He was knowledgable and wasted no time getting to work. Had lots of helpful information for me

Patrick

31 years of experience
1038 reviews
Patrick
31 years of experience
Mazda CX-7 - Check Engine Light is on - Austin, Texas
Patrick is always on time and extremely knowledgeable and professional. I am quite picky when it comes to somebody working on my car and I fully trust that Patrick will do an excellent job every time.

More related articles

P0370 OBD-II Trouble Code: Timing Reference High Resolution Signal A Malfunction
P0370 code means that the optical sensor has missed a number of pulses in the camshaft due to a short in the wiring harness, or a damaged PCM.
P0174 OBD-II Trouble Code: System Too Lean (Bank 2)
P0174 code definition System Too Lean (Bank 2) What the P0174 code means Code P0174 indicates that there is a lean condition...
P0921 OBD-II Trouble Code: Gear Shift Forward Actuator Circuit Range/Performance
P0921 means there is a problem with the gear shift forward actuator circuit, likely due to a faulty actuator or bad wiring.

Related questions

I had a trouble code P0090 and now I have P2177

This may not be very hard to solve. Code P2177 means your engine is running too lean. The most common cause of this is an air leak in the intake system. Since you've just been working under the hood, it's...

Can't clear P o341 code

A P0341 for your Pontiac is a camshaft position sensor problem code. This can also indicate a problem with the ignition module. These systems can sometimes "cross-indicate" since they are both timing sensitive. In the absence of driving symptoms from...

I changed out the camshaft position sensor, the car is still stalling and hard to start. It now shows a different P code.

The coolant temperature sensor (CTS) in your vehicle has failed and is making the computer think that the engine is too hot. When you shut off the engine and the engine will not restart, is it because the computer thinks...

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