What a crankshaft position sensor does and why it fails

A crankshaft position sensor tells your engine's computer where the crankshaft is at any given moment. The crankshaft is the shaft that converts the up-and-down motion of your pistons into rotational motion that turns the wheels. The sensor reads a toothed ring on the crankshaft and sends that position data to the engine control unit (ECU) dozens of times per second. Without accurate position information, the ECU cannot time the fuel injectors or ignition spark correctly, so the engine either runs rough or will not start at all.

Crankshaft position sensors fail because they sit in a hot, oily, vibrating environment near the engine block. The sensor itself is a small electromagnetic device that wears out over time—typically between 80,000 and 200,000 miles, depending on the vehicle and sensor design. Heat cycles, oil contamination, and vibration all accelerate failure. When one fails, you will see a check engine light, rough idle, stalling, hard starting, or no start at all.

Replacement is not optional. A failed sensor will leave you stranded and can damage the catalytic converter if you keep driving on it. The good news is that replacement is straightforward on most vehicles, though the sensor location varies widely—some are straightforward to reach, others require removing engine covers or suspension components.

Key Takeaways

  • A crankshaft position sensor relays the crankshaft's position to the engine computer so it can time fuel injection and spark; when it fails, the engine will not start or runs very rough.
  • Replacement involves unplugging the old sensor, unbolting it, and installing a new one in the same location—a job that takes 15 minutes to 2 hours depending on where the sensor sits on your engine.
  • The sensor location is different on every vehicle; check your repair manual or a model-specific forum to find out whether you need to remove covers, wheels, or other parts first.
  • You will need a socket set, a wrench, a new sensor (part number from your vehicle's manual or parts store), and possibly a sensor socket or removal tool if the sensor is recessed.
  • After installation, the check engine light should clear on its own within a few drive cycles, or you can have a shop clear it with a diagnostic scanner.

Locating the sensor on your specific vehicle

The crankshaft position sensor location is not standardized. On some vehicles it bolts to the front of the engine block near the crankshaft pulley. On others it sits on the side of the block, the transmission bell housing, or even inside the distributor. A few vehicles have two sensors for redundancy. Your repair manual or a model-specific forum will tell you exactly where yours is.

Start by consulting your vehicle's service manual—most auto parts stores can print pages for you, or you can find the manual online through sites like AllData or your manufacturer's website. If you do not have the manual, search "[your year, make, model] crankshaft position sensor location" on a forum dedicated to your vehicle. People who own the same car have already done this work and will tell you what you need to move out of the way to reach it.

Once you know the location, inspect it visually. The sensor is a small cylindrical or rectangular component with an electrical connector on top and a single bolt holding it in place. Take a photo so you remember the orientation—the new sensor must go in the same way.

Disconnecting the battery and removing the old sensor

Always disconnect the negative terminal of your battery before working on any electrical component. Loosen the negative battery cable nut with a wrench, slide the cable off the post, and set it aside so it cannot touch the battery terminal. This prevents accidental short circuits and protects the ECU.

Unplug the electrical connector from the sensor by pressing the release tab or clip and pulling straight back. Do not twist or force it—the connector should come free with gentle, steady pressure. If it is stuck, spray a small amount of penetrating oil around the connector base and wait a few minutes.

Unbolt the sensor using the appropriate socket or wrench. Most sensors are held by a single bolt, though some have two. Keep the bolt in a safe place—you will reuse it or replace it with the new sensor's hardware. Carefully pull the sensor straight out of its bore. If it is stuck, do not hammer it; instead, explore penetrating oil, wait 10 minutes, and try again with a gentle rocking motion.

Installing the new sensor and reconnecting

Before you install the new sensor, inspect the bore where it sits. If there is heavy oil buildup or debris, wipe it out with a clean rag. Do not use a wire brush or anything abrasive—you can damage the bore or leave particles that interfere with the sensor's magnetic field.

Slide the new sensor into the bore in the same orientation as the old one. The sensor should sit flush against the engine block or mounting surface. If it does not, stop and check the orientation—forcing a misaligned sensor can crack it or bend the connector. Once it is seated, thread the bolt by hand first to avoid cross-threading, then tighten it snugly with your socket or wrench. Do not overtighten; most sensors need only 15 to 25 foot-pounds of torque, which is hand-tight plus a quarter turn.

Plug the electrical connector back in until you hear or feel it click. Reconnect the negative battery cable and tighten the nut. Start the engine and listen for any unusual sounds. The check engine light should turn off within a few drive cycles as the ECU relearns the sensor signal. If the light stays on, the sensor may be defective, or there may be a wiring issue—have a shop scan the code to confirm.

Tools and parts you will need

Gather these items before you start: a socket set and wrenches that fit your vehicle's fasteners, a new crankshaft position sensor (order by part number from your vehicle's manual or a parts store), penetrating oil, clean rags, and a flashlight or headlamp. Some sensors are recessed in a deep bore and require a special sensor socket—check whether your vehicle needs one before you begin.

