Skip to content
Skanyx

P0017: Crankshaft Position - Camshaft Position Correlation (Bank 1 Sensor B)

Quick Answer

Not safe to drive

P0017 means the crankshaft and the exhaust camshaft on bank 1 are not in the correct rotational relationship. The ECU compares the crankshaft position sensor signal to the bank 1 exhaust camshaft position sensor and finds the camshaft timing is off by more than the allowed tolerance. The root cause is typically a stretched timing chain, a failed VVT solenoid for the exhaust cam, or a worn cam phaser.

Severity
High · Ignition
Estimated repair cost
From €60 to €5500+, varies by vehicle

€60 or €5500, depending on your car.

  • Oil change with correct spec oil and clear code€60–€150
  • Replace timing chain kit (chain, guides, tensioner)€1400–€5500

A scan shows whether P0017 is really stored on your car, which codes sit next to it and how urgent each one is. You can do this parked, with the ignition on.

A scan needs a Bluetooth OBD2 adapter (Bluetooth LE on iPhone), about €25-60; the built-in demo runs without one. See which adapter to buy

What does P0017 mean?

P0017 is a ignition-related diagnostic trouble code classified as high severity.

Where it is on the car

  1. Crankshaft sprocket and position sensor
  2. Timing chain or belt
  3. Camshaft sprockets with VVT phasers
  4. Camshaft position sensor
  5. VVT oil control solenoid

Crank and camshaft correlation codes are often a stretched timing chain or a jumped tooth, or a worn or slipped belt. A weak sensor signal or low oil can set them too, so check the oil level and the sensors before you assume the chain.

What are the symptoms of P0017?

  • Check engine light illuminated
  • Distinct rattle from the front of the engine at cold start (1 to 5 seconds)
  • Rough idle, possible misfires
  • Hard starting, particularly when warm
  • Reduced power and hesitation under acceleration
  • Increased fuel consumption

What causes P0017?

  • Stretched timing chain (documented on early BMW N47 and N20 engines and on first and second generation VAG EA888 engines)

    : high

  • Failed exhaust VVT/VVL solenoid (oil control valve)

    : high

  • Low or degraded engine oil affecting VVT operation

    : medium

  • Worn timing chain tensioner or guides

    : medium

  • Failed exhaust camshaft phaser

    : low

  • Faulty exhaust camshaft position sensor

    : low

Is it safe to drive with P0017?

No - address this immediately. Drive only short distances to reach a workshop. P0017 specifically flags the exhaust camshaft on bank 1 being out of correlation with the crankshaft. On interference engines (most modern petrol designs), a skipped chain can bend valves and destroy the engine. If you hear a cold-start rattle, do not drive further.

How do you diagnose P0017?

  1. Check engine oil level and condition. Low or contaminated oil is one of the most common causes of P0017. Top up or change with the manufacturer-specified viscosity and clear the code
  2. Listen for a 1 to 5 second rattle from the front of the engine on cold start. This is the classic stretched timing chain symptom and confirms a mechanical fault rather than a sensor issue
  3. Monitor live cam phasing data on bank 1 with manufacturer-level software (actual and target cam angles are not part of the standard OBD2 data set; a generic reader shows the code, freeze frame and fuel trims). Compare actual versus commanded exhaust camshaft angle. Deviations over 5 to 10 degrees confirm the timing is mechanically off
  4. Test the exhaust VVT solenoid with a multimeter. Resistance is typically 6 to 13 ohms. Inspect the mesh screen on the solenoid for debris, which is a common quick fix
  5. If the solenoid and oil are good, the timing chain is the next suspect. A workshop can confirm with a timing chain wear measurement or by removing the valve cover to inspect the chain slack

How much does P0017 cost to fix?

Repair Parts Cost Labor Cost Total Estimate DIY Difficulty
Oil change with correct spec oil and clear code €40–€100 €20–€50 €60–€150 Easy
Replace exhaust VVT solenoid €80–€300 €60–€150 €140–€450 Moderate
Replace timing chain kit (chain, guides, tensioner) €800–€3000 €600–€2500 €1400–€5500 Professional

Prices estimated as of October 2026. Costs vary by region, vehicle, and shop.

Engines known for this code

P0017 on specific vehicles

P0017 on BMW
P0017 on Audi
P0017 on Mercedes-Benz
P0017 on Volkswagen

Common questions about P0017

Is the BMW timing chain really that expensive to fix?
Yes, especially on the N47 diesel, where the timing chain is at the rear of the engine (gearbox side) and the engine normally has to come out to replace it. Plan on roughly 1500 to 2500 EUR at an independent specialist and up to about 4000 EUR at a BMW dealer. Early N20 petrol engines can also need a new chain and guides.
Can I drive with P0017?
Only short distances to a workshop. P0017 indicates mechanical timing is off. On an interference engine, a chain that slips one or more teeth will cause valves to contact pistons, bending valves and potentially destroying the engine. The cost of a tow is dramatically less than a rebuilt engine.
Will an oil change fix P0017?
Often yes, particularly when the engine has been on extended oil change intervals or is using the wrong viscosity. Fresh oil can free a stuck VVT solenoid and restore proper operation. It is always the cheapest first step before committing to chain or solenoid replacement.
What is the difference between P0016 and P0017?
Both are correlation codes on bank 1. P0016 refers to sensor A, which on most engines is the intake camshaft. P0017 refers to sensor B, the exhaust camshaft. The diagnostic approach is similar, but P0017 specifically points to the exhaust cam phaser or solenoid as the prime suspect.

Read our detailed guides

Sources

  1. en.wikipedia.org en.wikipedia.org/wiki/BMW_N47
  2. absolutebm.co.uk absolutebm.co.uk/bmw-n47-timing-chain/
  3. motofaktor.pl motofaktor.pl/uszkodzenie-rozrzadu-w-silniku-bmw-n47-porady-febi-bilstein/
  4. en.wikipedia.org en.wikipedia.org/wiki/BMW_N20
  5. en.wikipedia.org en.wikipedia.org/wiki/Audi_A6
  6. en.wikipedia.org en.wikipedia.org/wiki/Mercedes-Benz_E-Class_(W212)
  7. en.wikipedia.org en.wikipedia.org/wiki/Volkswagen_Touareg

Before you pay up to €5500, check P0017 on your own car

Check my car with the free app