P0345 — Camshaft Position Sensor A Circuit Malfunction (Bank 2)

OBD2 code P0345 flags a problem with the camshaft position and variable valve timing (camshaft position sensor a circuit malfunction (bank 2)). Short, gentle driving to a shop is usually possible. Common culprits: faulty camshaft position sensor, worn cam phaser, worn timing chain/belt or jumped timing.

powertrain (engine/transmission)

Is it safe to drive?

Diagnose promptly P0345 can affect starting, idle quality, and engine power on Bank 2. Avoid heavy acceleration and extended driving if the engine stalls or runs poorly, and schedule diagnosis promptly. Stop and arrange towing if the engine will not run safely.

Typical symptoms

  • The check-engine light illuminates and P0345 is stored in the powertrain controller
  • Rough idle, hesitation, or intermittent loss of power may occur
  • The engine may crank but fail to start or stall shortly after starting
  • Some vehicles run normally and show only the warning light and P0345
  • Stored freeze-frame data may show P0345 during low RPM, cranking, or a cold start

Common causes

  • A failed camshaft position sensor A on Bank 2 that no longer produces a usable signal
  • An open, shorted, or high-resistance wire in the Bank 2 sensor signal, reference-voltage, or ground circuit
  • A loose, corroded, oil-contaminated, or water-damaged sensor connector
  • A damaged camshaft reluctor or target feature that prevents the sensor from producing clean pulses
  • A Bank 2 valve-timing or cam-synchronization condition that prevents the ECM from recognizing the sensor signal
  • An internal ECM monitoring fault or a misleading P0345 indication after another sensor-circuit repair

How to diagnose with an OBD scanner

  1. Confirm P0345 with an OBD2 scanner Connect an OBD2 scanner, ELM327, or AIScanAuto and read stored, pending, and freeze-frame data. Confirm that P0345 is current, note any companion codes, and check live camshaft synchronization data if the scanner supports it.
  2. Inspect the Bank 2 sensor and connector Locate the camshaft position sensor A specified for Bank 2 on the vehicle wiring diagram. Inspect its connector and harness for water, corrosion, oil contamination, pin damage, and chafing near moving or hot components.
  3. Test reference, ground, and signal circuits Using the manufacturer wiring diagram, back-probe the sensor and ECM connectors. Verify reference voltage, ground continuity, absence of shorts, and changing sensor output while the engine is cranking. Compare readings with the service specifications for that vehicle.
  4. Check the sensor waveform Monitor the Bank 2 sensor signal with an oscilloscope where available. A fixed reference voltage without pulses suggests an open circuit or failed sensor; missing or irregular pulses can indicate a damaged reluctor, target, air-gap issue, or defective sensor.
  5. Verify timing before replacing parts If power, ground, and waveform are correct, verify Bank 2 cam synchronization and valve timing with the prescribed service procedure. A failed sensor can be replaced only after confirming that its signal is not being distorted by another fault.
  6. Repair, clear, and road-test Repair the confirmed wiring, connector, sensor, target, or synchronization fault. Clear P0345 and related codes with the scanner, cycle the ignition as required, and road-test while monitoring for a return code, stalling, or loss of synchronization.

Approximate repair cost

Typical independent-shop estimate: about $180-$650 USD for diagnosis and the required Bank 2 camshaft sensor, wiring, connector, or synchronization repair. These figures are estimates and vary by region, vehicle complexity, and whether the sensor, harness, or ECM is at fault.

Common questions

Does P0345 prove that the Bank 2 camshaft is out of time?

Not necessarily. P0345 primarily identifies a signal-circuit malfunction involving the Bank 2 camshaft position sensor A; an incorrect timing or synchronization condition can contribute, but the code alone does not prove cam damage.

Can the vehicle still be driven with P0345?

It may be drivable if the engine runs smoothly, but P0345 can cause stalling, rough idle, or power loss. Reduce driving and obtain diagnosis promptly, especially if starting or running behavior is unreliable.

What does Bank 2 mean for camshaft position sensor A?

Bank 2 identifies the engine bank containing the camshaft and sensor being monitored by P0345. The physical sensor location and connector routing vary by engine design, so use the vehicle wiring diagram rather than guessing.

Will replacing the camshaft position sensor always fix P0345?

Not always. The sensor may be faulty, but P0345 can also result from damaged wiring, a poor connector, a missing reluctor signal, or a synchronization issue; testing the complete circuit first helps avoid an unnecessary replacement.

