p0138 gmc: Find the Fault Before Replacing Parts
19 min read · by Nicole Bennett · Last updated: November 25, 2026
P0138 GMC indicates a high-voltage condition in the Bank 1 Sensor 2 oxygen sensor circuit, and diagnosing the wiring, sensor, and fuel system can prevent unnecessary parts replacement. This generic OBD-II trouble code usually points to an abnormal signal from the downstream heated oxygen sensor or an electrical problem affecting its signal. It can also appear when the engine produces an excessively rich exhaust mixture.
The code can affect different GMC vehicles, including Sierra pickups, Yukon SUVs, Acadia crossovers, Terrain models, and other vehicles equipped with compatible OBD-II systems. However, the exact diagnostic procedure, sensor arrangement, and voltage thresholds can vary by model year and engine. A scanner reading and a proper electrical inspection are more reliable than replacing the sensor immediately.
This guide explains what P0138 means, how the downstream oxygen sensor works, which symptoms to watch for, and how to test the circuit. It also covers repair decisions, driving safety, and the information a mechanic needs to identify the actual fault.
What P0138 Means on a GMC
P0138 is the generic SAE code for Oxygen Sensor Circuit High Voltage, Bank 1 Sensor 2. It means the engine control module (ECM) has detected an oxygen sensor signal that remains higher than its acceptable operating range under the conditions required for the diagnostic test.
The code has four important parts. The first character, P, identifies a powertrain fault. The second character, 0, indicates a generic SAE diagnostic code. The remaining digits identify the particular monitored system and fault. P0138 therefore has a standardized definition rather than a definition exclusive to GMC.
| Code section | Meaning |
|---|---|
| P | Powertrain system |
| 0 | Generic SAE diagnostic code |
| 1 | Oxygen sensor-related fault family |
| 38 | High-voltage condition, Bank 1 Sensor 2 |
Understanding Bank 1 Sensor 2
Bank 1 is the engine bank containing cylinder number 1. Sensor 2 identifies the downstream oxygen sensor, which is installed after the catalytic converter. On a single-bank engine, Bank 1 is the only cylinder bank. On a V6 or V8 engine, the correct bank must be identified using the vehicle’s engine-specific service information.
The upstream oxygen sensor, identified as Sensor 1, primarily helps the ECM control the air-fuel mixture. The downstream sensor monitors exhaust oxygen after the catalytic converter and helps the ECM evaluate catalyst performance. These sensors have different diagnostic responsibilities and should not be confused during repairs.
Why the Voltage Matters
A conventional narrowband oxygen sensor produces a changing voltage in response to exhaust oxygen content. A higher signal generally indicates rich exhaust, while a lower signal indicates lean exhaust. The ECM also uses a reference or bias voltage in the circuit. On a documented GM application, this reference is approximately 450 millivolts.
GM diagnostic information uses 1,050 millivolts as the high-voltage threshold for a covered P0138 procedure. That is a diagnostic threshold, not a universal normal operating voltage for every GMC engine. Some newer oxygen sensor systems use different signal strategies, so always check the correct service information before interpreting a reading. Compare the causes listed here with P0138 Lexus to rule out make-specific issues.

