What a crankshaft position sensor does and why it matters

Your 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 the rotational motion that turns your wheels. The sensor reads a toothed ring on the crankshaft and sends that information to the engine control unit (ECU) dozens of times per second. Without accurate crankshaft position data, your engine cannot fire the spark plugs at the right time, inject fuel at the right time, or run at all.

When this sensor fails or starts to fail, your engine will not start, will stall while driving, or will run so poorly that your check engine light comes on. A bad crankshaft position sensor is one of the most common reasons a car cranks but will not turn over. Testing it yourself requires a multimeter and some basic steps, but the sensor itself is usually inexpensive to replace once you know it is the problem.

Key Takeaways

  • A crankshaft position sensor failure prevents your engine from starting or causes it to stall because the ECU cannot time the spark plugs without position data.
  • You can test a crankshaft position sensor with a multimeter by checking for voltage output while the engine cranks, which should show a changing reading rather than a flat zero.
  • The sensor's location varies by vehicle—check your owner's manual or a repair guide for your specific make and model before you start.
  • A failed sensor usually triggers a P0335 or P0336 diagnostic trouble code, which you can read with a basic code reader.
  • If the sensor tests bad, replacement is straightforward on most vehicles and costs far less than towing and a shop diagnosis.

Symptoms that point to a crankshaft position sensor problem

The most obvious sign is an engine that cranks but will not start. You turn the key, the starter motor spins the engine, but the ignition never catches. This happens because without crankshaft position data, the ECU cannot tell the fuel injectors and ignition coils when to fire. Another common symptom is an engine that starts fine but stalls a few seconds or minutes into driving, then will not restart until it sits for a while. This usually means the sensor is intermittently losing signal as the engine warms up or as vibration loosens an internal connection.

You may also notice rough idle, hesitation during acceleration, or a check engine light with a P0335 (crankshaft position sensor circuit malfunction) or P0336 (crankshaft position sensor range/performance) code. Some vehicles will go into limp mode—a reduced-power state designed to let you drive slowly to a repair shop. If you see any of these signs, testing the sensor is a logical first step before you pay for a full diagnostic.

What you need to test the sensor

You will need a digital multimeter set to measure DC voltage (direct current). An analog multimeter works but is harder to read for small voltage changes. You also need your vehicle's service manual or a repair guide specific to your make, model, and year—this tells you the sensor's location, the correct voltage range it should produce, and which wire is the signal wire. Many repair manuals are available free online through sites like AllData or your manufacturer's website.

You will also need basic hand tools: a socket set or wrench to remove the sensor, and possibly a screwdriver or pry bar to access it if it is tucked behind other engine components. Have a helper available if you plan to test the sensor while the engine is cranking, since you cannot safely crank the engine and hold a multimeter probe at the same time. Finally, disconnect the negative battery terminal before you unplug the sensor to avoid accidental short circuits.

How to locate the crankshaft position sensor on your vehicle

The sensor's location varies widely. On many vehicles it sits near the crankshaft pulley at the front of the engine, close to the timing cover. On others it is mounted on the transmission bell housing at the rear of the engine, or on the side of the engine block. Some vehicles have two crankshaft position sensors—one for timing and one for fuel injection. Your owner's manual or a repair guide will show you exactly where to look and how to access it safely.

Once you locate it, you will see a cylindrical or rectangular sensor with an electrical connector on one end. The connector usually has two or three wires: a power wire (often red), a ground wire (often black), and a signal wire (often yellow or white). Do not unplug the sensor yet—first, you will test it while it is still connected to see if it is producing a signal.

Testing the sensor with a multimeter while the engine cranks

Set your multimeter to DC voltage mode. Locate the signal wire on the sensor connector—your manual will tell you which one it is. With the engine off and the key in the off position, carefully backprobe the signal wire by inserting a small multimeter probe into the back of the connector without unplugging it. Have your helper turn the key to the start position so the engine cranks. Watch the multimeter display: it should show a changing voltage, typically between 0 and 5 volts, flickering as the crankshaft rotates and the sensor reads the toothed ring.

If the multimeter shows a steady 0 volts or does not change at all while the engine cranks, the sensor is not producing a signal and is likely bad. If it shows a steady voltage that does not fluctuate, the sensor is also not working correctly. A healthy sensor will show voltage that rises and falls repeatedly as the engine turns. If you see this changing pattern, the sensor itself is probably working, and the problem may lie elsewhere—such as a wiring fault, a bad connector, or an ECU issue.

Testing the sensor after removal from the engine

If the cranking test was inconclusive or if you want to confirm the sensor is bad before buying a replacement, you can remove it and test it on the bench. Disconnect the negative battery terminal first. Unplug the sensor connector and unbolt the sensor from the engine. Set your multimeter to resistance mode (ohms) and measure the resistance across the sensor's terminals—your manual will tell you what the reading should be. Most crankshaft position sensors should show a resistance between 200 and 900 ohms, depending on the type.

If the resistance is outside this range or reads as open circuit (infinite resistance), the sensor is bad. You can also visually inspect the sensor tip for cracks, corrosion, or debris. A corroded or damaged tip will not read the toothed ring properly. If the sensor looks intact and the resistance is within range, the problem is likely not the sensor itself—it could be a wiring break, a corroded connector, or a problem with the ECU.

When to replace the sensor versus when to dig deeper

If your multimeter tests show no voltage change while cranking, or if the resistance reading is far outside the normal range, replacement is the next step. Crankshaft position sensors are inexpensive—typically between $50 and $200 for the part itself—and replacement usually takes 30 minutes to an hour on most vehicles. Unplug the old sensor, unbolt it, plug in the new one, and bolt it back down. Clear the diagnostic trouble code with a code reader after installation, and the check engine light should stay off if the new sensor is working.

If your tests show the sensor is producing a signal or the resistance is normal, but you still have a no-start or stalling problem, the issue is elsewhere. A corroded connector, a broken wire in the harness, a bad ground, or a failing ECU can all cause the same symptoms. In these cases, you may need to have a shop trace the wiring or test the ECU, because diagnosing electrical faults beyond the sensor itself requires specialized equipment.

Frequently Asked Questions

Can a crankshaft position sensor fail suddenly or does it always give warning signs?

It can fail suddenly. Some sensors work fine one moment and stop producing a signal the next, leaving you stranded. Others fail gradually—you might notice stalling that gets worse over days or weeks. If your sensor is old or has been exposed to heat and moisture, sudden failure is common.

What does a P0335 code mean and does it always mean the sensor is bad?

P0335 means the ECU is not receiving a crankshaft position signal or the signal is too weak. It usually points to the sensor, but it can also mean a wiring break, a loose connector, or a corroded terminal. Test the sensor first, then check the wiring if the sensor tests good.

Can I drive with a bad crankshaft position sensor?

No. A completely failed sensor will not let the engine start at all. A partially failed sensor might let you drive short distances before stalling, but the engine will run poorly and you risk stalling in traffic or at an intersection. Replace it as soon as you confirm it is bad.

How long does a crankshaft position sensor usually last?

Most sensors last the life of the vehicle if they stay dry and cool. Sensors that are exposed to engine heat, moisture, or vibration can fail between 80,000 and 150,000 miles. There is no set interval for replacement—you replace it only when it fails.

Do I need a code reader to know if the sensor is bad?

A code reader helps confirm the problem, but it is not required. If your multimeter shows no voltage change while cranking, the sensor is almost certainly bad. A code reader straightforward confirms which component the ECU thinks is at fault.