P0017 Subaru Code: Oil and VVT Timing Checks Come First
7 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0017 Subaru code means the crankshaft signal and the Bank 1 exhaust camshaft signal do not agree. A Subaru repair article checked for this guide points first to oil condition and the variable valve timing system, not the sensor.
The code is a generic OBD-II code, but the checks on Subaru engines depend on oil level, valve timing data and model-specific procedures. Confirm each step with the Subaru service manual or a technical service bulletin for your model before you order parts.
What P0017 means on a Subaru
P0017 is the generic code for crankshaft position and camshaft position correlation on Bank 1, Sensor B. The Subaru repair article maps it to the Bank 1 exhaust camshaft.
OBD-II trouble codes begin with a letter and a digit. According to Wikipedia’s on-board diagnostics article, a second character of 0 marks a generic code defined by SAE, so the P0017 definition is the same standard code used on other makes.
The Subaru article gives the definition as crankshaft position to camshaft position correlation, Bank 1, Sensor B. It does not explain the sensor designation beyond that, so confirm the sensor location for your exact model before you buy parts.
Think of the code as a timing comparison. The engine computer expects the crankshaft and camshaft signals to agree, and when they do not, the code is stored. The code does not name one broken part, so the first checks focus on the system that controls cam timing. If you work on more than one brand, keep P0017 Mazda handy as well.
Why oil condition comes first
Low or degraded engine oil is the first cause the Subaru article lists, because it can starve the oil-controlled valve timing system. According to an Arts Auto article on Subaru camshaft codes, sludge can also stick the VVT sprockets and solenoid control valves.
The same article says metal shavings from dry camshaft bearings can clog the VVT control valve screens. It also lists clogged oil screens in the banjo bolts, low oil pressure, faulty harness or connectors, and a sticking VVT sprocket as other possibilities.
Every item on that list asks the same question: is the timing system getting clean oil and moving freely? That is why oil level and condition come before any part swap.
Scope boundary: the article is written by one repair author. Its claims that most of these codes come from owner maintenance and that ECM replacement is not needed are the author’s opinions, not documented Subaru guidance. Verify them against Subaru service data before you act on them.
Symptoms and warning signs
The check engine light and VVT-related codes are the usual first signs, and the article often ties them to low oil pressure. Read the oil pressure history before you assume the sensor is at fault.
The article does not describe other drivability symptoms for this code, so do not assume rough idle or power loss are part of it unless your scan data or a shop confirms them.
If the engine runs rough, loses power, or the oil pressure warning comes on, stop driving and check the oil level right away. Low oil pressure can damage an engine quickly, so do not wait for the next service visit. The same code can behave differently on other vehicles, so it helps to compare it with P0017 jeep.
How to check the code with a scanner
Start with oil level and condition, then read the cam timing data with a Subaru-capable scan tool before you clear the code.
- Check the oil level and condition first, and note whether the oil was low at any point recently.
- Record the freeze frame and any related VVT codes before you clear anything.
- Read the VVT advance angle data at idle and compare it with the reference for your model. The article gives one example, a 2014 to 2015 Forester 2.0 Turbo, and says a reading more than 10 degrees off suggests the chain timing is off.
- Look at the Mode 6 data for the Bank 1 exhaust after a drive cycle. The article treats a value of 1000 or more as a problem sign, so compare your reading with the service data for your model.
- Clear the code only after your notes are saved, then recheck after the drive cycle the service data specifies.
A code that returns after the oil and timing checks points to an active fault. A code that stays away may have been intermittent, so keep the notes for the shop. Codes often appear in groups on this vehicle, so P0038 Subaru may also apply.

Repair options to discuss with a shop
The Subaru article suggests replacing the Bank 1 oil control valve when the checks point to it. It also suggests swapping valves between banks to see whether the code follows the valve.
A valve swap is a test, not a repair. If the code moves to the other bank with the valve, the valve is the likely fault. If it stays on Bank 1, look at the timing system and oil supply instead.
- Oil service: fix low oil or low oil pressure before any parts change.
- Oil control valve: replace it when the swap test points to the valve.
- Timing hardware: check chain and sprocket condition when the cam timing reading is off.
- ECM: the article says replacement is not needed, which is the author’s view, so confirm with service data before accepting it.
The article also describes a driving routine that resets learned values without replacing the ECM. The author calls this undocumented, so do not attempt it without service data for your model.
When a shop should do the work
Timing and oil-system work should go to a Subaru-capable technician, because the diagnosis depends on live data that a basic code reader does not show.
Basic readers do not display VVT angle or Mode 6 values, so the check can stall at the code stage. Ask the shop to show the oil check, the cam timing data and the valve swap results before you approve parts. If you do not own a scan tool yet, Best Bidirectional Scan Tools for Subaru Owners is a good starting point.

Frequently Asked Questions
What does a p0017 Subaru code mean?
It means the crankshaft signal and the Bank 1 exhaust camshaft signal are not agreeing. The code is generic OBD-II, but a Subaru repair article ties the first checks to oil condition and the variable valve timing system, so start there before replacing a sensor.
Can I drive with a P0017 Subaru code?
If the engine runs rough, loses power or the oil pressure warning comes on, stop and check the oil. If it runs normally, check the oil level soon, because the sources checked do not set a safe mileage limit for this code.
Is the cam sensor usually the problem?
Not as a first assumption. The Subaru article lists sensor and wiring faults among the possibilities, but it starts with oil and timing data, so test those before replacing any sensor.
Will clearing the code fix it?
No. Clearing the code only resets the light. If the oil, timing or valve problem is still there, the code returns after the next drive cycle, so the cause must be found first.
Before you replace parts, check the oil level and condition, read the VVT data, and confirm the procedure in Subaru service information for your model. Save every reading, because the data shows which part the fault points to.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0088 Subaru: Diagnose High Fuel Pressure and Avoid Costly Repairs
LearnP0038 Subaru: Diagnose the Rear Oxygen Sensor Heater Fault
LearnP0022 Subaru: Find the Cause Before Replacing Parts
LearnP0011 Subaru Outback: Find the AVCS Problem and Fix It
LearnP0087 Subaru Code: Meaning, Common Causes, and How to Diagnose Low Fuel Rail Pressure
LearnP0325 Mazda: Diagnose Knock Sensor Faults and Avoid Unneeded Repairs