Go-Parts
Cart 0
Your cart is empty
Add an item to see it appear here.
Wrenchy
Go-Parts Garage
Expert guides for diagnosing, troubleshooting, and replacing auto parts Expert guides for diagnosing and replacing auto parts
Browse All →
🎬 Helpful Videos 🛍️ Shop This Part

P0345 on 2011-2017 Audi A8 4.2L FSI V8: Camshaft Sensor Causes and Fixes

P0345 on an Audi A8 4.2L FSI most often means the driver's side intake camshaft position sensor has failed. A DIY replacement costs around $40-$120. Before replacing, check for simple issues like a loose connector. This code can also be an early warning for more serious timing chain problems, so diagnosis is key.

20 minutes to read 2011-2017 Audi A8
Most Likely Cause
Failed Bank 2 Intake Camshaft Position Sensor
Difficulty
1/5
Est. Time
0.7 hrs
DIY Doable?
✅ Yes
Shop Labor
$100 – $250
Parts Price
$40 – $120
⚠️ Drivable, but... — You can drive for short distances, but expect symptoms like hard starting, stalling at stops, and reduced engine power. Continued driving is not recommended as the engine may stall unexpectedly, creating a safety risk. A faulty sensor signal can also lead to increased fuel consumption and poor emissions.
Key Takeaways
  • P0345 on this Audi A8 refers to the intake camshaft position sensor on the driver's side.
  • The most likely fix is replacing the sensor itself, which is an easy and affordable DIY job.
  • Before buying parts, swap the driver's side and passenger's side intake sensors to confirm the sensor is the problem. If the code moves to P0340, the sensor is bad.
  • A persistent P0345 code, especially when accompanied by a brief rattling noise from the back of the engine on startup, could indicate a serious timing chain issue requiring a professional. Use VCDS to check Measuring Block 93 for confirmation.
  • Ensure the sensor connector is clean and securely plugged in, as a bad connection can mimic a failed sensor.
The trouble code P0345 indicates that the Engine Control Module (ECM) has detected a malfunction in the circuit for the 'A' camshaft position sensor on Bank 2. For the Audi A8's V8 engines, Bank 2 refers to the driver's side of the engine. The 'A' sensor is typically the one for the intake camshaft. The sensor, also known as a Hall sender or G163, uses the Hall effect to generate a voltage signal based on the passing of teeth on a reluctor wheel on the camshaft. This provides critical data on the camshaft's rotational position, which the ECM uses to precisely control ignition timing and fuel injection.

What's Unique About the 2011-2017 Audi A8

The D4 generation Audi A8 with the 4.2L FSI V8 (Engine Code: CDRA) has four camshaft position sensors in total—an intake and exhaust sensor for each cylinder bank. While a P0345 code is most commonly a simple sensor failure, this engine family has its timing chains located at the rear of the engine, against the firewall. This design makes any timing-related service extremely labor-intensive and expensive, often requiring the engine to be removed from the vehicle. Therefore, while the sensor itself is an easy fix, it's critical to rule out underlying timing chain or tensioner issues, which can also trigger this code and are a known issue on this platform.

Symptoms You May Notice

  • Check Engine Light is on
  • Engine is hard to start or requires extended cranking
  • Engine stalls, especially when coming to a stop
  • Rough idle or misfiring
  • Noticeable loss of engine power and sluggish acceleration
  • Reduced fuel economy
  • Engine may enter limp mode
⚠️ Don't Waste Money on the Wrong Fix
  • Replacing the crankshaft position sensor. The code P0345 is specific to the camshaft sensor circuit, not the crankshaft.
  • Immediately assuming a timing chain failure without performing basic sensor diagnostics first. Always swap sensors or check wiring before condemning the timing components.
  • Replacing only the sensor without checking the connector and wiring for damage.