Symptoms of a GMC P0138 Fault
P0138 can appear with an illuminated check engine light even when the vehicle seems to drive normally. The downstream sensor does not usually control everyday fuel delivery as directly as the upstream sensor, but an electrical fault or an excessively rich engine condition can affect overall operation and emissions.
The symptoms depend on whether the problem involves the sensor itself, its wiring, the catalytic converter monitoring system, or an engine running too rich. Some GMC owners notice only a warning light, while others experience changes in fuel consumption or engine performance.
Common Warning Signs
- Check engine light: The most common symptom is a steady malfunction indicator lamp. The ECM stores P0138 when its diagnostic criteria are satisfied.
- Reduced fuel economy: An excessively rich mixture can consume more fuel than necessary. A separate fuel delivery or sensor problem may be responsible.
- Fuel smell: An unusually strong gasoline smell from the exhaust can indicate excessive fuel delivery or incomplete combustion.
- Rough idle: An engine with a rich mixture or another related problem may idle unevenly, especially when cold.
- Black exhaust smoke: Visible dark smoke can indicate excessive fuel entering the combustion chambers. This is not a symptom of every P0138 fault.
- Failed emissions inspection: An illuminated check engine light and an active emissions-related fault can prevent an OBD inspection from passing.
- Unusual engine performance: Hesitation, sluggish acceleration, or inconsistent operation may occur when another fuel or engine management problem accompanies the code.
Symptoms Versus Possible Causes
| Observed symptom | Possible explanation | Recommended check |
|---|---|---|
| Check engine light only | Sensor or circuit fault | Scan live sensor voltage |
| Poor fuel economy | Rich fuel mixture | Review fuel trims and fuel pressure |
| Strong fuel smell | Excessive fuel delivery | Inspect injector and fuel system operation |
| Intermittent warning light | Loose connector or damaged wiring | Inspect harness and connector condition |
| Rough idle | Rich mixture or another engine fault | Check additional trouble codes |
A symptom alone cannot identify the failed component. For example, poor fuel economy and black smoke suggest a rich-running condition, but they do not prove that the downstream oxygen sensor is defective. A scanner and supporting tests are needed to separate an electrical problem from an actual fueling problem. Shops often compare notes across makes for this code, and P0138 Ford is a good reference.
Common Causes of P0138 on GMC Vehicles
The most common causes involve an oxygen sensor signal that is too high, an electrical circuit problem, or exhaust conditions that indicate excessive fuel. Replacing the downstream sensor without checking these possibilities can leave the original fault unresolved.
Different GMC model years and engines use different wiring arrangements, sensor configurations, and diagnostic conditions. The following possibilities are general diagnostic considerations, not confirmation that a particular GMC model has a specific component defect.
1. Failed Downstream Oxygen Sensor
An internally damaged Bank 1 Sensor 2 can produce an abnormally high signal. Heat exposure, contamination, internal electrical failure, and normal wear can affect sensor operation. A sensor may also respond incorrectly even when its wiring and connector are in good condition.
A sensor that stays above approximately 1.0 volt under conditions where the signal should change deserves further testing. However, the reading must be interpreted using the correct GMC specifications. A high reading alone does not establish that the sensor itself has failed.
2. Damaged or Shorted Oxygen Sensor Wiring
The downstream sensor operates near hot exhaust components. Its wiring can deteriorate from repeated heating, vibration, road debris, corrosion, or previous repairs. A damaged signal wire that contacts a voltage supply can create a high signal even if the sensor is functional.
Look for melted insulation, exposed conductors, pinched sections, damaged protective coverings, and wiring that has contacted the exhaust. Pay particular attention to the harness near the sensor and its connector. The precise routing must be confirmed using the wiring diagram for the vehicle.
3. Moisture or Corrosion in the Connector
Water entering an oxygen sensor connector can create an unwanted electrical path between terminals. Corrosion can also increase resistance or interfere with the signal and reference circuits. GM diagnostic information specifically identifies moisture intrusion as a possible reason for an abnormal oxygen sensor voltage.
A connector may look normal from the outside while containing moisture or corrosion around its terminals. A technician should inspect the connector seals, terminal condition, pin alignment, and electrical contact quality before deciding that a sensor needs replacement.
4. Excessively Rich Fuel Mixture
A rich mixture contains more fuel than the engine needs for the available air. The resulting exhaust can cause an oxygen sensor to report high voltage. This is an important distinction because the sensor may be accurately reporting an engine condition rather than malfunctioning.
Potential causes include excessive fuel pressure, leaking injectors, or fuel delivery problems. A fuel pressure regulator fault may also be relevant on applications equipped with that arrangement. GM service diagnostic information specifically includes excessive fuel pressure and leaking or overly rich injectors among the conditions to investigate.
5. Low-Reference Circuit or ECM Electrical Fault
The oxygen sensor signal depends on its associated electrical circuits. A short to voltage in the low-reference circuit can distort the signal reported to the ECM. A poor connection or damaged circuit can create a similar diagnostic result.
The ECM itself is another possibility, but it should be considered only after the sensor, wiring, connector, and reference circuits have been tested. Replacing an expensive control module based only on P0138 is not a sound diagnostic decision.
Tip: Do not automatically replace Bank 1 Sensor 2 when P0138 appears. A shorted signal wire, wet connector, or rich-running engine can produce the same code. Confirm the actual fault with live data and electrical testing first.
How to Diagnose P0138 With an OBD2 Scanner
A useful diagnosis starts with a complete scan and proceeds through live data, visual inspection, and electrical testing. The goal is to establish whether the high voltage originates inside the sensor, in its wiring, or from an actual rich exhaust condition.
GMC-specific service information should guide the exact test conditions and connector measurements. GM’s published diagnostic procedure for a covered application provides a useful example of how the ECM signal, disconnected sensor, and wiring circuits can be isolated.

