01 This Overlooked Factor In Car Engines Might Be The Real Rea… • 02 People Left Concerned After Learning Why Some Hybrids Rando… • 03 This Is Why Your Car’s Exhaust Smells Like Sulfur • 04 EXPLAINER: ENGINE IMMOBILIZER. • 05 Brakes: The Complete Guide to Troubleshooting Sticking Brak… • 06 The Role of Vacuum Pipes in Engine Functionality: A Compreh… • 07 P0050, P0051, and P0052: H02S heater control circuit (Bank … • 08 The Overlooked Car Part That Turns Every Drive Into A Fuel … • 09 Why You Need to Press the Brake Pedal When Shifting from P … • 10 Revolutionizing Vehicle Emissions Control: The Power of Cat… •

DTC codes / P21xx · Fuel and air metering / P2158

P2158Vehicle Speed Sensor 'B'

P2158 indicates that the powertrain control module has detected an implausible or missing signal from vehicle speed sensor 'B', which is typically the output shaft speed sensor on automatic transmissions. The computer compares this signal against other speed inputs, such as the wheel speed sensors or the other speed sensor, and sets the code when the readings do not agree within an expected range.

SystemPowertrain
Code typeGeneric (all makes)
SeverityMedium
Fix difficultyIntermediate
AreaFuel and air metering

Symptoms you may notice

  • Illumination of the check engine light or service engine soon light, often with no other noticeable symptoms
  • Erratic or harsh transmission shifting, including delayed or early shifts
  • Speedometer or odometer inaccuracy or intermittent operation
  • Transmission stuck in limp mode or a single gear
  • Poor fuel economy or reduced engine performance
  • Cruise control or speed-related features becoming inoperative

Common causes, most likely first

  1. Faulty vehicle speed sensor 'B' itself, due to internal failure or contamination
  2. Damaged, corroded, or loose wiring and connectors at the sensor or along the harness
  3. Debris or metallic particles on the sensor tip interfering with the signal
  4. Damaged or missing reluctor wheel teeth or tone ring on the rotating shaft
  5. Transmission fluid leaks or low fluid level affecting sensor operation
  6. Internal transmission mechanical wear causing incorrect shaft speed
  7. Powertrain control module software or hardware fault, though this is less common

How to diagnose and fix it

  1. Verify the code with a scan tool and check for any related codes in other modules before proceeding
  2. Inspect the sensor and its connector for physical damage, corrosion, or loose pins, and clean or repair as needed
  3. Check the sensor resistance and signal output with a multimeter or oscilloscope according to the manufacturer's specifications
  4. Remove the sensor and inspect the tip for metallic debris or damage, and clean or replace if necessary
  5. Inspect the reluctor wheel or tone ring through the sensor hole for missing or damaged teeth
  6. Check transmission fluid level and condition, and repair any leaks
  7. If all external checks pass, perform a pinpoint test of the circuit between the sensor and the powertrain control module, and replace the sensor or module only after confirming a fault

Speed sensor B is not always the culprit

  • A common misdiagnosis is replacing vehicle speed sensor 'B' when the real problem is a damaged reluctor wheel or tone ring that the sensor reads, which requires transmission disassembly to inspect properly.
  • Wiring harness chafing near the transmission mount or exhaust components can intermittently short or open the sensor signal, setting P2158 without any visible damage at the sensor itself.
  • On some vehicles, a failing output shaft speed sensor can cause the transmission to default to a limp-home gear, but the code may not set until the vehicle is driven at a specific speed or for a certain number of drive cycles.
  • Metallic debris from normal transmission wear can accumulate on the magnetic tip of the sensor and weaken the signal, so cleaning the sensor may restore operation without replacement.
  • P2158 can be triggered by a mismatch between the output shaft speed sensor and the wheel speed sensors, so a problem with a wheel speed sensor or its wiring can indirectly cause this code to set.

Can I keep driving with P2158?

You can usually drive the vehicle with P2158 set, but expect erratic shifting or limp mode that may reduce performance and fuel economy. Avoid sustained high-speed driving or heavy loads until the fault is diagnosed, and have it repaired promptly to prevent transmission damage.

Guidance is general and written for all OBD-II vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.

Running on fumes Free guides aren't free to make. Top up the tank. Any amount, one time. Fuel the Garage