Most Likely Causes

  1. Failed Bank 2 Intake Camshaft Position Sensor 🔴 High Probability Heat and age cause the internal electronics of the Hall-effect sensor to fail over time. It is the most common point of failure for this code.
    How to confirm: Swap the Bank 2 (driver's side) intake sensor with the Bank 1 (passenger's side) intake sensor. They are identical parts (OEM P/N 07L905163C). Clear the codes and run the engine. If the fault code changes to P0340 (Bank 1), the sensor is bad. This is the most definitive DIY test.
    Typical fix: Replace the faulty camshaft position sensor. It is held in by a single T30 Torx screw and is accessible after removing the engine cover.
    Est. part cost: $40-$120
  2. Wiring Harness or Connector Issue 🟡 Medium Probability The plastic connector can become brittle with age and fail to make a secure connection. Wires can also chafe or corrode, especially given the engine's heat.
    How to confirm: Visually inspect the connector and wiring going to the Bank 2 intake camshaft sensor. Check for cracks, corrosion on the pins, or loose connections. Use a multimeter to confirm 5V power and ground at the connector with the ignition on. A video by Carsntoys on YouTube demonstrates this test on a similar Audi V-engine.
    Typical fix: Clean the connector pins. If the connector is broken, replace it (pigtail kits are available). Repair any damaged sections of the wiring harness with solder and heat shrink.
    Est. part cost: $5-$50
  3. Stretched Timing Chain or Failing Tensioner ⚪ Low Probability While more reliable than the previous generation S4's 4.2L V8, the timing components on the FSI engine can still wear out, typically over 100,000 miles. Lack of oil pressure at startup, often due to extended oil change intervals, can accelerate wear on the hydraulic tensioners and plastic guides.
    How to confirm: Listen for a distinct rattling or slapping noise from the back of the engine (near the firewall) on a cold start that lasts for more than a second or two. This is a classic sign of failing tensioners that bleed down oil pressure overnight. For a definitive diagnosis, use a diagnostic tool like VCDS to check camshaft adaptation values. In the Engine module, check Measuring Block 93. Add the intake and exhaust phase position values for Bank 1 and Bank 2 separately. If either sum exceeds approximately 7-8 degrees, it indicates significant timing deviation. Note that on newer UDS protocol ECUs, you must use 'Advanced Measuring Values' and search for 'Camshaft adaptation' as numbered blocks are not available.
    Typical fix: This is a major, engine-out repair that involves replacing the four timing chains, all guides, and all tensioners. It is a very expensive job (often $4,000-$8,000+) best left to an Audi specialist.
    Est. part cost: $1000-$2000

Rare But Worth Checking

  • Fouled Sensor Tip: An AudiWorld forum user reported fixing similar cam-related codes on a 4.2L FSI by simply removing the sensor and cleaning a white residue off the tip. It's a simple check worth performing before buying parts.
  • Low Oil Level or Pressure: The camshaft adjusters (phasers) are hydraulically operated by engine oil. Severely low oil level or low oil pressure can affect their operation and potentially set correlation codes or, in extreme cases, sensor codes. Always check the oil level first.
  • Failing Engine Control Module (ECM): While extremely rare, the ECM itself can fail, causing it to misinterpret the sensor signal. This should only be considered after all other possibilities, including wiring, have been exhaustively ruled out.

