A crankshaft position sensor replacement typically costs between $150 and $400 for the part and labour combined, though the range depends on your vehicle make, which mechanic you use, and whether the sensor is straightforward or difficult to reach on your engine.
The sensor itself is usually $40 to $150. Labour runs $100 to $300 because the time required varies wildly—some sensors take 20 minutes to swap out, others require removing engine covers or other components to access. Independent shops tend to charge less than dealerships for the same job. If you have a check engine light and a diagnostic already confirmed the sensor is the problem, you know what you are paying for. If you haven't had it diagnosed yet, add $80 to $150 for that first.
This is not a repair you can safely ignore. The crankshaft position sensor tells your engine's computer where the crankshaft is in its rotation cycle. Without that signal, the engine cannot fire the spark plugs at the right moment, cannot inject fuel at the right time, and cannot run at all—or will run so badly that you risk stalling on the highway or damaging the catalytic converter.
Key Takeaways
- A crankshaft position sensor replacement costs $150 to $400 total, with the sensor itself running $40 to $150 and labour $100 to $300 depending on how accessible it is on your engine.
- The sensor fails gradually or suddenly, causing a check engine light, rough idle, stalling, hard starting, or loss of power—all signs you need a diagnosis before you pay for anything.
- Independent mechanics usually charge less than dealerships for this repair, but confirm the sensor is actually the problem with a diagnostic code read first.
- Delaying replacement risks stalling while driving, poor fuel economy, and damage to your catalytic converter from misfires.
- Some vehicles have the sensor in an straightforward spot under the hood; others require removing intake manifolds or other engine parts, which is why labour time varies so much.
Why the cost varies so much between vehicles
The crankshaft position sensor sits near the crankshaft, usually at the front or rear of the engine block. On some cars—many Hondas and Toyotas, for example—it is bolted to an accessible spot and takes a technician 15 to 30 minutes to remove and replace. On others, especially some Fords and Chryslers, the sensor is tucked behind the engine, under the intake manifold, or wedged in a spot that requires removing other parts first. That same job can take 2 to 4 hours.
Dealerships charge by the hour, usually $100 to $200 per hour depending on the brand. Independent shops often charge $60 to $120 per hour. A 20-minute job at a dealership might cost $50 to $70 in labour; the same job at an independent shop might cost $30 to $40. But a 3-hour job at a dealership could run $300 to $600 in labour alone, while an independent shop might charge $180 to $360. The part cost is similar everywhere, but labour is where the price splits.
What happens when a crankshaft position sensor fails
A failing sensor usually shows up as a check engine light, often with the code P0335 or a variant like P0336 or P0337. You might also notice the engine running rough at idle, hesitating when you accelerate, stalling at traffic lights, or being hard to start. Some cars lose power suddenly while driving. Others run so poorly that fuel economy drops noticeably.
The reason is straightforward: without a clear signal from the sensor, the engine computer cannot time the spark plugs or fuel injectors correctly. It either guesses (and gets it wrong) or shuts down non-essential systems to protect itself. A few sensors fail completely and suddenly, leaving you stranded. Most fail gradually, getting worse over days or weeks.
If you ignore it, the engine will eventually not start at all. Before that point, the misfires caused by bad timing can overheat your catalytic converter—the expensive emissions device in your exhaust system. A converter replacement costs $800 to $2,500, so catching a sensor problem early is much cheaper than waiting.
How to confirm the sensor is actually the problem
Do not assume a check engine light means the crankshaft position sensor is bad. Many things trigger that light. You need a diagnostic scan to read the specific code. Most independent shops and all dealerships can do this. The cost is usually $80 to $150, though some shops waive it if you have them do the repair.
When the technician scans your vehicle, they will see a code like P0335 (crankshaft position sensor malfunction), P0336 (sensor range or performance), or P0337 (sensor low voltage). These codes point to the sensor, but they do not always mean the sensor itself is broken—a loose connector, a corroded wire, or a wiring problem can cause the same code. A good technician will check the connector and wiring before replacing the part. If the wiring is fine and the code is clear, the sensor is almost certainly the problem.
Dealership versus independent shop pricing
A dealership will charge you the manufacturer's recommended labour time multiplied by their hourly rate, plus the OEM (original equipment manufacturer) part. The part is often more expensive than an aftermarket equivalent, and the labour rate is higher. For a crankshaft position sensor on a vehicle where it takes 1 hour to replace, a dealership might charge $200 to $300 total.
An independent shop will usually use an aftermarket sensor (which is functionally identical to the OEM part for this process) and charge a lower hourly rate. The same 1-hour job might cost $120 to $180. If the sensor is in a difficult spot and takes 3 hours, the dealership could charge $500 to $700, while an independent shop might charge $300 to $450.
The trade-off is warranty. Dealerships typically warranty their work for 12 months or 12,000 miles. Independent shops vary—some offer 12 months, some offer 6 months, some offer none. Ask before you commit. Also ask whether the shop will use an OEM part if you want one; most will, but they will charge more for it.
What to expect during the repair
The technician will disconnect the battery, locate the sensor, unplug the electrical connector, unbolt the old sensor, and install the new one in reverse order. If the sensor is straightforward to reach, this takes 20 to 45 minutes. If other components need to come off first, add 1 to 3 hours.
After installation, the technician will clear the check engine code and test-drive the vehicle to confirm the code does not return and the engine runs smoothly. This is important—if the code comes back when ready, there is a wiring problem or the sensor was not the real issue. A good shop will not charge you again if this happens; they will diagnose further at no additional cost.
You should receive a receipt showing the part replaced, the labour time, and the total cost. Keep this for your records. If the sensor fails again within the warranty period, you can return to the shop and have it replaced under warranty.
Signs you should not delay this repair
If your check engine light is on and you have confirmed it is the crankshaft position sensor, schedule the repair within the next week or two. Do not wait months. The longer you drive with a failing sensor, the more stress you put on the catalytic converter, and the higher the risk of stalling while driving—which is dangerous if it happens in traffic or on a highway.
If the engine is already stalling or hard to start, do not ignore it. These are signs the sensor is failing fast. If you are stranded or the car will not start, you will need a tow truck, which costs $75 to $200 depending on distance. That is money you would not spend if you had the repair done while the car was still running.
Frequently Asked Questions
Can I drive with a bad crankshaft position sensor?
You can drive briefly to get to a mechanic, but not for long distances or highway speeds. A failing sensor causes misfires, which overheat the catalytic converter and can damage it permanently. If the sensor fails completely, the engine will not run at all. The longer you drive, the more expensive the eventual repair becomes.
Is the crankshaft position sensor the same as the camshaft position sensor?
No. The crankshaft sensor tells the computer where the crankshaft is; the camshaft sensor tells it where the camshaft is. Both are needed for proper engine timing. They are different parts in different locations and cost different amounts to replace. A diagnostic scan will tell you which one is actually failing.
Will replacing the sensor clear the check engine light?
The technician will clear the code after the repair and test-drive to confirm it does not return. If the code comes back within a few miles, there is a wiring problem or the sensor was not the issue. A good shop will diagnose further without charging you again.
What if I replace the sensor myself?
If you have mechanical experience and the sensor is straightforward to reach on your vehicle, you can save the labour cost. You will still pay $40 to $150 for the part. However, if the sensor is difficult to access or you are not confident, a mistake can cost you more in the long run. Most people are better off having a professional handle it.
How long does a crankshaft position sensor last?
Most sensors last 80,000 to 150,000 miles, though some fail earlier due to heat, moisture, or electrical stress. There is no maintenance that prevents failure—when they go, they go. If your vehicle has high mileage and the sensor fails, expect it might happen again in another 80,000 to 150,000 miles.