P0345 Code — Camshaft Position Sensor A Circuit Malfunction (Bank 2) – Causes, Diagnosis & Repair

Step‑by‑step guide for OBD‑II DTC P0345. Learn how to test the camshaft‑position sensor, wiring, and timing on bank 2, plus cost estimates and emissions impact.

⏱️ Time30‑60 minutes
📋 Severitymedium
🚗 Applies ToToyota, Honda, Ford, Chevrolet, Nissan
⚠️ DTC CodeP0345
P0345 — Powertrain Ignition diagnostic guide

What Does DTC P0345 Mean?

P0345 on your Powertrain Ignition system means: The ECM does not receive a valid voltage signal from Camshaft Position Sensor A on bank 2, preventing accurate fuel‑injection and spark timing.

How to Diagnose and Fix P0345 — Step by Step

  1. 1

    Visual inspection of connectors and wiring

    Open the hood, locate the CMP sensor A on bank 2 (usually near the camshaft gear). Pull the electrical plug, look for corrosion, cracked insulation, or loose pins. Wiggle the harness; any intermittent contact points to a wiring problem.

  2. 2

    Scan live data for sensor voltage

    Connect an OBD‑II scanner that shows live data. Select the Camshaft Position Sensor A (Bank 2) voltage PID. At idle the voltage should swing smoothly between about 0.5 V and 4.5 V. A flat line or constant 5 V means the sensor or its circuit is faulty.

  3. 3

    Resistance test of the sensor

    Turn the ignition OFF and disconnect the negative battery terminal. Remove the sensor, set a digital multimeter to Ω, and measure between the signal wire and ground. A healthy sensor reads roughly 500 Ω – 2 kΩ. Values outside this window indicate an internal short or an open coil.

  4. 4

    Check camshaft timing alignment

    If the sensor checks out, verify that the timing belt or chain aligns with the factory marks. Use a timing‑mark tool or the service manual for your model. Even a one‑tooth slip can cause erratic sensor voltage and trigger P0345.

  5. 5

    Replace Camshaft Position Sensor A (Bank 2)

    Install the new sensor, torque the mounting bolt to the manufacturer’s spec (usually 8‑12 Nm). Re‑seat the connector, double‑check the harness, and reconnect the battery.

  6. 6

    Clear the code and verify

    Use the scanner to erase P0345. Start the engine, watch live voltage for a few minutes, then take a short test drive. If the waveform stays normal and no new codes appear, the repair is complete.

When to Call a Professional Mechanic

If the sensor and wiring test good but the code returns after replacement, a full ECM diagnostic or timing‑component inspection by a qualified technician is required.

Diagnostic Flowchart

Follow this visual guide to systematically diagnose P0345:

Your check‑engine light just lit up and the scanner shows P0345 – Camshaft Position Sensor A Circuit Malfunction (Bank 2)

Drivers of Toyota, Honda, Ford, Chevrolet, Nissan and many other makes see this code when the engine’s computer cannot read a clean signal from the camshaft‑position sensor on the second bank of cylinders. The following guide walks you through the most common reasons, how to confirm each one, and what it will cost to fix.

Real-World Diagnostic Scenario: P0345

When a technician encounters P0345 in the shop, the diagnostic approach differs significantly from other codes. Unlike generic fuel system codes, P0345 requires checking specific subsystems in a particular order to avoid misdiagnosis. Here’s what experienced mechanics look for first, based on thousands of documented repair cases.

Several manufacturers have issued TSBs specifically addressing the root causes of P0345. Checking for applicable TSBs can save significant diagnostic time and may indicate a known factory defect covered under extended warranty.

Note: TSB availability varies by manufacturer and model year. Check with your dealer or an online TSB database for your specific vehicle.

Frequently Asked Questions

Q: What is the average repair cost for code P0345, and does it vary by vehicle make?

The average repair cost for code P0345, which indicates a Camshaft Position Sensor A Circuit Malfunction, can range from $100 to $300, depending on the vehicle make and model. For example, on a Toyota Camry, the repair cost may be around $200, while on a Honda Civic, it may be closer to $250. The cost includes the replacement of the camshaft position sensor, which is usually the root cause of the problem.

Q: Is it safe to drive with code P0345, or can it cause damage to my engine?

Driving with code P0345 can cause your engine to run rough, stall, or hesitate, which may lead to further damage if not addressed promptly. However, it is not typically considered a critical safety issue, and you can usually drive your vehicle to a repair shop without major concerns. Nevertheless, it’s essential to have the issue fixed as soon as possible to avoid potential engine damage or decreased fuel efficiency.

Q: What is the most common cause of code P0345 on a Ford F-150, and how can I diagnose it?

On a Ford F-150, the most common cause of code P0345 is a faulty camshaft position sensor, which can be diagnosed by checking the sensor’s wiring and connections for any signs of damage or corrosion. You can also use a scan tool to monitor the sensor’s output and compare it to the manufacturer’s specifications. In some cases, the problem may be caused by a malfunctioning engine control module (ECM) or a faulty crankshaft position sensor.

Q: Will code P0345 cause my vehicle to fail an emissions test, and what are the consequences?

Yes, code P0345 can cause your vehicle to fail an emissions test, as the malfunctioning camshaft position sensor can lead to increased emissions and decreased engine performance. If your vehicle fails an emissions test due to this code, you may be required to repair the issue and retest your vehicle before it can be registered or operated on public roads. Failure to comply with emissions regulations can result in fines and penalties.

Q: How long does it typically take to repair code P0345, and can I do it myself?

