P2138 Mercedes: Diagnose Accelerator Pedal Sensor Problems
20 min read · by Nicole Bennett · Last updated: November 25, 2026
P2138 Mercedes indicates that the accelerator pedal position sensor signals do not agree within the limits expected by the engine control unit. The fault concerns the relationship between two electronic signals that tell the computer how far the driver presses the accelerator. When those signals become inconsistent, the vehicle may illuminate the check engine light, limit engine power or respond unpredictably to pedal input.
The most likely areas to investigate are the accelerator pedal sensor assembly, its electrical connector, signal wiring, sensor power supply and ground connections. A defective pedal sensor is possible, but replacing it without checking the electrical circuits can leave the original problem unresolved.
Mercedes-Benz uses model-specific diagnostic procedures, so the correct test values depend on the vehicle’s year, engine and engine management system. A Mercedes-capable scanner that displays both accelerator pedal position signals is especially useful. This guide explains what the code means, which symptoms matter, how to diagnose it and what repairs may be necessary.
What P2138 Means on a Mercedes-Benz
P2138 is the generic SAE diagnostic trouble code for Throttle/Pedal Position Sensor/Switch D/E Voltage Correlation. On Mercedes-Benz applications covered by the cited service procedures, the description is more specific: the accelerator pedal position sensor values are implausible in relation to each other. The engine computer detects a disagreement between redundant pedal position signals and cannot confidently establish the driver’s requested acceleration.

Modern Mercedes vehicles use electronic throttle control rather than relying on a mechanical cable between the accelerator pedal and throttle body. Pressing the pedal changes the output of position-sensing elements inside the pedal assembly. The engine control unit evaluates those signals before calculating the appropriate throttle response. Two separate channels provide a cross-check, helping the computer recognize an electrical fault instead of accepting an unreliable request for acceleration.
The code does not necessarily mean that the throttle body itself is defective. The monitored signals originate from the accelerator pedal position sensing system, although related engine control, power supply or wiring faults can affect what the computer receives. The important distinction is between a pedal signal problem and a throttle actuator problem. They are related parts of electronic engine management, but they are not interchangeable diagnoses.
The Mercedes-specific diagnostic description
Mercedes service information identifies the accelerator pedal sensor as component B37 in the cited SLK 350 and ML 550 diagnostic procedures. One Mercedes procedure describes disagreement between the voltages of two Hall sensors inside the pedal sensor. Hall-effect sensing allows the computer to monitor pedal movement electronically without depending on a traditional mechanical throttle cable.
A useful example comes from the 2007 Mercedes-Benz SLK 350 with the 3.5-liter M272.963 engine. Its published procedure checks both pedal sensor signals at idle and kickdown, then directs the technician to investigate the sensor supply, connecting wires and pedal sensor if the actual readings are incorrect. These specifications belong to that particular application. They must not be copied into a diagnostic test for an unrelated Mercedes model. The Mercedes SLK 350 P2138 diagnostic procedure provides the model-specific readings and test sequence.
The code begins with the letter P because it concerns the powertrain. The second character is 2, which places P2138 in the generic SAE powertrain code family. Its definition is standardized, although Mercedes diagnostic descriptions and test procedures provide additional manufacturer-specific detail. A basic reader may show only the generic description, while a Mercedes-capable scanner can provide more useful component and live-data information. Owners of other makes can check the matching guide: P2138 Dodge.
Symptoms of a Mercedes P2138 Fault
The symptoms depend on how severe and consistent the disagreement between the pedal signals becomes. Some vehicles may continue running with an illuminated check engine light, while others activate an electronic throttle safety strategy and restrict acceleration. An intermittent electrical problem can also produce symptoms that disappear temporarily and return during another drive.

