P0345 Audi: Diagnose Bank 2 Camshaft Sensor Faults and Restore Engine Performance
20 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0345 audi fault code means the engine control module has detected a problem with the Camshaft Position Sensor A circuit on Bank 2. This generic OBD-II powertrain code indicates that the expected camshaft position signal is missing, interrupted, or otherwise unavailable. Possible causes include a defective camshaft position sensor, damaged wiring, a corroded connector, an electrical supply problem, or incorrect mechanical camshaft timing.
Audi owners may notice a check engine light, extended cranking, rough idling, hesitation, reduced acceleration, or unexpected stalling. Some vehicles continue running despite the fault, while others develop starting problems or enter a reduced-performance operating mode. The severity depends on the underlying problem and the engine involved.
Replacing the sensor immediately is not always the correct solution. A proper diagnosis should include stored and pending codes, freeze-frame information, camshaft live data, connector inspection, electrical testing, and mechanical timing checks when necessary. Audi engine configurations differ, so sensor locations and repair procedures must be confirmed using the vehicle’s model year, engine code, and factory service information.
What P0345 Means on an Audi Engine
P0345 identifies a fault in the Camshaft Position Sensor A circuit associated with Bank 2. The engine computer monitors camshaft position information to coordinate ignition timing, fuel injection, and engine operation. When the expected signal is unavailable, the control module can store this diagnostic trouble code.

Understanding the P0345 code format
OBD-II trouble codes use five characters. Each character provides information about the affected system and the type of diagnostic fault. Understanding this format helps distinguish a camshaft sensor circuit problem from unrelated engine faults.
- P: Identifies a powertrain fault involving the engine, transmission, or related control systems.
- 0: Identifies a standardized SAE diagnostic code rather than a manufacturer-specific P1xxx code.
- 3: Places the fault within the ignition and engine misfire-related diagnostic code family.
- 4: Identifies the specific diagnostic entry within this code family.
- 5: Completes the code identifier for the Bank 2 camshaft position sensor A circuit.
The generic SAE definition is Camshaft Position Sensor A Circuit (Bank 2). Audi’s 2014 A4/S4 diagnostic reference also identifies P0345 using this description. Its monitoring criteria include a signal activity check and a requirement for the sensor voltage to change during engine operation. A signal that does not change as expected can cause the fault to register.
What Bank 2 means
Bank 2 refers to the cylinder bank that does not contain cylinder number 1. On a V6 or V8 engine, the two cylinder banks are positioned on opposite sides of the engine. Bank 1 contains cylinder 1, while Bank 2 is the opposite bank.
This distinction matters because a technician must identify the correct sensor before testing or replacing it. Bank 2 does not universally mean the passenger side or driver side. The orientation depends on the engine design and vehicle installation. Audi engine layouts also vary between longitudinal and transverse configurations.
The code does not identify a specific Audi model, engine displacement, or sensor location. Causes vary by model year and engine. Owners should provide the VIN or engine code when consulting an Audi repair manual or parts specialist to ensure the correct component is identified. P0345 Lexus walks through the same code on another vehicle, which helps if the usual fix does not work.
Common Symptoms of an Audi P0345 Fault
An Audi with P0345 may experience starting difficulties, unstable engine operation, or reduced performance. The symptoms depend on how consistently the engine computer receives camshaft position information and whether another engine problem is present.

