OBD-II trouble code
P2159: Vehicle Speed Sensor "B" Range/Performance
This code names the referee, not the offender. It is set by two speed sources disagreeing, and disagreement alone cannot say which of them is lying — the module blames the secondary source because that is the one it is checking. Replacing sensor B and having the code come straight back is the single most common outcome, and it is avoided by finding an outside arbiter first.
Quick facts
- System
- Powertrain
- Category
- Transmission / Speed Sensor
- Severity
- Medium severity
- Drivable
- Usually safe to drive short-term
- Repair cost range
- $0 – $1,600
- DIY difficulty
- Intermediate DIY
Browse every code in P2100–P2199, or start from the full code library.
What does P2159 mean?
P2159 sets when the secondary vehicle speed source is producing a value the module cannot accept — present, but implausible. Unlike a missing signal, which is a statement about one circuit, an implausible one is almost always a statement about a relationship between two measurements, and that distinction decides how the job should be approached.
The module holds a primary speed value and a secondary one. It compares them, and when the gap exceeds what it tolerates it logs a fault. But the comparison itself contains no information about which of the two is wrong. Both readings are just numbers the module was given; neither comes with a certificate of accuracy. What the code records is which value it was auditing at the time, and since the secondary source is the one being checked against the primary, the secondary one gets named. That is a labelling convention, not a diagnosis.
This is why the obvious repair so often fails. A new sensor B is fitted, the code returns within a drive cycle, and the assumption becomes that the new part was faulty. In reality the original part may have been telling the truth the whole time, and the primary source, or the mechanical relationship between where the two are measured, was the problem. The fix is to stop reasoning inside the pair and bring in a third opinion.
An outside arbiter is easy to obtain and settles the question in one road test. Drive at a steady speed and compare both reported values against an independent reference — a GPS speed readout, a measured distance against a stopwatch, or a rolling road if one is available. Whichever source disagrees with reality is the faulty one, and the other has been telling the truth. Individual wheel speeds viewed on a scan tool serve the same purpose from a different direction: if all four wheels agree with each other and with the primary value, the secondary source is genuinely wrong; if the wheels disagree among themselves, the problem is further down the chain than either speed value.
The third possibility is that both sources are accurate and the relationship between them has changed, which is where this code differs from every electrical fault. The two values are measured at different points in the driveline, so anything altering the ratio between those points makes honest sensors disagree — a transfer case left in an unexpected mode, a driveline that is slipping, a clutch or torque converter that is no longer locking when the module expects it to, or a differential that is not delivering what the module assumes. That version of the fault has no bad sensor in it at all and no amount of parts will resolve it.
Finally, treat an implausible value differently from a wrong one. If the reported speed is erratic, spiking, dropping out or reading a fixed number while the car is clearly moving, that is a signal integrity problem — a damaged tone ring, a wrong air gap, a chafed wire, a connector making and breaking — and it belongs to the sensor path being audited. If the value is smooth, stable and simply offset from the other source, nothing is broken electrically and the answer lies in the mechanical relationship or in the other source. Looking at the shape of the trace before deciding saves the wasted part.
Common causes
- Primary speed source reading inaccurately, with the secondary source blamed by convention
- Damaged or contaminated tone ring producing an uneven pattern
- Incorrect sensor air gap after a sensor or housing was disturbed
- Chafed or partially shorted sensor wiring producing an erratic value
- Connector making and breaking contact with vibration or temperature
- Wheel speed sensor fault on vehicles where the secondary value is derived from ABS data
- Transfer case in an unexpected mode, changing the ratio between the two measuring points
- Driveline slip from a clutch or torque converter not locking as the module expects
- Differential or final drive assembly not matching what the module was calibrated for
- Failing sensor that reads correctly at low speed and drifts as frequency rises
Symptoms
- Cruise control that engages and then cancels, often at a particular speed
- Speedometer that reads plausibly but not quite correctly compared with a GPS reading
- Harsh, late or hunting gear changes as shift scheduling acts on a disputed speed
- Stability, traction or ABS warning lights appearing alongside the check engine light
- Symptoms that appear only above or below a particular speed
- Code that returns after a new speed sensor has already been fitted
- Speed reading that jumps, spikes or drops briefly during otherwise normal driving
- Fault that appeared after driveline, transfer case or transmission work
- Four-wheel-drive vehicles setting the code only in certain drive modes
- Intermittent code that logs on longer journeys and not on short ones
Diagnostic steps
- 1.Resist replacing sensor B on the strength of the code name. The code records which value was being audited, not which value is wrong.
- 2.View both speed values live while driving and note whether the secondary one is erratic or merely offset. Those two shapes lead to completely different causes.
- 3.Bring in an independent reference — a GPS speed readout or a measured distance timed with a stopwatch — and see which of the two sources disagrees with reality.
- 4.Compare individual wheel speeds on a scan tool. Four wheels agreeing with the primary value convicts the secondary source; wheels disagreeing with each other move the problem elsewhere.
- 5.Check whether the fault appears only in particular drive modes or at particular speeds, which points at a mechanical relationship rather than an electrical fault.
- 6.On four-wheel-drive vehicles, confirm the transfer case mode and engagement state, since a driveline in an unexpected configuration makes honest sensors disagree.
- 7.Consider driveline slip if the values diverge under load and match when coasting, which suggests a clutch or converter not locking as expected.
- 8.If the secondary trace is erratic rather than offset, inspect that sensor path: tone ring condition, air gap, wiring along its route and the connector.
- 9.Confirm tire sizes and condition across all four corners, since a mismatch changes the relationship between measuring points without any sensor being at fault.
- 10.After repair, verify both sources track each other and an independent reference across the full speed range, not just at one steady cruise.
Repair cost
$0 – $1,600
Diagnosis is $130 to $300 and is worth paying for on this code specifically, because it is the step that stops a part being bought for the wrong source. A speed sensor is $130 to $350 fitted, a wheel speed sensor $150 to $400. Wiring or connector repair is $120 to $400. A tone ring is inexpensive as a part but usually requires removing a shaft or housing, putting the job at $300 to $900. A driveline or transfer case problem is the expensive end, from $400 for an engagement fault to $1,600 or more where a clutch or converter is involved. And the cheapest outcome is real: a configuration or mode issue, or correcting a mismatched tire, can cost nothing at all.
Estimate your repair
Run the numbers for your vehicle
Open the Repair Cost Estimator with vehicle speed sensor replacement preselected. Adjust labor rate and vehicle category to fit your situation.
DIY vs shop
This is an intermediate DIY job. It usually involves diagnostic steps, specialty parts, and some careful work in tight spaces. If you have the tools and a service manual or trustworthy video for your specific vehicle, it is achievable in a weekend. Otherwise, a competent independent shop will be faster.