The P0345 code means there is a malfunction in the Camshaft Position Sensor A circuit, Bank 1 (or a single sensor in some makes). In most cases, the fix involves inspecting and possibly replacing the sensor, repairing the wiring or connector, and verifying engine timing. This article outlines what P0345 means, common causes, diagnostic steps, and repair options to help DIYers and pros approach the issue safely and effectively.
What P0345 means and how it can affect a vehicle varies by manufacturer, but the core issue is that the powertrain control module (PCM) is not receiving a reliable camshaft position signal. Without a valid cam timing signal, the PCM may miscue ignition timing and fuel delivery, leading to rough idle, misfires, reduced power, stalling, or no-start conditions. Because timing-related problems can cause serious engine damage, it’s important to approach the fix methodically, starting with electrical checks before heading into timing components. Vehicle-specific service information should always be consulted for exact procedures, torque specs, and relearn requirements.
What P0345 Means
P0345 is an OBD-II diagnostic code indicating a Camshaft Position Sensor A circuit malfunction. It generally points to issues with the CMP sensor itself, its wiring, or the circuit that supplies the sensor signal to the PCM. Some vehicles use "Sensor A" to denote the primary CMP sensor on Bank 1, while others may label related sensors differently. Because the CMP provides timing data used for ignition and fuel injection timing, symptoms can range from hesitation and rough running to stalling or no-start.
Sensor types and vehicle variations
Different makes use different CMP technologies (hall-effect, magnetic reluctor, or VR sensors) and wiring schemes. Some manufacturers require a revised sensor or PCM software, and others may need a relearn procedure after replacement. Always reference the factory service information for your specific vehicle to confirm sensor type, pinout, and relearn steps.
Common causes
Common causes behind P0345 include electrical faults, sensor or connector problems, and timing issues. The list below captures the typical culprits technicians encounter in the field.
- Faulty camshaft position sensor (CMP) A
- Damaged, frayed, or corroded wiring harness to the CMP
- Loose, dirty, or damaged CMP connector or poor connection
- Faulty or weak 5V sensor reference or inadequate ground for the CMP
- Engine timing issues: belt/chain wear, slipped timing, or mis-timed camshaft
- Faulty reluctor/tone wheel or mechanical camshaft issue
- PCM/ECU fault or software defect (less common, but possible)
- Interference from VVT solenoids or other sensors affecting the CMP signal
- Intermittent signal due to oil ingress, vibration, or installation damage
In practice, most P0345 cases boil down to sensor/wiring problems or timing issues, with electronics faults being less frequent but still possible. The exact cause is vehicle-specific and may involve more than one contributing factor.
Diagnostic steps
To diagnose P0345, technicians follow a methodical workflow to distinguish electrical faults from mechanical timing problems. The steps below provide a practical, tool-accessible approach.
- Review the freeze-frame data and all related codes to understand operating conditions when the fault occurred
- Visually inspect the CMP sensor, wiring harness, and connectors for damage, oil leaks, corrosion, or moisture
- Verify the 5V reference is present at the CMP sensor and that it remains stable under cranking and running conditions
- Check sensor ground continuity from the CMP to the PCM ground point; look for high resistance or bad ground paths
- Back-probe or use an oscilloscope to view the CMP signal waveform during cranking and running; confirm a clean, switching signal within expected voltage range
- Inspect engine timing: confirm camshaft timing aligns with crank timing using service marks or timing tools; assess belt/chain wear and tensioner condition
- If the CMP or wiring looks suspect, swap in a known-good sensor to verify whether the fault follows the sensor
- Inspect the PCM wiring and grounds for faults, including power feeds and possible short circuits
- Consider a software/firmware update or reflash if the vehicle’s OEM guidance suggests it for sensor-related DTCs
These diagnostic steps help pinpoint whether the fault is electrical, mechanical, or a combination, guiding the repair path and preventing unnecessary component replacement.
Repair and replacement options
Repair actions depend on the diagnosed root cause. The following options cover the most common remedies for P0345.
- Replace the CMP sensor with the correct OEM or reputable aftermarket part
- Repair or replace damaged wiring harness; repair connector contacts or replace the connector if corrosion or damage is extensive
- Clean, reseat, and properly latch the CMP connector; ensure there is no loose or bent pin
- Repair or replace timing components if belt/chain, tensioner, guides, or related parts are worn or misaligned; re-time the engine according to the OEM procedure
- Address mechanical camshaft issues or a faulty reluctor/tone wheel if present
- Repair or restore proper power and ground to the CMP/PCM; perform any required PCM software updates or reflash
- Perform cam/crank position sensor relearn or adaptation procedure if the vehicle requires it after sensor or timing repair
- Clear DTCs and conduct a thorough road test to verify that P0345 does not return and that engine performance is normal
After repairs, thorough verification is essential. Re-scan for codes, perform a test drive under varied loads and temperatures, and monitor for any related trouble codes that might indicate an ongoing issue.
Post-repair checks and tips
Even after a successful fix, some vehicles require a relearn or adaptation procedure to reestablish proper timing and sensor reading. Keep the service manual handy for vehicle-specific steps, torque specs, and any needed reinitialization procedures. If symptoms persist after the repair, recheck the wiring and connections, and consider consulting a professional with more advanced diagnostic tools.
Summary
P0345 signals a malfunction in the Camshaft Position Sensor A circuit, Bank 1. The typical path to resolution starts with confirming the electrical integrity of the CMP sensor, its wiring, and ground, then assessing timing components if electrical checks are clear. Replacing a faulty sensor, repairing wiring or connectors, and correcting timing issues are the core repair routes, followed by code clearance and a thorough road test to ensure the fault does not recur. Given model-specific variations and potential PCM involvement, consult the vehicle’s service manual and, when in doubt, seek professional diagnostic help to prevent engine damage.


