P0331: Knock Sensor 2 Circuit Range/Performance (Bank 2)
Updated December 3, 2026
The knock sensor listens for engine knock (pinging) so the engine computer can pull back ignition timing to protect the engine. P0331 means the signal from knock sensor 2, which is on bank 2 of a V engine, is outside the range the computer expects. That can be a sensor or wiring problem, or real knock or engine noise the computer doesn't like.
COMPZA may earn a commission when you buy through links on this page, at no extra cost to you. How we make money.
🔧 Want to check this yourself? An OBD2 scanner reads the code; models with live data also show the sensor readings used in the checks below. See code readers and scanners from $24.99 ↓ · Which scanner do I need?
Common causes
- A failing knock sensor, or one that is loose or not tightened to spec
- Damaged wiring or a corroded connector, often under the intake manifold where the sensor sits on many V engines
- Real engine knock, for example from lower-octane fuel than recommended or heavy carbon buildup
- Excessive mechanical noise from the engine
Code meanings can vary slightly by manufacturer. Use these as a starting point and confirm with your vehicle's service information or a mechanic before replacing parts.
Symptoms
- Check engine light
- Reduced power or fuel economy as the computer retards timing
- Sometimes a pinging or rattling sound under load
Is it safe to drive?
Usually drivable with a steady light; use the fuel octane your owner's manual recommends. If you hear loud knocking or the engine loses power, stop driving and have it checked, since real knock can damage the engine.
How to check it with a scanner
- Plug an OBD2 scanner into the port under the dashboard and read all stored codes and the freeze-frame data (the conditions when the code set).
- Scan for related codes such as P0332, P0333, P0326, misfires or lean codes, and fix those first. Range codes on both banks at once point toward something common, such as fuel quality, engine noise or a shared harness.
- Make sure you're using the recommended fuel octane.
- With the engine off, inspect the bank 2 knock sensor wiring and connector where you can reach them for damage or corrosion.
- If you replace the sensor, clean the mounting surface and tighten it to the specified torque; over- or under-tightening changes its signal.
- After a repair, clear the code and drive normally for a few days to confirm it doesn't come back.
A basic code reader shows the code; scanners with live data let you watch sensor readings, which is what you need for most of the checks above. See OBD2 scanners under $100.
Code readers and scanners in stock
From partner stores' live product feeds. Check that the tool covers your vehicle's make, model and year on the retailer's page before you buy.
LAUNCH CR319 OBD2 Code Reader & Emissions Readiness Tester$24.99at LAUNCH X431 Online
LAUNCH CR529 OBD2 Code Reader with Live Data Stream$45at LAUNCH X431 Online
Autel MaxiLink ML529$52at AUTELOnline
AutoLink AL319$59at AUTELOnline
LAUNCH Creader VII+ Code Reader for Engine, ABS, SRS & Transmission$60at LAUNCH X431 Online
MaxiAP AP2500E$60at AUTELOnline Affiliate links. AUTELOnline prices updated Dec 4, 5:23 PM EST · LAUNCH X431 Online prices updated Dec 4, 5:35 PM EST.
Search eBay for your vehicle
Affiliate links: COMPZA may earn a commission from qualifying eBay purchases at no extra cost to you. Add your vehicle in eBay's parts finder to see parts that fit.
Questions
What does P0331 mean?
P0331 is the generic OBD2 code for "Knock Sensor 2 Circuit Range/Performance (Bank 2)." The knock sensor listens for engine knock (pinging) so the engine computer can pull back ignition timing to protect the engine. P0331 means the signal from knock sensor 2, which is on bank 2 of a V engine, is outside the range the computer expects. That can be a sensor or wiring problem, or real knock or engine noise the computer doesn't like.
Is it safe to drive with P0331?
Usually drivable with a steady light; use the fuel octane your owner's manual recommends. If you hear loud knocking or the engine loses power, stop driving and have it checked, since real knock can damage the engine.
How do I check P0331 myself?
Read the code and freeze-frame data with an OBD2 scanner, then: Scan for related codes such as P0332, P0333, P0326, misfires or lean codes, and fix those first. Range codes on both banks at once point toward something common, such as fuel quality, engine noise or a shared harness. Make sure you're using the recommended fuel octane. With the engine off, inspect the bank 2 knock sensor wiring and connector where you can reach them for damage or corrosion. If you replace the sensor, clean the mounting surface and tighten it to the specified torque; over- or under-tightening changes its signal.
Related codes
📬 Get the weekly deals email
One email a week with the best current deals from our partner stores: home, kitchen, tech, car and gifts. No spam, unsubscribe anytime.
Emails include affiliate links; COMPZA may earn a commission at no extra cost to you. See our privacy policy.