Step 1: Read All Stored and Pending Codes
Connect an OBD2 scanner to the 16-pin diagnostic connector, generally located beneath the driver’s dashboard. Read stored, pending, and permanent codes before clearing anything. Record the complete code list because related faults can reveal a broader electrical or fueling problem.
Pay attention to codes involving oxygen sensor heaters, fuel mixture, fuel pressure, airflow, engine temperature, and other engine management systems. A P0172 rich-condition code, for example, can make a fuel delivery problem more likely than an isolated downstream sensor failure.
Step 2: Save Freeze-Frame Information
Freeze-frame data records selected operating conditions when the ECM detects a fault. Depending on the vehicle and scanner, available information can include engine speed, coolant temperature, vehicle speed, calculated load, fuel trims, and system status.
Determine whether P0138 occurred during idle, acceleration, steady cruising, or another operating condition. If the fault is intermittent, the recorded information can help reproduce the conditions that triggered it. GM’s diagnostic procedure specifically instructs technicians to review freeze-frame and failure records before attempting to reproduce the fault.
Step 3: Monitor Bank 1 Sensor 2 Voltage
Warm the engine according to the vehicle’s diagnostic requirements and open the scanner’s live-data screen. Select the Bank 1 Sensor 2 oxygen sensor voltage or the equivalent manufacturer-specific parameter. Watch how the signal changes as operating conditions change.
A conventional narrowband downstream sensor may display a voltage within approximately 0.1 to 0.9 volts during normal operation, although the exact behavior depends on the vehicle and operating conditions. GM’s covered P0138 diagnostic procedure uses a threshold greater than 1,050 millivolts. A signal that remains above the applicable threshold needs further investigation.
Compare Bank 1 Sensor 2 with the corresponding upstream sensor when appropriate. The downstream sensor should generally respond more steadily when the catalytic converter is working properly. However, do not confuse normal catalyst-monitoring behavior with a circuit-high fault.
Step 4: Examine Fuel Trims
Short-term fuel trim (STFT) and long-term fuel trim (LTFT) help show how the ECM is adjusting fuel delivery. Positive values indicate that the ECM is adding fuel, while negative values indicate that it is removing fuel.
As a general diagnostic guideline, combined short-term and long-term fuel trims beyond approximately plus or minus 10 percent deserve attention. Values beyond roughly 25 percent can contribute to lean or rich fault codes, depending on direction. Negative fuel trims can support the suspicion of an excessively rich mixture, although they do not identify the failed part.
Compare both banks on a dual-bank engine where applicable. If both banks show significant negative fuel trims, investigate a problem affecting the overall fuel supply or engine management system. If only one bank shows an abnormal pattern, focus the investigation on that bank’s fuel delivery, exhaust, and sensor circuits.
Step 5: Inspect the Sensor and Wiring
With the exhaust system cool, visually inspect the downstream oxygen sensor harness and connector. Look for heat damage, exposed wires, corrosion, moisture, loose terminals, and previous wiring repairs. Confirm that the connector is correctly seated and that the harness is routed away from hot exhaust surfaces.
If the vehicle has recently received exhaust work, transmission work, or other repairs near the wiring harness, examine the affected area carefully. A connector left partially attached or a harness pinched during reassembly can cause an intermittent electrical fault.
Step 6: Perform Electrical Circuit Tests
A qualified technician can use the correct wiring diagram, digital multimeter, and appropriate test adapters to check the signal circuit and low-reference circuit. The purpose is to determine whether an unwanted voltage is reaching the ECM through the wiring or whether the sensor is producing the abnormal reading.
In GM’s documented diagnostic procedure for a covered application, the disconnected sensor signal circuit is expected to measure approximately 350-550 millivolts under the specified test conditions. This measurement is not a universal specification for every GMC vehicle. The correct year, engine, and circuit diagram must be used.
If the signal remains abnormally high with the sensor disconnected, investigate the vehicle-side wiring for a short to voltage. If the voltage returns to the expected reference range, the sensor may be internally shorted or producing an abnormal signal. The remaining circuit and fuel-system checks help confirm the cause.
Step 7: Check Mode $06 When Supported
Mode $06 provides access to onboard monitor test results when the vehicle and scan tool support the relevant data. It can help a technician evaluate oxygen sensor and catalyst-monitor performance without relying only on the stored trouble code.
Mode $06 information is manufacturer- and monitor-dependent. Some scanners display test identifiers and results in a confusing format, so use the correct GMC service information to interpret the available values. Mode $06 supports diagnosis but does not replace direct circuit testing.
Step 8: Verify the Repair
After correcting the confirmed fault, clear codes if the repair procedure calls for it and operate the vehicle under the conditions required for the relevant monitor. Recheck stored and pending codes, oxygen sensor data, and readiness status.
Do not assume that the repair succeeded just because the warning light immediately turns off. The ECM needs to complete its diagnostic checks. Some permanent DTCs remain stored until the fault has been repaired and the relevant monitor passes on its own. Before you clear the codes, check whether P0135 GMC applies to your vehicle too.
P0138 GMC Repair Options and Cost Factors
The correct repair depends on the cause established during diagnosis. A sensor replacement will not fix a shorted wire, and a wiring repair will not correct excessive fuel pressure. The best approach is to repair the confirmed fault and then verify that the ECM can complete its oxygen sensor monitoring routine.
Labor time and parts requirements vary considerably among GMC vehicles. Engine configuration, exhaust accessibility, corrosion, and the need for additional electrical or fuel-system testing all affect the final repair effort.
Replacing the Downstream Oxygen Sensor
If testing confirms an internally defective Bank 1 Sensor 2, replacement is the appropriate repair. The replacement sensor must match the vehicle’s application and connector configuration. A sensor intended for another engine or sensor position may have different electrical characteristics or wiring arrangements.
A technician should inspect the connector and wiring during replacement rather than transferring a new sensor into an already damaged circuit. Exhaust components can become extremely hot, and a seized sensor may require specialized equipment and professional attention.
Repairing Damaged Wiring
A damaged signal wire, low-reference wire, or connector should be repaired using the manufacturer’s approved wiring-repair procedure. The repaired harness must maintain proper insulation, electrical continuity, and protection from heat and vibration.
GM service information warns against inappropriate wiring repairs on oxygen sensor circuits. Use the specified terminals, repair materials, and connector procedures for the particular GMC application. Improvised connections can create additional voltage problems and make the original fault difficult to diagnose.
Correcting Rich Fuel Conditions
If testing reveals excessive fuel pressure or a leaking injector, the fuel system needs to be repaired before the oxygen sensor code can be considered resolved. A technician may need to inspect pressure readings, injector operation, fuel delivery control, and related engine data.
Fuel system work requires appropriate equipment and precautions. Gasoline is highly flammable, and fuel pressure must be handled according to the vehicle manufacturer’s service procedure. Do not loosen fuel lines or attempt improvised injector tests.
What Determines Repair Cost?
There is no reliable single repair cost for P0138 across the GMC lineup. A straightforward sensor replacement and a difficult electrical diagnosis involve very different labor requirements. The model year, engine, exhaust layout, and condition of the affected components determine how much work is needed.
- Parts: The required sensor, connector, wiring repair materials, or fuel-system component affects the parts portion of the bill.
- Labor hours: Sensor accessibility, corrosion, exhaust configuration, and the time needed to trace an intermittent electrical fault influence labor.
- Diagnostic equipment: Advanced scan-tool functions and electrical testing may be necessary to distinguish a defective sensor from a wiring or fueling issue.
- Shop versus DIY: A capable DIY owner may save labor on a straightforward repair, but professional diagnosis can prevent unnecessary parts replacement.
- Additional repairs: A leaking injector, excessive fuel pressure, or multiple damaged wiring sections can increase the overall repair scope.
Before approving a repair, request the diagnostic findings. A useful estimate should identify the failed component or circuit, explain the test results, and separate the diagnostic work from the proposed repair. This is particularly important when a shop recommends replacing both oxygen sensors or an ECM without supporting test results. Other faults on the same vehicle are covered in P0160 GMC.
Can You Drive a GMC With P0138?
A GMC with P0138 may remain drivable if the check engine light is steady, the engine runs normally, and there are no signs of a fuel leak, overheating, or other serious fault. However, continued driving without diagnosis is not recommended because the underlying problem can increase emissions or affect the catalytic converter and engine operation.
The seriousness of the code depends on what caused it. An isolated downstream sensor circuit problem may have relatively little immediate effect on drivability. A rich-running engine caused by a leaking injector or excessive fuel pressure presents a different risk because unburned fuel can enter the exhaust system.
When Short-Term Driving May Be Possible
If the check engine light remains steady and the vehicle has normal acceleration, stable idle, and no unusual smells or noises, a short trip to a repair facility may be reasonable. Avoid unnecessary driving and heavy engine loads until the problem has been diagnosed.
Monitor the vehicle for changes. A new fuel smell, rough running, visible smoke, or a sudden drop in performance means the original assessment should be reconsidered. Do not assume that the vehicle is safe simply because P0138 is the only code currently displayed.
When to Stop Driving
A flashing check engine light indicates an active misfire that can damage the catalytic converter. Reduce engine load and arrange prompt diagnosis. If the vehicle runs severely rough, loses power, or produces heavy exhaust smoke, stop in a safe location and arrange professional assistance.
A noticeable gasoline leak or strong raw-fuel smell requires particular caution. Stop the engine, keep ignition sources away, and arrange professional assistance. Do not continue driving a vehicle with a suspected fuel leak.
Safety: Never work beneath a vehicle supported only by a jack, touch hot exhaust components, or disconnect fuel lines without the correct service procedure and equipment. If the check engine light flashes, the engine runs severely rough, or a fuel leak is suspected, stop driving and seek professional help.
Will P0138 Cause an Emissions Test Failure?
It can. OBD emissions inspections check diagnostic trouble codes, malfunction indicator lamp status, and applicable readiness monitors. An illuminated check engine light associated with an emissions-related fault can cause a vehicle to fail an inspection.
The Oregon Department of Environmental Quality explains that OBD testing evaluates emissions-related components and that readiness monitors must complete their diagnostic checks before inspection. Requirements and allowances vary by state, so check the rules that apply to your registration location.
Avoid clearing P0138 immediately before an emissions inspection. Clearing codes can reset readiness information, and the oxygen sensor and catalyst monitors may need additional driving conditions before they report a completed result. Repair the underlying problem and allow the vehicle to complete its required monitoring procedures. To repeat this test at home, the tools in Best OBD2 Scanners for Domestic Cars are worth a look.
For additional information about GM’s diagnostic approach, see the GM P0138 service diagnostic procedure. For general information about emissions monitoring and inspection readiness, consult the Oregon DEQ OBD information page.
Frequently Asked Questions
1. Is P0138 a generic or GMC-specific trouble code?
P0138 is a generic SAE powertrain code. Its definition is standardized as Oxygen Sensor Circuit High Voltage, Bank 1 Sensor 2. GMC-specific diagnostic thresholds, connector arrangements, and repair procedures can still differ among engines and model years.
2. Does P0138 automatically mean the catalytic converter is bad?
No. P0138 identifies a high oxygen sensor circuit voltage, not a failed catalytic converter. The downstream sensor helps monitor catalyst performance, but a shorted wire, defective sensor, or rich exhaust condition can trigger this code without proving catalyst failure.
3. Can P0138 return after the oxygen sensor has been replaced?
Yes. If the original cause was a damaged harness, connector moisture, excessive fuel pressure, or a leaking injector, installing another sensor will not correct the problem. A returning code requires the circuit and fuel system to be tested again.
4. Will disconnecting the battery permanently remove P0138?
No. Disconnecting the battery does not repair the underlying fault. It can erase some stored diagnostic information and reset emissions readiness monitors. Permanent diagnostic trouble codes require the fault to be corrected and the relevant onboard monitor to pass before they clear automatically.
5. Can a basic OBD2 scanner diagnose P0138?
A basic scanner can retrieve P0138 and often display freeze-frame information. More advanced diagnostic equipment is useful for viewing oxygen sensor voltage, fuel trims, readiness status, manufacturer-specific data, and Mode $06 results. Electrical circuit testing may still require a digital multimeter and the correct wiring diagram.
P0138 on a GMC identifies a high-voltage condition in the Bank 1 Sensor 2 oxygen sensor circuit, but it does not automatically mean the sensor needs replacement. Check live voltage, freeze-frame data, fuel trims, wiring, and connector condition before choosing a repair. Correcting the actual fault and verifying that the emissions monitors pass is the best way to prevent the warning light from returning.
-
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
LearnP0102 GMC: Diagnose Mass Airflow Problems and Restore Engine Performance
LearnP0174 GMC Code: Lean Bank 2 Causes and Fixes
LearnP0128 GMC: Engine Runs Too Cold Thermostat Code Explained
LearnP0154 GMC: Diagnose the Bank 2 Sensor 1 Fault
LearnP0161 GMC: Find the Oxygen Sensor Heater Problem
LearnC0298 Code: Meaning, Causes, Diagnosis, and Repair