P0158 GMC: Diagnose the Oxygen Sensor Circuit and Fix the Fault
18 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0158 gmc trouble code means the engine computer has detected excessively high voltage in the Bank 2 Sensor 2 oxygen sensor circuit. This sensor monitors exhaust gases after the catalytic converter. The problem can involve a defective oxygen sensor, damaged wiring, an electrical short, or an engine running with an excessively rich air-fuel mixture.
On GMC vehicles, P0158 identifies a problem with the downstream oxygen sensor on the bank opposite the side containing cylinder number one. The exact sensor location and diagnostic procedure depend on the vehicle’s model year and engine. GMC Sierra, Yukon, Acadia, Canyon, and other models can have different exhaust layouts and engine management systems.
A replacement oxygen sensor is not always the correct repair. Before purchasing parts, use an OBD2 scanner to check the stored codes, freeze-frame information, oxygen sensor voltage, and fuel trims. These readings help determine whether the problem comes from the sensor, its wiring, or an underlying fuel delivery issue.
What P0158 Means on a GMC
P0158 is a generic OBD2 powertrain diagnostic trouble code. Its SAE definition is Oxygen Sensor Circuit High Voltage, Bank 2 Sensor 2. It indicates that the powertrain control module (PCM) has detected an oxygen sensor signal that exceeds its expected electrical range under the conditions required to run the diagnostic monitor.
The oxygen sensor measures the amount of oxygen remaining in the exhaust. The PCM uses information from the upstream sensors to help control fuel delivery. Downstream sensors primarily monitor the catalytic converter’s performance. Although Sensor 2 is not normally the primary sensor controlling the air-fuel mixture, its signal remains important for emissions monitoring.
Understanding the P0158 code
The code contains information about the affected system and sensor position. Understanding the designation helps prevent replacing the wrong oxygen sensor.
| Code section | Meaning |
|---|---|
| P | Powertrain system fault. |
| 0 | Generic SAE diagnostic code. |
| 1 | Oxygen sensor circuit fault family. |
| 5 | Specific fault designation within the diagnostic code sequence. |
| 8 | High voltage fault designation in this code. |
GM’s published diagnostic information specifically identifies P0158 as O2S Circuit High Voltage Bank 2 Sensor 2. Its documented diagnostic strategy checks for a signal that is shorted high or an open circuit and uses a threshold above 1,050 millivolts under specified enabling conditions. This is a manufacturer diagnostic-monitor threshold, not a universal reading that should be expected from every GMC oxygen sensor at every operating condition.
A high signal can represent a genuinely rich exhaust condition or an electrical problem that makes the PCM interpret the signal incorrectly. A sensor with an internal electrical failure can also produce an abnormally high reading. P0158 BMW walks through the same code on another vehicle, which helps if the usual fix does not work.

Bank 2 Sensor 2 Location on GMC Vehicles
Bank 2 Sensor 2 is the downstream oxygen sensor installed in the exhaust system on Bank 2. It is positioned after the catalytic converter and measures exhaust oxygen levels leaving the converter. Its exact physical position varies with GMC model, engine configuration, and exhaust arrangement.
Finding the correct sensor requires identifying the engine’s cylinder numbering and locating Bank 2. Bank 1 is always the side containing cylinder number one. Bank 2 is the opposite cylinder bank on a V-type engine. Do not assume that Bank 2 is always the passenger side or driver side because the arrangement depends on the engine.
Understanding Sensor 1 and Sensor 2
Most conventional gasoline engines with two exhaust banks use oxygen sensors before and after their catalytic converters. Their positions determine their functions.
- Bank 2 Sensor 1: The upstream oxygen sensor before the catalytic converter on Bank 2. It provides information used for fuel control.
- Bank 2 Sensor 2: The downstream oxygen sensor after the catalytic converter on Bank 2. It primarily monitors catalytic converter performance.
- Bank 1 Sensor 1: The upstream oxygen sensor on the side containing cylinder number one.
- Bank 1 Sensor 2: The downstream oxygen sensor after the catalytic converter on Bank 1.
A V6 or V8 GMC engine may have two exhaust banks, while an inline engine has a different bank arrangement. This distinction matters because the physical layout cannot be determined from the P0158 code alone. Some vehicles also use different oxygen sensor technologies, so the correct wiring diagram and service information are important.
How to identify the correct sensor
Start by checking the engine identification information and locating cylinder number one in the manufacturer’s service documentation. Follow the exhaust manifold or exhaust pipe toward the catalytic converter. The downstream sensor will be installed after the converter, usually in the exhaust pipe.
An OBD2 scanner with manufacturer-specific descriptions may display Bank 2 Sensor 2 directly in its live-data menu. Compare that information with the vehicle wiring diagram before disconnecting anything. DENSO also explains the relationship between cylinder numbering, sensor banks, and upstream and downstream oxygen sensor positions in its oxygen and air-fuel sensor troubleshooting guide.
Never identify a replacement sensor solely by appearance. Similar-looking sensors can have different connectors, wire configurations, heating elements, and signal characteristics. The correct application must match the specific GMC engine and model year.

