What a crankshaft position sensor does and why it fails
A crankshaft position sensor tells your engine's computer where the crankshaft is in its rotation at any given moment. The engine uses this information to time the spark plugs and fuel injectors correctly. Without an accurate signal, your car won't start, will run rough, or will stall without warning.
The sensor itself is a small electronic device mounted near the crankshaft, usually on the engine block or inside the distributor. It reads a toothed ring on the crankshaft as it spins. Over time, the sensor's internal electronics wear out, or the connector corrodes, and the signal becomes unreliable. A failed sensor typically triggers a check engine light and a code like P0335 or P0336.
Replacement is straightforward on most vehicles — the sensor costs $50 to $250 depending on the make and model, and labor runs $100 to $300 if you take it to a shop. If you have basic mechanical skills and the right tools, you can do it yourself in 30 minutes to two hours.
Key Takeaways
- A crankshaft position sensor failure triggers a check engine light and prevents the engine from starting or running smoothly.
- The sensor is located near the crankshaft, usually on the engine block or inside the distributor, and you can find its exact location in your vehicle's service manual.
- Replacement requires disconnecting the battery, removing the old sensor, and installing a new one — no special tools beyond a socket set and screwdrivers in most cases.
- If the new sensor doesn't solve the problem, the issue may be a damaged crankshaft reluctor ring or a wiring fault, which require more involved diagnosis.
Locate the sensor using your service manual
The crankshaft position sensor location varies widely by engine design. On some vehicles it sits on the front of the engine block, on others it's tucked behind the harmonic balancer, and on some it's inside the distributor cap. The only reliable way to find it is your vehicle's service manual — either the printed version in your glove box or a digital copy from the manufacturer's website or a service manual database.
Once you've found the location, note whether you need to remove other components to reach it. On many cars, you'll need to remove the serpentine belt, the harmonic balancer, or the timing cover. On others, it's a five-minute job. Your manual will tell you the order of removal and any special tools required.
Disconnect the battery and remove the old sensor
Start by disconnecting the negative terminal of the battery. This prevents accidental short circuits and protects the engine computer. Use a wrench to loosen the terminal clamp and slide it off the post.
Next, remove any components blocking access to the sensor. If the manual calls for removing the harmonic balancer, you'll need a harmonic balancer puller — a three-jaw tool that costs $20 to $40 and is worth renting from an auto parts store rather than buying. If you need to remove the serpentine belt, take a photo of the routing diagram on the engine cover before you disconnect it, so you can reinstall it correctly.
Once the sensor is visible, unplug the electrical connector by pressing the release tab or clip. Then remove the mounting bolt or bolts — usually one or two — and slide the sensor out. Some sensors have a rubber O-ring or gasket; note whether yours does, because you may need to transfer it to the new sensor or discard it depending on the design.
Install the new sensor and reassemble
Before installing the new sensor, check the gap between the sensor tip and the reluctor ring (the toothed wheel on the crankshaft). Most sensors have a specified gap of 0.020 to 0.050 inches. Your manual will state the correct gap for your vehicle. Use a feeler gauge to measure it, and adjust the sensor position if needed before tightening the mounting bolt.
Slide the new sensor into place and tighten the mounting bolt to the torque specification in your manual — typically 15 to 25 foot-pounds. Reconnect the electrical connector, making sure it clicks into place. Then reinstall any components you removed: the timing cover, harmonic balancer, serpentine belt, or other parts.
Reconnect the negative battery terminal. Do not start the engine yet. Many vehicles require a relearn procedure after sensor replacement, in which the engine computer resets its timing parameters. Some cars do this automatically the first time you start the engine; others require you to turn the ignition on and off a specific number of times, or to drive at a steady speed for several minutes. Check your manual for the relearn steps for your vehicle.
Clear the check engine light and test the repair
Once the relearn procedure is complete, start the engine and listen for any rough idle or misfiring. The check engine light should turn off within a few driving cycles. If it stays on, or if the light returns after a few days, the problem may not be the sensor itself.
If you have access to a code reader, you can check whether the P0335 or P0336 code has cleared. If a new code appears — such as P0336 (crankshaft position sensor range/performance) — the issue may be a damaged reluctor ring on the crankshaft, a wiring fault, or a problem with the engine computer. These require more involved diagnosis and are beyond a basic sensor replacement.
If the light clears and the engine runs smoothly, the repair is complete. Drive the vehicle normally for at least 50 miles to confirm the fix is stable.
When to take it to a shop instead
If your vehicle requires removal of the harmonic balancer and you don't have a puller, a shop can do the job faster than renting tools and learning the procedure. Similarly, if the sensor location requires removing the intake manifold, transmission components, or other major parts, labor costs can exceed $400 even though the sensor itself is cheap. In those cases, the time and frustration of a DIY job may not be worth the savings.
Also consider taking it to a shop if the new sensor doesn't solve the problem. A technician with a scope can test the sensor signal and the reluctor ring, and can rule out wiring faults or computer issues that a home mechanic can't easily diagnose.
Frequently Asked Questions
Can a bad crankshaft position sensor cause a no-start condition?
Yes. Without a valid crankshaft position signal, the engine computer won't fire the spark plugs or inject fuel, so the engine won't turn over. If your car cranks but won't start and the check engine light is on, a failed sensor is a common cause.
Do I need to replace the reluctor ring if the sensor is bad?
No, unless the ring is visibly damaged or cracked. The ring is a permanent part of the crankshaft and rarely fails. If a new sensor doesn't fix the problem, have a technician check the ring with a scope before assuming it's damaged.
What's the difference between a crankshaft position sensor and a camshaft position sensor?
The crankshaft sensor reads the crankshaft rotation; the camshaft sensor reads the camshaft rotation. Both send signals to the engine computer, but they serve different purposes. A failed crankshaft sensor usually prevents starting; a failed camshaft sensor often causes rough running or a misfire code.
Will the check engine light turn off when ready after I replace the sensor?
Not always. Most vehicles clear the code after a relearn cycle and a few driving cycles, which can take a few days. Some shops or code readers can clear the light manually, but it will return if the underlying problem isn't fixed.
Can I drive with a bad crankshaft position sensor?
Not safely. A failing sensor will cause stalling, no-start, or rough running. Driving on a bad sensor risks stalling in traffic or on a highway, which is a safety hazard. Replace it as soon as the problem is diagnosed.