Why the part is rarely the whole story
A sensor is a messenger. When the light comes on, the car has not told you the sensor is bad. It told you the sensor reading is out of range. Wiring, a vacuum leak, an exhaust leak or a failing component upstream can all produce the same number.
That is why a trouble code is a starting point. Paying for a part off a code alone is how drivers end up replacing the same sensor twice. Start with a scan, which you can often get free at a parts store, then read how to read engine codes to understand what you are looking at.
The sensors that fail most often
- Oxygen sensors sit in the exhaust and report whether the mix is rich or lean. They age with heat and contamination. RepairPal lists related codes P0030, P0031 and P0032.
- Crankshaft and camshaft position sensors tell the computer where the engine is in its rotation, so it can time spark and fuel. Failure can mean a no-start or a stall. RepairPal lists related codes P0317, P0318 and P0319.
- Mass airflow, throttle position and manifold pressure sensors measure the air entering the engine.
- Coolant temperature sensors feed the fan and fuel mixture.
- Wheel speed sensors serve the ABS and stability systems. See the ABS light page for those.
Symptoms that point to a sensor
- The check engine light is on with no obvious problem, which on many cars also shows as a service engine soon message.
- An engine that starts, runs for a few seconds and dies, or cranks without ever starting.
- Rough idle, hesitation, or a car that stalls at stops.
- Worse mileage, seen in our look at poor fuel economy.
- A failed emissions test.
Intermittent faults are the hardest. A crankshaft sensor that fails only when hot may stall the car after a drive and then work fine after it cools. Tell the technician exactly when it happens.
What it costs
Here is what RepairPal's 2026 national averages show, excluding tax, fees and local price differences:
| Sensor | Total | Labor | Parts |
|---|---|---|---|
| Oxygen sensor | $440 to $523 | $93 to $136 | $347 to $387 |
| Crankshaft position sensor | $230 to $335 | $144 to $211 | $86 to $124 |
Models matter. For the oxygen sensor, RepairPal shows a Chevrolet Silverado 1500 at $306 to $407 and a Honda CR-V at $501 to $578. For the crankshaft sensor, a Nissan Altima runs $146 to $243 and a Toyota Camry $255 to $375. An oxygen sensor test is listed at $49 to $72. Cars with several oxygen sensors multiply the parts cost if the shop replaces more than one.
What the shop does
The shop connects a professional scanner, reads codes and live data, and compares what the sensor claims with what the engine is really doing. For a crankshaft sensor, the technician compares its signal with the camshaft's and inspects the wiring and connector. For an oxygen sensor, they watch its switching rate and check for exhaust leaks that would fool it.
RepairPal urges quality factory-grade sensors because cheaper ones may not communicate properly with the engine computer. It also says to inspect the timing belt or chain when a crank sensor fails, since a failed belt can produce similar symptoms. If the chain or belt is the culprit, see our page on timing belt work.
Ask the shop three things. Which code or measurement condemned this part? Is the part original equipment or a matching brand? If the light returns, is the diagnosis fee credited?
DIY limits
Replacing a sensor can be simple, but diagnosing the right one is not. RepairPal notes that an oxygen sensor job needs a scan tool, a safe way to lift the car, and often a torch to free the old part. On some engines the crankshaft sensor sits inside the block and needs major disassembly. Do not work under a car held only by a jack.
What you can safely do is clear a code only after you have written it down, check that the gas cap is tight, and look for loose connectors. For related repairs see check engine diagnostics and exhaust repair, since a leak can fool an oxygen sensor.
When it needs a tow instead
Call for a tow when the engine will not start, when it dies at speed and restarts poorly, or when a flashing light comes with shaking. A car with a dead crankshaft sensor is stranded, and the repair costs less than damaging the catalytic converter by pushing it. Use a light-duty tow for a passenger car. Our guide to the flashing check engine light explains the urgency.
Updated November 25, 2026