Common Symptoms of a GMC P0158 Code
A GMC with P0158 may have no obvious driving problems, particularly if the fault is limited to the downstream oxygen sensor circuit. However, a rich-running engine or a more extensive electrical problem can cause additional symptoms. The check engine light is the most common warning.
The symptoms depend on whether the PCM is receiving an incorrect signal, the engine is actually running rich, or another component is affecting exhaust emissions. Watch for changes that appear around the same time as the warning light.
- Check engine light: The malfunction indicator lamp illuminates after the PCM detects the qualifying fault.
- Increased fuel consumption: A genuine rich-running condition can increase fuel usage. A downstream sensor fault alone does not necessarily cause poor fuel economy.
- Fuel smell: Excess fuel in the exhaust can produce a noticeable gasoline odor, especially when the engine is running rich.
- Rough idle: A rich mixture or an additional engine management problem can cause uneven engine operation.
- Reduced performance: Fueling problems can affect acceleration and engine response.
- Failed emissions inspection: A stored emissions-related trouble code or an illuminated malfunction indicator lamp can cause an inspection failure.
- Additional trouble codes: Fuel mixture, misfire, oxygen sensor heater, or catalytic converter codes may appear alongside P0158.
Symptoms versus possible causes
Symptoms can help narrow the investigation, but they cannot identify the failed component by themselves. Use the following comparison to decide which diagnostic information deserves attention first.
| Observed symptom | Possible explanation |
|---|---|
| Check engine light only | Sensor signal or wiring fault. |
| Strong gasoline smell | Rich air-fuel mixture or excessive fuel delivery. |
| Rough idle | Fueling, ignition, or engine management problem. |
| Fixed high oxygen sensor reading | Rich exhaust, sensor failure, or signal circuit short. |
| Multiple oxygen sensor codes | Shared electrical, wiring, or engine operating problem. |
| Poor fuel economy with positive or negative trim abnormalities | Fuel delivery or air-fuel mixture problem requiring further testing. |
If the GMC runs normally and only the check engine light is illuminated, the fault may be isolated to the downstream sensor circuit. However, the absence of noticeable symptoms does not mean the emissions problem can be ignored. If you work on more than one brand, keep P0158 Honda handy as well.
Most Common Causes of P0158 on GMC Vehicles
P0158 can result from an electrical fault, a defective oxygen sensor, or an exhaust mixture problem. The most useful diagnostic approach is to separate an actual high oxygen sensor output from a signal circuit that is incorrectly reporting high voltage.
1. Failed downstream oxygen sensor
The Bank 2 Sensor 2 oxygen sensor can develop an internal electrical fault after extended exposure to exhaust heat and vibration. Internal contamination, deterioration, and damage can cause an abnormal output signal. A sensor that remains at an unusually high voltage even when the exhaust mixture changes deserves closer inspection.
However, a high signal does not automatically mean the sensor is defective. Confirm the signal with scan-tool data and circuit testing before replacing it.
2. Damaged oxygen sensor wiring
The downstream oxygen sensor operates in a hot and exposed part of the exhaust system. Wiring can become brittle, melt against hot exhaust components, or become damaged by road debris. Poor connections, corrosion, damaged insulation, and a short to voltage can interfere with the sensor signal.
Pay particular attention to the connector and wiring near the exhaust pipe. An electrical short can produce a high reading even when the oxygen sensor itself is functioning correctly.
3. Rich air-fuel mixture
A rich mixture means the engine is burning more fuel than the available air can properly support. This condition increases the amount of unburned fuel and changes exhaust gas composition. The downstream oxygen sensor may report a high voltage because it detects a rich exhaust condition.
Possible causes include leaking fuel injectors, excessive fuel pressure, a faulty fuel pressure regulator where fitted, incorrect air measurement, or an EVAP purge problem. An inaccurate engine coolant temperature reading can also affect fuel delivery. These problems should be investigated before condemning the sensor.
4. Poor electrical connections or grounding
Corrosion, loose terminals, damaged connector locks, and poor electrical connections can produce unstable or incorrect oxygen sensor readings. A damaged sensor ground or signal return circuit can also affect the information received by the PCM.
A wiring fault may be intermittent. The check engine light might appear after driving over rough roads, during engine movement, or after the exhaust system becomes hot. Inspect the wiring harness for signs of rubbing, stretching, and heat damage.
5. Exhaust or engine operating problems
An exhaust leak, damaged catalytic converter, ignition misfire, or mechanical engine problem can complicate oxygen sensor readings. Although an exhaust leak more commonly introduces additional oxygen and produces a lean indication, its effect depends on the leak location and operating conditions.
Misfires can also send unburned fuel into the exhaust. This may contribute to unusual oxygen sensor behavior and additional diagnostic codes. Check related faults instead of treating P0158 as an isolated component failure.
How to Diagnose P0158 with an OBD2 Scanner
An OBD2 scanner can help identify whether P0158 is caused by a high sensor signal, an actual rich mixture, or an electrical problem. A basic code reader can retrieve the fault, but a scanner with live data, freeze-frame information, and manufacturer-specific diagnostic functions provides a much better starting point.
Follow a systematic process. Do not erase the code before saving the available diagnostic information because doing so can remove useful evidence about the conditions that triggered the warning.
- Read all stored and pending codes. Connect the scanner to the GMC’s 16-pin OBD2 port, normally located beneath the driver-side dashboard. Record P0158 and any related codes involving fuel trims, misfires, oxygen sensors, or fuel delivery.
- Check freeze-frame data. Record engine speed, coolant temperature, vehicle speed, calculated load, and fuel system status. These details show the conditions present when the PCM detected the fault.
- Identify Bank 2 Sensor 2 in live data. Select the correct downstream oxygen sensor PID. Make sure the scanner is not displaying Bank 1 or the upstream sensor by mistake.
- Warm the engine. Allow the engine and oxygen sensor to reach normal operating temperature. A cold sensor may not produce a representative operating signal.
- Monitor oxygen sensor voltage. Observe whether the signal changes during appropriate operating conditions or remains unusually high. Compare it with the manufacturer’s specifications for the exact GMC engine.
- Review short-term and long-term fuel trims. Compare both banks when available. Large differences between the banks can help identify a bank-specific mixture problem.
- Check Mode $06 information. If supported by the vehicle and scanner, review available oxygen sensor monitor test results and their limits. Interpret manufacturer-specific test identifiers using the correct service information.
- Inspect the sensor circuit. Check the connector, harness, signal wire, sensor ground, and heater circuit against the vehicle wiring diagram.
Understanding oxygen sensor voltage readings
A conventional narrowband oxygen sensor typically switches between approximately 0.1 and 0.9 volts after reaching operating temperature. Higher voltage generally indicates a richer exhaust condition, while lower voltage generally indicates a leaner condition. These are general reference values, not a substitute for GMC-specific diagnostic specifications.
| Reading or condition | Possible interpretation | Next diagnostic step |
|---|---|---|
| Approximately 0.1–0.9 V | Typical switching range for a conventional narrowband sensor. | Evaluate response and compare with manufacturer specifications. |
| Approximately 0.8–0.9 V and sustained | Possible rich exhaust condition or sensor signal fault. | Check fuel trims, injectors, and signal wiring. |
| Approximately 0.1–0.2 V | Possible lean exhaust condition. | Investigate air leaks and fuel delivery. |
| Approximately 1.05 V or higher | Abnormally high signal requiring circuit and mixture diagnosis. | Check for a short to voltage, sensor failure, and rich operation. |
| Fixed signal with no meaningful response | Possible sensor, circuit, or engine operating problem. | Verify wiring and compare the signal with other operating data. |
GM’s diagnostic summary specifies a P0158 threshold greater than 1,050 millivolts under its defined enabling conditions. The exact monitor strategy and operating requirements vary by application. Do not treat a brief voltage spike or a reading from an unrelated sensor as proof of failure.
Check fuel trims before replacing the sensor
Fuel trims show how much the PCM adjusts fuel delivery to maintain the desired mixture. Short-term fuel trim (STFT) responds to immediate changes, while long-term fuel trim (LTFT) reflects learned corrections over time.
Combined short-term and long-term corrections beyond roughly plus or minus 10 percent deserve investigation. Values approaching or exceeding about 25 percent can contribute to lean or rich diagnostic codes, depending on the direction of correction and operating conditions. A rich condition commonly produces negative fuel trim because the PCM is reducing fuel delivery.
Compare Bank 1 and Bank 2 when the scanner provides separate readings. If both banks show similar rich corrections, investigate shared fuel delivery and engine management components. If only Bank 2 behaves abnormally, examine that bank’s injectors, exhaust components, and related sensor circuits.
Tip: Save the freeze-frame data and all related codes before clearing anything. Never replace Bank 2 Sensor 2 solely because the scanner displays P0158. Verify the signal circuit, connector condition, and actual exhaust mixture first. Avoid probing or piercing insulated wires, and use the correct vehicle wiring diagram when performing electrical tests. Other faults on the same vehicle are covered in P0113 GMC.
How to Fix P0158 on a GMC
The correct repair depends on the confirmed cause. A defective oxygen sensor requires a different repair from a shorted signal wire or a fuel system that delivers too much gasoline. Complete the diagnostic checks before selecting replacement components.
Replace a confirmed faulty oxygen sensor
If testing confirms that Bank 2 Sensor 2 has an internal electrical failure, replacement may resolve P0158. Select a sensor designed for the exact GMC year, engine, and emissions configuration. Check connector compatibility and sensor specifications rather than choosing a part based only on the vehicle model name.
A replacement sensor should be installed using the manufacturer’s specified procedure and tightening torque. Avoid contaminating the sensing element or damaging the connector and wires during installation.
Repair damaged wiring and connectors
If the problem comes from damaged wiring, repair the affected section according to the GMC service procedure. A technician may need to test the signal circuit, ground, connector terminals, and heater circuit. Replace damaged terminals or connectors where necessary and ensure the harness is routed away from hot exhaust components.
Correct an excessively rich mixture
If the oxygen sensor is correctly reporting a rich condition, the underlying fuel delivery problem must be repaired. Depending on the diagnostic results, this may involve correcting excessive fuel pressure, repairing a leaking injector, addressing an EVAP purge fault, or resolving inaccurate airflow measurements.
Do not replace the downstream oxygen sensor to compensate for an unresolved rich mixture. Excess fuel can damage emissions components and cause additional engine performance problems.
Verify the repair
After completing the repair, clear codes only after recording the original information and confirming the work. Start the engine, allow it to reach normal operating temperature, and monitor Bank 2 Sensor 2 data. Check for additional faults and confirm that the signal behaves according to the manufacturer’s specifications.
The PCM must complete the relevant oxygen sensor and emissions monitors before the repair can be considered fully verified. Some permanent diagnostic trouble codes cannot be erased manually. They clear after the underlying fault is repaired and the required monitor passes.
A replacement sensor does not automatically guarantee that the check engine light will stay off. If the original electrical or fuel system problem remains, P0158 or another related code may return.
P0158 Repair Costs and Driving Safety
The cost of fixing P0158 depends on the failed component, diagnostic time, labor requirements, and whether the repair is completed at home or by a professional shop. A sensor replacement may be relatively straightforward on some GMC vehicles, while restricted access or an electrical wiring problem can require substantially more labor.
Factors that affect repair costs
- Oxygen sensor: The replacement cost depends on sensor type, application, connector design, and parts availability.
- Diagnostic labor: Testing an intermittent electrical fault or rich-running condition can require additional technician time.
- Wiring repairs: Connector replacement, harness repairs, and circuit testing can add labor and materials.
- Fuel system repairs: A leaking injector, excessive fuel pressure, or an EVAP problem may require additional components and testing.
- Shop versus DIY: Professional repairs include diagnostic and labor charges. DIY repairs can reduce labor expenses but require suitable tools, service information, and electrical testing experience.
- Sensor accessibility: Exhaust layout, corrosion, and available working space influence removal and installation time.
A professional diagnosis is particularly useful when P0158 returns after a sensor replacement. Repeatedly purchasing sensors without testing the circuit can increase the total repair expense without addressing the original problem.
Is it safe to drive with P0158?
A GMC with P0158 may be drivable for a short distance if the check engine light is steady and the engine runs normally. However, the fault should be diagnosed promptly because a rich-running condition can increase emissions and potentially damage the catalytic converter.
Pay attention to how the engine behaves. A vehicle that develops severe rough running, loss of power, strong fuel odors, or repeated stalling needs immediate attention. If fuel is visibly leaking or the odor suggests an actual fuel leak, shut the engine off and arrange professional assistance rather than continuing to drive.
A flashing check engine light is a more serious warning. It commonly indicates an active misfire that can overheat and damage the catalytic converter. Reduce engine load, stop driving when it is safe to do so, and arrange prompt diagnosis.
Do not assume that P0158 alone means the catalytic converter has failed. The code identifies a downstream oxygen sensor circuit high-voltage problem, not a confirmed catalytic converter failure. A separate catalyst efficiency code, such as P0430, requires its own diagnostic procedure. Doing this job more than once? Best Bidirectional Scanners for Korean Cars covers tools that pay for themselves.
For additional technical context, GM’s published OBD diagnostic summary documents the P0158 monitor strategy and its Bank 2 Sensor 2 signal threshold.
Frequently Asked Questions
1. Is P0158 the same as P0152 on a GMC?
No. P0158 identifies high voltage in the Bank 2 Sensor 2 oxygen sensor circuit, while P0152 identifies high voltage in the Bank 2 Sensor 1 circuit. The two codes concern different sensor positions and require separate circuit identification.
2. Can P0158 cause a GMC to fail an emissions test?
Yes. A confirmed emissions-related diagnostic trouble code that commands the malfunction indicator lamp can cause an OBD-based emissions inspection failure. Readiness monitor status can also affect inspection eligibility after repairs or battery disconnection.
3. Will disconnecting the battery permanently remove P0158?
No. Disconnecting the battery does not repair the underlying problem. It may erase some stored diagnostic information and reset emissions readiness monitors. A permanent P0158 code requires the fault to be corrected and the appropriate monitor to pass before it clears automatically.
4. Does P0158 always turn on the check engine light immediately?
Not necessarily. The PCM must detect the fault under the required diagnostic conditions. Some monitor strategies use multiple failed samples or trips before commanding the malfunction indicator lamp. A pending code can appear before the fault becomes confirmed.
5. Can a basic OBD2 scanner identify the exact failed component?
No. A basic scanner can identify P0158, but the code alone cannot distinguish a defective sensor from a wiring short or a genuinely rich exhaust condition. Live-data access, electrical testing, and vehicle-specific service information are needed to confirm the cause.
P0158 on a GMC identifies a high-voltage fault involving the Bank 2 Sensor 2 oxygen sensor circuit. Check the downstream sensor signal, wiring, connectors, and fuel mixture before replacing parts. A proper diagnosis helps prevent unnecessary repairs and protects the catalytic converter from damage caused by unresolved engine problems.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0151 GMC: Diagnose Bank 2 Sensor 1 Low Voltage
LearnP0157 GMC Code: Meaning, Causes, and Step-by-Step Diagnosis
Learnp0138 gmc: Find the Fault Before Replacing Parts
LearnP0137 GMC: Diagnose the Downstream Oxygen Sensor
LearnP0122 GMC: Find the Throttle Sensor Fault and Restore Engine Power
LearnP0223 Honda: Diagnose Throttle Sensor Faults and Restore Acceleration