What a crankshaft position sensor does and why you might need to replace it
A crankshaft position sensor tells your engine's computer where the crankshaft is in its rotation at any given moment. The engine uses this information to time the spark plugs and fuel injectors correctly. When the sensor fails, your engine may not start, may run rough, may stall unexpectedly, or may trigger a check engine light.
If your vehicle is showing these symptoms and a mechanic or diagnostic scan has confirmed the sensor is faulty, you can replace it yourself if you have basic hand tools and are comfortable working in an engine bay. The job typically takes 30 minutes to two hours depending on your vehicle's design and how accessible the sensor is.
Key Takeaways
- The crankshaft position sensor bolts to the engine block or timing cover near the crankshaft pulley, and you will need to locate it using your vehicle's service manual or a parts diagram.
- You must disconnect the negative battery terminal before you begin work to prevent electrical shorts and accidental engine starting.
- The sensor unplugs from an electrical connector and is held in place by one or two bolts that you remove with a socket wrench.
- After installation, the new sensor must be positioned at the correct distance from the crankshaft reluctor ring, which your manual will specify—usually between 0.020 and 0.050 inches.
- Many vehicles require clearing the diagnostic trouble code with a scan tool after installation, though some will clear it automatically after a few drive cycles.
Locate the sensor using your vehicle's manual or online diagram
The crankshaft position sensor is mounted on or near the engine block, almost always close to the crankshaft pulley at the front of the engine. On some vehicles it sits on the timing cover; on others it bolts directly to the block. The exact location varies widely by make, model, and year.
Open your vehicle's service manual or search online for a diagram specific to your year and model. Write down the sensor's location and note whether you need to remove any other parts to reach it—sometimes you will need to unbolt a wheel well liner, remove a splash guard, or move a hose out of the way. Take a photo of the sensor's location and electrical connector before you start, so you have a reference if you need it later.
Disconnect the battery and gather your tools
Open your hood and locate the negative battery terminal (marked with a minus sign or black cable). Use a wrench to loosen the nut on the negative terminal and slide the cable off the battery post. This step prevents electrical damage and stops the engine from starting accidentally while you work.
Gather a socket set with the correct size socket for the sensor's mounting bolts (usually 8mm, 10mm, or 13mm), a ratchet, an extension bar if needed, a new crankshaft position sensor (the correct part for your vehicle), and a gasket scraper or plastic pry tool. Some sensors come with a new gasket or O-ring; check your parts box before you begin. Have a clean rag nearby to wipe away any oil or dirt.
Remove the old sensor
Locate the electrical connector on the old sensor. Press or squeeze the release tab (the exact mechanism varies by connector type) and pull the connector straight away from the sensor. Do not yank on the wires themselves.
Use your socket wrench to remove the bolt or bolts holding the sensor to the engine block or timing cover. Most sensors have one bolt, but some have two. Keep the bolts in a safe place—you will reuse them with the new sensor. Carefully pull the sensor straight out of its mounting hole. If it is stuck, gently rock it side to side; do not force it or you may damage the mounting surface.
Clean the mounting surface and install the new sensor
Inspect the mounting hole for dirt, oil, or debris. Use a clean rag to wipe the area thoroughly. If the old sensor had a gasket or O-ring, scrape away any remaining material with a plastic tool so the new sensor sits flush against the block.
Slide the new sensor into the mounting hole. Do not push it all the way in yet. Insert the mounting bolts by hand first to make sure they thread correctly, then tighten them with your socket wrench. Tighten firmly but do not over-tighten, which can crack the sensor body or strip the threads. Most mounting bolts torque to between 15 and 25 foot-pounds; check your manual for the exact specification.
Set the sensor gap and reconnect the electrical connector
The gap between the sensor tip and the crankshaft reluctor ring (the toothed wheel on the crankshaft) must be precise. Your service manual will specify the correct distance, typically between 0.020 and 0.050 inches. Some sensors are self-adjusting and do not require gap adjustment; others must be set manually using a feeler gauge or shim.
If your sensor requires manual gap adjustment, loosen the mounting bolts slightly, insert the feeler gauge between the sensor tip and the reluctor ring, then tighten the bolts while the gauge is in place. Remove the gauge and verify the gap with the bolts fully tight. If your manual says the sensor is self-adjusting, you can skip this step.
Plug the electrical connector back onto the new sensor. Push it straight on until you hear or feel a click, indicating it is fully seated. Do not force it at an angle.
Reconnect the battery and clear the diagnostic code
Slide the negative battery cable back onto the battery post and tighten the nut with your wrench. Do not over-tighten; hand-tight plus a quarter turn is usually sufficient.
Start the engine and listen for any unusual sounds. The check engine light may still be on because the old diagnostic trouble code is still stored in the computer's memory. Many vehicles will clear the code automatically after 10 to 20 miles of normal driving. If the light remains on after several drive cycles, you can clear it manually using an OBD-II scan tool, which you can purchase, rent, or have a mechanic use for you. If the light comes back on after clearing, the new sensor may be faulty or there may be another problem with the sensor circuit.
Frequently Asked Questions
Do I need to clear the check engine code myself, or will it go away on its own?
Most vehicles will clear the code automatically after you drive for 10 to 20 miles without triggering the fault again. If the light stays on after that, you will need an OBD-II scan tool to clear it manually. Some auto parts stores will clear it for free if you purchased the sensor from them.
What if the engine still won't start after I install the new sensor?
Double-check that the electrical connector is fully seated and that the mounting bolts are tight. Verify that you installed the correct sensor for your vehicle—a wrong part number will not work. If those are correct, the sensor may be defective, or there may be a wiring problem in the sensor circuit that a mechanic will need to diagnose.
Can I drive the vehicle with a faulty crankshaft position sensor?
Not safely. Without a working sensor, the engine cannot time the spark plugs and fuel injectors correctly, so it may not start, may stall while driving, or may run so poorly that it damages itself. Have it replaced before driving the vehicle.
How do I know if I have the right sensor for my vehicle?
Check the part number on the box against your vehicle's year, make, model, and engine size. Most parts retailers will verify the correct part when you order. If you are unsure, take a photo of your old sensor's part number to the parts store and ask them to confirm the replacement matches.
What is the reluctor ring and why does the gap matter?
The reluctor ring is the toothed wheel on the crankshaft. The sensor reads the teeth as they pass by to determine crankshaft position. If the gap is too large, the sensor cannot read the teeth clearly; if it is too small, the teeth may hit the sensor. Your manual specifies the correct gap for your vehicle.