P0138 Mercedes: Find the High-Voltage Sensor Fault Before Replacing Parts
18 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0138 mercedes fault code indicates that the engine computer has detected excessively high voltage in the Bank 1 Sensor 2 oxygen sensor circuit. This usually points to a problem involving the downstream oxygen sensor, its electrical wiring, or its connector. A sensor producing an incorrect signal can also trigger the code.
On a Mercedes-Benz, Bank 1 identifies the cylinder bank containing cylinder 1, while Sensor 2 identifies the oxygen sensor installed after the catalytic converter. The precise sensor location depends on the engine and exhaust configuration. Some Mercedes diagnostic systems also describe this fault as a short circuit to positive, which makes electrical testing particularly important.
Do not replace the oxygen sensor simply because the code appears on a scanner. A damaged harness, contaminated connector, incorrect electrical signal, or actual sensor failure can produce similar results. The right approach is to inspect the stored codes, examine live data, and test the affected circuit before purchasing replacement parts.
What P0138 Means on a Mercedes-Benz
P0138 is a generic SAE powertrain diagnostic trouble code. Its definition is Oxygen Sensor Circuit High Voltage (Bank 1, Sensor 2). The engine control module, or ECM, detects an oxygen sensor signal that remains higher than the expected range under the conditions used by its diagnostic monitor.

The code identifies an electrical signal problem rather than automatically identifying a defective sensor. The distinction matters because the ECM receives the oxygen sensor signal through wiring and connectors. A short to a positive voltage supply can make the computer interpret the signal as excessively high even when the oxygen sensor itself is functional.
Understanding Bank 1 Sensor 2
Oxygen sensor terminology describes two different positions in the exhaust system. Sensor numbers indicate their position relative to the catalytic converter, while bank numbers identify the engine’s cylinder banks.
- Bank 1: The side of the engine containing cylinder number 1.
- Sensor 1: The upstream oxygen sensor positioned before the catalytic converter.
- Sensor 2: The downstream oxygen sensor positioned after the catalytic converter.
- High voltage: An electrical signal that exceeds the control module’s expected operating range.
Mercedes oxygen sensor layouts vary with engine configuration. On the V6 and V8 layouts illustrated by MB Medic, Bank 1 is commonly on the vehicle’s right side when viewed in the direction of travel. However, do not apply that position to every Mercedes engine without checking its cylinder numbering and service documentation.
Why the Signal Matters
An oxygen sensor measures the oxygen content of exhaust gas and sends information to the engine computer. The computer uses this information, along with other sensor inputs, to monitor combustion and emissions performance. The downstream sensor also helps evaluate catalytic converter operation.
A conventional narrowband oxygen sensor can produce a changing signal of approximately 0.1 to 0.9 volts. A persistently high reading can indicate an electrical fault or an actual rich exhaust condition. However, Mercedes vehicles may use different sensor technologies and control strategies. Some applications use wideband air-fuel ratio sensors, so the conventional narrowband voltage range should not be treated as a universal Mercedes specification. The wiring and part locations differ by make, as P0138 BMW shows for the same code.
Mercedes-Specific Sensor Location and Diagnostic Differences
The meaning of Bank 1 Sensor 2 is consistent at the generic OBD-II level, but the physical layout and Mercedes diagnostic description depend on the vehicle. Engine configuration, model year, exhaust design, and engine control software all influence the correct repair procedure.

