Create your free account and get 10 bonus questions when you confirm your email. No card needed. Create free account

Try it free

P0017: crank-cam timing correl

Crankshaft Position - Camshaft Position Correlation, Bank 1, Sensor B

Severity: high

Updated: 29 Nov 2026 · Generic OBD-II code (SAE J2012 / ISO 15031-6). Written with AI and reviewed; translated automatically from the Spanish original.

What it means

This code indicates that the ECU (ECM/PCM) detects a difference between the position of the crankshaft and the position of the camshaft associated with sensor B of bank 1. The engine needs both shafts to turn with a fixed relationship, so that each valve opens and closes at the exact moment of the cycle. The ECU compares the signal from the crankshaft sensor with that of camshaft sensor B of bank 1 and expects the phase difference to stay within a narrow tolerance. When that relationship stays outside the range continuously, it records the fault. On many engines, sensor B corresponds to the exhaust camshaft, although the exact assignment depends on each design.

Can I keep driving?

Only as far as you need to, and gently.

This fault can cause serious damage or affect safety. Avoid motorways, heavy loads and high revs, and have it diagnosed as soon as possible. If the engine shakes, loses power or a red light comes on, stop where it is safe.

If in doubt, put safety first: a red or flashing warning light, smoke, a burning smell or any change in the brakes or steering are reasons to stop.

Got P0017? Ask about your car

Tell us your car and what you notice: we answer right here, no account needed.

How the ECU detects it

The ECU continuously compares the crankshaft and camshaft signals during normal engine operation.; The fault is usually confirmed after several driving cycles, not on a single start; the exact number depends on the manufacturer.; The warning light may come on early if the difference is large, or later if it is slight and occasional.; Temperature and load conditions may influence when the code appears, but this varies by engine.

Symptoms

  • Warning light on, sometimes with the engine in limp-home mode.
  • Rough idle, with jerking or vibration that may increase as the engine warms up.
  • Loss of power, especially when accelerating from low revs.
  • Longer cranking than usual, especially with a warm engine.
  • Possible increase in fuel consumption.
  • The smell of unburnt petrol is not a usual symptom of this code and, if it appears, it should be checked separately.
  • Metallic noise from the timing area in some cases, which may indicate a real timing offset and must be treated as urgent.

Common causes

  • Camshaft position sensor B of bank 1 dirty, damaged or with a poor connection.
  • Crankshaft position sensor faulty or with an irregular signal due to play or dirt on the reluctor ring.
  • Real timing offset from a stretched chain, worn tensioners or a jumped belt.
  • Camshaft reluctor ring damaged, loose or with a deformed tooth.
  • Sensor wiring, connector or earth with intermittent contacts, corrosion or damaged insulation.
  • Engine oil with low level or inadequate viscosity, which affects the operation of the phase adjusters.
  • Phase adjuster control solenoid valve seized or with a blocked filter, on designs that use phase adjusters.
  • Internal ECU fault, uncommon and only after ruling out everything else.

What to check

  • Read the full codes with a scanner, including those related to crankshaft and camshaft, and note the order in which they appear.
  • Check the engine oil level and condition with the engine switched off, and confirm the oil is the one specified by the manufacturer.
  • Visually inspect, with the engine switched off, the connector and wiring of camshaft sensor B, looking for chafing, moisture, bent pins or corrosion.
  • Clean the sensor and its magnetic tip, and check that it is properly fixed in its housing and has no play.
  • Check the live data of both sensors on the scanner with the engine at idle, keeping hands and clothing away from moving parts and the fan.
  • If you have no experience, leave it to a garage.
  • Check the sensor's resistance and supply voltage against the manufacturer's reference values, with the engine switched off.
  • Check the timing alignment against the reference marks, following the manufacturer's procedure. It is a complex job that should be done by a professional.
  • Check the condition of the chain or belt, the tensioners and the guides, and measure chain stretch if the procedure calls for it. Only a qualified garage should do this.
  • Inspect the camshaft and crankshaft reluctor rings, looking for damaged or displaced teeth.
  • If the engine has phase adjusters, check the operation of their solenoid valves and the oil pressure in the circuit.

Common diagnostic mistakes

Replacing the camshaft sensor without first checking the condition of the timing, which leads to changing parts that were not the cause.; Confusing bank 1 sensor B with bank 1 sensor A and checking the wrong sensor.; Clearing the code and considering the car repaired without verifying that the fault does not return in normal use.; Ignoring the oil level and quality, when the phase adjusters depend on oil pressure.; Measuring the timing without using the marks or the manufacturer's procedure, which can give wrong readings.; Overlooking a loose or corroded connector, which is a common and cheap cause.

Typical repairs

From the simplest and cheapest to the most expensive. Which one applies depends on the diagnosis.

Clean the sensor and its connector, and correct the faulty connection or earth.; Replace the engine oil and filter if the level or condition is inadequate.; Replace the camshaft position sensor B of bank 1.; Replace the crankshaft position sensor or repair the damaged reluctor ring.; Replace the phase adjuster solenoid valve or clean its filter.; Adjust, tension or replace the timing chain or belt together with tensioners and guides, according to condition and the manufacturer's procedure; garage work.; Repair or replace the ECU only after rigorously ruling out the causes above.

Frequently asked questions

Can I keep driving with code P0017 if the car runs fine?

It depends on the cause and the symptoms. If the engine runs normally and the warning light is steady, reduce the load and take it to a garage soon, because the cause may get worse. If the light flashes, there is jerking, loss of power or metallic noises, stop the car somewhere safe and do not keep accelerating: a real timing offset can damage valves, especially on interference engines, and an ignition misfire can damage the catalytic converter. In any case, the inspection and repair of the timing belong to a garage.

Can I just clear it? Clearing the code does not fix the fault: if the cause is still there, it comes back, and with the engine warning light on the car will fail its roadworthiness test (MOT in the UK).

General information about a generic code. The exact causes depend on the make and engine: confirm them with a diagnosis before replacing parts.

Related codes

  • P0016 It is the same correlation, but for sensor A of bank 1, usually the intake camshaft.
  • P0011 It indicates that the intake camshaft timing is more advanced than expected, without referring to the correlation with the crankshaft.
  • P0014 It signals an out-of-range advance or retard of the exhaust camshaft of bank 1, without the comparison with the crankshaft component.
  • P0340 It refers to a fault in the camshaft position sensor circuit, not to the phase difference between sensors.
  • P0335 It affects the crankshaft sensor circuit, so it may appear alongside P0017 if the fault is in that sensor.

More codes: fuel, air metering and emission controls

All OBD codes in English