P2158
Vehicle Speed Sensor B Range/PerformanceP2158 is a generic OBD-II powertrain diagnostic trouble code: Vehicle Speed Sensor B Range/Performance. It is logged by the engine control unit when the powertrain monitor detects that a specific fault threshold has been exceeded — typically resulting in the malfunction-indicator lamp (MIL / check-engine light) being illuminated.
What P2158 means
P2158 is set when the PCM determines that the signal from vehicle speed sensor B is outside the expected range or is performing implausibly relative to other vehicle speed or drivetrain inputs. In systems with multiple speed sensors, the PCM compares them against one another and against the wheel speed sensors, and flags a sensor that deviates beyond acceptable limits as a range or performance fault.
Vehicle speed sensor B may refer to a secondary VSS, a transmission output shaft speed sensor, or a wheel speed sensor depending on the specific vehicle architecture and which sensor the manufacturer designates as B in their calibration. The code does not indicate a complete circuit failure, which would produce a different code, but rather a signal that is present yet incorrect or implausible.
Diagnosis should begin with live data to observe the sensor B output under controlled driving conditions and compare it against the other speed references available on the scan tool. Physical inspection of the sensor, its tone ring, and the associated wiring follows. Bearing wear and damaged reluctor rings are common causes of performance faults in magnetic and Hall-effect speed sensors, as they distort the pulse train the sensor produces.
Common causes
Most-frequently reported root causes when P2158 is logged.
-
1
Vehicle speed sensor B reluctor ring damaged, corroded, or missing teeth.
-
2
Sensor B air gap out of specification due to bearing wear or improper installation.
-
3
Sensor B signal intermittently dropping out due to a wiring or connector fault.
-
4
Metallic debris on the sensor tip degrading signal quality.
-
5
Sensor B internally degraded, producing a weak or erratic signal.
-
6
Drivetrain mechanical issue causing the sensor B shaft speed to deviate from expected values.
-
7
Poor ground or PCM plausibility check triggered by conflicting speed inputs.
Symptoms drivers notice
How to diagnose P2158
A typical diagnostic flow when this code is present.
-
1
Retrieve all DTCs and note any companion speed sensor, ABS, or transmission codes.
-
2
Monitor live data for sensor B output versus sensor A or wheel speed data during a test drive.
-
3
Inspect the sensor B mounting, tone ring, and sensor face for damage or debris.
-
4
Check the sensor air gap and compare it to specification.
-
5
Inspect the sensor B wiring harness and connector for damage, corrosion, or intermittent contact.
-
6
Measure the sensor B signal output and compare to the expected waveform or frequency.
-
7
Replace the sensor or repair wiring as indicated and verify performance across the vehicle speed range.
Vehicles where we've handled P2158
Platforms in our catalogue with confirmed P2158 coverage.
Related powertrain codes
Frequently asked questions
What is the difference between a range fault and a circuit fault for a speed sensor?
A circuit fault, such as an open or short, means no usable signal reaches the PCM at all. A range or performance fault means a signal is present but its values are implausible or outside the expected operating limits.
Can a damaged ABS reluctor ring cause P2158?
Yes. Missing or damaged teeth on the reluctor ring produce irregular pulses that the PCM interprets as a performance deviation, setting a range or performance code rather than a circuit fault.
Could bearing wear set P2158?
Yes. Worn bearings can change the sensor-to-tone-ring gap, weakening or distorting the signal enough to cause a performance fault, especially at low speeds.
Does P2158 affect the transmission?
Potentially. If sensor B is the transmission output or input speed sensor, incorrect speed data can cause inappropriate shift timing, harsh shifts, or torque converter lock-up issues.
Disabling P2158 in software
RaceTune can permanently disable P2158 — and any other OBD-II diagnostic trouble code — on every ECU family we support. The monitor is disabled inside the ECU itself, so the fault stops being logged: the warning light stays off and the engine never enters limp mode for this code. The change is tied to your exact software version.
ECU families we can disable P2158 on
We hold the DaVinci A2L disable definitions for these families, so the exact P2158 path and mask addresses are mapped. verified marks a confirmed disable definition. We support many more — upload your file and our identifier will match it automatically.
- Bosch MG1CS201
Software modifications affect emissions compliance and are not road-legal in many jurisdictions. RaceTune service files are intended for motorsport, off-road, and export use.
Got P2158 in your scan?
Your first DTC disable is free. Three fields, one click.