• 03-02-2025
  • 13 min.
  • 926

P2158 Vehicle Speed Sensor (VSS) "B" Circuit Malfunction

The P2158 Vehicle Speed Sensor (VSS) "B" Circuit Malfunction diagnostic trouble code indicates that the vehicle's Engine Control Module (ECM/PCM) has detected a problem with the circuit or signal associated with Vehicle Speed Sensor "B".

In simple terms, the vehicle's computer is not receiving the expected vehicle-speed information from VSS B.

The fault may involve the sensor itself, its wiring, connector, power supply, ground circuit, signal circuit, or the mechanical component used by the sensor to measure rotation.

Vehicle-speed information can be important for several systems, including:

  • Engine management

  • Automatic transmission control

  • Speedometer operation

  • Cruise control

  • ABS

  • Traction control

  • Electronic stability control

The exact component identified as VSS "B" is manufacturer-specific. Its location and function can vary depending on the vehicle, engine, transmission, drivetrain, and model year.


What Does P2158 Mean?

P2158 means that the ECM/PCM has detected a malfunction involving Vehicle Speed Sensor B or its associated circuit.

A properly functioning speed sensor should provide a predictable electrical signal as the vehicle or drivetrain rotates.

The control module uses this information to determine speed or rotational movement.

When the signal is missing, invalid, or otherwise outside the expected operating behavior, the module may store P2158.

Unlike:

  • P2160 — VSS B circuit low input

  • P2161 — VSS B circuit intermittent/erratic

  • P2159 — VSS B circuit range/performance

P2158 is a broader VSS B circuit malfunction code.

The exact diagnostic direction depends on the vehicle manufacturer's implementation.


What Is Vehicle Speed Sensor B?

A Vehicle Speed Sensor (VSS) measures rotational movement and provides speed information to an electronic control module.

Depending on the vehicle, VSS B may monitor:

  • Transmission output speed

  • Transmission input speed

  • Differential rotation

  • Transfer-case rotation

  • Driveshaft speed

  • Another drivetrain speed signal

Some vehicles use a dedicated transmission speed sensor.

Other vehicles calculate vehicle speed using ABS wheel-speed sensors.

This is why the term VSS B should not be assumed to identify the same physical sensor on every vehicle.

The vehicle-specific wiring diagram and service information should be used to locate the correct component.


How Does the VSS System Work?

A speed sensor detects rotation using a magnetic or electronic sensing system.

Common sensor technologies include:

  • Hall-effect sensors

  • Variable-reluctance sensors

  • Magnetic sensors

  • Electronic switching sensors

The sensor normally detects a rotating target such as a:

  • Tone wheel

  • Reluctor

  • Toothed wheel

  • Transmission trigger wheel

As the target rotates, the sensor produces an electrical signal.

The ECM/PCM interprets the signal to determine rotational speed.

For example:

Vehicle stopped → no or minimal speed signal

Vehicle moving slowly → low-frequency speed signal

Vehicle moving faster → higher-frequency speed signal

If the expected signal is missing or the circuit is malfunctioning, P2158 may be stored.


Symptoms of P2158

Symptoms vary depending on the vehicle and the systems that use VSS B.

Check Engine Light

The Check Engine Light is one of the most common symptoms.

Speedometer Malfunction

The speedometer may:

  • Read incorrectly

  • Drop to zero

  • Fluctuate

  • Stop working

  • Display an implausible speed

Transmission Shifting Problems

If VSS B supplies information to the transmission controller, possible symptoms include:

  • Harsh shifting

  • Delayed shifting

  • Incorrect gear selection

  • Unexpected downshifts

  • Failure to shift

  • Transmission fail-safe mode

Cruise Control Failure

Cruise control may stop working because the system cannot reliably determine vehicle speed.

ABS Warning Light

If the vehicle's speed information is related to the ABS system, an ABS warning may also appear.

Traction-Control Warning

A speed-signal problem may affect traction-control operation.

Stability-Control Warning

