P0345 VW: Diagnose Bank 2 Camshaft Sensor Problems
22 min read · by Nicole Bennett · Last updated: November 25, 2026
P0345 VW means the engine computer has detected a problem with the Camshaft Position Sensor A circuit on Bank 2. On Volkswagen Group vehicles, this fault can also appear as VAG diagnostic code 16729 and is associated with the G163 camshaft position sensor. Possible causes include a failed sensor, damaged wiring, an electrical connection problem, or incorrect camshaft timing.
The code does not automatically mean you need a new camshaft sensor. The engine computer monitors the sensor signal to determine camshaft position and coordinate engine operation. If that signal disappears or becomes unusable, the computer can store P0345 and illuminate the check engine light. Starting problems, rough running, hesitation, and stalling may also occur.
The correct repair depends on the Volkswagen model, engine, wiring arrangement, and diagnostic results. A basic OBD2 scanner can retrieve the fault, but a Volkswagen-capable diagnostic tool such as VCDS can provide additional information. Checking freeze-frame data, sensor readings, wiring condition, and camshaft timing helps prevent unnecessary parts replacement.
What P0345 Means on a Volkswagen
P0345 is the generic SAE code for Camshaft Position Sensor A Circuit (Bank 2). It tells you that the powertrain control system has detected an abnormality in the electrical signal associated with the designated camshaft sensor. Volkswagen diagnostic equipment may identify the corresponding fault as 16729, with Ross-Tech associating the VW Group fault with sensor G163.
The camshaft position sensor monitors camshaft rotation and sends information to the engine control module (ECM). The ECM uses this information alongside crankshaft position data to determine which part of the engine’s operating cycle is occurring. This information helps coordinate fuel injection, ignition timing, and variable valve timing where equipped.
Understanding Bank 2 and Sensor A
Bank 2 refers to the cylinder bank that does not contain cylinder number one. It is relevant to engines with two cylinder banks, such as V-shaped and certain other multi-bank engine layouts. Bank 1 contains cylinder one, while Bank 2 is the opposite bank. The physical left or right position depends on the engine design and the manufacturer’s cylinder numbering convention.
Sensor A identifies a particular camshaft position sensing circuit. It should not automatically be interpreted as the first sensor you can see when standing in front of the vehicle. Some engines have several camshaft sensors because they monitor different camshafts or cylinder banks. The exact component identification must come from the Volkswagen wiring diagram and engine-specific repair information.
This distinction matters because replacing the wrong sensor will not resolve the fault. A four-cylinder Volkswagen engine with a single cylinder bank does not have a conventional Bank 2 arrangement. If a scan tool reports P0345, verify the vehicle identification, engine configuration, and complete diagnostic description before ordering parts or beginning repairs.
| Code or term | Meaning |
|---|---|
| P0345 | Camshaft Position Sensor A Circuit (Bank 2) |
| 16729 | Corresponding VW Group diagnostic fault number |
| G163 | Camshaft position sensor designation identified by Ross-Tech |
| Bank 1 | Cylinder bank containing cylinder number one |
| Bank 2 | Opposite cylinder bank on a two-bank engine |
| P0346 | Camshaft Position Sensor A Circuit Range/Performance (Bank 2) |
| P0347 | Camshaft Position Sensor A Circuit Low (Bank 2) |
| P0348 | Camshaft Position Sensor A Circuit High (Bank 2) |
The distinction between these related codes is useful during diagnosis. P0345 identifies a circuit fault, while P0346 indicates a signal range or performance problem. P0347 and P0348 identify low-input and high-input conditions, respectively. These descriptions help narrow the investigation, but none independently proves that a sensor needs replacement. For the same trouble code on a different platform, read P0345 Toyota.
For the Volkswagen-specific fault description and recommended diagnostic areas, consult the Ross-Tech 16729/P0345 diagnostic reference.

