What a crank angle sensor does and why it fails
A crank angle sensor (also called a crankshaft position sensor) tells your engine's computer where the crankshaft is in its rotation at any given moment. The engine uses this signal to time the spark plugs, fuel injectors, and ignition system. Without an accurate reading, your engine cannot run properly — it may not start at all, may stall frequently, or may run rough and consume more fuel than normal.
The sensor sits near the crankshaft, usually on the front, rear, or side of the engine block depending on your vehicle's design. It wears out over time because it operates in heat and vibration, and because the magnetic or optical components inside degrade. A failed sensor typically triggers a check engine light and produces diagnostic codes like P0335 (crankshaft position sensor malfunction) or P0336 (crankshaft position sensor range/performance).
Replacement is straightforward on most vehicles — the sensor itself costs between $50 and $300 depending on the make and model, and labor at a shop typically runs $100 to $300. If you have basic mechanical skills and the right tools, you can do it yourself and save the labor cost.
Key Takeaways
- The crank angle sensor bolts to the engine block near the crankshaft and signals the computer about crankshaft position for timing and fuel injection.
- You will need a socket set, wrenches, a new sensor (specific to your vehicle year and model), and possibly a sensor socket or removal tool depending on the location.
- The job involves disconnecting the electrical connector, unbolting the old sensor, installing the new one, and reconnecting the wiring — usually taking 30 minutes to two hours.
- After replacement, the check engine light may stay on until you clear the diagnostic codes with a scanner or drive the vehicle through its self-test cycle.
- If the sensor is difficult to access on your vehicle, or if you are not comfortable working near the engine, a shop can complete the work reliably.
Locating the sensor on your engine
The crank angle sensor location varies by manufacturer and engine design. On many vehicles it sits on the front of the engine block, near the crankshaft pulley. On others it is mounted on the rear of the block, accessible from underneath or from inside the wheel well. Some vehicles have the sensor on the side of the block or even inside the distributor cap.
The best way to find it is to consult your vehicle's service manual or look up the location online using your year, make, and model. The sensor is usually a cylindrical or rectangular component about 2 to 4 inches long, with a single electrical connector and one or two mounting bolts. Once you locate it, take a photo so you remember the orientation before you remove it.
Tools and parts you will need
Gather these items before you start: a socket set and wrenches (usually 8mm to 14mm), a new crank angle sensor matched to your vehicle's year and model, a screwdriver set, and a work light or flashlight. You may also need a sensor socket (a specialized socket designed to remove the sensor without damaging it) if the sensor is recessed or difficult to reach with a standard wrench.
A diagnostic scanner is helpful but not required for the replacement itself — it lets you read and clear the diagnostic codes that triggered the check engine light. Many auto parts stores will read codes for free, and some will lend you a basic scanner. If you plan to clear the codes yourself, a straightforward code reader costs $25 to $60.
Have a clean rag or paper towels on hand, and consider placing a drain pan underneath if your vehicle is low to the ground and the sensor is near the oil pan — you are unlikely to spill oil, but it is good practice.
Steps to remove the old sensor
Start with the engine cold and the vehicle parked on a level surface. Disconnect the negative terminal of the battery to prevent electrical shorts. Locate the electrical connector on the crank angle sensor and gently pull it straight out — do not twist or force it, as the pins inside can bend.
Using the appropriate socket or wrench, unbolt the sensor from the engine block. Most sensors have one or two bolts; remove them completely and set them aside in a safe place. Carefully pull the sensor straight out of its mounting hole. Inspect the hole for dirt or debris and wipe it clean with a rag.
Before installing the new sensor, check that the new part matches the old one — compare the connector type, the body shape, and any mounting tabs. If they do not match, you may have ordered the wrong part for your vehicle.
Installing the new sensor
Insert the new sensor into the mounting hole, orienting it the same way the old one was positioned. This is why the photo you took earlier matters — the sensor must face the correct direction for the magnetic or optical pickup to read the crankshaft properly. Hand-tighten the bolts first to make sure the sensor sits flush against the block, then use your socket or wrench to tighten them to the torque specification in your service manual — usually between 15 and 25 foot-pounds.
Do not over-tighten. The sensor body is often plastic or aluminum and can crack if you explore too much force. Tighten until snug, then give the bolt a quarter turn more and stop.
Reconnect the electrical connector by pushing it straight onto the sensor terminal until you hear or feel a click. Reconnect the negative battery terminal. Do not start the engine yet.
Clearing codes and testing the replacement
Start the engine and listen for any unusual sounds. The check engine light may remain on for several minutes or even several drive cycles as the computer re-learns the sensor signal. This is normal. Drive the vehicle for 10 to 20 minutes at varying speeds to allow the engine computer to complete its self-test.
If the check engine light does not turn off after a few days of normal driving, use a diagnostic scanner to read the codes. If the same code (P0335 or P0336) appears again, the new sensor may be faulty, or there may be a wiring issue. If a different code appears, there may be a separate problem — consult the code definition to determine next steps.
If you want to clear the codes manually, a basic scanner will do it. Some auto parts stores will clear codes for free as well. After clearing, drive the vehicle again and see if the codes return. If they do not, the replacement was successful.
When to take it to a shop instead
If the sensor is located in a tight or awkward spot — such as underneath the vehicle, deep inside the engine bay, or behind other components — the job becomes time-consuming and frustrating for a first-timer. A shop can access it faster and has the specialized tools to remove stubborn sensors without damage.
If you do not have a socket set or basic hand tools, or if you are not comfortable working near the engine, a shop is the safer choice. A professional can also diagnose whether the sensor itself is the problem or whether the issue is a wiring fault, connector corrosion, or a computer malfunction — all of which would require different fixes.
If the new sensor does not solve the problem, a shop can run a full diagnostic to identify the real cause and save you the cost of replacing parts that are not broken.
Frequently Asked Questions
How do I know if my crank angle sensor is actually bad?
A check engine light combined with a diagnostic code like P0335 or P0336 is the clearest sign. You may also notice the engine not starting, stalling at stops, rough idle, or poor fuel economy. However, these symptoms can also come from a bad alternator, fuel pump, or ignition coil. A diagnostic scanner reading the specific code is the most reliable way to confirm the sensor is the problem.
Can I drive with a bad crank angle sensor?
Not safely or for long. Without a good signal from the sensor, the engine cannot time the spark plugs and fuel injectors correctly. The engine may not start at all, or it may start but stall when ready. If it does run, it will be rough and unreliable. Driving it risks stalling in traffic or at an intersection, which is a safety hazard.
Do I need to clear the diagnostic codes after I replace the sensor?
No, not when ready. The check engine light may turn off on its own after a few drive cycles as the computer re-learns the new sensor signal. If the light stays on after a week of normal driving, then you can clear the codes with a scanner or have a shop do it. Clearing codes before the computer has had time to test the new sensor can cause the light to come back on right away.
What if the new sensor has the wrong connector?
Stop and verify you ordered the correct part for your vehicle year, make, model, and engine size. Auto parts stores sometimes ship the wrong sensor, especially if your vehicle has multiple engine options. Contact the supplier and request the correct part. Installing a sensor with the wrong connector can damage the wiring harness or the sensor itself.
How long does a crank angle sensor usually last?
Most sensors last between 80,000 and 150,000 miles, though some fail earlier due to heat, vibration, or manufacturing defects. Once replaced, the new sensor should last a similar length of time. If a sensor fails again within a few thousand miles, there may be an underlying electrical or cooling issue that is shortening its life — a shop can investigate.