What a crankshaft position sensor does and why it matters
Your crankshaft position sensor tells your engine's computer exactly where the crankshaft is at every moment. The crankshaft is the shaft that converts the up-and-down motion of your pistons into the rotating motion that turns your 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 crankshaft position information, your engine cannot fire the spark plugs at the right time, cannot inject fuel at the right time, and cannot run at all. A failing sensor does not just make your car run badly—it makes it undriveable. You will see a check engine light, the engine will stall or refuse to start, and you will be stranded.
Most vehicles have one crankshaft position sensor, though some have two. They are usually mounted near the crankshaft pulley at the front of the engine or near the flywheel at the back. They fail because they live in a hot, vibrating environment and the wiring connector corrodes or the sensor's internal electronics wear out.
Key Takeaways
- A crankshaft position sensor failure will prevent your engine from starting or cause it to stall while driving, because the engine cannot time spark and fuel injection without it.
- Replacement typically costs between $150 and $400 in parts and labor, depending on the vehicle and whether the sensor is straightforward or difficult to reach.
- You can recognize a failing sensor by a check engine light, rough idle, stalling, or a complete no-start condition—not by any sound or smell.
- The sensor itself is inexpensive (usually $30 to $100), but labor can be high if the sensor is buried deep in the engine bay or requires removing other components.
- A faulty sensor cannot be repaired; it must be replaced, and the replacement should reset the check engine light once the new sensor is installed and the engine relearns its timing.
How to recognize a crankshaft position sensor failure
The most obvious sign is a check engine light paired with a no-start condition. You turn the key and the engine cranks but does not fire. The starter motor works—you hear it turning the engine over—but no combustion happens. This is the classic crankshaft position sensor failure because without position data, the ECU will not command the fuel injectors or ignition coils to fire.
A failing sensor can also cause stalling while you are driving. The sensor signal drops out for a moment, the ECU loses track of crankshaft position, and the engine shuts down. You coast to a stop, restart the car, and it runs fine for a while before stalling again. This intermittent stalling is maddening because it happens unpredictably and the check engine light may not stay on between stalls.
You might also notice a rough idle, hesitation during acceleration, or a misfire code (P0300, P0301, P0302, etc.) on the diagnostic scanner. These happen because the sensor is sending weak or delayed signals, so the timing is slightly off. The engine runs but poorly. Do not ignore these signs—a weak sensor will fail completely soon.
What happens during crankshaft position sensor replacement
A mechanic will connect a diagnostic scanner to read the fault code and confirm the sensor is the problem, not a wiring issue or a bad connection. The code will usually be P0335 (crankshaft position sensor malfunction) or a variant like P0336 or P0337. Once confirmed, the sensor must be located and removed.
Location determines how long the job takes. On many vehicles, the sensor bolts to the engine block near the crankshaft pulley at the front, and removal takes 15 to 30 minutes. On others, it is mounted near the flywheel at the back of the engine, which means the transmission may need to come out or the engine may need to be tilted. On some vehicles, the sensor sits inside the distributor or is part of the ignition module, which adds complexity.
Once removed, the old sensor is discarded and a new one is installed in the same location. The connector is plugged in, the bolt is tightened, and the engine is started. The ECU will relearn the crankshaft position over the next few driving cycles, and the check engine light should turn off within a few days of normal driving. If the light stays on, the wiring or connector may be corroded and needs cleaning or replacement.
Labor time and total cost breakdown
The sensor itself costs between $30 and $100 depending on the vehicle and whether it is an OEM (original equipment manufacturer) part or an aftermarket replacement. OEM parts are more reliable but cost more. Aftermarket sensors are cheaper and usually work fine, but some fail sooner than others.
Labor is where the cost varies most. If the sensor is easily accessible, a shop will charge 0.5 to 1 hour of labor, which translates to $100 to $200 at typical shop rates ($100 to $200 per hour). If the sensor is difficult to reach—buried under the intake manifold, behind the transmission, or requiring engine tilting—labor can be 2 to 4 hours, pushing the total bill to $300 to $400 or more.
Some vehicles are notorious for difficult sensor locations. Subarus, for example, often require transmission removal. Fords and Chevrolets vary widely depending on the engine. Before you commit to a repair, ask the shop how many hours they estimate and whether the sensor is straightforward or hard to reach on your specific vehicle. A quick phone call to a few shops can save you money by choosing the one with the lowest labor estimate.
Diagnostic fees (the cost to plug in the scanner and confirm the sensor is bad) usually run $50 to $150. Some shops waive this fee if you authorize the repair; others charge it regardless. Ask before they start.
Why you cannot ignore a failing crankshaft position sensor
A weak or intermittent sensor will not get better on its own. The internal electronics are failing, and the failure will progress. You will go from occasional stalling to frequent stalling to a complete no-start. You cannot limp along with a bad sensor the way you might with a worn alternator or a slow battery drain.
Driving with a failing sensor is also unsafe. If the engine stalls on the highway, you lose power steering and power brakes. You can still steer and brake, but it takes much more effort. If the stall happens in traffic or on a curve, you are in danger. Do not delay the repair.
The good news is that the repair is straightforward and the part is reliable once replaced. A new crankshaft position sensor should last the life of the vehicle. Unlike some electrical components that fail repeatedly, this one usually fails once and then works for 150,000 miles or more.
Crankshaft position sensor versus other engine sensors
Your engine has many sensors: oxygen sensors, mass airflow sensors, throttle position sensors, and others. Each one sends data to the ECU, and each one can fail. The crankshaft position sensor is unique because the engine cannot run at all without it. Other sensors can fail and the engine will run poorly, but it will still run. A bad crankshaft sensor means no start and no operation.
Oxygen sensors and mass airflow sensors fail more often than crankshaft sensors because they are exposed to exhaust gases and air that contain contaminants. Crankshaft sensors fail less often but when they do, the consequence is total engine shutdown. This is why a crankshaft sensor failure feels like an emergency—because it is.
Frequently Asked Questions
Can I drive with a check engine light if the engine still starts and runs?
If the engine starts and runs smoothly, the sensor may be weak but not yet failed. However, a weak sensor will fail completely soon, often within days or weeks. Driving with a known sensor problem risks being stranded. Have it diagnosed and replaced before it fails entirely.
Will replacing the crankshaft position sensor reset my check engine light?
The light should turn off after the new sensor is installed and the engine relearns its timing, usually within a few days of normal driving. If the light stays on after three to five days, the wiring or connector may be corroded, or a second problem may exist. Return to the shop and ask them to scan the code again.
What is the difference between OEM and aftermarket crankshaft position sensors?
OEM sensors are made by the vehicle manufacturer and are more expensive but have a track record of reliability. Aftermarket sensors are made by third-party suppliers and cost less, but quality varies. Most aftermarket sensors work fine, but some fail sooner. Ask the shop which brand they recommend for your vehicle.
Can a bad crankshaft position sensor damage other engine parts?
A failing sensor will not damage the engine itself, but a complete sensor failure that leaves the engine unable to start can cause you to be stranded. If the engine stalls repeatedly while driving, you risk collision. The sensor itself is the only part that needs replacement.
How long does a crankshaft position sensor last?
A new sensor should last the life of the vehicle—often 150,000 miles or more. Sensors fail due to age, heat, vibration, and corrosion, not wear. Once replaced with a quality part, you should not need another one unless the vehicle is driven for many more years.