Electronic stability control may be disabled or limited if reliable speed information is unavailable.

Reduced Drivability

The vehicle may experience:

  • Hesitation

  • Abnormal acceleration

  • Incorrect engine braking

  • Irregular transmission operation

Fail-Safe Operation

Some vehicles may enter a protective operating mode when vehicle-speed information is unavailable or unreliable.


Common Causes of P2158

There are several possible causes of a VSS B circuit malfunction.

Faulty Vehicle Speed Sensor

A defective VSS B is one of the most obvious possibilities.

The sensor may have:

  • Internal electrical failure

  • Damaged sensing element

  • Internal short circuit

  • Open internal circuit

  • Heat-related failure

  • Contamination

  • Incorrect signal generation

A failed sensor may produce no usable signal.


Damaged VSS Wiring

The wiring between the sensor and control module can develop problems.

Possible faults include:

  • Broken wires

  • Chafed insulation

  • Melted wiring

  • Short circuits

  • High resistance

  • Poor repairs

  • Incorrect harness routing

Wiring near the transmission or drivetrain is particularly vulnerable to heat, vibration, and movement.


Loose or Corroded Connector

A poor electrical connection can interrupt the VSS signal.

Possible causes include:

  • Corrosion

  • Loose terminals

  • Bent pins

  • Poor terminal tension

  • Water intrusion

  • Damaged connector housing


Missing Sensor Power

Some VSS designs require an external power supply or reference voltage.

If that supply is missing, the sensor may not function correctly.

Possible causes include:

  • Blown fuse

  • Wiring fault

  • Power-distribution problem

  • Control-module power problem

  • Damaged connector


Poor Sensor Ground

A poor ground can prevent the sensor from producing a correct signal.

Possible causes include:

  • Corroded ground

  • Loose ground connection

  • Broken ground wire

  • Excessive resistance in the ground circuit


Damaged Tone Ring or Reluctor

Many speed sensors read a rotating tone wheel or reluctor.

If this component is damaged, the sensor may not detect rotation correctly.

Possible problems include:

  • Missing teeth

  • Broken teeth

  • Cracks

  • Corrosion

  • Bent sections

  • Excessive runout

  • Incorrect installation


Incorrect Sensor Air Gap

The distance between the sensor and the rotating target must normally remain within a specified range.

An incorrect air gap may cause:

  • Weak signal

  • Missing signal

  • Incorrect speed information

  • Signal distortion

Possible causes include:

  • Incorrect sensor installation

  • Damaged mounting

  • Worn bearings

  • Bent components

  • Incorrect replacement sensor


Transmission Problems

If VSS B is transmission-mounted, internal transmission problems may affect the signal.

Possible causes include:

  • Damaged reluctor

  • Output-shaft problems

  • Internal mechanical wear

  • Sensor mounting damage

  • Incorrect sensor installation


Differential or Drivetrain Problems

If the sensor monitors drivetrain rotation, mechanical problems can interfere with speed measurement.

Potential sources include:

  • Differential

  • Transfer case

  • Driveshaft

  • Output shaft


Wheel-Speed Sensor Problems

Some vehicles derive vehicle speed from ABS wheel-speed sensors.

A faulty wheel-speed sensor may therefore produce symptoms that appear to be related to VSS.

Possible causes include:

  • Faulty wheel-speed sensor

  • Damaged sensor wiring

  • Damaged tone ring

  • Wheel-bearing play

  • Sensor contamination


Wheel Bearing Problems

Excessive wheel-bearing movement can change the relationship between the wheel-speed sensor and tone ring.

This can cause incorrect or missing speed information.


Incorrect Tire Size

On vehicles that calculate speed from wheel-speed information, incorrect tire dimensions can affect speed calculations.

Possible issues include:

  • Incorrect tire diameter

  • Mismatched tire sizes

  • Severe tire wear

  • Different tire sizes between axles


Low System Voltage

A weak electrical system can affect sensor and module operation.

