OBD2 Error Code P0345: How to Fix It

Medium 45 minutes to 1.5 hours Critical Severity Verified June 2026
Error Code
P0345
Brand
OBD2
Product Type
automotive
Severity
Critical
DIY Difficulty
Medium
Estimated Fix Time
45 minutes to 1.5 hours
OBD2 error code P0345 indicates a camshaft position sensor circuit malfunction on Bank 2 of your engine. This critical error means your engine control module isn't receiving proper signals from the camshaft position sensor, which can cause rough idling, poor performance, or prevent your vehicle from starting.
Ad

Tools You'll Need

How to Fix Error Code P0345

  1. Turn off engine and ensure safety

    Never work on a hot engine - components can cause severe burns and fluids may be under pressure.
  2. Connect OBD2 scanner and verify code

  3. Locate Bank 2 camshaft position sensor

  4. Inspect wiring and connector

  5. Clean connector contacts

    Disconnect the negative battery terminal before cleaning electrical connections to prevent short circuits.
  6. Test sensor resistance

  7. Check sensor gap and mounting

  8. Replace camshaft position sensor if needed

    Do not over-tighten the sensor mounting bolt as this can crack the sensor housing or strip the threads.
  9. Clear codes and test drive

Parts You May Need

Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Wiring harness repair kit
Check Price on Amazon
Ad

When to Call a Professional

Call a professional mechanic if you find extensive wiring damage requiring harness replacement, if the timing chain or belt needs adjustment, if multiple camshaft sensors are failing simultaneously, or if the problem persists after sensor replacement as this may indicate internal engine timing issues.

Frequently Asked Questions

Can I drive with P0345 error code?
You should not drive with P0345 as it's a critical error that can cause engine damage. The engine may run rough, stall unexpectedly, or fail to start. Continued driving can lead to catalytic converter damage or complete engine failure.
How much does it cost to fix P0345?
Fixing P0345 typically costs $150-$400 if you need to replace the camshaft position sensor. DIY repair costs $50-$150 for the sensor plus tools. Professional diagnosis and repair can range from $200-$600 depending on labor rates and additional issues found.
What causes camshaft position sensor failure?
Common causes include normal wear and tear, oil contamination, excessive heat, vibration, electrical shorts, corroded connections, or physical damage from debris. Oil leaks can damage the sensor's electronics, while timing chain stretch can affect sensor readings.
How do I know which bank is Bank 2?
Bank 2 is the side of the engine that does NOT contain cylinder #1. In V6 and V8 engines, if you're facing the engine from the front of the vehicle, Bank 1 is typically on the right side and Bank 2 on the left side, but this varies by manufacturer.
Will P0345 cause my car to fail emissions testing?
Yes, P0345 will cause your vehicle to fail emissions testing in most areas. The error code indicates a malfunction that affects engine timing and fuel delivery, which directly impacts emissions. You must fix this code before passing inspection.