Symptoms of a Volkswagen P0345 Fault
A Volkswagen with P0345 may show only an illuminated check engine light, or it may develop noticeable engine performance problems. The severity depends on how much useful camshaft position information remains available and whether the underlying problem affects other engine systems.
The ECM may use alternative operating strategies when it cannot reliably read the affected sensor. However, backup operation does not guarantee normal performance. Some vehicles continue running with relatively minor symptoms, while others experience difficult starting, unstable idle, or unexpected stalling.
Check Engine Light
The check engine light is one of the most common indications. It may illuminate after the ECM detects an abnormal camshaft position signal. A stored P0345 does not always mean the problem is happening continuously. The fault may have occurred during a previous driving cycle and remained in the control module’s memory.
A scanner can help determine whether the code is pending, stored, or permanent. A pending code means the system has detected a fault that has not yet met all confirmation conditions. A stored or confirmed code indicates that the fault has met the relevant criteria. A permanent code remains until the problem is repaired and the required monitoring system completes its self-check.
Hard Starting or Extended Cranking
The engine may take longer than usual to start because the ECM is missing reliable camshaft position information. This can affect how the control system synchronizes fuel injection and ignition events. You may notice that the starter turns the engine normally, but the engine takes several extra seconds to start.
In more serious cases, the engine may crank without starting. A complete loss of the relevant signal can prevent reliable synchronization. If the Volkswagen suddenly develops a no-start condition, the diagnosis should also include the crankshaft position sensor, sensor power supply, and related wiring rather than focusing exclusively on G163.
Rough Idle, Hesitation, and Stalling
Incorrect or missing camshaft information can interfere with engine management. Possible symptoms include an unstable idle, hesitation during acceleration, inconsistent engine response, and occasional stalling. These symptoms may become more noticeable during cold starts or when the engine reaches operating temperature if the electrical fault is intermittent.
- Check engine light illuminated after a camshaft circuit fault is recorded.
- Longer cranking time before the engine starts.
- Intermittent no-start condition.
- Rough or unstable engine idle.
- Hesitation when accelerating from a stop.
- Unexpected engine stalling.
- Reduced engine performance or altered throttle response.
- Additional camshaft or crankshaft correlation fault codes.
Not every Volkswagen will experience all these symptoms. A damaged wire may cause an intermittent warning without noticeably changing engine performance. A mechanical timing problem may produce much more serious symptoms. The combination of warning lights, starting behavior, and additional diagnostic codes is more useful than any single symptom.
Symptoms That Suggest a More Serious Problem
A Volkswagen that repeatedly stalls, struggles to start, or develops pronounced mechanical noise needs prompt attention. These conditions may indicate a problem beyond the electrical sensor circuit. Incorrect valve timing can affect engine operation and, depending on engine design, may create a risk of internal mechanical damage.
If the engine runs extremely rough, makes unusual metallic noises, or stalls in traffic, stop driving when safe and arrange professional diagnosis. Do not assume that clearing the warning light will restore reliable operation. If you work on more than one brand, keep P0345 Audi handy as well.