Possible causes include:

  • Weak battery

  • Alternator problem

  • Poor battery connections

  • Charging-system fault

  • Poor electrical grounds


CAN Communication Problems

Modern vehicles frequently share speed information between different control modules.

A communication fault may prevent one module from receiving valid speed data.

Possible causes include:

  • CAN wiring damage

  • Poor module connectors

  • Network interruptions

  • Module power problems

  • Ground faults


ECM/PCM Problems

A control-module problem is possible, but it is generally less common than sensor, wiring, connector, power, ground, reluctor, or mechanical faults.

The ECM/PCM should not be replaced without completing circuit and signal testing.


Vehicles Commonly Affected by P2158

P2158 can occur on many vehicles using multiple speed sensors or a VSS B circuit.

Examples can include:

  • Ford F-150

  • Ford Focus

  • Ford Fusion

  • Ford Escape

  • Ford Explorer

  • Ford Mustang

  • Chevrolet Silverado

  • Chevrolet Tahoe

  • Chevrolet Suburban

  • Chevrolet Malibu

  • Chevrolet Cruze

  • GMC Sierra

  • GMC Yukon

  • Cadillac Escalade

  • Dodge Ram

  • Dodge Charger

  • Dodge Challenger

  • Jeep Wrangler

  • Jeep Grand Cherokee

  • Chrysler 300

  • Toyota Camry

  • Toyota Corolla

  • Toyota Highlander

  • Toyota RAV4

  • Nissan Altima

  • Nissan Rogue

  • Nissan Pathfinder

  • Honda Accord

  • Honda Civic

  • Honda CR-V

  • Volkswagen Golf

  • Volkswagen Passat

  • Audi A4

  • BMW 3 Series

  • Mercedes-Benz C-Class

This list is not exhaustive.

Important: P2158 is a generic OBD-II code. The exact physical component called VSS B varies by manufacturer and model.


How Is P2158 Diagnosed?

A proper diagnosis should determine whether the problem originates from the sensor, circuit, power supply, ground, trigger component, transmission, or communication system.

Scan for Additional Trouble Codes

First, scan all available control modules.

Look for:

  • P2158

  • P2159

  • P2160

  • P2161

  • P2162

  • Other VSS codes

  • Transmission codes

  • ABS codes

  • Wheel-speed sensor codes

  • Traction-control codes

  • Stability-control codes

  • CAN communication codes

  • Low-voltage codes

Additional codes can help identify the affected system.


Check Freeze-Frame Data

Review the conditions under which P2158 was stored.

Useful information can include:

  • Vehicle speed

  • Engine RPM

  • Transmission gear

  • Engine load

  • Battery voltage

  • Coolant temperature

This can help establish whether the problem occurred while moving, changing gears, or under a particular operating condition.


Monitor VSS B Live Data

Use a professional scan tool to monitor VSS B.

Compare it with:

  • VSS A

  • Calculated vehicle speed

  • Transmission input speed

  • Transmission output speed

  • Individual wheel speeds

If VSS B remains at zero while the vehicle is moving, or produces an implausible value, the circuit requires further testing.


Inspect the VSS B Sensor

Inspect the sensor for:

  • Physical damage

  • Contamination

  • Loose mounting

  • Incorrect installation

  • Incorrect air gap

If the sensor is transmission-mounted, inspect the surrounding area for damage and contamination.


Check Sensor Power and Ground

If the sensor requires an external supply, verify:

  • Power supply

  • Reference voltage

  • Ground

A missing supply or poor ground can prevent the sensor from operating.


Test the VSS Signal Circuit

The exact testing procedure depends on the sensor type.

A technician may use:

  • Multimeter

  • Frequency measurement

  • Oscilloscope

  • Scan-tool data

  • Manufacturer-specific diagnostic equipment

The measured signal should be compared with the manufacturer's specifications.


Inspect Wiring and Connectors