Diagnosis Steps

  1. Read the fault codes with an OBD-II scanner to confirm P0345 is the primary code.
  2. Remove the plastic engine cover to access the top of the engine.
  3. Locate the intake camshaft position sensor on the driver's side (Bank 2). It is on the rear of the cylinder head, near the firewall.
  4. Inspect the sensor's electrical connector for any signs of damage, corrosion, or looseness. Ensure it is fully seated.
  5. If the connector looks good, swap the Bank 2 (driver's side) intake sensor with the identical Bank 1 (passenger side) intake sensor. The exhaust sensors are different, so ensure you are swapping intake-to-intake.
  6. Clear the fault codes, start the engine, and let it run for a few minutes.
  7. Re-scan for codes. If P0340 (Bank 1) now appears, the sensor you moved is faulty and must be replaced.
  8. If P0345 returns, the problem is likely in the wiring to the Bank 2 sensor or a more serious mechanical timing issue. Proceed to check wiring for 5V reference and ground.
  9. At this point, listen carefully for a startup rattle from the rear of the engine. If a rattle is present, use VCDS or a similar tool to check camshaft adaptation values in Measuring Block 093 (or Advanced Measuring Values for UDS controllers) to assess for timing chain stretch.
  10. If wiring is confirmed good and timing values are out of spec, professional diagnosis of the timing system is strongly recommended.

Parts You'll Likely Need

  • Camshaft Position Sensor (OEM #07L905163C) — This sensor is the most common cause of a P0345 fault code due to internal electronic failure from heat and age. The part number 07L905163C supersedes previous versions 07L905163B, 07L905163A, and 7L905163.
    Trusted brands: Bosch (often the OEM supplier), HELLA, VEMO, NTK
    OEM price range: $80-$120
    Aftermarket price range: $40-$75

Related Codes That Often Appear With This One

  • P0340 — If you swap a faulty Bank 2 sensor to Bank 1 for diagnosis, this code will appear, confirming the sensor is bad.
  • P0018 — This code indicates a correlation issue between the crankshaft and the Bank 2 camshaft. It can appear alongside P0345 if there is a legitimate timing problem, such as a stretched chain or failing cam adjuster.
  • P0300, P0305, P0306, P0307, P0308 — Random (P0300) or specific cylinder misfire codes for Bank 2 (cylinders 5, 6, 7, 8) can occur because the incorrect camshaft signal leads to improper ignition and fuel timing.
  • P0346 — This code indicates a range/performance issue with the same sensor circuit. It points to an intermittent or unstable signal, rather than a complete loss of signal, but the root causes are the same.

Technical Service Bulletins (TSBs) & Recalls

  • While no TSB is directly for P0345 on this specific model, TSB 2039995/2 was issued for the related 3.0T V6 for 'Engine rattling noises at cold start' caused by upper chain tensioners. This indicates that Audi is aware of tensioner issues causing startup rattle on engines from this era. Owners should be aware that dealers may consider a 1-2 second rattle 'normal', but it can be an early warning sign of tensioner wear.

Platform-Specific Known Issues

  • Real Owner Experience: Sensor Swap Confirms Failure: On the iATN (International Automotive Technicians Network), a technician with a personal 2002 Audi A6 3.0L experiencing P0345 and misfires confirmed the diagnostic procedure of swapping sensors between banks to isolate the faulty component before replacing it. This highlights the validity of the sensor swap technique across different Audi V-engine generations.
  • VCDS for Timing Chain Diagnosis: Multiple threads on AudiWorld forums for various 4.2L V8s confirm the use of VCDS and checking Measuring Block 93 as the standard method for diagnosing timing chain stretch. Owners discuss acceptable values, with totals over 8 degrees being a clear indicator of a problem requiring mechanical intervention.

Mechanic-Grade Diagnostic Values

  • Camshaft Position Sensor (G163) Connector Voltage — expected: Approximately 5.0V between Pin 1 (Power) and Pin 3 (Ground) with the ignition on and sensor unplugged.. Failure: No voltage or significantly lower voltage indicates a wiring issue, blown fuse, or ECM fault. If voltage is present and the code returns after swapping sensors, the wiring harness is suspect.
  • VCDS Advanced Measuring Value - Camshaft Adaptation — expected: The value for 'Camshaft adaptation intake bank 2: phase position' should be between 0 and -7 degrees. A value approaching or exceeding -8 degrees indicates significant timing chain stretch.. Failure: A value more negative than -8 degrees (e.g., -9, -10) strongly suggests worn timing chain guides or a stretched chain, requiring mechanical inspection.

Scan Tool Commands That Help

  • VCDS (VAG-COM): [01 - Engine] -> [Basic Settings - 04] -> Drop-down menu: "Reset learned values for camshaft adjustment" — This function should be used after replacing timing chains or camshaft adjusters. It resets the stored adaptation values that the ECM has learned to compensate for old, stretched components. Failure to reset this can cause rough running or timing correlation codes even with new parts.

Wiring & Ground Locations

  • G163 Connector — On the Bank 2 (driver's side) cylinder head, at the rear near the firewall, connecting to the intake camshaft position sensor.. This is the direct connection point for the sensor. The pins are: Pin 1 (Power, +5V), Pin 2 (Signal), Pin 3 (Ground). Verifying power at Pin 1 and ground at Pin 3 is the primary electrical test.
  • Engine to Chassis Ground Strap — While exact D4 A8 diagrams are scarce, the main engine-to-chassis ground strap on large Audi platforms is typically located on the driver's side frame rail, connecting the engine block or transmission to the chassis. A secondary ground is often near the ECU.. A poor engine ground can introduce electrical noise and voltage drops, potentially causing intermittent and difficult-to-diagnose sensor circuit faults, including P0345.

Real Owner Repair Stories

  • AudiWorld Forums (Audi A6 Allroad (4.2L V8, similar architecture)) — Check Engine Light with code 17755 (P1347) - Camshaft Position Sensor 2 (G163) / Engine Speed Sensor (G28): Incor. Correl. The car ran perfectly with no noticeable performance issues.
    ❌ Tried (didn't work) Swapping the Bank 1 and Bank 2 camshaft position sensors; the fault remained on Bank 2., Dealer replaced the sensor with a new one., Dealer checked wiring and claimed it was fine.
    ✅ What actually fixed it The dealer eventually found a short in the wiring harness between the sensor and the ECU. The user was initially quoted $480 just to begin inspecting the mechanical timing, highlighting how a persistent wiring issue can be misdiagnosed as a major mechanical failure.

OEM Part Supersession History

  • 07L905163A, 07L905163B07L905163C — Typically, part supersessions for electronic components involve updated internal materials or electronics for improved durability and resistance to heat-related failure.
    Heads up: The newest revision, 07L905163C, is fully backward compatible with the older versions. When replacing, it is always best to use the latest part number available.

Model Year Variations Within This Range

  • 2011-2012: The 4.2L FSI V8 (CDRA) was only offered in the North American Audi A8 D4 for the 2011 and 2012 model years before being replaced by the 4.0T V8. There are no significant documented variations in the camshaft sensor system within this short two-year span.

Diagnostic Flowchart

This flowchart guides you through diagnosing the Bank 2 Intake Camshaft Position Sensor circuit on the CDRA engine. Start by confirming if the fault is a simple sensor failure or a more serious timing chain issue.
Swap the Bank 2 (driver's side) intake sensor with the Bank 1 (passenger side) intake sensor (OEM P/N 07L905163C). Clear codes and restart. What code returns?
→ The sensor is faulty. Replace the failed sensor (held by a T30 Torx screw). This is the most common failure for the 4.2L FSI due to heat soak.
Inspect the Bank 2 sensor connector for brittle plastic or corrosion. With ignition ON, test the connector pins with a multimeter.
→ Repair the wiring harness. Look for heat-damaged sections or chafing near the firewall. Use a pigtail kit if the connector housing is cracked.
Using VCDS or a pro-grade tool, check 'Camshaft Adaptation' (Measuring Block 093 or Advanced Measuring Values). What is the phase position sum?
→ Timing is within spec. Re-examine the sensor signal with an oscilloscope or check for intermittent electrical interference in the Bank 2 circuit.
The high adaptation value confirms timing deviation. Is the vehicle also experiencing stalling or limp mode?
→ Major mechanical failure. The timing chain has stretched or a tensioner (similar to issues in TSB 2039995/2) has failed. This requires an engine-out repair to replace chains and guides.
→ The timing components are wearing out. While the car is drivable, the 4.2L FSI is prone to guide failure over 100k miles. Plan for a timing service to avoid catastrophic engine damage.
Using VCDS or a pro-grade tool, check 'Camshaft Adaptation' (Measuring Block 093 or Advanced Measuring Values). What is the phase position sum?
→ Timing is within spec. Re-examine the sensor signal with an oscilloscope or check for intermittent electrical interference in the Bank 2 circuit.
The high adaptation value confirms timing deviation. Is the vehicle also experiencing stalling or limp mode?
→ Major mechanical failure. The timing chain has stretched or a tensioner (similar to issues in TSB 2039995/2) has failed. This requires an engine-out repair to replace chains and guides.
→ The timing components are wearing out. While the car is drivable, the 4.2L FSI is prone to guide failure over 100k miles. Plan for a timing service to avoid catastrophic engine damage.

Other Known Issues on This Vehicle

Issues unrelated to this code that are worth knowing about as an owner of this generation:

  • Intake Valve Carbon Buildup 🔴 High — Inevitable on all FSI engines. Performance degradation is noticeable by 60,000-80,000 miles, requiring cleaning by 100,000 miles.
  • Adaptive Air Suspension Failure 🔴 High — Common failure point after 80,000-120,000 miles. Air struts can develop leaks, and the compressor can burn out. A hidden 40A fuse for the compressor is a common, often-missed failure point.
  • Timing Chain Tensioner Wear / Startup Rattle 🔴 High — Becomes common over 100,000 miles. A 1-2 second rattle on cold start is the first symptom. If left unaddressed, it can lead to catastrophic engine failure. (Ref: TSB 2039995/2 for similar V6 engine notes the issue.)
  • Thermostat Failure 🟠 Medium — Can fail and stick open or closed, causing CEL for temperature regulation or overheating. Mentioned as a known issue for the D4 platform.
  • Upper Control Arm Bushing Wear 🟠 Medium — Front upper control arm bushings are known to wear prematurely, causing clunking noises over bumps and affecting alignment.

Used vs. New Parts: Buying Guide for This Vehicle

When a used part is the smart pick: For this specific repair, buying a used camshaft position sensor is generally not recommended. It is a relatively inexpensive electronic component whose primary failure mode is internal breakdown due to age and heat cycles. A used sensor from a junkyard carries a high risk of having limited remaining life or being faulty from the start.

Donor-vehicle mileage cap: roughly under 50000 miles for the part to have meaningful remaining life.

What to inspect on the donor part:

  • If buying used is unavoidable, look for a donor vehicle with the lowest possible mileage.
  • Inspect the plastic connector housing for any cracks or brittleness.
  • Ensure the metal mounting tab is not bent or damaged.
  • Ask for a return policy or warranty, as testing the sensor without installing it is difficult.

OEM-only on this vehicle (don't cheap out):

  • While the sensor itself has reliable aftermarket options, any repair involving the timing chains, guides, or tensioners should use OEM or OE-supplier parts exclusively. The cost of labor for a timing job is so high that using cheaper, unproven components is an unacceptable risk.

Aftermarket brands forum-validated for this vehicle:

  • Bosch (often the original equipment manufacturer)
  • HELLA
  • NTK

Brands owners have reported issues with on this vehicle:

  • Unnamed, no-brand sensors from online marketplaces should be avoided. The savings are minimal compared to the risk of premature failure and repeated diagnostic effort.

Real Owner Stories

Aggregated from forums and TSBs cited above. Mileages and costs reflect what owners reported in those sources.

2002 Audi A6 3.0L V6

Symptoms: The vehicle was experiencing a P0345 fault code accompanied by engine misfires.

What fixed it: The technician swapped the camshaft sensors between banks to isolate the failure. Once the code moved to the other bank, the faulty sensor was identified and replaced.

Source hint: iATN (International Automotive Technicians Network) technician report mentioned in vehicle_specific_issues

2011-2017 Audi A8 4.2L FSI V8 — ~100000 miles

Symptoms: Distinct rattling or slapping noise from the back of the engine near the firewall during a cold start lasting for more than a second.

What fixed it: This required a major engine-out repair to replace all four timing chains, guides, and tensioners.

Cost: $4,000-$8,000

Source hint: AudiWorld Forums and common_causes context

Frequently Asked Questions

Where is the Bank 2 intake camshaft position sensor located on my 4.2L FSI V8?
The sensor is located on the driver's side (Bank 2) at the rear of the cylinder head, near the firewall. It is accessible after removing the plastic engine cover.
Is there a specific part number I should look for when replacing the sensor?
Yes, the recommended OEM part number for the intake camshaft position sensor is 07L905163C. Both Bank 1 and Bank 2 intake sensors use this identical part.
Does TSB 2039995/2 apply to the P0345 code on my A8?
TSB 2039995/2 was specifically issued for the 3.0T V6 regarding 'Engine rattling noises at cold start' due to upper chain tensioners. While not directly for the A8's P0345 code, it confirms Audi's awareness of tensioner issues in V-engines of this era that can lead to timing-related faults.
How can I use VCDS to check if my timing chains are stretched?
You should check Measuring Block 93 in the Engine module. Add the intake and exhaust phase position values for each bank; if the sum exceeds approximately 7-8 degrees, it indicates significant timing deviation. On newer UDS protocol ECUs, search for 'Camshaft adaptation' under 'Advanced Measuring Values'.
Can I swap the intake and exhaust sensors to test for a failure?
No. While the Bank 1 and Bank 2 intake sensors are identical and can be swapped with each other, the exhaust sensors are different. You must ensure you are swapping intake-to-intake for a valid diagnostic test.
What does a 1-2 second rattle on a cold start mean for my A8?
A brief rattle at startup is often the first sign of timing chain tensioner wear or failing hydraulic tensioners that bleed down oil pressure overnight. If left unaddressed, this can lead to catastrophic engine failure.
How to Replace Right Camshaft Position Sensor 2006-2009 Audi S4 4.2L V8
How to Replace Right Camshaft Position Sensor 2006-2009 Audi S4 4.2L V8
Audi S6 4.2 Engine rattle noise at cold start FIXED
Audi S6 4.2 Engine rattle noise at cold start FIXED
AUDI A8 D4 engine 4.2 CDRA timing chain replacement time lapse (part1)Замена цепей ГРМ на Ауди А8 11
AUDI A8 D4 engine 4.2 CDRA timing chain replacement time lapse (part1)Замена цепей ГРМ на Ауди А8 11
Causes and Fixes P0345 Code: Camshaft Position Sensor “A” Circuit (Bank 2)
Causes and Fixes P0345 Code: Camshaft Position Sensor “A” Circuit (Bank 2)
Wrenchy
Article researched & written by
Go-Parts' AI research assistant. Every article is backed by live web research, verified OEM data, and real technician knowledge — so you get accurate, up-to-date information you can trust.
Meet Wrenchy → Updated Jul 21, 2026

The information in this article is provided for general reference and educational purposes only. Vehicle specifications, procedures, and part compatibility can vary by production date, trim level, and region. Always consult your vehicle's factory service manual and verify part numbers before purchasing or performing repairs. Safety-critical components such as airbags, seat belts, and braking systems should be installed by a qualified professional.

Year Coverage
This article covers the OBD-II Code P0345 (Deep Dive) for:
  • Audi A8: 2011201220132014201520162017
In this article
🎬 Helpful Videos
Jump to ▴

Email This Guide

We'll send you a link to this article so you can read it later or share it.

Added to cart · Part