A Mercedes V6 or V8 may have four oxygen sensors, with one upstream and one downstream sensor for each cylinder bank. An inline engine may have a different arrangement. Therefore, identify the sensor using the VIN-specific wiring diagram and component information instead of relying on a general engine photograph.
How to Identify the Correct Sensor
Start with the engine identification and the location of cylinder number 1. Then follow the exhaust path from the cylinder bank toward the catalytic converter. The first oxygen sensor is Sensor 1. The sensor after the converter is Sensor 2.
On the V6 and V8 configurations illustrated by MB Medic, the right-hand cylinder bank is commonly Bank 1. That information is useful for orientation, but it is not sufficient to select a replacement sensor for every Mercedes. Check the specific engine’s cylinder numbering and parts information before ordering anything.
Mercedes Diagnostic Descriptions Can Differ
Mercedes diagnostic information may describe P0138 using language such as an oxygen sensor short circuit to positive. One documented 2012 E 550 Coupe diagnostic entry identifies an oxygen sensor circuit short to positive. Another Mercedes engine-control code index describes P0138 as oxygen sensor 2, Bank 1, short circuit to positive.
These descriptions support the importance of checking the signal circuit rather than assuming that the sensor element has failed. They do not establish that every Mercedes with P0138 uses the same component location or wiring arrangement. A diagnostic description for one engine must not be transferred to another engine without verification.
For this reason, use a Mercedes-capable diagnostic tool when available. It can provide additional manufacturer-specific fault information, component designations, actual values, and test procedures that a basic generic OBD2 reader may not display.
Symptoms and Common Causes of P0138
A Mercedes with P0138 may have a check engine light without any obvious driving problem. The downstream oxygen sensor primarily monitors exhaust and catalytic converter performance, so some electrical faults have little immediate effect on how the engine feels. Other faults can produce noticeable drivability and fuel consumption changes.
Common Symptoms
Watch for these symptoms when the code is stored:
- Check engine light: The most common indication is an illuminated malfunction indicator light on the dashboard.
- Reduced fuel economy: Incorrect oxygen sensor information or an underlying mixture problem can affect fuel consumption.
- Rough idle: An engine experiencing an additional mixture or combustion problem may idle unevenly.
- Hesitation: Some vehicles experience inconsistent acceleration when another engine management problem accompanies the code.
- Exhaust odor: An excessively rich mixture can produce a stronger fuel smell from the exhaust.
- Emissions test failure: An active emissions-related fault can prevent the vehicle from passing an OBD-based inspection.
These symptoms are not exclusive to P0138. A Mercedes can have rough running because of an ignition coil, injector, intake leak, fuel pressure problem, or another fault. A downstream oxygen sensor code alone does not prove that any of those components has failed.
Common Causes and Their Diagnostic Clues
The most useful distinction is between an electrical signal fault and a genuine exhaust mixture problem. Start with the circuit because P0138 specifically identifies a high-voltage signal condition.
| Possible cause | Typical clue | Diagnostic priority |
|---|---|---|
| Failed downstream oxygen sensor | Signal remains abnormally high despite normal circuit conditions. | Compare live data with the manufacturer’s specifications. |
| Short to positive voltage | Signal voltage remains high or behaves abnormally. | Inspect the signal wire and test for unwanted voltage. |
| Damaged wiring harness | Exposed insulation, melted sections, or intermittent readings. | Inspect the exhaust-area harness and continuity. |
| Corroded or contaminated connector | Corrosion, moisture, damaged pins, or loose connections. | Inspect connector condition and terminal contact. |
| Rich-running engine | Additional mixture-related faults or negative fuel trims. | Check fuel pressure, injectors, and fuel control data. |
| ECM or control circuit problem | Sensor and wiring test correctly, but the reported signal remains incorrect. | Verify power, ground, and signal circuits before considering module replacement. |
Sensor contamination is another possibility. Oxygen sensor manufacturers identify general deterioration, fuel additives, silicon, and carbon deposits as factors that can affect sensor performance. A contaminated sensor may produce unreliable readings even when its connector and harness appear normal.
A catalytic converter problem should not be the first assumption. The downstream sensor helps monitor catalyst operation, but P0138 is an electrical high-voltage code, not a direct catalytic converter efficiency code. Test the sensor circuit before considering expensive exhaust component replacement. If you want to see how the same fault shows up on another make, read our guide to P0138 Lexus.
How to Diagnose P0138 With an OBD2 Scanner
A proper diagnosis starts with retrieving all available fault information before clearing anything. A generic OBD2 scanner can identify P0138 and display some engine data, while a Mercedes-capable scanner may provide additional manufacturer-specific information and actual-value descriptions.
Step 1: Read Stored and Pending Codes
Connect the scanner to the vehicle’s 16-pin diagnostic connector, generally located beneath the driver’s side dashboard. Turn on the ignition and follow the scanner’s connection instructions. Read the engine control module and save all available diagnostic information.
Check whether P0138 is pending, stored, or permanent. A pending code means the monitoring system has detected a fault that has not yet met all the conditions for confirmation. A stored or confirmed code generally indicates that the fault has met the required setting conditions. A permanent code remains in memory until the system verifies that the problem has been repaired and the relevant monitor passes.
Also look for related codes such as P0136, P0137, P0141, P0172, and P0175. Their presence may help distinguish an electrical problem from a sensor heater or mixture issue. Do not assume every additional code is caused by P0138; establish which fault appeared first and whether the faults share a circuit or operating condition.
Step 2: Review Freeze-Frame Data
Freeze-frame data records engine operating conditions when a fault is detected. It helps establish whether P0138 appeared during cold starting, warm idle, acceleration, or steady cruising.
Record the following information if the scanner provides it:
- Engine RPM at the time the code was recorded.
- Engine coolant temperature.
- Vehicle speed and calculated engine load.
- Short-term and long-term fuel trim values.
- Bank 1 Sensor 2 oxygen sensor voltage or manufacturer-specific actual value.
- Battery and charging system information if available.
For example, a high signal recorded immediately after starting may suggest a different diagnostic direction from a signal that becomes abnormal only after the engine reaches operating temperature. Reproducing the original conditions can help identify intermittent wiring faults.
Step 3: Examine Live Oxygen Sensor Data
Warm the engine according to the manufacturer’s diagnostic procedure and monitor Bank 1 Sensor 2. Compare its reading with the corresponding upstream sensor and the expected values for that specific Mercedes engine.
A conventional narrowband downstream sensor generally changes more slowly and remains relatively steady when the catalytic converter is operating correctly. The upstream sensor usually responds more actively to changing air-fuel conditions. A downstream signal that stays unusually high deserves further investigation.
However, do not apply the 0.1-to-0.9-volt narrowband range to every Mercedes. Wideband sensors use different signal representations and may require manufacturer-specific scan data. Some scanners display calculated lambda, current, or equivalence ratio instead of conventional oxygen sensor voltage.
Step 4: Check Fuel Trims
Fuel trim information helps determine whether an abnormal oxygen reading accompanies a genuine mixture problem. Short-term fuel trim reflects immediate adjustments, while long-term fuel trim represents learned corrections over time.
Combined short-term and long-term corrections beyond roughly plus or minus 10 percent deserve investigation. Readings beyond approximately 25 percent can be associated with mixture-related diagnostic codes. Negative corrections may support a rich-running condition, while positive corrections generally indicate that the ECM is adding fuel to compensate for a lean condition.
Remember that downstream oxygen sensors do not necessarily control fuel delivery in the same way as upstream sensors. Interpret fuel trims using the affected engine’s control strategy rather than treating them as direct proof of a defective downstream sensor.
Step 5: Inspect Wiring and Connectors
Switch off the ignition and allow the exhaust system to cool before inspecting the sensor harness. Look for damaged insulation, wiring touching hot exhaust components, crushed sections, corrosion, loose connector locks, and evidence of previous repairs.
Pay particular attention to the signal circuit. A short to a positive supply can create an artificially high signal. A damaged ground or reference circuit can also affect readings, depending on the sensor design. Use the vehicle-specific wiring diagram to identify the correct terminals and expected electrical values.
Step 6: Confirm the Fault With Electrical Testing
A qualified technician can use an appropriate digital multimeter, wiring diagram, and Mercedes diagnostic information to test the circuit. The objective is to establish whether the high signal originates inside the sensor, in the wiring, or within the control module circuit.
Some manufacturer procedures also use an oscilloscope to observe oxygen sensor behavior. NGK describes a conventional narrowband sensor producing a changing output between approximately 0.1 and 1.0 volts under specified warmed-engine test conditions. A waveform can reveal a signal that is stuck high or responding incorrectly, although the correct test specifications must match the sensor technology. See the NGK oxygen sensor testing procedure for its testing guidance.
Mode $06 can provide additional information when the vehicle and scanner support the relevant oxygen sensor or catalyst monitor test results. Review the available test identifiers, limits, and results rather than assuming every Mercedes exposes identical Mode $06 information.
Tip: Do not disconnect oxygen sensor wiring or probe control module terminals without the correct wiring diagram and test procedure. Oxygen sensor circuits can use different signal, reference, and heater arrangements. An incorrect connection can damage the wiring or control module. Allow the exhaust to cool before inspecting nearby components, and use appropriate professional equipment for electrical testing. Owners of this model also ask about P0141 Mercedes.
Repair Options for a Mercedes P0138 Fault
The correct repair depends on what the diagnostic tests reveal. Replacing the downstream oxygen sensor is appropriate only when testing confirms that the sensor itself is defective. If the signal wire is shorted to power, a replacement sensor will not correct the underlying problem.
Repairing Damaged Oxygen Sensor Wiring
If the harness has damaged insulation, melted sections, or a short to positive voltage, repair the affected wiring using the manufacturer’s approved method. Wiring near the exhaust requires suitable heat protection and correct routing. An improperly repaired harness may develop another fault after exposure to heat and vibration.
Connectors with corrosion, damaged terminals, or weak electrical contact may need terminal or connector replacement. Cleaning alone is not sufficient when the metal contacts have deteriorated or the connector no longer maintains a reliable connection.
Replacing the Downstream Oxygen Sensor
If testing confirms a defective Bank 1 Sensor 2, install a replacement that matches the Mercedes VIN, engine, exhaust configuration, and sensor position. Oxygen sensors can have different electrical characteristics, connector arrangements, and heater requirements even when their external appearance is similar.
A direct-fit replacement is generally preferable to an incorrectly matched universal sensor. The connector and wiring must fit the original application, and the sensor must meet the manufacturer’s electrical specifications.
Sensor removal involves working around hot exhaust components. A professional repairer should follow the correct access, lifting, removal, installation, and tightening procedures. The exhaust must be cool, and the vehicle must be properly supported whenever access underneath is required.
Investigating Rich Fuel Mixture Problems
If live data and additional fault codes support an actual rich-running condition, investigate the underlying fuel delivery and engine management problem. Possible areas include leaking injectors, excessive fuel pressure, incorrect temperature information, and air metering faults.
Correcting the mixture problem may restore normal oxygen sensor readings if the sensor itself remains functional. Replacing the sensor without addressing the underlying cause can result in another fault or premature sensor deterioration.
Considering ECM Replacement
An engine control module fault is possible but should be considered only after the sensor, connectors, power supplies, grounds, and wiring have been tested. A control module replacement can involve programming, coding, immobilizer synchronization, and vehicle-specific configuration.
Do not replace the ECM simply because P0138 returns after clearing the code. Confirm that the correct test procedure identifies an internal control module problem before authorizing such an extensive repair.
Driving Safety and Repair Cost Factors
P0138 is generally not an immediate stop-driving fault when the Mercedes runs normally and the check engine light remains steady. However, the fault should not be ignored because oxygen sensor problems can affect emissions monitoring and may accompany a richer-than-normal fuel mixture.
Is It Safe to Drive With P0138?
A short trip to a repair facility may be reasonable if the engine operates normally, there are no serious warning messages, and the check engine light is steady. Arrange diagnosis promptly rather than continuing to drive indefinitely.
Stop driving when the engine runs severely, loses significant power, overheats, or produces unusual smoke or strong fuel odors. These symptoms may indicate a more serious problem than the oxygen sensor circuit alone.
A flashing check engine light is especially important. It can indicate an active engine misfire capable of overheating and damaging the catalytic converter. Reduce engine load, stop driving when it is safe to do so, and arrange professional assistance.
What Determines the Repair Cost?
There is no single repair cost for every Mercedes P0138 fault. The final amount depends on the actual failure, engine configuration, access to the affected sensor, parts availability, and labor requirements.
- Diagnostic labor: A basic code scan takes less time than a complete electrical diagnosis involving wiring diagrams, live data, and circuit testing.
- Oxygen sensor replacement: The sensor’s design, brand, vehicle compatibility, and accessibility influence the parts and installation cost.
- Wiring repairs: A small accessible connector problem may require less labor than a damaged harness section requiring extensive access.
- Exhaust access: Some Mercedes engines provide easier sensor access than others. Restricted access can increase labor time.
- Additional repairs: A rich-running engine, damaged connector, or related control system problem may require separate repairs.
- Shop versus DIY: Professional diagnostic equipment and labor increase shop expenses, while DIY repairs require suitable tools, correct parts, and the necessary technical knowledge.
Ask the repair facility to separate the diagnostic charge, replacement parts, installation labor, and any additional repairs. A written diagnosis should identify why the sensor or circuit failed instead of simply recommending a new oxygen sensor based on the stored code.
Verify the Repair Before Clearing the Job
After the repair, use the scanner to confirm that the original circuit fault is no longer active. Review the oxygen sensor data under the required operating conditions and check whether related faults have returned.
The oxygen sensor and catalytic converter monitors may require specific driving conditions before they complete their evaluations. An immediate absence of the check engine light does not prove that the repair has passed every emissions monitor. If you do not own a scan tool yet, Best Affordable OBD2 Code Readers is a good starting point.
Avoid repeatedly clearing codes just to turn off the dashboard warning. Clearing diagnostic information can reset readiness monitors, making it harder to confirm the repair and potentially preventing an emissions inspection from being completed. Missouri’s OBD emissions inspection rule explains how stored trouble codes, malfunction indicator status, and readiness monitor results are evaluated during an applicable inspection.
Frequently Asked Questions
These additional questions cover Mercedes-specific diagnostic details and situations that may not be obvious from the P0138 definition alone.
1. Is P0138 a generic or Mercedes-specific fault code?
P0138 is a generic SAE OBD-II powertrain code. The basic definition is Oxygen Sensor Circuit High Voltage (Bank 1, Sensor 2). Mercedes diagnostic software may provide a more detailed description, including a short circuit to positive. Additional manufacturer-specific fault information can help identify the affected component and test procedure.
2. Can P0138 appear without noticeable engine problems?
Yes. A downstream oxygen sensor can develop an electrical signal problem while the engine continues to run normally. Because Sensor 2 primarily contributes to exhaust and catalytic converter monitoring, the driver may notice only the check engine light rather than a change in engine performance.
3. Can a replacement oxygen sensor require programming?
A conventional replacement oxygen sensor generally does not require separate software programming. However, the vehicle may need diagnostic fault clearing and a completed monitoring drive cycle. Some Mercedes applications also have manufacturer-specific adaptation or diagnostic procedures that should be checked before the repair is considered complete.
4. Can disconnecting the battery permanently remove P0138?
No. Disconnecting the battery does not repair the underlying electrical or sensor problem. It can also erase useful diagnostic information and reset emissions readiness monitors. Permanent OBD-II fault codes require the underlying problem to be corrected and the appropriate monitor to verify successful operation.
5. Can P0138 cause a Mercedes to fail an emissions inspection?
Yes. An active emissions-related diagnostic fault that commands the malfunction indicator light on can cause an OBD-based inspection failure. Inspection requirements differ by state, and readiness monitor status also matters. Confirm that the oxygen sensor and catalyst monitors have completed successfully before returning for an inspection.
P0138 on a Mercedes-Benz identifies a high-voltage fault involving the Bank 1 Sensor 2 oxygen sensor circuit, but it does not automatically mean the sensor needs replacement. Check the stored codes, freeze-frame information, live sensor readings, fuel trims, and wiring before choosing a repair. Confirm the fault has been corrected and the relevant monitors pass before considering the job complete.
-
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
LearnP0138 Code: What It Means and How to Fix It
LearnP0156 Mercedes: Diagnose the Downstream Oxygen Sensor Fault
LearnP0155 Mercedes: Diagnose the Oxygen Sensor Heater Fault
LearnP0153 Mercedes: Diagnose the Oxygen Sensor Fault Correctly
LearnP0131 Mercedes: Diagnose Oxygen Sensor Problems and Restore Engine Performance
LearnHow to Test a Camshaft Position Sensor With a Multimeter for Accurate Diagnosis