HomeTrouble CodesP2158

P2158 — Vehicle Speed Sensor B Circuit

Manufacturer-specificPowertrain (engine & transmission)

OBD-II code P2158 indicates a malfunction in the Vehicle Speed Sensor B (VSS B) circuit. This sensor provides vehicle speed data to the powertrain control module (PCM) for functions like transmission shifting, cruise control, and speedometer operation.

Symptoms

What causes it — most likely first

1. Faulty Vehicle Speed Sensor B

The sensor itself may be damaged, corroded, or internally shorted, preventing it from sending accurate speed signals to the PCM.

2. Damaged or corroded wiring or connectors

Wiring harnesses or connectors leading to the VSS B may be frayed, broken, shorted, or corroded, disrupting the signal.

3. Poor electrical connection at the sensor or PCM

Loose, dirty, or corroded connections at the sensor or PCM can cause intermittent or no signal transmission.

4. Issues with the reluctor ring or tone wheel

If the reluctor ring (attached to the transmission output shaft or wheel hub) is damaged, missing teeth, or contaminated with debris, it can cause erratic sensor readings.

5. Faulty or misconfigured instrument cluster

In some vehicles, the instrument cluster processes VSS signals before sending data to the PCM. A malfunction here can trigger this code.

6. Powertrain Control Module (PCM) failure (rare)

While uncommon, a PCM with a faulty input circuit or internal software issue could incorrectly flag this code. This is typically a last-resort diagnosis after other causes are ruled out.

How it's diagnosed

  1. Retrieve and document all stored trouble codes and freeze frame data using an OBD-II scanner.
  2. Visually inspect the VSS B wiring harness and connectors for damage, corrosion, or loose connections. Repair or replace as needed.
  3. Check the sensor’s resistance and output signal using a multimeter or oscilloscope, comparing readings to manufacturer specifications. Replace the sensor if out of spec.
  4. Inspect the reluctor ring or tone wheel for damage, missing teeth, or contamination. Clean or replace if necessary.
  5. Test the voltage and ground supply to the sensor with the ignition on (engine off) to ensure proper power delivery.
  6. If all other components test normal, perform a PCM pinpoint test or consult manufacturer-specific diagnostic procedures to confirm PCM functionality.

Code facts & related codes

SystemPowertrain (engine & transmission)
StandardizationManufacturer-specific (P1/B1/C1/U1)

Frequently asked

Can I drive with a P2158 code?

Driving with this code may result in inaccurate speedometer readings, improper transmission shifting, or disabled cruise control. While the vehicle may still be drivable, it is safer to diagnose and repair the issue promptly to avoid potential drivability problems or further damage.

Is the PCM usually the cause of P2158?

No, the PCM is rarely the cause of this code. The issue is almost always related to the sensor itself, wiring, or reluctor ring. PCM failure should only be considered after all other potential causes have been thoroughly tested and ruled out.

Why does my speedometer still work if the VSS B is bad?

Some vehicles use multiple speed sensors (e.g., VSS A and VSS B) or redundant systems for speed data. The speedometer may rely on a different sensor or input, so it may continue to function even if VSS B fails.

Can a bad wheel speed sensor cause P2158?

While wheel speed sensors (used by ABS systems) and vehicle speed sensors serve different purposes, some vehicles may share or correlate data between these systems. However, P2158 specifically refers to the VSS B circuit, so a faulty wheel speed sensor is unlikely to directly trigger this code unless there is a shared wiring or signal processing issue.