P2138 BMW: Diagnose Accelerator Pedal Sensor Faults and Reduced Power
19 min read · by Nicole Bennett · Last updated: November 25, 2026
The p2138 bmw fault code indicates that the engine computer has detected an incorrect voltage relationship between two accelerator pedal position sensor signals. These sensors monitor how far the driver presses the accelerator pedal and send electrical signals to the Digital Motor Electronics (DME) control unit. When the signals do not agree within the expected range, the DME can limit engine output to protect the electronic throttle control system.
A BMW with this fault may display a check engine light, an engine malfunction warning, reduced engine power, or an electronic power control warning. The accelerator pedal assembly is one possible cause, but damaged wiring, loose electrical connections, an unstable 5-volt reference supply, or a control module problem can produce similar results. Replacing the pedal without testing its electrical circuits can lead to unnecessary repairs.
What P2138 Means on a BMW
P2138 is a generic SAE powertrain diagnostic trouble code. Its official description is Throttle/Pedal Position Sensor/Switch D/E Voltage Correlation. On a BMW, it indicates that the DME has detected an implausible relationship between the accelerator pedal’s redundant position sensor signals.

Modern BMW vehicles use electronic throttle control instead of a conventional mechanical cable connecting the accelerator pedal to the throttle body. The accelerator pedal contains position sensors that report how much the driver wants to accelerate. The DME evaluates these signals and calculates the appropriate engine response.
The system uses multiple signals as a safety measure. If one signal becomes unreliable, the other provides a comparison that helps the DME recognize an electrical or sensor problem. The two signals do not necessarily have identical voltage readings. They follow predetermined relationships that depend on the vehicle’s particular pedal design and engine management system.
How the BMW accelerator pedal sensors work
The accelerator pedal position module contains two independent sensing elements. Depending on the BMW design, their output voltages may increase at different rates as the pedal moves. The DME continuously compares their readings to determine whether both signals represent a believable pedal position.
For example, BMW diagnostic information for certain N62TU-powered vehicles describes a relationship in which sensor 1 voltage is compared with twice sensor 2 voltage. The diagnostic system allows only a limited difference between the expected and actual readings. That particular comparison must not be treated as a universal specification for every BMW.
BMW service information for certain N55 applications also identifies a voltage supply between 9 and 16 volts as an operating condition for the relevant diagnostic monitoring. Its diagnostic procedure includes checking the pedal wiring, electrical connections, and 5-volt supply. Exact specifications depend on the DME version and vehicle configuration.
Understanding the code format
The first character, P, identifies a powertrain fault. The second character, 2, places the code in the standardized powertrain code range. P2138 has a generic SAE definition, even though BMW uses additional manufacturer-specific fault numbers and diagnostic descriptions to identify the underlying problem.
A BMW-capable scanner may display P2138 alongside a manufacturer-specific fault such as 2D20, 2D1B, or 103308, depending on the engine management system. These additional identifiers help technicians identify the exact monitoring strategy and determine which electrical measurements are required.
The following examples illustrate why the vehicle identification number, engine, and DME information matter during diagnosis.
| BMW application | BMW fault information | Diagnostic detail |
|---|---|---|
| 2006 330i, N52 | 2D20 | Compares pedal sensor 1 and sensor 2, with sensor 2 approximately half the voltage of sensor 1. |
| 2009 750Li, N63 | 103308 | Monitors the voltage relationship between the two pedal position sensors. |
| 2011 335xi, N55 | 103308 | Checks sensor correlation, wiring, connectors, and the 5-volt supply. |
| 2009 750Li, N63 | P2138 | The documented correlation fault can be recorded after a deviation persists longer than 340 milliseconds. |
These examples come from different BMW applications and should not be combined into one universal test specification. Always use the diagnostic information that matches the actual engine and DME installed in the vehicle. P2138 Nissan Code walks through the same code on another vehicle, which helps if the usual fix does not work.
Symptoms of a BMW P2138 Fault
P2138 can affect how the BMW responds to accelerator pedal input. Some vehicles develop noticeable drivability problems, while others initially show a warning light without an obvious change in engine operation. The symptoms depend on how frequently the fault occurs and how the DME responds to the failed sensor comparison.

