#OBD Codes
P0017 – Crankshaft & camshaft misalignment (bank 1 sensor “B”)
Technical definition
Crankshaft position-camshaft position correlation bank 1 sensor A
What does P0017 mean?
The P0017 trouble code means your engine’s crankshaft and camshaft aren’t in sync. Specifically, sensor “B” monitors the exhaust side camshaft timing.
The camshaft and crankshaft must work in perfect harmony for your engine to run efficiently. If the timing is off, your engine won’t perform as it should. You might notice sluggish acceleration, rough idling, or even stalling. In the worst case, a misalignment can cause severe engine damage or total failure.
Read more: What is camshaft?
What is bank 1?
Engines with V-shaped, W-shaped, or flat designs have cylinders split into banks. Bank 1 is the side that contains the first cylinder – which is usually the one closest to the front of the engine, near the drive belt.
In engines with only one bank (like most inline engines), everything is simply referred to as Bank 1.
Image: V-shaped engine banks. Source: densoautoparts.com
The P0017 code often signals a bad sensor, a stretched timing chain, a worn belt, or a loose tensioner. It can also indicate issues with the variable valve timing (VVT) system, which optimizes engine performance by adjusting when the valves open and close.
Why does the camshaft position timing matter?
Most internal combustion engines operate using a four-stroke cycle:
- Intake – The intake valve opens, allowing the air-fuel mixture into the cylinder
- Compression – The valve closes, and the piston compresses the mixture
- Power – The spark plug ignites the mixture, generating power
- Exhaust – The exhaust valve opens, expelling burned gases
The image below breaks down the four-stroke cycle step by step. You can see how the camshafts control the valves, while the crankshaft moves the pistons:
Image: Four-stroke engine cycles. Source: amsoil.com
When the camshaft and crankshaft fall out of sync, the valves open and close at the wrong times. This disrupts fuel delivery, air intake, exhaust flow, and spark timing.
How serious is P0017?
The P0017 code isn’t something to ignore. Fortunately, if you catch it early, it’s often a quick and inexpensive fix. But if you let it go, you could end up with major engine damage – especially in most modern cars with interference engines.
In these engines, pistons and valves share the same space but at different times. If the timing is off or if a stretched chain or belt snaps, the pistons and valves collide, wrecking your engine in seconds. Diagnosing the issue on time could save you thousands in repairs and keep you from getting stranded.
Pro tip: A reliable diagnostic scanner can help you catch issues like P0017 early and save money by identifying the problem before you visit a mechanic. Learn more about what a code reader is here.
Can I still drive with P0017?
Technically, yes, but it's not recommended. Driving with the P0017 code can cause poor engine performance, sluggish acceleration, rough idling, and reduced fuel efficiency. If your car suddenly loses power while merging onto a highway or navigating heavy traffic, it could put you in danger.
This code can also trigger limp mode, a safety feature that limits engine power to prevent further damage. While it might get you to a repair shop, you shouldn’t rely on it for long drives or daily commutes.
Common symptoms of P0017
Watch for these warning signs:
- Check engine light
- Increased fuel consumption
- Rough idle
- Engine stalling
- Reduced engine power
- Difficulties in starting the engine
- Limp mode
- Misfire
Common causes of P0017
Timing system wear and misalignment
When timing components wear out or shift, the crankshaft and camshaft fall out of sync. Common culprits include:
- Worn timing chain/belt or tensioner
- Slipped timing belt
- Incorrect camshaft position after service
- Slipped reluctor ring
- Faulty camshaft tone ring
- Faulty crankshaft harmonic balancer
Sensor and electrical faults
If the ECM is getting bad data, the timing will be off – even if the mechanical parts are fine. Check for:
- Faulty exhaust camshaft position sensor
- Faulty crankshaft position sensor
- Loose, damaged, or corroded wiring
VVT system problems
Engines with variable valve timing (VVT) depend on proper oil flow. When that’s compromised, camshaft timing suffers. Possible reasons?
- Low or poor-quality engine oil
- Restrictive oil flow to and from the camshaft-phasers
- A failing VVT solenoid
ECM or PCM issues (less common)
In rare cases, the engine control module (ECM) or powertrain control module (PCM) could be the source of the issue if they misinterpret sensor timing data or fail to adjust it properly.
How to troubleshoot P0017
Use these tips to diagnose and fix the P0017 error code accurately:
Clear the codes and test drive
First, use your scan tool to clear the P0017 fault code from your car.
- If the fault code immediately reappears: The issue is ongoing. Skip the test drive and continue troubleshooting other potential causes.
- If the codes clear successfully: Drive your car for about 15 minutes to let the engine fully warm up and observe how it behaves. After some time, repeat this process once again, as the trouble code will only return if the system detects the problem during two consecutive drive cycles.
After the second test drive, scan again to see if the code reappears. If it does, the problem persists and needs deeper investigation.
Pro tip: During the scan, pay attention to other trouble codes that may help you identify the culprit. For example, P0016 shows the same problem on the intake side, indicating that both camshafts are affected.
Change engine oil
A low engine oil level or contamination is a primary cause of the P0011 code. Since changing the engine oil is quite simple, it's the best place to start before looking into bigger repairs.
Here's how to do that:
- Remove used oil: Place a drain pan under the oil plug, unscrew it, and let the old oil drain completely.
- Replace oil filter: Unscrew the old filter, apply a little oil to the new filter’s seal, and screw it in snugly.
- Add new oil: Pour oil into the engine through the oil filler cap. Use only engine oil specified by your car manufacturer.
- Check oil level: Use the dipstick to confirm the oil is at the correct level. It should be near the top mark but not higher.
- Recycle used oil: Take the old oil and filter to a recycling center or auto parts store.
- Start your engine and check: Start the engine, look for leaks, and confirm that the oil level is still at the correct level.
Inspect and replace the camshaft/crankshaft position sensor
If you're experiencing the P0017 fault code even though your engine is running smoothly, the problem is likely in the crankshaft or camshaft position sensor. Here’s how to check and replace them:
- Locate the sensors: Check your vehicle’s service manual for camshaft and crankshaft position sensor locations. The crankshaft sensor is typically mounted near the flywheel at the bottom of the engine block, while the camshaft sensor is in the cylinder head.
- Look for damage: Check the sensors and their wiring harness for visible wear, corrosion, or disconnections.
- Test with a multimeter: Check the sensor’s voltage and resistance per manufacturer specifications.
- Replace if needed: If a sensor is faulty, remove the retaining bolt, disconnect the wiring, and swap in a new sensor. Secure it properly and reconnect the wiring.
How much does it cost to fix the P0017 code?
Replacing the bad crank sensors or cam sensor is one of the most common repairs for the P0017 code and usually costs about $200 with labor. If you're doing it yourself, the price range for the sensor is about $15-$150.
For more serious issues, like engine chain replacement, expect to pay $1000 or more. Keep in mind that all costs might be even higher for luxury models.
Disclaimer: Advice, how-to guides, and car care tips on our blog are intended as helpful resources for general maintenance and repairs. While we strive for accuracy, the information is provided to the best of our knowledge and should be used at your own discretion and risk.
Always refer to your vehicle's owner's manual or consult a certified mechanic for specific repair details and safety procedures.
Always refer to your vehicle's owner's manual or consult a certified mechanic for specific repair details and safety procedures.