Generic OBD2 code · Engine timing / variable valve timing

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

The engine computer found that the bank 1 "B" camshaft position signal, usually from the exhaust camshaft, does not line up with the crankshaft position signal as expected.

CodeP0017
SystemEngine timing / variable valve timing
Typical urgencyModerate to high
Can I keep driving?Get it checked soon. If the timing has jumped, driving can make damage worse; if the engine runs badly or rattles, avoid driving.

What does P0017 mean?

The crankshaft and camshaft position sensors tell the engine computer where the crankshaft and camshafts are. The timing chain or belt keeps them in step. P0017 sets when the computer sees the bank 1 "B" camshaft signal out of time with the crankshaft signal by more than it allows.

Bank 1 is the side of the engine with cylinder 1, and sensor "B" is usually on the exhaust camshaft. It is common to see P0017 stored together with P0016 or the bank 2 codes P0018 and P0019.

Common symptoms

  • Check engine light on
  • Reduced engine power
  • Rough or poor running
  • Lower fuel economy

Common causes

  • A stretched timing chain, or a timing chain or belt that has jumped a tooth
  • Low engine oil, oil of the wrong specification or restricted oil passages to the variable timing system
  • A sticking or restricted oil control valve (camshaft timing solenoid)
  • A faulty variable timing actuator (phaser) on the exhaust camshaft
  • A faulty camshaft or crankshaft position sensor
  • Damaged wiring or connectors at the camshaft or crankshaft sensor

What to check with a scanner

  • Check the engine oil level and condition before anything else.
  • Read all codes. Note whether P0016, P0018, P0019 or camshaft timing codes are stored with P0017.
  • Read freeze frame data to see rpm and engine temperature when the code set.
  • Listen for rattling from the timing chain area, especially at start up, and inspect the sensor connectors and wiring.
Trouble codes screen with P0017 confirmed in the engine ECU: Crankshaft Position - Camshaft Position Correlation (Bank 1 Sensor B)
Trouble codes screen with P0017 confirmed in the engine ECU: Crankshaft Position - Camshaft Position Correlation (Bank 1 Sensor B)

How to read and clear P0017 with OBD Master Pro

  1. Connect. Plug a generic ELM327 or ELM329 adapter into the OBD2 port, switch the ignition on and connect from the app's Connection screen.
  2. Scan. Run Scan DTCs and confirm P0017 under Active, Pending or Permanent, along with any other codes.
  3. Check, repair, clear. Use the checks below, repair the cause, then clear the code and confirm it does not return.

Check oil level and grade first. Then note whether P0016 or VVT codes such as P0010 to P0014 are stored too, since they change the diagnosis. Freeze frame rpm and coolant temperature show whether it set cold or hot.

When to see a mechanic

Get professional help if any of these apply:

  • The engine rattles, runs badly or is hard to start
  • The code returns after an oil change and connector check
  • Timing chain or belt parts need inspection
  • A dealer bulletin or software update may apply to your vehicle

If you are unsure, a qualified technician can confirm the cause with tests such as smoke testing, pressure testing or scope readings. Clearing a code does not repair the fault.

Brand notes

Patterns below come from published manufacturer service information. They do not mean every vehicle of that brand has this problem, and a bulletin only applies to the vehicles it lists.

Subaru: engine computer reprogramming bulletin

Subaru service bulletin 09-120-24 (July 2024) announces new engine computer reprogramming files to remedy P0016, P0017, P0018, P0019 and P0087 on listed 2017 to 2024 Forester, Legacy, Outback 2.5L, Impreza and Crosstrek models. On those vehicles, ask a dealer whether the update applies before replacing parts.

Source: NHTSA: Subaru service bulletin 09-120-24, DTCs P0016, P0017, P0018, P0019 and P0087 (2024)

P0017 FAQ

What is the difference between P0016 and P0017?

Both are crankshaft and camshaft correlation codes for bank 1. P0016 refers to sensor "A", usually the intake camshaft, and P0017 to sensor "B", usually the exhaust camshaft.

Does P0017 always mean a stretched timing chain?

No. Timing chain wear is a common cause, but oil problems, the oil control valve, the camshaft phaser and the sensors or their wiring can set the same code. Check the simple items first.

Is P0017 serious?

It can be. If the timing has jumped, continued driving can make things worse, so have it diagnosed soon.

Check P0017 on your own car

OBD Master Pro turns your Android phone and a generic ELM327 adapter into a code reader: read and clear codes, view freeze frame and live data, and check emissions readiness.

Get it on Google Play

Related guides

Check engine light on: what to do · How to read an OBD2 code (P, B, C, U) · Stored, pending and permanent codes and freeze frame · OBD2 readiness monitors explained · OBD2 glossary · OBD2 by car brand

Sources

Published . Updated . This guide is general information for generic SAE codes. Always follow the service information for your specific vehicle.