- Check engine light: The malfunction indicator lamp may illuminate after the engine computer detects an unacceptable difference between the accelerator pedal signals.
- Reduced engine power: The computer may restrict available engine output to prevent an unreliable pedal signal from producing unintended acceleration.
- Delayed acceleration: Pressing the accelerator may produce a slower response than expected because the engine computer cannot confidently interpret the requested pedal position.
- Intermittent throttle response: Acceleration may become inconsistent when a connector or wire loses electrical continuity temporarily.
- Limited throttle operation: The vehicle may enter a reduced-power or emergency operating mode that limits how much the engine responds to accelerator input.
- Unusual idle behavior: Some related electrical or electronic throttle problems can affect engine operation at idle, although an unstable idle alone does not establish P2138 as the cause.
- Difficulty accelerating: The vehicle may struggle to increase speed, particularly when the computer activates a protective power limitation.
- Additional fault codes: Other accelerator pedal, reference voltage or engine management codes may appear alongside P2138.
A vehicle that drives normally does not automatically have a harmless problem. An intermittent signal mismatch can occur before the system activates a more noticeable protective response. Conversely, reduced engine power does not prove that the pedal assembly has failed. A wiring fault or unstable reference supply can produce similar behavior.
Intermittent versus persistent symptoms
An intermittent P2138 fault may appear after starting the engine, driving over rough pavement or moving the accelerator pedal through a particular position. If the problem is caused by a loose connector, worn terminal or damaged wire, vibration can temporarily interrupt the circuit. The fault may disappear after restarting the vehicle, but the stored diagnostic information can remain available.
A persistent fault is more likely to appear repeatedly during scanning and may produce a consistent mismatch in the two live-data channels. A failed sensor track can create an abnormal reading at the same pedal position every time. A supply or ground problem can affect one or both signals over a wider range of pedal movement. Recording the symptoms before clearing the code helps distinguish these patterns. The fault logic is shared, but the test points change, so check P2138 Subaru too.
Common Causes of P2138 on Mercedes Vehicles
P2138 occurs when the engine computer identifies an unacceptable relationship between accelerator pedal position signals. Several electrical and mechanical problems can create this condition. The pedal sensor deserves attention, but the connector, reference voltage and wiring should also be examined before a replacement is authorized.
1. Defective accelerator pedal position sensor
The accelerator pedal sensor is one of the main suspects because its internal sensing elements generate the signals being compared. Wear, internal electrical damage or an inconsistent Hall sensor output can cause one channel to disagree with the other. A damaged pedal assembly may produce an abnormal reading throughout the movement range or only at certain positions.
A sensor should not be condemned simply because P2138 identifies a pedal correlation problem. The diagnostic procedure should compare both signals against the correct specifications. If the supply and ground are correct and the signal remains outside the permitted relationship, the pedal sensor becomes a stronger replacement candidate.
2. Damaged wiring or poor electrical connections
A loose connector, damaged insulation, corroded terminal or partially broken conductor can interfere with the signals reaching the engine control unit. Resistance at a connection can cause voltage to change unexpectedly, especially when the harness moves or the vehicle experiences vibration. A connector can appear connected while one terminal has insufficient contact pressure.
Water intrusion deserves attention if the vehicle has experienced damp carpeting, previous interior leaks or electrical problems after heavy rain. A National Highway Traffic Safety Administration-hosted GM service bulletin documents water intrusion and connector corrosion as possible causes of P2138 on certain GM vehicles. That bulletin is not a Mercedes repair instruction, but it demonstrates why technicians should investigate electrical connections instead of assuming every correlation code requires a new pedal assembly. The NHTSA-hosted GM P2138 service bulletin also identifies aftermarket electrical equipment connected to accelerator pedal signal and reference circuits as a possible contributor.
3. Incorrect reference voltage or ground
Electronic accelerator pedal sensors depend on stable electrical supplies and ground connections. A problem with the reference voltage, low-reference circuit or associated wiring can distort the signals. If the two channels receive an abnormal supply, their relationship may no longer match the calibration expected by the engine computer.
For the cited 2007 SLK 350 procedure, Mercedes specifies a 4.75–5.25-volt measurement at designated engine control unit test points. This is a model-specific diagnostic specification, not permission to probe arbitrary connector terminals. The correct wiring diagram and test locations must be established for the exact vehicle before any electrical measurements are attempted.
4. Aftermarket electrical accessories
Poorly installed accessories can interfere with sensitive engine management circuits. Remote-start equipment, alarm systems, electronic throttle modifications or other aftermarket wiring deserve attention if the problem began after installation or electrical work. Incorrect connections can introduce unwanted resistance or interfere with reference and signal circuits.
A professional diagnosis should identify whether an accessory shares an affected circuit before modifying the original wiring. The presence of aftermarket equipment is not proof that it caused the fault. Its electrical connections need to be checked against the Mercedes wiring diagram and the equipment installation instructions.
5. Engine control unit or related electrical faults
An engine control unit problem is possible, but it should be considered only after the sensor, wiring, supply and ground circuits have been evaluated. A computer cannot reliably compare two signals if the electrical inputs are already distorted. Replacing or programming an expensive control module without confirming its failure can lead to unnecessary repairs.
Battery voltage and charging performance also deserve attention when multiple electrical faults appear together. A healthy battery at rest measures approximately 12.6 volts, while a typical charging system operates around 13.5–14.7 volts with the engine running. These are general reference figures, not Mercedes-specific P2138 pass-or-fail specifications. Follow the vehicle’s service information if charging behavior differs from these typical values.
| Potential cause | Typical diagnostic evidence | Recommended investigation |
|---|---|---|
| Faulty pedal sensor | One signal drops out or fails to follow its expected pattern. | Compare both sensor signals throughout pedal travel. |
| Corroded connector | Intermittent readings or unstable electrical contact. | Inspect connector condition and terminal contact. |
| Damaged wiring | Signal interruption or inconsistent voltage. | Check continuity and circuit integrity using the correct diagram. |
| Reference voltage fault | Supply readings outside the applicable specification. | Test reference voltage and ground circuits. |
| Aftermarket wiring interference | Fault begins after an accessory installation or electrical modification. | Inspect modifications and affected circuits. |
| Engine control unit fault | Inputs and circuits test correctly, but the control unit continues to report an implausible relationship. | Perform manufacturer-directed control unit diagnosis. |
How to Diagnose P2138 with an OBD2 Scanner
Accurate diagnosis requires more than reading and deleting the fault code. A scanner should retrieve stored and pending faults, preserve freeze-frame information and display accelerator pedal sensor live data. A Mercedes-capable diagnostic tool is preferable because a basic generic reader may not expose all the manufacturer-specific values needed to identify the faulty circuit.
- Identify the exact vehicle: Record the model, model year, engine configuration and available engine management information. Obtain the correct Mercedes wiring diagram and service specifications before testing electrical circuits.
- Scan all relevant control modules: Read the engine control unit and other accessible modules. Record P2138 and any related accelerator pedal, throttle position, reference voltage or communication faults. Additional codes may point toward a shared electrical problem.
- Check code status: Determine whether P2138 is pending, stored or permanent. A pending code indicates that the monitor detected a problem that has not yet met all confirmation requirements. A stored code represents a confirmed fault, while a permanent code requires successful monitoring after the repair before it can disappear.
- Save freeze-frame data: Record engine speed, vehicle speed, calculated load, battery voltage and other available operating information. These details help establish the conditions under which the fault occurred. An intermittent fault recorded during a particular driving condition may be easier to reproduce when the same conditions are present.
- Open accelerator pedal live data: Look for both accelerator pedal position sensor channels. Depending on the scanner, the values may appear as APP sensor 1 and 2, pedal signal 1 and 2, or manufacturer-specific names. Some tools display voltage, while others display a percentage or normalized position.
- Compare the channels: With the vehicle stationary and following the manufacturer’s testing instructions, observe the signals as pedal position changes. Both should follow their intended relationship without unexpected dropouts, sudden jumps or interruptions.
- Check power and ground: If the readings are incorrect, inspect the relevant reference supply and low-reference circuits using the correct wiring diagram. Do not assume every Mercedes model uses identical terminal assignments or voltage limits.
- Inspect the connector and harness: Look for loose terminals, corrosion, damaged insulation, poor connections and evidence of moisture. Electrical testing should use suitable equipment and approved procedures to avoid damaging sensitive control unit circuits.
- Verify the repair: After the confirmed fault is corrected, clear codes only when appropriate and repeat the prescribed diagnostic checks. Confirm that both pedal signals behave correctly and that the fault does not return.
Mercedes pedal sensor voltage example
The following figures come from the published diagnostic procedure for a 2007 Mercedes-Benz SLK 350 with the M272.963 engine. They illustrate how Mercedes evaluates two separate accelerator pedal signals. They are not universal limits for every Mercedes-Benz model or engine.
| Pedal position | Signal 1 | Signal 2 |
|---|---|---|
| Idle / released | 0.2–0.5 V | 0.1–0.5 V |
| Kickdown / fully actuated | 4.3–4.8 V | 2.1–2.5 V |
| Reference supply test | 4.75–5.25 V at the specified test points | |
Notice that the two signals do not need to have identical voltages. The computer expects a particular relationship between them. A technician should compare each reading with its own specified range and evaluate how the channels change together. A sensor that produces two different but correctly correlated signals is not automatically defective.
A scanner that displays only one accelerator pedal percentage may not provide enough information to diagnose this fault. The second signal is important because P2138 concerns correlation. If the scanner cannot access both channels, use a more capable diagnostic tool or have a Mercedes specialist perform the required tests.
What about Mode $06 and fuel trims?
Mode $06 provides onboard monitor test results where the vehicle and scanner support the relevant information. It can be useful for other monitored engine and emissions systems, but it is not the primary diagnostic method for P2138. The key evidence is the relationship between the accelerator pedal signals, their power supply and their electrical connections.
Fuel trims are also not the main measurement for this fault. Short-term and long-term fuel trims help diagnose mixture problems, such as vacuum leaks or fuel delivery issues. They do not directly establish whether the two accelerator pedal signals agree. Avoid replacing oxygen sensors, injectors or fuel system parts simply because P2138 appears in the engine computer.
Tip: Save the original fault codes and freeze-frame data before clearing anything. Compare both accelerator pedal channels with the correct Mercedes specifications. Never apply the 2007 SLK 350 voltage values to another Mercedes model without confirming that its service information uses the same test procedure. Other faults on the same vehicle are covered in P2196 Mercedes.
How to Fix P2138 on a Mercedes
The correct repair depends on which part of the accelerator pedal sensing circuit has failed. A pedal assembly may need replacement, but wiring repair, connector restoration or correction of a reference voltage problem may be sufficient. Diagnosis should establish the cause before parts are installed.
Replace a confirmed defective accelerator pedal sensor
If testing confirms that the pedal sensor produces an incorrect signal despite receiving the correct supply and ground, replacement may be necessary. On many vehicles, the sensing components are integrated into the accelerator pedal assembly. This means that replacing an individual internal sensor element may not be an approved repair option.
The replacement part must match the vehicle’s exact application. Mercedes pedal assemblies can differ according to model, engine, production configuration and electronic control system. A part that physically fits is not necessarily electrically compatible. Confirm compatibility through the vehicle identification information and applicable parts documentation.
After installation, the technician should follow the applicable Mercedes commissioning and verification instructions. Some configurations may require adaptation or an electronic initialization procedure, while others may not. Do not assume that every Mercedes pedal replacement requires the same programming procedure.
Repair damaged wiring and connectors
If the sensor itself passes testing but its signal is interrupted, the repair may involve the connector or harness. A technician should identify the affected circuit, determine why continuity or electrical contact is poor and restore the connection using the manufacturer’s approved repair method.
Corroded terminals should not simply be ignored or covered with additional electrical tape. Moisture entering a connector can continue causing resistance and intermittent faults even after the original warning light disappears. The source of any water intrusion should also be addressed where relevant.
A wiring repair should preserve the correct terminal connections and electrical characteristics. Improper splicing or an unsuitable connector can introduce another source of resistance. After the repair, the technician should repeat the pedal signal comparison and confirm that the engine control unit no longer detects the mismatch.
Correct a power supply or ground problem
If the reference supply or low-reference circuit is outside the specified range, the underlying electrical problem must be corrected. A shared supply fault may affect other sensors, so related diagnostic trouble codes can help identify a broader circuit issue. Testing should follow the wiring diagram rather than relying on assumptions about connector pin locations.
The engine control unit should be considered only after the sensor, connector, wiring, power supply and grounds have been checked. Control module replacement can involve additional programming, coding and vehicle configuration work. It is not a sensible first repair for a single P2138 code.
What determines repair cost?
The total repair expense depends on the actual failed component, the vehicle configuration and the amount of labor required to access and test the circuit. A straightforward pedal assembly replacement generally involves a different amount of work from tracing an intermittent wiring fault or diagnosing a control module problem.
- Parts: A complete accelerator pedal assembly, connector terminals, wiring repair materials or other confirmed replacement components affect the parts portion of the repair.
- Diagnostic labor: Checking both sensor channels, testing reference voltage and examining the harness can require specialized equipment and additional technician time.
- Vehicle access: The time needed to reach connectors and inspect the relevant wiring varies by Mercedes model and interior configuration.
- Programming or adaptation: Additional electronic setup may be necessary on some configurations, depending on the replacement component and manufacturer procedure.
- Shop versus DIY: A qualified independent Mercedes specialist or dealership may charge for diagnostic equipment and labor. DIY work can reduce labor expense, but incorrect electrical testing or an incompatible part can create further problems.
A useful estimate should separate diagnostic charges, replacement parts and installation labor. Ask the repair facility to identify the failed circuit or component and explain which test results support the proposed repair. If a shop recommends replacing the pedal assembly without comparing its signals or checking the supply, request further diagnostic evidence before approving the work. While you are working on this vehicle, P2112 Mercedes covers a related problem worth checking.
Is It Safe to Drive with P2138?
Driving with P2138 is not recommended if accelerator response is unpredictable or the engine has entered reduced-power mode. The fault involves the electronic system that interprets the driver’s acceleration request. Although the computer is designed to use protective strategies when signals disagree, those strategies do not make continued driving under every condition safe.
A Mercedes that suddenly loses acceleration can become difficult to control in traffic, particularly when entering a highway, crossing an intersection or climbing a steep road. The driver may be unable to obtain the expected engine response when additional power is needed. A vehicle with inconsistent throttle behavior should be moved to a safe location and inspected rather than driven through normal traffic.
When to stop driving
- The accelerator pedal does not produce a predictable response.
- The engine suddenly loses substantial power or enters limp mode.
- Acceleration becomes intermittent while the vehicle is moving.
- The engine stalls or cannot maintain safe traffic speed.
- The check engine light flashes or other serious warning messages appear.
- The vehicle displays multiple electrical or engine management warnings together.
A flashing check engine light requires particular attention because it can indicate an active misfire capable of damaging the catalytic converter. That warning is separate from the normal P2138 correlation fault, but it should never be ignored if both conditions occur. Oregon’s Department of Environmental Quality also advises against vehicle operation when the check engine light is flashing.
Safety: Do not attempt to test accelerator pedal wiring while driving. Do not bypass sensor circuits, bridge terminals or force the throttle system to operate with a known signal fault. If acceleration is unpredictable or engine power is severely limited, arrange professional inspection and towing rather than risking an unsafe journey.
If the warning light is steady and the vehicle appears to operate normally, that does not guarantee that it is safe for an extended journey. The fault can become active again without warning. A short movement to a safe parking area may be necessary, but the vehicle should be assessed promptly. The owner’s manual and any displayed Mercedes warning messages should guide the immediate response.
There is also an emissions consideration. OBD systems monitor engine and emissions-related components, and a confirmed malfunction can affect inspection readiness or compliance. The Oregon DEQ explains that an illuminated check engine light can cause an OBD emissions inspection failure. The vehicle should be properly repaired and allowed to complete the required monitoring process before an emissions retest where applicable. Choosing the right equipment matters here, so take a look at Best OBD2 Scanners for Muscle Cars.
Frequently Asked Questions
Can P2138 cause a Mercedes to fail an emissions inspection?
Yes. If the fault commands the malfunction indicator lamp on, the vehicle may fail an OBD-based emissions inspection. Inspection requirements vary by state, and the vehicle may also need its readiness monitors to complete their checks after repairs.
Will disconnecting the Mercedes battery permanently clear P2138?
No. Disconnecting the battery does not repair the underlying electrical fault. It can also erase useful diagnostic information and reset certain monitoring or adaptation data. Permanent OBD fault codes cannot be removed simply by disconnecting the battery; the fault must be corrected and the relevant monitor must pass.
Can cold weather trigger an intermittent P2138 code?
Temperature changes can expose an existing electrical weakness by affecting connector contact, wiring flexibility or component behavior. However, cold weather alone does not prove the cause. Compare freeze-frame conditions with live sensor data and inspect the electrical connections before replacing parts.
Can P2138 appear without a noticeable change in engine performance?
Yes. OBD monitoring can detect an electrical inconsistency before the driver notices an obvious change in vehicle behavior. A stored code may therefore appear even when acceleration seems normal during a short drive. The fault still requires diagnosis because the problem can become more noticeable later.
Does every Mercedes-Benz use the same accelerator pedal sensor voltage specifications?
No. Signal ranges, sensor designs, connector assignments and diagnostic procedures can differ between Mercedes platforms and engine management systems. The 2007 SLK 350 values discussed in this article are specific to its cited service procedure. Always use the correct vehicle identification and manufacturer service information.
P2138 on a Mercedes-Benz indicates that the accelerator pedal position signals do not agree, but it does not automatically mean the pedal assembly has failed. Diagnose both sensor channels, their electrical supply, grounds and wiring before replacing parts. If acceleration becomes unpredictable or the vehicle enters reduced-power mode, stop driving and arrange a professional inspection.
-
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
LearnP2187 Mercedes: Find the Cause of Lean Idle Problems
LearnP2176 Mercedes: Diagnose Throttle Position Learning Problems
LearnP2135 Mercedes: Find Throttle Sensor Faults Before Replacing Parts
LearnP2111 Mercedes: Diagnose the Stuck Throttle and Restore Engine Performance
LearnP2195 Mercedes: Diagnose the Lean Oxygen Sensor Fault
LearnP2079 Code: Diagnose Intermittent Intake Manifold Valve Faults