P0017 — Crankshaft Position - Camshaft Position Correlation (Bank 1 Sensor B)
OBD2 code P0017 flags a problem with the camshaft position and variable valve timing (crankshaft position - camshaft position correlation (bank 1 sensor b)). Short, gentle driving to a shop is usually possible. Common culprits: worn cam phaser, stuck or clogged VVT oil control valve (OCV), low or dirty engine oil affecting VVT.
powertrain (engine/transmission)
Is it safe to drive?
Repair P0017 promptly If P0017 is active but the engine runs smoothly, avoid extended driving until the fault is diagnosed. Do not continue driving if the engine stalls, loses power, runs roughly, or shows other timing-related codes; those conditions can cause additional damage or prevent restarting.
Typical symptoms
- Check-engine light remains on with P0017 stored in the powertrain system
- Engine may hesitate, surge, or idle roughly while P0017 is active
- Crankshaft and camshaft correlation data may appear implausible or intermittent on a scan tool
- Engine may stall or shut down unexpectedly, especially during warm-up or idle
- Start failure or prolonged cranking can occur if the engine control system enters a protective mode
- Accelerator response and engine power may be reduced
Common causes
- A faulty or contaminated Bank 1 Sensor B camshaft position sensor producing an unstable or incorrect signal
- Damaged wiring, a poor ground, or a loose connector in the camshaft position sensor B circuit
- A stretched timing chain, worn timing belt, or incorrect mechanical valve timing
- Faulty variable valve timing oil control, cam phaser, or related actuator operation
- Intermittent crankshaft position sensor signal loss that prevents reliable cam-to-crank correlation
- Damaged or displaced sensor reluctor, target wheel, or timing reference surface
- An engine control module misinterpreting a valid sensor signal or retaining a historic P0017 fault
How to diagnose with an OBD scanner
- Capture P0017 data before clearing it Connect an OBD scanner, ELM327 adapter, or AIScanAuto-compatible tool and read stored, pending, and permanent fault codes. Save the P0017 freeze-frame data, crank speed, camshaft position, operating conditions, and any related crank or cam codes. Do not erase P0017 until this information has been recorded.
- Inspect the cam sensor and its circuit Locate Bank 1 Sensor B using the vehicle wiring diagram. Check the connector, wiring routing, grounds, and sensor body for looseness, oil contamination, heat damage, or corrosion. Also inspect the reluctor or target surface for physical damage.
- Evaluate the cam-to-crank signal Use scan data and, when available, an oscilloscope to confirm that the cam signal is stable and that its phase relationship to the crankshaft signal is plausible. Test sensor power, ground, and signal integrity according to the manufacturer procedure instead of assuming the sensor is defective.
- Check oil and mechanical timing Verify engine oil level and condition, then inspect the timing chain, belt, marks, and variable valve timing components for wear or incorrect positioning. If P0017 returns after the sensor circuit checks, confirm mechanical timing with the model-specific procedure before replacing parts.
- Repair and verification road test Correct the confirmed wiring, sensor, timing, or variable valve timing fault. Clear P0017 with the scan tool, restart the engine, and verify that the code does not return while monitoring crank and cam correlation, idle quality, and cold-start behavior.
Approximate repair cost
A typical independent-shop estimate is about $150-$450 for diagnosis plus a camshaft position sensor or wiring repair. If P0017 requires timing chain, belt, cam phaser, or variable valve timing work, the total may range from $800-$2,500. These figures are estimates and vary by region, vehicle, and parts availability.
Common questions
Does P0017 prove that the Bank 1 Sensor B cam sensor is bad?
No. P0017 reports a crank-to-cam correlation problem, and the sensor is only one possible cause. Wiring faults, crank signal loss, incorrect timing, worn cam-drive components, and variable valve timing problems can also set P0017.
Can the vehicle be driven with P0017 stored?
A short trip may be possible if the engine runs normally and no warning conditions appear, but P0017 should be diagnosed promptly. Avoid further driving if the engine stalls, hesitates, loses power, or returns related fault codes.
Is P0017 the same as a code that directly confirms incorrect timing?
Not necessarily. P0017 identifies an implausible relationship between crank and cam signals; it does not by itself establish that the timing marks are out of position. Mechanical timing must still be verified with the model-specific procedure.
What information should be saved before repairing P0017?
Save the P0017 freeze frame, crank and camshaft readings, engine speed, temperature, pending and permanent codes, and any related sensor codes. This information helps determine whether the fault is electrical, intermittent, or tied to mechanical timing.
When your check engine light comes on and a scan tool pulls code P0017, the powertrain control module is flagging a timing relationship problem between the crankshaft and the camshaft on bank 1. Specifically, the computer has detected that the position signal from the camshaft variable valve timing system does not match what the crankshaft position sensor expects. Modern engines use variable valve timing extensively to balance power, efficiency, and emissions, so when this correlation breaks down, the engine management system cannot safely operate the engine.
The control module constantly compares the rotational position of the camshaft against the crankshaft throughout each combustion cycle. It knows the exact mechanical relationship that should exist between these two components based on timing chain or belt geometry. When live sensor data falls outside the calibrated tolerance window, the module logs P0017 and typically illuminates the check engine light. Most manufacturers require the fault to appear during multiple drive cycles before setting a permanent code, which is why you may notice symptoms before the light appears. The stored freeze frame data captures engine speed, load, temperature, and speed at the moment of failure, giving you a starting point for diagnosis.
Bank 1 refers to the cylinder bank containing cylinder 1, which varies by engine orientation and manufacturer. On V-type engines, bank 1 is typically the left bank when viewed from the driver's seat. Always confirm your specific engine configuration before proceeding with repairs or testing. The "sensor B" designation indicates the exhaust camshaft or secondary camshaft position sensor on applications with dual overhead camshafts, depending on your vehicle's architecture.
Common Symptoms
- Extended cranking time or difficulty starting the engine
- Rough idle with noticeable vibration or stumbling
- Reduced low-end torque and sluggish acceleration
- Overall loss of engine power under load
- Noticeable increase in fuel consumption
- Engine may fail to start entirely in severe cases
- Check engine light illuminated on the dashboard
Common Causes
- Stretched or jumped timing chain/belt throwing off synchronization
- Stuck or contaminated VVT oil control valve preventing phaser operation
- Low engine oil level or degraded oil disrupting hydraulic VVT function
- Failed camshaft position sensor sending incorrect position data
- Worn or stuck cam phaser unable to maintain commanded position
- Damaged wiring harness or connector corrosion affecting sensor signals
- Oil passages clogged with sludge restricting phaser hydraulic pressure
How to Diagnose P0017
- Connect an OBD2 scanner and confirm P0017 is stored in permanent memory. Record the freeze frame data before clearing anything, as this snapshot reveals engine conditions at the moment the fault occurred.
- Check for any related diagnostic trouble codes stored alongside P0017. Codes for oil pressure, camshaft position, or variable valve timing solenoids often point directly to the root cause.
- Perform a thorough visual inspection of the camshaft position sensor wiring and connectors. Look for damaged insulation, bent pins, corrosion buildup, or loose connections that could interrupt signal quality.
- Verify engine oil level and condition immediately. VVT systems rely on oil pressure and flow to operate hydraulic phasers; dirty oil or low level can trigger P0017 even when no mechanical failure exists.
- Monitor commanded versus actual camshaft position using live data on a scan tool or oscilloscope. The actual position should track the commanded value smoothly during acceleration and deceleration. A stuck phaser shows no response to commands.
- After addressing any obvious issues, clear the code and complete a drive cycle that replicates the freeze frame conditions. If P0017 returns, mechanical timing or phaser failure is confirmed.
Repair Options and Costs
The appropriate repair depends entirely on what your diagnosis reveals. Starting with the most affordable possibilities saves money and prevents unnecessary parts replacement.
- VVT oil control valve replacement: $200–$500 (parts and labor)
- Camshaft position sensor replacement: $120–$350 (parts and labor)
- Timing chain or belt repair with possible phaser replacement: $800–$2,500 (parts and labor)
Total Repair Cost
For most vehicles, addressing P0017 costs between $120 and $2,500 depending on which component failed. Sensor replacement represents the lower end of the spectrum, while timing chain repairs requiring engine teardown push toward the higher end. An accurate diagnosis before purchasing parts is essential—replacing a $30 sensor when the real problem is a bad phaser wastes money and leaves the underlying issue unresolved.
Driving Safety Verdict
P0017 carries a caution severity rating. While your vehicle may continue operating in a limited capacity, expect poor performance, reduced fuel economy, and potential failsafe mode activation. On interference engines where pistons and valves occupy the same space, a jumped timing chain can cause catastrophic valve damage if driving continues. Have this code investigated before any extended trip, and do not ignore rough running or stalling symptoms associated with P0017.
Related OBD2 Codes
- P0001: Fuel Volume Regulator Control Circuit/Open
- P0002: Fuel Volume Regulator Control Circuit Range/Performance
- P0003: Fuel Volume Regulator Control Circuit Low
- P0004: Fuel Volume Regulator Control Circuit High
- P0005: Fuel Shutoff Valve "A" Control Circuit/Open
- P0006: Fuel Shutoff Valve "A" Control Circuit Low