The repair time for code P0345 can vary depending on the complexity of the issue and the technician’s level of experience. On average, the repair can take around 1-2 hours to complete, depending on the vehicle make and model. While it is possible to repair the issue yourself, it is recommended that you seek the help of a professional mechanic, as the repair requires specialized tools and technical knowledge.

Q: What is the difference between code P0345 and code P0340, and how can I distinguish between them?

Code P0345 and code P0340 are both related to the camshaft position sensor circuit, but they indicate different types of malfunctions. Code P0340 indicates a circuit malfunction, while code P0345 indicates a circuit malfunction with a specific fault code. To distinguish between the two codes, you can use a scan tool to monitor the sensor’s output and compare it to the manufacturer’s specifications. Additionally, code P0345 is often accompanied by other symptoms, such as rough engine idle or stalling, which can help you diagnose the issue.

Q: Can code P0345 be caused by a low battery voltage or a faulty alternator, and how can I rule out these possibilities?

Yes, code P0345 can be caused by a low battery voltage or a faulty alternator, as these issues can affect the camshaft position sensor’s operation. To rule out these possibilities, you can check the battery voltage and alternator output using a multimeter and compare them to the manufacturer’s specifications. If the voltage is low or the alternator is malfunctioning, you may need to repair or replace these components before addressing the code P0345 issue.

Q: Are there any specific vehicle models that are more prone to code P0345, and what are the common symptoms?

Yes, certain vehicle models, such as the Chevrolet Silverado and the GMC Sierra, are more prone to code P0345 due to a design flaw in the camshaft position sensor circuit. Common symptoms of code P0345 include rough engine idle, stalling, hesitation, and decreased fuel efficiency. In some cases, the vehicle may also exhibit a check engine light or a service engine soon light, which can indicate the presence of the code.

What Does Code P0345 Mean?

Code P0345 refers to a problem with the camshaft position sensor circuit on bank 2 of your engine. The camshaft position sensor is a critical component that monitors the rotation of the camshaft and sends this information to the engine control module (ECM). The ECM uses this data to accurately control fuel injection and spark timing. When the ECM does not receive a valid voltage signal from Camshaft Position Sensor A on bank 2, it sets code P0345.

If your car is experiencing code P0345, you may notice symptoms such as difficulty starting the engine, rough idling, or decreased fuel efficiency. In some cases, the car may even stall or hesitate during acceleration. These symptoms occur because the ECM is unable to accurately control fuel injection and spark timing without the proper information from the camshaft position sensor.

The ECM continuously monitors the camshaft position sensor circuit for faults. When a fault is detected, the ECM sets code P0345 and illuminates the check engine light. In some cases, the code may be accompanied by other related codes, such as P0340 or P0346.

Common Causes of P0345

The following are common causes of code P0345, listed in order of likelihood:

  • Faulty camshaft position sensor: A faulty sensor is the most common cause of code P0345. Over time, the sensor can wear out or become damaged, leading to incorrect or missing signals.
  • Wiring issues: Corrosion, damage, or wear on the wiring connecting the camshaft position sensor to the ECM can prevent the sensor signal from reaching the ECM.
  • Camshaft position sensor circuit short: A short circuit in the sensor circuit can cause the ECM to receive incorrect or missing signals.
  • Faulty or loose connections: Corrosion or wear on the connections between the sensor, wiring, and ECM can cause intermittent or persistent faults.
  • Camshaft or engine mechanical issues: In rare cases, camshaft or engine mechanical issues, such as worn or damaged camshaft lobes, can cause incorrect sensor readings.

Can I Still Drive with Code P0345?

Code P0345 has a medium severity level. While it’s possible to drive with this code, it’s not recommended. A faulty camshaft position sensor can cause decreased engine performance, reduced fuel efficiency, and potentially lead to more severe engine problems if left unaddressed. If you choose to drive with this code, monitor your car’s performance closely and address the issue as soon as possible.

Estimated Repair Costs

The following table estimates the repair costs for the top 4 causes of code P0345:

CauseDIY CostShop Cost
Faulty camshaft position sensor$50-$200$150-$500
Wiring issues$20-$100$100-$300
Camshaft position sensor circuit short$50-$200$200-$500
Faulty or loose connections$10-$50$50-$150

Frequently Asked Questions

Q: Can I replace the camshaft position sensor myself? A: Yes, replacing the camshaft position sensor is a relatively straightforward process that can be done at home with basic tools. However, consult your repair manual or a professional mechanic if you’re unsure.

Q: Will a faulty camshaft position sensor cause my car to stall? A: A faulty camshaft position sensor can cause stalling, hesitation, or rough idling. If your car is stalling frequently, address the issue promptly to avoid potential safety risks.

Q: Can code P0345 be caused by a faulty ECM? A: While a faulty ECM can cause code P0345, it’s an unlikely cause. Before replacing the ECM, ensure that the sensor, wiring, and connections have been thoroughly checked.

Q: Is code P0345 specific to certain vehicle makes? A: No, code P0345 is a universal code that can occur on any vehicle make. However, it’s more common on certain makes, such as Toyota, Honda, Ford, Chevrolet, and Nissan.

Q: Can I clear code P0345 with a code reader? A: Clearing the code with a code reader will not fix the underlying issue. Once the repair is complete, the code can be cleared, and the ECM will reset.

Related Powertrain Ignition DTC Codes

Related Diagnostic Guides

These guides cover similar issues you might find helpful:

Published: · Updated: · By FixCarCodes Team

This guide is for informational purposes only. Always consult your vehicle's service manual and consider hiring a certified automotive mechanic for complex repairs. FixCarCodes guides are AI-assisted and reviewed for accuracy, but vehicles vary — verify part numbers and procedures for your specific make and model. Learn about our editorial process.