If your check engine light is on and you’ve scanned the code P0345, your vehicle is telling you there’s a problem with the camshaft position sensor circuit on Bank 2 (the side of the engine opposite the number-one cylinder). This sensor is critical for proper engine timing, fuel injection, and ignition control. A malfunctioning sensor can cause rough idling, poor fuel economy, and difficulty starting your vehicle.
What Does P0345 Mean?
P0345 is a generic OBD-II diagnostic trouble code that stands for “Camshaft Position Sensor A Circuit Bank 2.” Here’s what that breaks down to:
- P: Powertrain code (engine, transmission, or related systems)
- 0: Generic code (applies to all manufacturers)
- 3: Ignition system or sensor problem
- 4: Auxiliary emissions control system
- 5: Camshaft position sensor circuit malfunction
The camshaft position sensor monitors the rotation and position of the camshaft and sends this data to the engine control module (ECM). On engines with multiple banks (V6, V8, V10, V12), Bank 2 refers to the side of the engine that does not contain cylinder number one. The ECM uses this information to adjust fuel injection timing, ignition timing, and variable valve timing systems.
When the ECM detects a problem with the signal from the camshaft position sensor on Bank 2—such as no signal, an intermittent signal, or an out-of-range voltage—it triggers code P0345.
Common Symptoms
You may notice one or more of these symptoms when P0345 is present:
- Check engine light illuminated on the dashboard
- Rough or unstable idle
- Engine hesitation or stumbling during acceleration
- Difficulty starting the engine or slow cranking
- Reduced fuel economy
- Engine stalling while driving or at stops
- Loss of power or reduced engine performance
- Rattling or knocking sounds from the engine
- Limp mode activation (reduced power mode to protect the engine)
In some cases, especially if the sensor is only intermittently failing, you may not notice any drivability symptoms at all—just the check engine light.
Possible Causes (Ranked by Frequency)
- Faulty Camshaft Position Sensor – The sensor itself has failed or is producing an incorrect signal. This is the most common cause, accounting for approximately 70% of P0345 codes.
- Wiring Issues – Damaged, corroded, or disconnected wires in the sensor circuit. Check for frayed insulation, loose connectors, or corrosion on the connector pins.
- Connector Problems – A loose, corroded, or damaged connector at the sensor or ECM can interrupt the signal. Water intrusion is a common culprit.
- ECM or PCM Malfunction – The engine control module itself may be faulty and unable to properly read the sensor signal. This is less common but possible.
- Timing Chain or Belt Issues – A stretched, worn, or broken timing chain/belt can cause the camshaft to fall out of sync with the crankshaft, confusing the sensor readings.
- Oil Sludge or Debris – Excessive engine sludge can coat the sensor, preventing it from reading the camshaft position accurately.
- Camshaft Problems – A damaged or worn camshaft, or a camshaft that has slipped on its sprocket, can produce erratic sensor readings.
- Spark Plug or Ignition Coil Issues – In some cases, problems with spark plugs or ignition coils on Bank 2 can cause the ECM to misinterpret sensor data.
Diagnostic Steps
Follow these steps to diagnose P0345:
Step 1: Verify the Code and Check for Other Codes
Use an OBD-II scanner to confirm P0345 is present. Note any other codes that appear alongside it (such as P0340, P0341, or P0346), as these may provide additional clues about the root cause.
Step 2: Inspect the Camshaft Position Sensor Connector
Locate the camshaft position sensor on Bank 2 (consult your vehicle’s service manual for the exact location). Visually inspect the connector for:
- Corrosion or oxidation on the pins
- Loose or damaged pins
- Water intrusion or moisture inside the connector
- Cracks in the connector housing
If you find corrosion, clean the pins with electronic contact cleaner and a soft brush. Reconnect and retest.
Step 3: Check the Wiring
Trace the wiring from the sensor to the ECM. Look for:
- Cuts, abrasions, or exposed wires
- Pinched or crushed wiring
- Wires rubbing against sharp edges or hot surfaces
- Loose connections at both ends
Repair or replace any damaged wiring as needed.
Step 4: Test the Sensor with a Multimeter
Disconnect the sensor connector and set your multimeter to DC voltage mode. With the ignition on (engine off), check the voltage at the sensor connector. Typical values are 5V or 12V depending on the sensor type. If you read 0V or an incorrect voltage, the wiring or ECM may be faulty.
With the engine running, the voltage should fluctuate as the camshaft rotates. If the voltage remains constant, the sensor is likely faulty.
Step 5: Inspect the Sensor Physically
Remove the camshaft position sensor and examine it for:
- Physical damage or cracks
- Oil sludge or debris buildup
- Corrosion on the sensor tip
If the sensor appears damaged or heavily contaminated, replacement is necessary. If it looks clean, it may still be faulty internally.
Step 6: Check the Timing Chain/Belt
If the sensor tests good, the timing chain or belt may be the culprit. Listen for a rattling noise from the front of the engine, especially on cold starts. A stretched or worn timing chain can cause the camshaft to slip, producing incorrect sensor readings. This requires professional inspection and likely replacement.
Step 7: Clear the Code and Test Drive
After making repairs, use your scanner to clear the code. Take the vehicle on a test drive to see if the code returns. If it does, you may need to proceed to professional diagnostics.
Repair Cost Estimates
The cost to repair P0345 varies depending on the root cause and your vehicle:
- Camshaft Position Sensor Replacement: $150–$400 (parts and labor combined). Parts alone typically run $50–$200, with labor at $100–$300 depending on sensor accessibility.
- Wiring Repair or Connector Replacement: $75–$250. If the issue is simply a corroded connector or loose wire, this is a quick and inexpensive fix.
- Timing Chain Replacement: $800–$2,500+. This is a major repair and should only be pursued if diagnostics confirm a timing chain issue.
- ECM Reprogramming or Replacement: $300–$1,500. Rarely needed, but if the ECM is faulty, this can be expensive.
Note: Some vehicles have the sensor mounted in difficult-to-reach locations, which increases labor time and cost. Always get a quote from your mechanic before authorizing repairs.
Can I Still Drive?
The severity of P0345 depends on how badly the sensor is malfunctioning:
- Safe to Drive (Short Term): If the vehicle runs smoothly and you’re only seeing the check engine light with no drivability issues, it’s generally safe to drive to a mechanic for diagnosis. However, avoid extended highway driving.
- Not Safe to Drive: If you experience rough idling, stalling, difficulty starting, or limp mode activation, do not drive the vehicle. Have it towed to a repair facility, as the problem could worsen and leave you stranded.
- Long-Term Risk: Ignoring P0345 can lead to more severe engine damage over time. The engine may not run efficiently, fuel economy will suffer, and emissions will increase. Additionally, if the underlying cause is a timing chain issue, continuing to drive could result in catastrophic engine damage.
The safest approach is to have the code diagnosed and repaired as soon as possible.
Frequently Asked Questions
Q: Can I drive with code P0345?
A: It depends on the severity. If the vehicle runs normally and only the check engine light is on, short trips to a mechanic are usually safe. However, if you experience rough idling, stalling, or difficulty starting, do not drive the vehicle—have it towed instead. Prolonged driving with a faulty camshaft sensor can damage your engine.
Q: What’s the difference between P0345 and P0340?
A: P0340 refers to the camshaft position sensor circuit on Bank 1 (the side with cylinder number one), while P0345 refers to Bank 2 (the opposite side). Both codes indicate a malfunction in the sensor circuit, but they pinpoint which side of the engine has the problem. Some vehicles may have both codes if both sensors are failing.
Q: How much does it cost to fix P0345?
A: Most commonly, replacing the camshaft position sensor costs $150–$400 in parts and labor. If the issue is a corroded connector or loose wire, the cost may be as low as $75–$150. However, if the timing chain is the culprit, repairs can exceed $1,000. Always get a diagnosis before committing to a repair.
Q: Can a bad battery cause P0345?
A: Indirectly, yes. A weak or failing battery can cause voltage fluctuations that confuse the ECM’s sensor readings, potentially triggering P0345. However, a bad battery typically causes multiple codes. If you only have P0345, the sensor or its circuit is more likely the problem. That said, it’s worth testing your battery voltage (should be 12.6V at rest) before replacing the sensor.