Inspect the entire VSS B circuit for:

  • Open circuits

  • Short circuits

  • High resistance

  • Chafed wiring

  • Heat damage

  • Corrosion

  • Loose terminals

  • Water intrusion

The harness should also be checked while moving it carefully to identify intermittent connection problems.


Inspect the Tone Ring or Reluctor

Inspect the rotating trigger for:

  • Missing teeth

  • Broken teeth

  • Cracks

  • Corrosion

  • Bent sections

  • Excessive runout

A damaged trigger can cause a good sensor to produce an incorrect signal.


Check Sensor Air Gap

Verify that the sensor is installed at the correct distance from its trigger wheel.

An excessive or incorrect gap may weaken or eliminate the signal.


Use an Oscilloscope

For difficult faults, an oscilloscope can show the actual sensor waveform.

This can reveal:

  • Missing pulses

  • Weak signal amplitude

  • Distorted waveform

  • Irregular pulse spacing

  • Sensor failure

  • Reluctor damage

  • Electrical interference


Check Wheel-Speed Signals

If the vehicle calculates speed from ABS sensors, compare the individual wheel-speed readings.

A single wheel showing an abnormal reading can point toward:

  • Wheel-speed sensor failure

  • Wiring damage

  • Tone-ring damage

  • Wheel-bearing movement


Check Tire Configuration

Verify that the vehicle uses the correct tire size and that there are no significant differences in tire diameter.


Check Battery and Charging Voltage

Test the vehicle's electrical system and inspect:

  • Battery

  • Alternator

  • Battery terminals

  • Engine grounds

  • Chassis grounds

  • Module power connections


Check CAN Communication

If speed information is transmitted between modules, verify the communication network.

Possible checks include:

  • CAN wiring

  • Module connectors

  • Power supplies

  • Grounds

  • Communication errors


How to Fix P2158

The correct repair depends on the actual cause of the VSS B malfunction.

Replace the Faulty VSS B

If testing confirms that the speed sensor is defective, replace it with the correct part for the specific vehicle.


Repair Damaged Wiring

Repair or replace wiring that has:

  • Broken conductors

  • Short circuits

  • High resistance

  • Chafing

  • Heat damage

Harness routing should also be corrected if necessary.


Repair or Replace the Connector

If the connector is damaged or corroded, repairs may include:

  • Terminal replacement

  • Connector replacement

  • Corrosion repair

  • Terminal-tension correction


Restore Sensor Power or Ground

If the sensor is missing its required power or ground, repair the relevant circuit.


Correct the Sensor Air Gap

If the sensor is incorrectly positioned, reinstall or replace it according to manufacturer specifications.


Repair the Tone Ring or Reluctor

A damaged tone ring or reluctor should be repaired or replaced as required.


Repair Wheel-Speed Sensor Problems

If the vehicle uses wheel-speed sensors to calculate vehicle speed, repair the affected:

  • Wheel-speed sensor

  • Wiring

  • Tone ring

  • Wheel bearing


Correct Tire-Size Problems

If incorrect tire dimensions are contributing to the speed calculation problem, restore the recommended tire configuration.


Repair Transmission or Drivetrain Problems

If a mechanical fault is preventing accurate speed measurement, repair the underlying transmission or drivetrain problem.


Repair CAN Communication Problems

If the fault is caused by communication between modules, repair the relevant:

  • CAN wiring

  • Module connectors

  • Power circuits

  • Ground circuits


Repair or Replace the ECM/PCM

The ECM/PCM should only be considered after the VSS B circuit and related mechanical and electrical components have been properly tested.


What Happens If P2158 Is Ignored?

Ignoring P2158 can lead to continued speed-related problems.

Possible consequences include:

  • Incorrect speedometer readings

  • Transmission shifting problems

  • Cruise-control failure

  • ABS warnings

  • Traction-control warnings

  • Stability-control warnings

  • Transmission fail-safe operation

  • Reduced drivability

The exact consequences depend on which systems rely on VSS B.


Can You Drive With P2158?