When your check engine light comes on and a code reader shows P0345, it means the engine's computer has detected a problem with the camshaft position sensor circuit on Bank 2. The control module relies on this sensor to track the camshaft's exact rotational position, and that data feeds directly into the variable valve timing system. When the signal falls outside the expected range, the PCM logs this trouble code and switches to a backup strategy to keep the engine running.

The "Bank 2" designation refers to the engine bank that does not include cylinder number one. On V-shaped engines, that's the opposite side from cylinder one. Most four-cylinder engines only have a single bank, so P0345 typically appears on V6 or V8 configurations. The sensor itself acts like an electrical switch, producing a voltage pulse each time a tooth on the reluctor ring passes by. The PCM counts these pulses and cross-references them with the crankshaft position to determine valve timing with precision. Several drive cycles are usually required before the module confirms the fault and turns on the warning light.

When P0345 sets, the PCM also saves a freeze frame snapshot — a record of engine RPM, load, temperature, and speed at the instant the problem occurred. That snapshot is extremely useful during diagnosis because it tells you exactly what conditions triggered the code, letting you reproduce the issue rather than chasing ghosts.

Symptoms of P0345

  • Check Engine Light is illuminated
  • Noticeable reduction in engine power and responsiveness
  • Fuel economy drops noticeably compared to normal
  • Rough or unstable idle, often accompanied by poor low-end torque
  • Extended cranking time when starting the engine
  • In the worst cases, the engine fails to start at all
  • Possible failsafe mode activation, limiting RPM and throttle response

Common Causes

  • Dirty or degraded engine oil — VVT hydraulic components are extremely sensitive to oil condition
  • Stuck or clogged VVT oil control valve (solenoid)
  • Worn or stretched timing chain, or jumped timing due to chain/belt failure
  • Faulty camshaft position sensor itself
  • Damaged wiring harness, corroded connectors, or poor electrical contacts in the sensor circuit
  • Worn or damaged cam phaser (the hydraulic actuator that advances or retards valve timing)
  • Bent or damaged reluctor ring (the toothed wheel the sensor reads)

How to Diagnose P0345

  1. Connect an OBD2 scanner, retrieve all stored codes including P0345, and record the freeze frame data before doing anything else. The freeze frame reveals the exact conditions — RPM, load, temperature, speed — when the fault first appeared.
  2. Look for any related trouble codes. Secondary codes pointing to crankshaft position, variable valve timing, or oil pressure often expose the true root cause rather than the sensor itself.
  3. Research technical service bulletins (TSB) for your specific make and model. Many P0345 complaints have documented factory fixes or PCM software updates.
  4. Perform a thorough visual inspection of the wiring harness and connectors feeding the Bank 2 camshaft position sensor. Check for broken wires, melted insulation, moisture intrusion, and corrosion at the connector pins.
  5. Verify engine oil level and condition. If the oil is dark, sludgy, or below the proper mark, address this first — many VVT malfunctions disappear after an oil change.
  6. Use the scanner's live data function to monitor commanded versus actual camshaft position while gently revving the engine. The values should track closely together; a large gap indicates mechanical or hydraulic failure.
  7. Clear the code, complete a drive cycle that reproduces the freeze frame conditions, and verify P0345 does not return.

Repair Options and Costs

If diagnosis points to a failed component, here are typical repair costs at an independent shop (parts and labor, USD):

  • Replace the VVT oil control valve: $200–$500
  • Replace the camshaft position sensor: $120–$350
  • Timing chain or belt repair (including tensioner and guides): $800–$2,500

Total Cost to Fix P0345

Most P0345 repairs land somewhere between $120 and $2,500 depending on which part is actually faulty. The most common culprits — the sensor and the oil control valve — are relatively inexpensive fixes. Timing chain or belt work represents the high end of the range, which is why proper diagnosis before buying parts is essential. Never replace a camshaft position sensor assuming it is bad without verifying power, ground, and signal at the connector first.

Can You Drive with P0345?

Caution is warranted. The engine will likely run in a reduced-power failsafe mode, and fuel consumption will suffer. More importantly, if the underlying cause involves jumped timing or a failing timing chain, continued operation on an interference engine risks catastrophic valve-to-piston contact. Have the vehicle diagnosed before any extended trip.

Related OBD2 codes