The sensor itself costs between $40 and $150 depending on the vehicle and whether you buy OEM (original equipment manufacturer) or aftermarket. OEM sensors are more reliable but cost more. Aftermarket sensors from reputable brands like Bosch or Standard Motor Products are usually fine and cost less. Avoid the cheapest options; a failed sensor replacement is frustrating and wastes your time.

If you do not own a socket set or basic wrenches, borrowing or renting them is cheaper than buying a full set for a one-time job. Many auto parts stores loan tools for free with a refundable deposit.

When to stop and take it to a shop

If the sensor is seized in its bore and will not budge after soaking with penetrating oil, stop. Forcing it risks breaking the sensor, damaging the bore, or stripping the bolt. A shop has impact tools and extraction sockets that can remove a stuck sensor without damage. The labor cost will be higher, but it is worth it to avoid a bigger problem.

If you remove the sensor and find the bore is damaged, cracked, or stripped, that is also a shop job. Repairing a damaged bore requires machine work or replacement of the component it is mounted to, which is beyond a home repair.

If you install the new sensor, reconnect everything, and the engine still will not start or the check engine light stays on, have a shop scan the diagnostic code. The code will tell you whether the new sensor is defective, whether there is a wiring problem, or whether a different issue is causing the symptom. Trying to guess at this point wastes time and money.

Frequently Asked Questions

Can I drive with a bad crankshaft position sensor?

Not safely or for long. A failed sensor will cause rough idle, stalling, hard starting, or complete no-start. If the engine does run, it is running on a default timing map that is not optimized for your engine, which can damage the catalytic converter over time. Get it replaced as soon as you can.

How do I know if my crankshaft position sensor is bad?

The check engine light will come on, and you will see a code like P0335 or P0336 when scanned. You may also experience rough idle, stalling at stops, hard starting, or the engine will not start at all. A shop can confirm the diagnosis with a scanner and by testing the sensor's output signal.

Do I need to clear the check engine light after replacing the sensor?

The light should turn off on its own within a few drive cycles as the ECU relearns the sensor signal. If it does not, you can have a shop clear it with a diagnostic scanner, or you can disconnect the negative battery terminal for 15 minutes to reset the computer—though this will also erase other stored codes.

What if I install the new sensor and the engine still will not start?

First, make sure the connector is fully seated and the bolt is tight. Then have the vehicle scanned to see what code is stored. If the code is the same as before, the new sensor may be defective—return it and get a replacement. If the code is different or there is no code, the problem may be something else, like a wiring issue or a failed fuel pump.

Can I replace a crankshaft position sensor without disconnecting the battery?

Technically yes, but it is not recommended. Disconnecting the battery protects the ECU from voltage spikes if you accidentally short the connector or wiring. It takes 30 seconds and is worth the safety margin.