It may be possible to drive with P2158 if:

  • The speedometer works correctly.

  • The transmission shifts normally.

  • No ABS or stability warning is present.

  • The vehicle drives normally.

However, the fault should be diagnosed promptly.

Avoid continued driving if you experience:

  • An inaccurate or non-functioning speedometer

  • Severe transmission shifting problems

  • Multiple warning lights

  • ABS or stability-control problems

  • Transmission fail-safe mode

If reliable vehicle-speed information is unavailable, several vehicle systems may not operate correctly.


Is P2158 a Serious Code?

P2158 is generally considered a moderate-severity diagnostic trouble code.

The code itself does not normally indicate immediate internal engine damage.

However, a VSS malfunction can affect several important vehicle systems.

The problem becomes more serious when it causes:

  • Loss of accurate vehicle-speed information

  • Transmission malfunction

  • ABS problems

  • Traction-control problems

  • Stability-control problems

  • Fail-safe operation


How to Prevent P2158

Speed-sensor failures cannot always be prevented, but proper maintenance can reduce related problems.

Recommended practices include:

  • Follow the manufacturer's maintenance schedule.

  • Inspect VSS wiring during transmission and suspension repairs.

  • Keep electrical connectors clean and secure.

  • Repair damaged wiring promptly.

  • Maintain the battery and charging system.

  • Keep engine and chassis grounds in good condition.

  • Use the correct tire size.

  • Maintain proper tire pressure.

  • Avoid significantly mismatched tires.

  • Inspect wheel bearings when play or noise develops.

  • Address ABS warning lights promptly.

  • Follow manufacturer procedures when replacing speed sensors.

  • Avoid unnecessary modifications to speed-sensor wiring.


P2158 vs. Related Vehicle Speed Codes

Code General Description
P2158 Vehicle Speed Sensor "B" Circuit Malfunction
P2159 Vehicle Speed Sensor "B" Circuit Range/Performance
P2160 Vehicle Speed Sensor "B" Circuit Low Input
P2161 Vehicle Speed Sensor "B" Circuit Intermittent/Erratic
P2162 Vehicle Speed Sensor A/B Correlation
P0500 Vehicle Speed Sensor Malfunction
P0501 Vehicle Speed Sensor "A" Range/Performance
P0502 Vehicle Speed Sensor "A" Circuit Low
P0503 Vehicle Speed Sensor "A" Intermittent/Erratic/High

The key distinction is that P2158 is a general malfunction of the VSS B circuit, while P2159 identifies a range/performance problem, P2160 identifies a low-input condition, and P2161 identifies an intermittent/erratic condition.


Final Thoughts

The P2158 Vehicle Speed Sensor (VSS) "B" Circuit Malfunction diagnostic trouble code indicates that the ECM/PCM has detected a problem involving Vehicle Speed Sensor B or its electrical circuit.

Common causes include:

  • Faulty VSS B

  • Damaged wiring

  • Loose or corroded connectors

  • Missing sensor power

  • Poor sensor ground

  • Short or open circuits

  • Incorrect sensor air gap

  • Damaged tone ring or reluctor

  • Transmission problems

  • Differential or drivetrain problems

  • Wheel-speed sensor problems

  • Wheel-bearing movement

  • Incorrect tire configuration

  • Low system voltage

  • CAN communication problems

  • ECM/PCM faults

The correct diagnostic process should begin by identifying exactly what the specific vehicle defines as VSS B. The technician should then scan all relevant modules, review freeze-frame data, monitor live speed information, inspect the sensor and wiring, verify power and ground where applicable, and check the associated tone ring or reluctor.

Because vehicle-speed information can affect the transmission, speedometer, cruise control, ABS, traction control, and stability-control systems, P2158 should not simply be cleared without finding the underlying cause.

The most important point is that P2158 does not automatically mean the speed sensor itself must be replaced. Wiring, connectors, power and ground circuits, reluctors, wheel-speed sensors, transmission components, or communication faults can all produce a similar diagnostic condition.