🎯 The short answer
The crankshaft position sensor (often abbreviated CKP) is a small magnetic or Hall-effect sensor that watches a toothed wheel on the crankshaft spin. It tells the engine computer exactly where the pistons are so it can time spark and fuel injection. When it fails, the computer loses that reference and the engine usually will not start, or it stalls and refuses to restart until it cools down.
If you are seeing a P0335 crankshaft position sensor code or chasing an intermittent crank-no-start condition, replacing this sensor is one of the cheapest and most common fixes there is.
💰 Cost and time breakdown
The part is inexpensive. What varies is access. On some engines the sensor sits right on the front of the block and takes ten minutes. On others it hides behind the intake manifold, the starter, or the engine mount, which is where the labor hours pile up.
| Item | DIY | Shop |
|---|---|---|
| Sensor part | $20-$120 | $30-$150 (marked up) |
| Labor | $0 | $90-$300 (1-3 hrs) |
| Relearn (if needed) | $0 with tool | $0-$50 |
| Typical total | $20-$120 | $150-$400 |
| Time | 30-90 min | 1-3 hours |
If a shop quoted you on the high end, run the number through our repair quote checker before you pay. A buried sensor can legitimately justify three hours of labor, but a front-of-block sensor should not.
🔧 Tools and parts you need
- Replacement crankshaft position sensor (buy the correct one for your exact year, make, model, and engine)
- Socket set and ratchet, usually 8mm, 10mm, or 5.5mm hex depending on the bolt
- A short extension and possibly a swivel/universal joint for tight spots
- Trim/connector tool or a small flat screwdriver to release the wiring clip
- OBD2 scanner to read and clear codes and confirm the fix
- A small dab of clean engine oil for the new sensor O-ring (most have one)
- Jack and stands, or ramps, if your sensor is accessed from underneath
Always replace the sensor with the right part number. A universal-looking sensor with the wrong connector or pickup distance will throw the same code right back at you.
⚙️ Step-by-step: replace a crankshaft position sensor
Here is the full procedure to replace a crankshaft position sensor on a typical vehicle. Locations vary, so confirm yours first with a repair guide or our diagnosis tool.
- Let the engine cool and disconnect the battery. Remove the negative terminal. This protects you and prevents storing extra fault codes while you work.
- Locate the sensor. The CKP is commonly found at the front or rear of the engine block, low near the crank pulley, or on the transmission bellhousing where it can read the flywheel teeth. Follow the wire from a small two- or three-pin connector to find it.
- Clear your access. You may need to remove a splash shield, an air intake tube, or a single bracket. Take a photo before you unplug or unbolt anything.
- Unplug the connector. Press the release tab and pull the harness plug straight off. Do not yank the wires.
- Remove the hold-down bolt. Most sensors use a single 8mm or 10mm bolt. A few use two. Set the bolt somewhere it will not roll into the bellhousing.
- Pull the old sensor out. Twist gently while pulling. If it is stuck from age and heat, wiggle it; do not pry against the block.
- Install the new sensor. Lightly oil the O-ring, seat the sensor fully, then install the bolt and snug it to spec. Do not overtighten; the housing is often plastic.
- Reconnect everything. Click the connector back on, reinstall any brackets or shields, and reconnect the battery.
- Clear codes and test. Use your scanner to erase the stored code, then start the engine. Verify the no-start is gone and the check engine light stays off after a short drive.
⚠️ Common mistakes to avoid
- Skipping the relearn. Many GM, Ford, and Chrysler vehicles need a crankshaft variation relearn (CASE relearn) after the swap. Skip it and you may get a flashing light, rough idle, or a stored misfire code even with a perfect new sensor.
- Buying the wrong sensor. Crank and cam sensors can look nearly identical. Confirm the part number against your VIN, not just the year and make.
- Assuming the sensor is bad without testing. A wiring fault, a damaged reluctor wheel, or a corroded connector can mimic a failed sensor. Always read the live signal or at least inspect the connector first.
- Overtightening the bolt. The mounting ear is often plastic and cracks easily. Snug, not gorilla-tight.
- Confusing it with the camshaft sensor. A P0340 camshaft code is a different part. Read the code first so you replace the right one.
🧠 Is it really the crankshaft sensor? Quick diagnostic
Before spending money, run this short decision check. A crank sensor failure has a recognizable fingerprint.
- Engine cranks but will not start? Classic crank sensor symptom. Spark and injector pulse both vanish when the signal drops.
- Stalls when hot, restarts when cool? Heat-related sensor breakdown is extremely common. The sensor works cold and quits as it warms up.
- Got a P0335 to P0339 code? That range points squarely at the crankshaft position circuit.
- Sudden stalling while driving? Intermittent signal loss. Often a sensor, sometimes a chafed wire.
- Tachometer drops to zero while cranking? A dead tach needle during crank is a strong sign the computer is not seeing the crank signal at all.
If you check several of these boxes, the sensor is a strong bet. If the symptoms are vaguer, like hard starting or a delayed crank, the camshaft sensor or fuel system may be involved instead. When in doubt, learn the warning signs of a car that stalls while driving to narrow it down.
❓ Frequently asked questions
📋 TL;DR
- The crankshaft position sensor is a cheap, single-bolt part that, when it fails, usually causes a crank-no-start or hot stall.
- DIY cost is just the part, $20 to $120. A shop runs $150 to $400, mostly labor.
- Steps: disconnect battery, find sensor, unplug, remove one bolt, swap, reconnect, clear codes, test.
- Watch for the CASE relearn requirement on many GM, Ford, and Chrysler vehicles.
- Confirm the code (P0335 to P0339) before buying so you do not replace the camshaft sensor by mistake.