Check engine light illumination
The most recognizable symptom is an illuminated check engine light. The engine computer stores P0345 after detecting a problem with the Bank 2 camshaft position sensor circuit. The warning may appear immediately or after the vehicle completes the necessary monitoring conditions.
A basic scanner may show a confirmed code, a pending code, or both. A pending code means the computer has detected a fault but has not yet met the conditions required to confirm it. A confirmed code indicates that the malfunction has satisfied the applicable fault-monitoring criteria.
Hard starting and extended cranking
The camshaft position sensor provides information that helps the engine computer determine which cylinders are approaching their firing events. If the Bank 2 signal disappears, the computer may have difficulty establishing the correct synchronization between the camshaft and crankshaft.
The starter may turn the engine longer than usual before combustion begins. In more severe cases, the engine may crank without starting. Intermittent electrical faults can produce inconsistent starting behavior, particularly when a damaged connector or heat-sensitive sensor changes its electrical characteristics.
Rough idle, hesitation, and reduced power
A missing camshaft signal can interfere with engine synchronization and fuel injection control. The vehicle may idle unevenly, hesitate during acceleration, or respond more slowly when the driver presses the accelerator.
Some vehicles may experience misfires or stalling. Other vehicles continue operating using alternative engine management strategies. These strategies can keep the engine running, but they do not mean the underlying fault has disappeared.
Symptoms and possible explanations
| Symptom | Possible Explanation | Recommended Check |
|---|---|---|
| Check engine light | Missing or abnormal sensor signal | Read stored and pending codes |
| Extended cranking | Loss of camshaft synchronization | Compare camshaft and crankshaft data |
| Rough idle | Unstable signal or timing problem | Monitor live engine data |
| Intermittent stalling | Intermittent sensor or wiring failure | Inspect connectors and harness |
| Reduced acceleration | Engine management response to signal loss | Check camshaft signal and related codes |
| Misfire | Synchronization or another ignition fault | Check misfire counters and related DTCs |
Not every Audi will display all these symptoms. A vehicle with an intermittent sensor connection may run normally for several trips before the warning returns. A vehicle with a more serious timing problem may develop persistent rough running, starting problems, or additional camshaft correlation faults.
Why the P0345 Code Appears on Audi Vehicles
P0345 identifies a failed electrical signal-monitoring condition, not necessarily a defective sensor. Several electrical and mechanical problems can prevent the engine computer from receiving the expected Bank 2 camshaft position signal.
1. Faulty camshaft position sensor
A failing camshaft position sensor is one of the first components to investigate. Internal electrical damage, worn electronic components, heat exposure, or contamination can cause the sensor to produce an unreliable signal.
A sensor may function correctly when the engine is cold but fail after reaching operating temperature. It may also produce an intermittent signal that disappears during vibration or engine movement. This can explain why P0345 sometimes returns after the warning has been cleared.
However, replacing the sensor without checking its power supply, ground, connector, and signal circuit can result in unnecessary repairs. The original problem may remain even after a new component is installed. The P0345 diagnostic overview also describes sensor, wiring, and timing-related causes that should be considered during diagnosis.
2. Damaged wiring or electrical connectors
The wiring harness connects the camshaft position sensor to the engine control module. Broken conductors, damaged insulation, loose terminals, and corrosion can interrupt the signal.
Heat and vibration are important factors around an engine. Wiring routed close to hot components may deteriorate over time. Previous repairs or maintenance can also leave a connector improperly secured or a harness incorrectly positioned.
Oil or moisture inside the connector can interfere with electrical contact. Bent pins and damaged terminal locks may create intermittent faults that are difficult to identify through a simple visual inspection.
3. Incorrect camshaft timing
The camshaft must maintain the correct mechanical relationship with the crankshaft. A stretched timing chain, damaged timing components, incorrect installation, or a slipped timing mechanism can affect the relationship between the actual camshaft position and the expected signal.
Audi engines use different timing arrangements depending on the engine family. Some use timing chains, while other engine configurations use timing belts. The specific arrangement must be confirmed before selecting a repair procedure.
Incorrect timing may also produce additional camshaft or crankshaft correlation codes. A technician should investigate mechanical timing when scan data, related faults, abnormal engine noise, or other test results support that possibility.
4. Damaged camshaft trigger wheel
The camshaft position sensor reads a rotating target or trigger arrangement that generates the position signal. Depending on the sensor design, the target may use teeth, magnetic features, or another signal-generating pattern.
A damaged trigger wheel, incorrect alignment, contamination, or an incorrect sensor installation can produce an abnormal signal. Audi service information for the P0345 diagnostic family identifies trigger-wheel alignment and sensor installation among the possible diagnostic considerations.
5. Power supply, ground, or control module problem
The sensor requires the correct electrical operating conditions. Depending on the design, the circuit may involve a reference supply, ground, and signal connection. An open circuit, short to ground, short to voltage, or poor electrical connection can prevent the expected signal from reaching the engine computer.
If P0340 and P0345 appear together, the technician should investigate shared electrical connections and supplies rather than immediately assuming that both camshaft sensors have failed. A shared power or ground problem may affect more than one signal.
An engine control module failure is possible, but it should be considered only after the sensor, wiring, connector, power supply, ground, and mechanical components have been evaluated. For the same trouble code on a different platform, read P0345 Jeep.
How to Diagnose P0345 Audi with an OBD2 Scanner
A systematic diagnosis helps determine whether the fault comes from the sensor, its electrical circuit, or mechanical camshaft timing. An OBD2 scanner provides the first layer of information, while advanced live-data and electrical testing help confirm the cause.
Step 1: Scan all engine fault codes
Connect the scanner to the vehicle’s 16-pin OBD-II diagnostic port, usually located underneath the driver’s dashboard. Turn the ignition on and perform a complete diagnostic scan of the engine control system.
Record P0345 and every related code before clearing anything. Pay particular attention to P0340, P0341, P0346, crankshaft position faults, and camshaft timing correlation faults. These additional codes can provide clues about shared electrical problems or mechanical timing issues.
A generic scanner can identify standard P0345, but an Audi-capable diagnostic tool may provide additional manufacturer-specific information, measuring values, and control-module details. The available functions depend on the scanner and vehicle configuration.
Step 2: Review freeze-frame data
Freeze-frame data records operating conditions when the control module detects a fault. Reviewing this information helps establish whether P0345 appeared during cold starting, warm operation, idling, or acceleration.
Useful information includes engine RPM, coolant temperature, vehicle speed, engine load, and system voltage when available. For example, a fault that repeatedly appears after the engine becomes hot may suggest a heat-sensitive electrical component or wiring issue.
Compare the freeze-frame information with the driver’s description of the problem. If the fault occurs during starting, the diagnostic priorities may differ from those for a fault that appears only after extended driving.
Step 3: Monitor camshaft live data
Select the available camshaft position or synchronization data in the scanner. Depending on the Audi engine and diagnostic tool, the displayed information may include camshaft actual position, specified position, synchronization status, or camshaft speed.
Compare Bank 2 information with Bank 1 where the engine and scanner provide comparable readings. A missing, fixed, or implausible Bank 2 value may support the suspicion of a signal problem. However, a single zero reading is not sufficient to condemn a sensor without checking the operating conditions and the correct data parameter.
Observe the readings during cranking and, if the engine starts safely, at idle. Look for signal dropouts, inconsistent synchronization, and differences between specified and actual camshaft positions. Use the correct Audi service specifications rather than applying one universal voltage or position limit to every engine.
Step 4: Inspect the electrical circuit
Once the affected sensor has been identified, inspect its connector and harness using the appropriate service information. Look for corrosion, oil contamination, loose connections, bent pins, damaged insulation, and signs of heat exposure.
Electrical testing should establish whether the sensor receives its specified supply voltage and ground. Check continuity and look for unwanted shorts according to the correct wiring diagram. Reference voltage requirements differ between sensor designs, so do not assume every Audi camshaft sensor uses the same supply arrangement.
A multimeter can help identify open circuits and voltage problems. An oscilloscope is more useful for evaluating the actual signal waveform. It can reveal missing pulses, distorted patterns, or intermittent signal loss that a basic code reader cannot display.
Step 5: Check related engine operating values
Although P0345 is a camshaft sensor circuit code, other engine readings can help identify problems that occur at the same time. Check engine RPM, battery voltage, synchronization status, and misfire information when available.
Short-term and long-term fuel trims can help identify a separate mixture problem. Combined fuel trims beyond approximately plus or minus 10 percent deserve investigation, while values beyond roughly 25 percent may contribute to lean or rich diagnostic codes. Fuel trims do not directly confirm a defective camshaft sensor, so interpret them as supporting information rather than proof of P0345’s cause.
Mode $06 may provide useful onboard monitor results when the vehicle and scanner support the relevant tests. It is not a universal direct test for P0345. Use manufacturer-specific measuring values and applicable diagnostic procedures when available.
Step 6: Verify mechanical timing if necessary
If electrical testing does not identify a problem, or if additional camshaft correlation codes are present, mechanical timing may need to be checked. This involves comparing the actual camshaft and crankshaft relationship with the specifications for the engine.
Audi timing procedures can involve specialized locking tools, specific engine positioning, and precise installation requirements. A qualified technician should perform this work. Incorrect timing adjustments can cause serious internal engine damage on interference engines.
Tip: Do not replace the Bank 2 camshaft sensor simply because P0345 appears on the scanner. Save the freeze-frame data, check related codes, compare camshaft live data, and inspect the wiring before ordering parts. Never probe an electrical connector or perform timing work without the correct wiring diagram and engine-specific service procedure. While you are working on this vehicle, P0303 Audi covers a related problem worth checking.
How to Fix P0345 on an Audi
The correct repair depends on the confirmed cause. A damaged connector requires a different repair from a failed sensor or incorrect mechanical timing. The goal is to restore a reliable camshaft signal and verify that the engine computer can monitor it correctly.
Replace a confirmed faulty camshaft sensor
If testing confirms that the Bank 2 camshaft position sensor has failed, replacing it with the correct application-specific component may resolve the problem. Verify the engine code, sensor designation, connector design, and installation requirements before selecting a replacement.
Sensor accessibility varies significantly between Audi engines. Some installations provide relatively direct access, while others require removal of surrounding components. The repair manual should identify the required removal sequence, sealing requirements, and any specified installation procedures.
After installation, inspect the connector and harness again. An incorrectly seated sensor or damaged connector can cause the same code to return even when the replacement component is functional.
Repair damaged wiring and connectors
If testing identifies an open circuit, short circuit, damaged wire, or poor terminal connection, repair the affected section using the appropriate automotive wiring repair procedure.
The repair must restore the correct electrical connection and protect the harness from heat, moisture, and vibration. Damaged connector terminals may require replacement rather than simply cleaning the exterior of the connector.
Where electrical interference or incorrect harness routing is suspected, compare the existing installation with the factory wiring diagram. Correct routing and shielding are important for reliable signal transmission.
Correct mechanical timing problems
If diagnostic results confirm incorrect camshaft timing, the repair may involve the timing chain or belt, tensioner, guides, sprockets, or related timing components. The exact work depends on the Audi engine and the condition of the affected parts.
Timing repairs require accurate crankshaft and camshaft positioning. The technician must follow the specified timing marks, locking procedures, torque requirements, and post-installation checks. Replacing a sensor without correcting a mechanical timing problem will not provide a lasting solution.
Investigate control module faults last
An engine control module problem should be considered only after other causes have been ruled out. Before replacing or programming a module, verify its power supply, ground connections, sensor wiring, connector condition, and communication with the diagnostic tool.
Control module replacement may require coding, programming, or adaptation procedures. These requirements vary by Audi model and control module. Incorrect programming can introduce additional faults, so this repair is generally best handled by a qualified Audi specialist.
Clear codes and verify the repair
After completing the confirmed repair, clear the stored fault codes using the diagnostic tool. Start the engine and monitor the camshaft position data to confirm that the signal behaves as expected.
Check for returning pending or confirmed codes, verify stable idle quality, and evaluate starting performance. If the fault was intermittent, the vehicle may need to complete the appropriate operating conditions before the diagnostic monitor can fully verify the repair.
Permanent diagnostic codes are different from ordinary stored codes. They cannot necessarily be erased with a scanner or battery disconnection. They clear after the underlying fault is repaired and the relevant onboard monitor successfully completes its required checks.
Driving Safety and P0345 Repair Costs
P0345 should be treated as a fault that needs prompt diagnosis because a missing camshaft signal can affect starting and engine operation. Whether an Audi can be driven depends on its symptoms, the presence of additional codes, and the condition of the engine.
Is it safe to drive with P0345?
An Audi that starts normally and runs smoothly may remain operational with a stored P0345 code. However, continued operation is not guaranteed. The engine may experience unexpected hesitation, reduced power, stalling, or difficulty restarting.
A vehicle that stalls unexpectedly can become dangerous in traffic, particularly when turning, merging, or traveling at higher speeds. Even if the engine continues running, a persistent camshaft signal fault should not be ignored.
A flashing check engine light requires additional caution. It generally indicates an active misfire severe enough to risk catalytic converter damage. Reduce engine load and arrange prompt professional inspection. If the engine runs very roughly, stalls, makes unusual mechanical noises, or cannot maintain safe power, stop driving and arrange towing.
Avoid extended journeys until the cause has been identified. A short trip to a repair facility may be reasonable only when the engine runs smoothly, there are no serious warning signs, and the vehicle can be operated safely. When in doubt, towing is the safer choice.
What affects P0345 repair costs?
The repair cost depends on which component has failed and how difficult it is to access. A straightforward sensor replacement may require relatively little labor, while a wiring repair or timing system investigation can involve considerably more diagnostic and installation work.
The main cost factors include:
- Sensor replacement: The cost depends on the correct sensor application, component quality, and accessibility.
- Electrical diagnosis: Testing reference voltage, ground, continuity, and signal quality requires technician time and appropriate equipment.
- Wiring repairs: Damaged harness sections, connectors, and terminals may require additional parts and labor.
- Timing system repairs: Chain, belt, tensioner, guide, or sprocket problems can require extensive labor and additional components.
- Engine control module work: Module diagnosis, replacement, programming, and coding can add significant expense.
- Vehicle configuration: Engine layout and the location of the Bank 2 sensor affect access and labor hours.
- Repair facility: Audi dealerships, independent European vehicle specialists, and general repair shops may have different labor rates and diagnostic capabilities.
DIY repairs can reduce labor expenses when the problem is straightforward and the owner has the correct tools and repair information. However, sensor access, electrical testing, and mechanical timing work can make some Audi repairs unsuitable for inexperienced owners.
Before authorizing work, request a diagnosis that identifies the failed component or circuit rather than accepting a parts replacement based only on the trouble code. A detailed estimate should separate diagnostic time, parts, labor, and any additional mechanical work.
Preventing recurring camshaft sensor problems
Routine maintenance cannot prevent every electronic failure, but it can reduce the likelihood of related problems. Keeping the engine properly maintained, addressing oil leaks, and repairing damaged wiring can help protect sensor connections and nearby electrical components.
Use the engine oil specification and service interval recommended for the specific Audi engine. Investigate unusual timing-chain noise, persistent starting problems, and recurring engine warnings rather than repeatedly clearing diagnostic codes.
After any engine repair involving the camshaft sensor or wiring harness, confirm that the connector is properly seated and the harness is secured in its intended position. Proper installation helps prevent vibration-related and heat-related signal interruptions. The test is only as good as the tool, so compare options in OBD2 Scanner with Topology Mapping.
Frequently Asked Questions
These additional answers address common questions Audi owners have after discovering P0345. They also explain several diagnostic details that are not always included in a basic trouble-code description.
1. Does P0345 mean my Audi has a V6 or V8 engine?
Not necessarily. P0345 indicates a Bank 2 sensor circuit fault, which requires an engine with two cylinder banks. V6 and V8 engines can have two banks, but certain flat and W engine configurations can also have multiple banks. The code does not identify the engine’s cylinder count.
2. Can a weak Audi battery cause P0345?
Low system voltage can contribute to electrical and communication problems, although it is not proof of a camshaft sensor circuit failure. A healthy fully charged battery typically measures about 12.6 volts at rest, while a functioning charging system generally produces approximately 13.5 to 14.7 volts with the engine running. Check battery and charging performance if multiple unrelated electrical codes appear.
3. Will disconnecting the Audi battery permanently remove P0345?
No. Disconnecting the battery does not repair the underlying electrical or mechanical fault. The code may return when the engine computer repeats its monitoring checks. Permanent diagnostic trouble codes also require the relevant repair and successful monitor completion before they clear.
4. Can P0345 appear without a check engine light?
Yes. A pending fault may be recorded before the conditions for illuminating the malfunction indicator lamp have been met. Some diagnostic tools can also retrieve manufacturer-specific or historical fault information that is not currently displayed as an active warning.
5. Can P0345 affect an Audi emissions inspection?
Yes. A confirmed powertrain fault that illuminates the malfunction indicator lamp can cause an OBD-based emissions inspection failure in states that check the vehicle’s diagnostic system. Clearing the code immediately before inspection may also leave required readiness monitors incomplete. The EPA vehicle inspection and maintenance program information explains the role of emissions inspection programs. Repair the underlying fault and allow the applicable monitors to complete before testing.
P0345 on an Audi identifies a Bank 2 camshaft position sensor A circuit problem, but it does not automatically mean the sensor needs replacement. Diagnose the signal, wiring, electrical supply, and mechanical timing before choosing a repair. Confirm the fix with live scanner data and a successful follow-up diagnostic check to help prevent the fault from returning.
-
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
LearnP0328 Audi: Diagnose Knock Sensor Faults and Restore Engine Performance
LearnP0303 Audi: Diagnose Cylinder 3 Misfires and Find the Cause
LearnP0301 Audi Code: Cylinder 1 Misfire Causes and Checks
LearnP0341 Audi Code: Camshaft Position Sensor A Causes and Signal Tests
LearnP0354 Audi: Diagnose Ignition Coil Circuit Problems
LearnAlternator Overcharging: Symptoms, Causes and How to Test It