OBD-II Generic Error Code P0345: How to Fix It

Medium 45 minutes to 1.5 hours High Severity Verified July 2026
Error Code
P0345
Brand
OBD-II Generic
Product Type
automotive
Severity
High
DIY Difficulty
Medium
Estimated Fix Time
45 minutes to 1.5 hours
Error code P0345 indicates a problem with the camshaft position sensor A circuit on bank 2 of your engine. This sensor tells your engine computer the exact position of the camshaft, which is critical for proper fuel injection and ignition timing.
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
  2. Locate the camshaft position sensor

  3. Inspect the wiring harness

  4. Clean electrical connections

    Disconnect the negative battery terminal before cleaning electrical connections
  5. Test sensor resistance

  6. Check sensor mounting

  7. Replace camshaft position sensor if faulty

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

Parts You May Need

Camshaft position sensor
Check Price on Amazon
Sensor O-ring or gasket
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Sensor O-ring or gasket
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Sensor O-ring or gasket
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Sensor O-ring or gasket
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Sensor O-ring or gasket
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Camshaft position sensor
Check Price on Amazon
Sensor O-ring or gasket
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Ad

When to Call a Professional

Call a mechanic if you're uncomfortable working with electrical components, if the wiring harness needs extensive repair, or if the code persists after sensor replacement. Professional diagnosis may be needed if timing chain or camshaft issues are suspected.

Frequently Asked Questions

Can I drive with P0345 error code?
It's not recommended to drive with P0345 as it can cause poor engine performance, reduced fuel economy, and potential engine damage. The vehicle may run rough, stall, or fail to start.
What causes P0345 camshaft position sensor failure?
Common causes include sensor wear, damaged wiring, corroded connections, oil contamination, timing chain stretch, or camshaft problems. Heat and vibration are primary factors in sensor failure.
How much does it cost to fix P0345?
DIY repair typically costs $50-150 for a replacement sensor. Professional repair can range from $200-400 including labor, depending on sensor location and accessibility.
Will P0345 cause my car to fail emissions testing?
Yes, P0345 will typically cause your vehicle to fail emissions testing as it indicates an engine management system fault that affects emissions control.
How long does a camshaft position sensor last?
Camshaft position sensors typically last 80,000-120,000 miles, but can fail earlier due to heat, oil contamination, or electrical issues. Regular maintenance helps extend sensor life.