P0345: Camshaft Position Sensor B Circuit (Bank 2)

Quick answer

P0345 is the standardised OBD-II code for camshaft Position Sensor B Circuit (Bank 2). On V6 and V8 engines with a camshaft position sensor on each cylinder bank, this code covers the sensor on bank 2, the side opposite bank 1. The most likely cause is corroded or unplugged connector at the bank 2 cam sensor, not the most expensive one. Keep any driving short and light until it is repaired.

Severity 3 of 4. Short trips only.

Fix now · Short trips only

P0345 at a glance
CodeP0345
Standard nameCamshaft Position Sensor B Circuit (Bank 2)
SystemMisfire and ignition
SubsystemCamshaft position sensing
Sets theComprehensive component monitor
SeverityFix now (3 of 4)
Safe to driveShort trips only
Tool neededScanner with live data
Causes of P0345, most likely first
CauseHow oftenWhat to check
Corroded or unplugged connector at the bank 2 cam sensorMost likelyThis connector is exposed to engine bay heat near that bank's valve cover.
Chafed sensor wiring near the bank 2 valve cover or timing coverCommonVibration and heat in this area wear through insulation over time.
Failed camshaft position sensor on bank 2Worth checkingThese sensors are simple but do fail with age and heat cycling.
Excessive timing chain stretch on bank 2 changing the cam signal timingLess commonA stretched chain shifts the cam signal relative to the crank signal on that bank.
Sensor exposed to oil contamination from a bank 2 valve cover leakUncommonOil coating the sensor tip can interfere with its reading.
Reads P0345: live data and freeze frame

TOPDON TopScan Lite OBD2 Scanner, Bidirectional Scan Tool, 8 Resets & AI

Adds live sensor streams and freeze frame, which is what turns a code into a diagnosis rather than a guess.

$51.99Check pricePrices change often

Coverage varies by tool and by model year, so check a specific tool against a specific vehicle before buying.

What P0345 tells you, and what it does not

On V6 and V8 engines with a camshaft position sensor on each cylinder bank, this code covers the sensor on bank 2, the side opposite bank 1. It sets when that sensor's signal is missing or implausible, following the same logic as the bank 1 camshaft sensor code but applied to the second bank.

The code sits in the camshaft position sensing area and is reported by the comprehensive component monitor. It names the circuit or the condition where the computer saw a reading outside its expected range. It does not name a failed part, and several genuinely different faults set this same code, which is the whole reason the causes below are ordered rather than listed.

What people usually notice

  • Hard or extended cranking to start
  • Engine starts then stalls
  • Rough idle
  • Reduced power
  • Check engine light

What causes P0345?

The causes below are ordered by how often they turn out to be the answer, cheapest and most common first. That order matters more than the list itself: the expensive component named in the code text is very rarely the first thing to replace, and working down from the top is what stops a camshaft position sensing fault becoming an expensive guess.

Corroded or unplugged connector at the bank 2 cam sensor is the one to rule out before anything else. This connector is exposed to engine bay heat near that bank's valve cover.

Working out which cause it is

Start with freeze frame. Engine RPM at the fault shows whether the signal issue appears at startup, idle or under load. That snapshot is taken at the instant the code set, and it is the single most useful piece of evidence you have, which is also why clearing the code before reading it is such a costly habit.

This code is diagnosed by watching values change rather than by reading the number again, so the tool has to stream live data and hold freeze frame. Comparing live cam and crank signal timing on bank 2 together shows whether the two are properly synchronized.

The order worth working in

  • 1. Corroded or unplugged connector at the bank 2 cam sensor: This connector is exposed to engine bay heat near that bank's valve cover.
  • 2. Chafed sensor wiring near the bank 2 valve cover or timing cover: Vibration and heat in this area wear through insulation over time.
  • 3. Failed camshaft position sensor on bank 2: These sensors are simple but do fail with age and heat cycling.
  • 4. Excessive timing chain stretch on bank 2 changing the cam signal timing: A stretched chain shifts the cam signal relative to the crank signal on that bank.
  • 5. Sensor exposed to oil contamination from a bank 2 valve cover leak: Oil coating the sensor tip can interfere with its reading.

What P0345 means for driving the car

Have it checked soon, since some engines will run poorly on the crank signal alone but others can stall unexpectedly without a valid cam signal on that bank.

This is a severity 3 of 4 code, which means continuing to drive normally risks damage that costs considerably more than the repair in front of you. Treat the lamp as an instruction rather than a notification.

What does it cost to ignore P0345?

A failing cam signal on bank 2 tends to progress from occasional rough running to a hard no-start condition on many engines.

There is also the diagnostic cost of waiting. Freeze frame data, pending code history and the readiness monitor state all describe the fault as it was when it set, and all of it is lost the moment somebody clears the code to make the lamp go out.

Tools that can diagnose P0345

Adds live sensor streams and freeze frame, which is what turns a code into a diagnosis rather than a guess.

Common questions

What does code P0345 mean?

P0345 is the generic OBD-II code for camshaft Position Sensor B Circuit (Bank 2). On V6 and V8 engines with a camshaft position sensor on each cylinder bank, this code covers the sensor on bank 2, the side opposite bank 1. It sets when that sensor's signal is missing or implausible, following the same logic as the bank 1 camshaft sensor code but applied to the second bank. It is a standardised definition, so it means the same thing on every manufacturer, although the fault behind it differs from car to car.

Can I drive with P0345?

Have it checked soon, since some engines will run poorly on the crank signal alone but others can stall unexpectedly without a valid cam signal on that bank. On the severity scale this sits at 3 of 4, described as fix now. Whatever the code, a check engine light that starts flashing changes the answer immediately: that means an active misfire and the correct response is to reduce load and stop driving.

What is the most common cause of P0345?

Corroded or unplugged connector at the bank 2 cam sensor is the cause worth ruling out first. This connector is exposed to engine bay heat near that bank's valve cover. Work down the ordered list rather than replacing the component named in the code text, because that component is the expensive answer and it is rarely the right one.

Will P0345 clear itself?

If the underlying fault genuinely goes away, the computer turns the lamp off after the monitor passes on a number of consecutive drive cycles, and the code moves to history before ageing out. A code that clears and returns is not fixed, it is intermittent. Clearing it manually erases the freeze frame data and resets every readiness monitor to incomplete.

What scanner do I need for P0345?

This code is diagnosed by watching values change rather than by reading the number again, so the tool has to stream live data and hold freeze frame. Comparing live cam and crank signal timing on bank 2 together shows whether the two are properly synchronized. Vehicle coverage still varies by tool and by model year, so check a specific tool against a specific vehicle rather than assuming a capability tier guarantees access.