When the DME cannot trust the accelerator pedal signals, it may restrict the permitted pedal range or reduce engine output. This can make acceleration unpredictable and prevent the engine from producing its normal power.
1. Check engine light
The check engine light may illuminate when the DME confirms a sensor correlation problem. Depending on the BMW model and fault strategy, the vehicle may also display an engine malfunction message in the instrument cluster or iDrive system.
An intermittent electrical connection can cause the warning to appear and disappear. However, the fault may remain stored in the DME even after the warning is no longer visible. Reading both current and stored diagnostic information is important.
2. Reduced engine power
Reduced engine output is one of the more important symptoms. The DME may activate a protective operating strategy when the two pedal signals disagree. Acceleration can become weak, and the vehicle may struggle to maintain speed on an incline.
BMW service information for the 2011 335xi identifies restricted engine output as a possible result of this fault. It also warns against attempting passing maneuvers when power is reduced.
3. Poor or delayed throttle response
A driver may press the accelerator and notice that the engine does not respond normally. The response may feel delayed, limited, or inconsistent. In some cases, the vehicle may accelerate only within a restricted pedal range.
This behavior can be especially noticeable when pulling away from a stop, climbing a hill, or attempting to accelerate into moving traffic. It does not automatically mean the throttle body is defective. P2138 concerns the relationship between pedal position signals, not necessarily the throttle plate itself.
4. Limp-home operation
Some BMW models enter a reduced-power or limp-home operating mode. The DME limits engine response to reduce the consequences of unreliable accelerator pedal information.
Depending on the fault combination, engine speed may be restricted, pedal movement may produce little change in engine output, or accelerator input may not be processed normally. A vehicle that enters this condition should not be treated as safe for normal commuting simply because the engine still runs.
5. Intermittent acceleration problems
An electrical connection that makes contact inconsistently can cause symptoms that appear only under certain conditions. Vibration, temperature changes, or movement in a damaged wiring harness may interrupt one of the sensor signals.
A BMW may drive normally during one trip and develop reduced power during another. This is why recording freeze-frame information and checking live sensor readings can be more useful than simply clearing the warning and waiting for it to return. For the same trouble code on a different platform, read P2138 Chevy.
Common Causes of P2138 on BMW Vehicles
The most common diagnostic suspects are the accelerator pedal position module, its wiring harness, and the electrical connectors between the pedal and DME. A voltage supply problem or internal DME fault is also possible. Testing should identify which part of the circuit is responsible before replacement begins.
1. Defective accelerator pedal position module
The accelerator pedal assembly contains the position sensors that communicate driver demand to the DME. Internal wear, electrical damage, or an electronic component failure can cause the two output signals to stop following their expected relationship.
A failing pedal module may produce inconsistent readings throughout its operating range. It may also generate an intermittent correlation fault even when the pedal appears to work normally during a short inspection.
BMW diagnostic procedures identify pedal module replacement as a possible repair after the wiring, connections, and sensor supply have been checked. The pedal should not be replaced solely because P2138 appears on a generic scanner.
2. Damaged accelerator pedal wiring
The wiring between the accelerator pedal module and DME carries sensor signals and electrical supply circuits. A broken conductor, damaged insulation, poor terminal contact, or short circuit can disrupt one signal while leaving the other apparently normal.
Wiring problems can result from previous repairs, improper accessory installation, physical damage, or corrosion. A connection that is only partially damaged may produce an intermittent problem rather than a permanent electrical failure.
3. Loose or corroded electrical connectors
A loose connector at the pedal assembly or a damaged terminal in the wiring harness can create resistance or interrupt the sensor signal. Moisture and contamination can also affect electrical contact quality.
Inspecting the connector is particularly important if the fault appeared after interior work, electrical repairs, water exposure, or installation of aftermarket equipment. The terminals should be checked for corrosion, bent contacts, damaged locking mechanisms, and signs of overheating.
4. Unstable 5-volt reference supply
The accelerator pedal sensors depend on a stable electrical supply and reliable ground or low-reference connections. BMW diagnostic procedures for relevant applications include checking the pedal module’s 5-volt supply.
If the supply is missing, unstable, or affected by another electrical fault, the sensor signals may become implausible. A technician should also check for related 5-volt reference codes because another sensor sharing a reference circuit can sometimes affect the electrical system.
5. Defective DME
The Digital Motor Electronics unit processes accelerator pedal signals and performs the correlation check. An internal electrical fault or damaged input circuit can cause incorrect readings or an inaccurate interpretation of otherwise valid signals.
A DME failure is generally a less direct diagnosis than a pedal module or wiring issue. The supply voltage, grounds, connector condition, and signal circuits must be checked before considering control module replacement.
6. Aftermarket electrical equipment
Poorly installed aftermarket accessories can interfere with vehicle electrical circuits. Equipment connected incorrectly to sensor reference, signal, or ground wiring may cause voltage disturbances or intermittent faults.
This possibility should be considered if the problem began after installing an alarm, remote-start system, tracking device, performance controller, or other electrical accessory. A technician should verify the installation rather than assuming the accelerator pedal has failed. A second fault on the same model is covered in P2195 BMW.
How to Diagnose BMW P2138 With an OBD2 Scanner
Accurate diagnosis requires more than reading the generic P2138 description. A BMW-capable scan tool should access the DME, retrieve manufacturer-specific fault information, display live accelerator pedal data, and identify related electrical faults. The goal is to determine whether the problem comes from the pedal module, wiring, voltage supply, or DME.
The following diagnostic sequence provides a practical starting point. Exact testing procedures and electrical limits should always follow the service information for the specific BMW model and engine.
Step 1: Read all DME fault codes
Connect the scanner to the vehicle’s 16-pin OBD2 diagnostic port, normally located beneath the driver’s dashboard. Turn the ignition on and perform a complete DME fault scan.
Record P2138 and every related manufacturer-specific code before clearing anything. Look for additional accelerator pedal sensor faults, 5-volt reference problems, supply voltage faults, and communication errors.
The distinction between a pending and confirmed code is also important. A pending code indicates that the fault has been detected but has not yet met the confirmation requirements. A stored code indicates a confirmed problem, while a permanent emissions code requires the relevant monitor to pass after the underlying fault is repaired.
Step 2: Review freeze-frame data
Freeze-frame data records operating conditions associated with a diagnostic fault. Depending on the scanner and BMW DME, available information may include engine speed, vehicle speed, calculated load, system voltage, and related operating parameters.
Check whether the fault occurred while accelerating, idling, or driving at a steady speed. Also note the recorded electrical system voltage. This information helps establish whether the problem is associated with a particular operating condition or an unstable electrical supply.
Do not erase freeze-frame data before recording it. Clearing codes too early can remove useful diagnostic evidence and make an intermittent fault harder to reproduce.
Step 3: Monitor accelerator pedal live data
Select the accelerator pedal position sensor 1 and sensor 2 parameters in the scanner’s live data menu. Some BMW tools display these as pedal travel sensor 1 and pedal travel sensor 2. Others may use different parameter names depending on the DME.
With the engine off and ignition on, observe the sensor readings while the accelerator pedal is moved gradually through its operating range, following the vehicle-specific service procedure. Both signals should change smoothly and maintain their specified relationship.
Look for the following abnormalities:
- One sensor remains fixed while the other changes.
- One signal suddenly drops to zero or jumps to an implausible value.
- The two signals no longer follow their expected relationship.
- The readings fluctuate when the pedal remains stationary.
- The sensor values change inconsistently during repeated pedal movement.
Do not expect both sensors to display identical voltage values or percentage readings. Their relationship depends on the specific BMW accelerator pedal design. Compare the results with the correct manufacturer specifications rather than applying a universal voltage formula.
Step 4: Check the 5-volt supply and ground
If live data indicates an electrical problem, the next step is checking the sensor supply and ground circuits. BMW diagnostic procedures for applicable systems specifically include verifying the 5-volt supply at the accelerator pedal module.
A qualified technician can use the appropriate wiring diagram and a digital multimeter to check the specified terminals. The measured values should be compared with the correct BMW service specifications.
Avoid guessing connector pin assignments. Incorrect probing can damage sensitive control module circuits, and shorting a 5-volt reference wire to another terminal can create additional electrical faults.
Step 5: Inspect the wiring and connectors
Inspect the accelerator pedal connector and accessible wiring for visible damage, corrosion, moisture, or signs of previous repairs. Check whether the connector locking mechanism is intact and whether the terminals have signs of poor contact.
If an intermittent fault is suspected, a technician may perform an approved harness movement test while monitoring the live sensor readings. A sudden change during this test can help identify an internal wire break or poor terminal connection.
The wiring between the pedal and DME should also be checked for continuity, shorts, and excessive resistance when the diagnostic results justify those tests. Follow the correct BMW wiring diagram because circuit routing differs between models.
Step 6: Evaluate related faults and advanced data
Check whether other DME faults point toward a shared power supply, ground, or communication problem. Several sensor faults appearing together may indicate a common electrical issue rather than multiple failed components.
Mode $06 can provide useful onboard monitor results on supported vehicles and scan tools. However, it is not guaranteed to expose the BMW-specific pedal correlation test in a useful format. Manufacturer-enhanced DME live data and test plans are generally more valuable for this particular fault.
Fuel trims are not the primary diagnostic measurements for P2138 because the fault concerns accelerator pedal signal correlation rather than air-fuel mixture control. Short-term and long-term fuel trim data may help investigate additional engine problems, but they cannot establish whether the pedal sensors are functioning correctly.
Tip: Save the original DME codes, freeze-frame information, and both pedal sensor readings before clearing faults. If the BMW enters reduced-power mode, do not repeatedly accelerate the engine in an attempt to reproduce the problem. Electrical testing should follow the correct wiring diagram and manufacturer procedures. Never bypass the redundant pedal sensors or connect test equipment in a way that could short the DME circuits.
Step 7: Confirm the repair
After repairing the identified electrical or sensor problem, clear the stored faults using the appropriate scan tool. Follow the BMW-specific verification procedure and confirm that the pedal sensor signals remain consistent throughout their operating range.
The technician should also confirm that the DME no longer detects the correlation problem and that normal engine response has returned. A permanent diagnostic code may remain until the relevant monitor completes and passes its self-test. A related problem on the same vehicle is explained in P2196 BMW.
P2138 BMW Repair Options, Severity, and Driving Safety
P2138 should be treated as an important drivability fault because the accelerator pedal is a primary driver control. A BMW may continue running, but reduced or unpredictable acceleration can create a dangerous situation in traffic. The correct repair depends on the electrical test results rather than the code description alone.
Is it safe to drive with P2138?
Driving with P2138 is not recommended if the vehicle has reduced engine power, delayed throttle response, or inconsistent acceleration. These conditions can make it difficult to merge, climb hills, or maintain a safe distance from surrounding traffic.
If the engine enters limp-home mode, avoid highways, steep roads, and situations that require sudden acceleration. Arrange professional diagnosis and towing if the vehicle cannot maintain a safe speed or respond predictably to the accelerator.
If the check engine light is on but the vehicle currently drives normally, the problem still requires prompt inspection. An intermittent sensor fault can return without warning. Normal operation at one moment does not prove that the accelerator pedal system is reliable.
Common repair options
Once the defective circuit or component has been identified, the repair generally involves one of the following options.
- Accelerator pedal module replacement: Necessary when the internal position sensors fail testing or their signals remain incorrect despite a verified supply, ground, and wiring condition.
- Wiring harness repair: Appropriate when damaged conductors, shorts, excessive resistance, or intermittent electrical connections are confirmed.
- Connector repair: Required when loose, corroded, contaminated, or damaged terminals interfere with the pedal sensor signals.
- Electrical supply repair: Needed when a defective reference supply or ground connection affects the sensor readings.
- DME diagnosis and repair: Considered only after the pedal module, external wiring, connectors, power supply, and grounds have been evaluated.
What affects BMW P2138 repair costs?
Repair costs depend on which component has failed, how difficult it is to access, and how much diagnostic work is required. A straightforward connector repair is different from replacing an accelerator pedal module or investigating a complex DME electrical fault.
The main cost factors include:
- Replacement parts: The cost depends on the correct accelerator pedal assembly, connector components, wiring materials, or control module involved.
- Labor hours: Diagnosing intermittent wiring faults may require more time than replacing an accessible pedal assembly after testing confirms its failure.
- Diagnostic equipment: BMW-specific scanners and electrical testing equipment may be needed to access enhanced DME data and confirm the problem.
- Vehicle configuration: Engine management system differences and the complexity of accessing wiring can affect repair time.
- Shop versus DIY: Professional diagnosis includes labor and equipment charges. DIY repair may reduce labor expenses but requires suitable tools, correct technical information, and electrical diagnostic experience.
A shop should explain the test results and identify the failed component before recommending replacement. Ask whether the pedal sensor supply, connector condition, and wiring have been checked. Replacing the DME without establishing an internal control module fault is an especially expensive diagnostic mistake.
When professional diagnosis is the better option
Professional assistance is recommended when the fault returns after clearing, the vehicle repeatedly enters limp mode, or the two pedal sensor signals cannot be interpreted confidently. A BMW specialist can compare the DME fault information with the correct wiring diagrams and test specifications.
This is particularly important when multiple electrical codes appear together. A shared reference voltage problem or damaged wiring circuit can affect several components, and replacing individual sensors may not correct the underlying issue. For tools that help with this kind of work, check Best OBD2 Scanner with Free Updates.
For additional background on how P2138 can relate to accelerator pedal sensor signals, see the NHTSA-hosted technical service bulletin discussing P2138 and reduced engine power. Although that bulletin applies to specified GM vehicles rather than BMWs, it illustrates why wiring, connectors, and electrical interference should be investigated instead of automatically replacing the pedal.
BMW-specific diagnostic information is also available in the BMW MEVD17.2-BN2020 engine control unit service information, which identifies pedal sensor correlation faults, potential wiring problems, and recommended electrical checks.
Frequently Asked Questions
These additional questions address practical details that can help BMW owners understand the fault and avoid unnecessary repairs.
1. Can P2138 appear without illuminating the check engine light?
Yes. A BMW may record an intermittent or historical DME fault without keeping the check engine light illuminated. The warning strategy depends on the vehicle’s software and the conditions under which the fault occurs. A complete DME scan can reveal information that is not visible on the dashboard.
2. Does a new accelerator pedal need programming on a BMW?
Requirements depend on the specific BMW model and replacement procedure. Some applications may require a pedal or throttle adaptation procedure, while others do not require separate coding for the pedal assembly. Check the vehicle-specific service instructions before assuming that programming is necessary.
3. Can a weak BMW battery cause accelerator pedal sensor faults?
Low system voltage can contribute to electronic control system problems and may produce additional voltage-related faults. A healthy fully charged battery typically measures approximately 12.6 volts at rest, while a functioning charging system commonly produces approximately 13.5 to 14.7 volts with the engine running. These checks can help identify broader electrical problems, but they do not prove that the battery caused P2138.
4. Will disconnecting the BMW battery permanently fix P2138?
No. Disconnecting the battery does not repair a defective sensor, damaged wire, or poor connector. It may also erase useful diagnostic information and reset certain vehicle settings. A confirmed permanent emissions-related fault will not clear simply because the battery was disconnected; the underlying problem must be corrected and the relevant monitor must pass.
5. Can P2138 cause a BMW to fail an emissions inspection?
It can. If the fault illuminates the malfunction indicator lamp or prevents required OBD readiness monitors from completing, the vehicle may fail an applicable emissions inspection. Inspection requirements vary by state, and clearing diagnostic codes immediately before testing does not guarantee that the vehicle will pass.
P2138 on a BMW indicates an incorrect relationship between the accelerator pedal position sensor signals, but it does not automatically mean the pedal assembly has failed. Start with a BMW-capable scan, inspect the wiring and connectors, and verify the 5-volt supply before replacing components. Prompt diagnosis is important because reduced engine power and unpredictable throttle response can make driving unsafe.
-
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 BMW: Find the Cause of a Lean Idle and Fix It
LearnP2196 BMW: Find the Cause of a Rich O2 Sensor Signal
LearnP2195 BMW: Diagnose the Lean Oxygen Sensor Fault
LearnP2138 Code: What It Means and How to Fix It
LearnP2237 BMW: Diagnose the Oxygen Sensor Circuit and Fix the Fault
LearnP1335 Code: Identify the Fault and Diagnose It Correctly