Common Causes of P0345 on VW Vehicles
P0345 can result from an electrical problem, a defective camshaft sensor, or a mechanical timing issue. Ross-Tech specifically lists faulty G163 wiring, a defective G163 sensor, and misaligned timing as possible causes of Volkswagen Group fault 16729. The correct cause must be established through testing.
1. Failed Camshaft Position Sensor G163
The camshaft position sensor can fail internally as it ages. Heat, vibration, electrical stress, and contamination can affect its ability to produce a consistent signal. An internally damaged sensor may work when cold but fail after the engine reaches operating temperature.
A sensor failure may produce an absent, unstable, or otherwise unusable signal. The ECM then detects that the expected camshaft information is missing. Replacing the sensor may resolve the fault if testing confirms internal failure, but installing a new component without checking its power, ground, connector, and signal circuit can waste time and money.
2. Damaged Wiring or Electrical Connections
Wiring faults are an important possibility because the camshaft sensor depends on an intact electrical circuit. A broken conductor, damaged insulation, corroded terminal, loose connector, or poor ground can interrupt the signal between the sensor and ECM.
Engine heat and vibration can gradually damage harness insulation. Previous engine repairs may also leave a connector improperly secured or a wire routed too close to a hot component. Oil or moisture entering a connector can contribute to corrosion and unreliable electrical contact.
An intermittent connection may explain why the check engine light appears and disappears. A vehicle might run normally for several trips before the warning returns. In such cases, inspecting the harness and monitoring the sensor signal during a controlled harness movement test can help locate the interruption.
3. Incorrect Camshaft Timing
Mechanical timing problems can affect the relationship between the camshaft and crankshaft signals. A timing chain, belt, tensioner, guide, sprocket, or related component may be responsible, depending on the engine design. If the camshaft is not rotating in the expected relationship to the crankshaft, the ECM may detect abnormal synchronization.
Timing problems deserve particular attention if P0345 appears shortly after timing belt or timing chain work. An incorrectly installed component, improper alignment, or a tensioning problem may affect the camshaft signal. However, P0345 by itself does not establish that a timing component has jumped or failed.
4. Damaged Sensor Target or Trigger Wheel
The sensor must detect a suitable target associated with camshaft rotation. Depending on the engine, this may involve a trigger wheel, reluctor, or another target arrangement. Physical damage, contamination, or incorrect positioning can interfere with signal generation.
This possibility is especially important when a replacement sensor does not resolve the code. A technician may need to inspect the target and verify its alignment using the engine-specific procedure. The physical arrangement differs across Volkswagen engines, so a generic sensor-location diagram should not be treated as a universal repair instruction.
5. ECM Circuit or Internal Control Module Problem
A damaged ECM input circuit is possible, but it should be considered only after the more common sensor and wiring problems have been investigated. Poor module power, ground connections, or an electrical short can affect the signal interpretation.
Replacing an ECM without completing circuit testing is a poor diagnostic approach. The technician should first verify the sensor supply, ground, signal wiring, connector condition, and mechanical timing. Module replacement may also require vehicle-specific programming, coding, or adaptation procedures.
Tip: Do not purchase a replacement camshaft sensor solely because P0345 is stored. Volkswagen’s 16729 fault reference identifies three separate diagnostic areas: G163 wiring, the sensor itself, and camshaft timing. Check all three before approving a repair.
How to Diagnose P0345 With an OBD2 Scanner or VCDS
An effective diagnosis starts with retrieving the complete fault information before clearing anything. A basic OBD2 scanner can identify P0345, while a Volkswagen-capable diagnostic system can provide additional engine control module information and manufacturer-specific descriptions. The objective is to determine whether the problem comes from the sensor, its circuit, or mechanical timing.
Step 1: Read and Record All Diagnostic Codes
Connect the scanner to the vehicle’s 16-pin OBD2 diagnostic connector. On most vehicles, the connector is located below the driver’s dashboard near the steering column. Switch the ignition on according to the scanner’s instructions and access the engine control module.
Record P0345 and every related code before clearing the system. With VCDS, check address 01 for the engine controller and look for the corresponding 16729 fault description. Save the fault status and any available frequency, mileage, or operating-condition information.
Pay particular attention to other camshaft, crankshaft, timing correlation, and engine misfire codes. Multiple related faults may indicate a shared electrical problem or a broader mechanical issue rather than an isolated sensor failure.
Step 2: Examine Freeze-Frame Data
Freeze-frame data records engine operating conditions when a fault is detected and confirmed. It can help identify whether the problem occurs during cold starting, warm idle, acceleration, or steady-speed driving.
Useful information includes engine RPM, calculated load, coolant temperature, vehicle speed, and system voltage when available. For example, a fault that appears after the engine becomes hot may justify additional attention to heat-sensitive wiring or an internally failing sensor. A fault immediately following engine timing work deserves a closer mechanical timing inspection.
Step 3: Check Camshaft Position Live Data
Use a Volkswagen-compatible scan tool to examine available camshaft position and synchronization information. Depending on the engine and controller, the software may provide camshaft position, synchronization status, or actual and specified camshaft adjustment values.
Compare the available readings with the manufacturer’s specifications for the exact engine. Look for missing values, implausible changes, unstable readings, or synchronization information that does not agree with the expected engine operating condition. Do not assume that every Volkswagen controller exposes the same measuring values or group numbers.
If the sensor signal is absent, the next step is electrical testing rather than immediately installing another sensor. If the signal appears present but camshaft synchronization is incorrect, mechanical timing and the related control system deserve closer investigation.
Step 4: Inspect the Sensor Connector and Harness
With the ignition switched off and the relevant safety precautions followed, inspect the accessible sensor connector and surrounding wiring. Look for loose connections, damaged insulation, oil contamination, moisture, corrosion, and bent or damaged terminals.
Check the harness routing for contact with hot engine components, sharp edges, or moving parts. If previous engine work was performed, inspect any areas where the wiring may have been disturbed. A damaged connector can cause the same general warning as an internally defective sensor.
Step 5: Test Power, Ground, and Signal Circuits
Use the correct Volkswagen wiring diagram to identify the sensor connector terminals and their functions. Some camshaft sensors use a power supply, ground, and signal circuit. The actual circuit design and voltage requirements must be confirmed for the specific vehicle.
A digital multimeter can help check supply voltage, ground integrity, and circuit continuity. A technician may also use an oscilloscope to observe the sensor waveform while the engine is cranking or running. These tests can reveal a missing signal, electrical interruption, or irregular waveform that a basic scanner cannot display.
Do not apply a generic voltage value to every Volkswagen camshaft sensor. Hall-effect and other sensor designs have different electrical characteristics. Follow the exact wiring diagram and test specifications, and avoid shorting connector terminals with an incorrect test probe.
Step 6: Evaluate Fuel Trims and Related Engine Data
Fuel trim is not a direct measurement of camshaft sensor performance, but it can help identify additional engine problems that may contribute to poor running. Short-term fuel trim (STFT) shows immediate mixture corrections, while long-term fuel trim (LTFT) reflects corrections learned over time.
Combined STFT and LTFT values beyond roughly plus or minus 10 percent can point toward a mixture problem. Values beyond approximately 25 percent may be sufficient to trigger lean or rich mixture faults, depending on the operating conditions and control strategy. P0171 and P0174 indicate lean conditions, while P0172 and P0175 indicate rich conditions.
These readings do not prove that P0345 is caused by a fuel mixture problem. Instead, they help identify additional issues that should be diagnosed separately. Check whether abnormal fuel trims occur alongside rough idle, misfires, or other engine faults.
Step 7: Review Mode $06 and Verify Mechanical Timing
Where supported, Mode $06 can provide onboard monitor test results and component monitoring information. The availability and interpretation of useful camshaft-related test results depend on the vehicle’s ECM and diagnostic software. Do not assume that a generic Mode $06 display contains a direct pass-or-fail result for G163.
If electrical tests do not reveal a problem, inspect the mechanical timing according to the engine-specific procedure. This may involve checking the camshaft and crankshaft reference positions, timing chain or belt alignment, tensioner condition, and associated components. Mechanical timing work can require specialist locking tools and accurate positioning procedures.
After identifying and repairing the actual cause, clear the fault codes and perform the manufacturer’s required verification procedure. Recheck the engine control module and confirm that the relevant signal and synchronization values are normal. A road test should be performed only when the engine is operating safely. For another common fault on this model, see P0353 VW.
| Diagnostic observation | Possible interpretation | Next check |
|---|---|---|
| No camshaft signal | Sensor or electrical circuit failure | Check sensor supply, ground, connector, and waveform |
| Intermittent signal | Loose connector, damaged wire, or heat-sensitive sensor | Inspect harness and monitor signal during testing |
| Signal present but synchronization incorrect | Possible mechanical timing or trigger alignment problem | Compare actual and specified timing data |
| Normal signal and wiring | Intermittent fault or another control-system problem | Review freeze-frame, related codes, and ECM circuits |
| Abnormal fuel trims | Possible additional air, fuel, or combustion problem | Investigate mixture-related faults separately |
For more information about the generic code description and related faults, see the P0345 camshaft position sensor diagnostic reference.
Volkswagen P0345 Repairs and Replacement Options
The appropriate repair depends on which diagnostic test identifies the failure. A wiring repair may be enough for one Volkswagen, while another may require a replacement sensor or mechanical timing work. The repair should address the original cause rather than simply removing the warning from the instrument cluster.
Repairing Damaged Wiring
If testing identifies a broken wire, poor connection, or damaged terminal, the affected section may need to be repaired or replaced. The technician should use the appropriate automotive wiring repair method, connector components, and insulation materials. Improper splicing or incorrect terminal installation can introduce another intermittent fault.
Corroded connectors should be evaluated carefully. Cleaning may be appropriate in some cases, but severely damaged terminals or connectors generally require replacement. The harness should also be secured away from heat and vibration sources to prevent the same problem from returning.
Replacing the Camshaft Position Sensor
When testing confirms that G163 has failed internally, replacing the sensor is a reasonable repair. The replacement must match the exact Volkswagen engine application. Sensor appearance alone is not sufficient to establish compatibility because connector design, electrical characteristics, and installation requirements may differ.
Installation requirements also depend on the engine. Some sensors are relatively accessible, while others may require the removal of surrounding components. A technician should follow the correct service procedure, including any specified sealing, fastener, or installation requirements.
After installation, the engine control module should be scanned again. Clear the relevant fault memory when appropriate, restart the engine, inspect the live signal, and verify that P0345 does not return. If the fault immediately reappears, recheck the wiring and sensor compatibility rather than repeatedly replacing parts.
Correcting Mechanical Timing Problems
If the timing system is responsible, repairs may involve a timing belt, chain, tensioner, guide, sprocket, or related component. The exact parts depend on the engine. Correcting timing requires the appropriate alignment procedure and tools because even a small positioning error can affect engine operation.
A Volkswagen with a suspected timing problem should not be driven simply because it still starts. Depending on engine design, incorrect timing may create a risk of serious internal damage. Professional inspection is particularly important if the engine produces unusual mechanical noise or developed the fault immediately after timing system service.
Checking the ECM and Related Circuits
An ECM-related repair should be considered only after confirming that the sensor, wiring, connector, power supply, ground, and mechanical timing are functioning correctly. An electrical short or damaged controller input can create a persistent sensor circuit fault.
If the ECM requires replacement, the vehicle may need programming, coding, immobilizer adaptation, or other manufacturer-specific procedures. These requirements can add significant labor and diagnostic time. Replacing the controller without proving an internal failure is rarely a sensible first step.
What Determines Repair Cost?
The cost of fixing P0345 depends on the underlying fault and the amount of work needed to access and test the affected components. A simple connector repair generally involves less work than diagnosing an intermittent electrical problem or correcting an internal timing system issue.
- Diagnostic labor: Scan-tool testing, wiring checks, waveform analysis, and mechanical inspection require different amounts of time.
- Sensor replacement: The sensor application, accessibility, and installation requirements influence parts and labor costs.
- Wiring repair: Connector replacement, harness repair, and difficult-to-access wiring can increase labor.
- Timing system repairs: Chain, belt, tensioner, and guide work can involve substantial disassembly.
- ECM-related work: Controller testing, replacement, programming, and coding may add specialist labor.
- Shop versus DIY: Professional diagnostic equipment and specialist experience add service costs, while DIY work requires suitable tools, technical information, and repair skills.
A basic scan may identify the fault quickly, but an intermittent electrical problem can take considerably longer to isolate. Ask the repair facility to explain which test confirmed the failed component and whether the proposed work includes checking the associated wiring and timing system. Codes often appear in groups on this vehicle, so P0325 VW may also apply.
Is It Safe to Drive With P0345 VW?
A Volkswagen with P0345 may remain drivable if the engine starts normally, runs smoothly, and does not show signs of mechanical damage. However, the fault should be diagnosed promptly because an unreliable camshaft position signal can affect engine operation. A vehicle that stalls or struggles to start presents a greater safety concern than one with an illuminated warning light and no noticeable performance changes.
The most important consideration is how the engine behaves. A stored code does not automatically mean the vehicle must be towed, but it also does not guarantee that continued driving is safe. The possibility of an underlying timing issue makes it important to assess the vehicle before using it for extended journeys.
When Limited Driving May Be Reasonable
A short, cautious trip to a nearby repair facility may be reasonable when the engine starts reliably, idles normally, accelerates without hesitation, and shows no unusual noises. The check engine light should not be flashing, and there should be no evidence of an overheating or oil pressure problem.
Avoid heavy acceleration, high engine loads, towing, and unnecessary long-distance driving until the fault has been diagnosed. Keep in mind that an intermittent electrical fault can return without much warning. A vehicle that previously ran normally may develop starting problems or stall during a later trip.
When to Stop Driving
Stop when safe and arrange professional assistance if the engine repeatedly stalls, will not start reliably, runs extremely rough, or makes abnormal mechanical noises. These symptoms may indicate that the problem affects more than the sensor circuit.
A flashing check engine light is especially important. It usually indicates an active misfire severe enough to risk catalytic converter damage. Reduce engine load, avoid continuing normal driving, and arrange an inspection as soon as possible. If the vehicle is shaking heavily or losing power, a tow is the safer choice.
Tip: Do not continue driving a Volkswagen that repeatedly stalls, produces loud mechanical timing noises, or has a flashing check engine light. Stop in a safe location and arrange professional assistance. Incorrect camshaft timing can cause serious engine damage on some engine designs, and an active misfire can damage the catalytic converter.
A vehicle that has only a steady check engine light and otherwise runs normally may be less urgent, but it still needs diagnosis. Avoid clearing P0345 before recording its freeze-frame data and related fault information. Removing the warning does not repair the electrical or mechanical problem. If you do not own a scan tool yet, Best Diagnostic Tablets with Free Updates is a good starting point.
Frequently Asked Questions
1. What is Volkswagen fault code 16729?
16729 is the VW Group diagnostic fault number associated with P0345. Ross-Tech identifies it as Camshaft Position Sensor (G163): Malfunction. A Volkswagen-capable scan tool may display the VAG number rather than only the generic five-character OBD2 code.
2. Can P0345 prevent a Volkswagen from passing an emissions inspection?
Yes, it can create an emissions inspection problem. A confirmed powertrain fault may illuminate the malfunction indicator lamp and affect the vehicle’s emissions-related OBD readiness or inspection status. Requirements differ by state, and clearing the code immediately before testing does not guarantee that the required monitors will be ready.
3. Will disconnecting the Volkswagen battery permanently clear P0345?
No. Disconnecting the battery is not a permanent repair and may erase useful diagnostic information or reset certain learned values and readiness monitors. Permanent OBD fault codes are designed to clear only after the underlying problem has been corrected and the appropriate monitor has successfully completed its checks.
4. Can a Volkswagen have P0345 without experiencing a rough idle?
Yes. Some vehicles may store the code and illuminate the check engine light while maintaining relatively normal engine performance. The severity depends on whether the sensor signal is completely missing, intermittent, or still usable under certain operating conditions.
5. Can P0345 return after replacing the camshaft position sensor?
Yes. The code can return if the actual cause is damaged wiring, an incorrect replacement component, a connector problem, a damaged sensor target, or mechanical timing misalignment. If the fault returns immediately after replacement, repeat the electrical and timing checks instead of installing another sensor without further testing.
P0345 on a Volkswagen identifies a Bank 2 camshaft position sensor A circuit problem, commonly associated with VAG fault 16729 and sensor G163. A failed sensor is only one possibility; damaged wiring and incorrect camshaft timing must also be investigated. Use a scanner to record the fault and operating data, verify the electrical signal, and confirm mechanical timing before replacing parts. Prompt diagnosis helps prevent starting problems, unexpected stalling, and potentially expensive engine damage.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0352 VW: Diagnose Ignition Coil Faults and Restore Engine Performance
LearnP0336 VW: Diagnose Crankshaft Sensor and G28 Problems
LearnP0325 VW: Find the Knock Sensor Fault and Restore Engine Performance
LearnP0305 VW: Diagnose a Cylinder 5 Misfire and Find the Cause
LearnP0351 VW Code: Meaning, Causes, and Step-by-Step Ignition Coil Diagnosis
LearnP0684 Code: Diagnose the Glow Plug Communication Fault