P2138: Accelerator pedal sensors D and E disagree
The two sensors in the accelerator pedal, labelled D and E, report pedal positions that do not match. The computer cannot be sure how far you are pressing the pedal, so it limits engine power.
How the car decides
Drive-by-wire pedals contain two independent position sensors, so the computer can catch a fault before it turns into unintended acceleration. Usually one signal is roughly double the other, or they run on separate references, and they must keep that relationship through the whole pedal travel. If they drift apart, P2138 is set and the car drops to reduced power, often letting the engine only idle or rev gently. The pedal assembly sits in the driver’s footwell, so wear, a wet floor from a leaking windscreen or door seal, or a harness pinched by the floor mat or seat rail are realistic causes. A shared sensor reference fault, which may also set P0641, can trigger it too. The sensors are part of the pedal assembly, which is replaced as one part.
Common causes of P2138
- Worn accelerator pedal position sensor assemblyCommon
- Corroded or loose connector at the pedalCommon
- Damaged wiring under the dash or carpetPossible
- Water in the footwell reaching the pedal connectorPossible
- Sensor reference voltage fault shared with other sensorsPossible
- Engine computer faultLess common
Symptoms
- Limp mode with very limited acceleration
- Pedal feels dead or response is delayed
- Fault may come and go with pedal position
- Electronic throttle warning light
What to check first
- Check the driver’s footwell for damp carpet or water that could reach the pedal connector.
- With ignition off, inspect the pedal connector and make sure it is fully latched.
- With engine off and ignition on, press the pedal slowly through its full travel while watching both pedal sensor readings; they should rise smoothly and stay in step.
- Make sure the floor mat is secured and not pressing on the pedal or its wiring.
- Look for P0641 or other 5 V reference codes stored at the same time.
How urgent is it?
Get it fixed promptly. Losing power suddenly when pulling into traffic is a real risk, so avoid fast roads until the pedal signal is reliable.
General information, not a diagnosis of your car. Have a qualified mechanic confirm the cause before you replace parts, and stop driving if the car runs badly, overheats or the warning light flashes.
Questions
Can a floor mat cause P2138?
A loose or extra floor mat can press on the pedal assembly or its wiring and, in some cases, contribute to erratic signals. Make sure the mat is fixed to its clips, but a worn pedal or wiring fault remains the more common cause.
Is P2138 the throttle body?
Usually not. P2138 is about the accelerator pedal’s two sensors, while P2135 is about the throttle body sensors on most cars. The repair focus is the pedal assembly and its wiring.
Reading the code itself
- System
- P: Powertrain: engine, fuel, emissions or transmission
- Type
- P2: Generic: the same meaning on every make
- Subsystem
- 1: Fuel and air metering
- Fault number
- 38