1. Quick read
Quick read: find your answer fast
Pick what the car is doing and what the scanner shows. You learn whether it's the sensor, its wiring, the cam timing, the VVT — or actually the crankshaft sensor instead.
2. What a bad camshaft sensor feels like
The CMP sits over a target on the camshaft (cylinder head, valve cover, or timing cover) and generates the signal the computer uses to sequence spark and fuel. When it fails: a long crank or no-start, or a car that catches on the second try; random stalling, often when hot with a restart once cool; rough running, surging idle, hesitation, power loss; and a check engine light with P0340 (circuit) or P0341 (signal out of range).
3. When a CMP code isn't the sensor: cam timing and VVT
A correlation code — P0016, P0017, P0018, P0019 — doesn't mean the sensor is bad. It means the computer compared the cam signal to the crank signal and found the camshaft out of position relative to the crankshaft. The sensor is reporting correctly; the timing is off. Usual causes: a stretched or jumped timing chain (worn guides, a tired tensioner); the variable valve timing — an oil-pressure phaser controlled by a solenoid (VVT/OCV) valve, stuck or clogged, setting a correlation or VVT code (P0010–P0014) with a rough, surging idle; and oil — check it first, because VVT runs on oil pressure, so low, wrong-grade or sludged oil is a leading cause. The same signals feed a false misfire, so check the signal and timing before chasing cylinders.
4. What you can do yourself, step by step
- Read the code and sort it — this decides everything. P0340/P0341 = cam sensor circuit/signal. P0016–P0019 = cam-crank correlation (timing/VVT). P0010–P0014 = VVT actuator/solenoid. Don't touch a part until you know which family you have.
- Start from what was just done. If this began right after a timing-chain or cover job, a valve-cover gasket, or VVT work, suspect a connector left off, a sensor not seated, or the timing a tooth off. After an oil change, check the grade and level — the VVT won't like the wrong oil.
- Check the connector and wiring. The harness can chafe or corrode, and the plug is often soaked in oil from a leaking cam seal or valve-cover gasket — a classic fake failure. Clean, dry and reseat before testing.
- Pull a magnetic sensor and clean the tip. A magnetic (inductive) sensor collects metal filings and stops reading the target — clean the tip before replacing it.
- Know your sensor type before you test it. A 2-wire sensor is magnetic: measure resistance and AC output while cranking. A 3-wire sensor is Hall (powered): resistance means nothing — read the square wave and check power and ground.
- Watch live data while cranking and running. No cam signal → sensor, wiring or the cam target wheel. A signal present with a correlation fault → timing or VVT, not the sensor.
- For a correlation code (P0016), check oil and timing — not the sensor. Confirm the oil level and condition first, then suspect a stretched chain, worn guides/tensioner, or a stuck phaser/VVT valve — usually a shop job.
- Replace the sensor only after the wiring, target wheel, oil and timing check out. Fit the correct one, clear the codes, and confirm the code stays gone (some makes need a relearn).
5. Common misdiagnoses to avoid
- Replacing the cam sensor for a P0016 correlation code — that's the timing chain or VVT, not the sensor.
- Ignoring the oil on a VVT engine — low, old or wrong-grade oil causes phaser/VVT faults and correlation codes.
- Testing a 3-wire Hall sensor for resistance — it needs power and a signal read, not an ohm reading.
- Confusing P0340 (cam — often still runs) with P0335 (crank — usually no-start).
- Replacing the sensor without cleaning a magnetic tip or drying an oil-soaked connector — both fake a dead sensor.
- Chasing a misfire with new plugs and coils when a bad cam/crank signal or a timing fault is faking it.
Questions
What are the symptoms of a bad camshaft position sensor?
A long crank or no-start, a car that catches on the second try, random stalling (often when hot), a rough or surging idle, hesitation and power loss, and a check engine light with P0340 or P0341. Many engines still start and run in a limp mode with a dead cam sensor.
Will the engine run without a camshaft position sensor?
Usually yes — most engines fall back on the crankshaft signal and still start and run in a limp mode, with longer cranking. A few won't start at all. This is the opposite of the crankshaft sensor, which usually stops a start entirely.
What's the difference between P0340 and P0016?
P0340 is a cam-sensor circuit problem — the sensor or its wiring. P0016 is a correlation code: the camshaft is in the wrong position relative to the crankshaft, pointing at the timing chain, the VVT phaser or its control valve, or low/dirty oil. Replacing the sensor won't fix a P0016.
Can a camshaft sensor code actually be the timing chain or VVT?
Yes — the most common mistake. A correlation or VVT code (P0016–P0019, P0010–P0014) usually means the cam timing is off: a stretched chain, a stuck phaser, a clogged VVT solenoid, or low oil pressure from wrong or dirty oil. Check the oil and timing before the sensor.
How do I test a camshaft position sensor?
First find out if it's magnetic or Hall. A 2-wire magnetic sensor is passive: measure resistance and AC output while cranking, against your vehicle's spec. A 3-wire Hall sensor is powered: resistance means nothing — check power and ground and read the square-wave signal on a scanner. Either way, dry the connector and clean a magnetic tip first.
What's the difference between the camshaft and crankshaft sensor?
The crankshaft sensor gives engine speed and position — lose it and most engines won't start (P0335/P0336). The camshaft sensor gives phase, which cylinder is on which stroke — lose it and most engines still run in a limp mode (P0340/P0341). A no-start with the tach at zero is the crank sensor; a car that still drives with a cam code is the cam.
The "read which code it is first" approach and "start from what was just done" come from auto electrician Oleg Dmitriev (AvtoElektrik PRO), Almaty. CKP vs CMP, magnetic-vs-Hall testing and the clean-the-tip trick, and the correlation / VVT-runs-on-oil / false-misfire logic all per AvtoElektrik PRO's diagnostic notes. Compare resistance, air-gap and timing specifics with the vehicle's service manual.
Check it step by step in the app
The free AvtoElektrik PRO assistant asks a couple of questions and tells you what to check on your car; it explains any fault code, and with an ELM327 adapter it reads the codes itself.
Related questions
- Crankshaft position sensor: symptoms and how to test itCranks but won’t start, stalls when hot, P0335/P0336: test a 2-wire sensor by ohms and a 3-wire Hall sensor by power and signal — and clean it first.
- Engine misfire: how to find the cylinderAll the time, now and then, after rain or a repair: the code gives the cylinder, then plugs, boots and the coil swap — and when it’s the injector or compression.
- Car won’t start? Step by stepClicking, cranks but won’t start, or no sound at all — what to check first.
- Check Engine light on? What to do firstSteady or flashing, the gas cap, reading the code — and whether it is safe to drive.