P2138: Throttle/Pedal Position Sensor/Switch 'D' / 'E' Voltage Correlation
P2138 means the engine computer sees a mismatch between the voltage signals from the throttle or accelerator pedal position sensors, which can put the car into reduced-power mode. The most common fix is repairing the throttle body, accelerator pedal sensor, or wiring issue, which typically costs about $150 to $600 at an independent shop.
- Severity
- High
- Can I drive?
- Drive with caution
- DIY?
- Possible with some experience
- Repair cost range
- $100 – $650
Get the answer for your exact car
Add your car and a few details. DashClue asks up to 3 questions, then tells you the most likely cause and what it should cost.
FreeNo card neededAnswer in about 2 minutes
What does P2138 mean?
Your car uses multiple position sensors to make sure the throttle and pedal signals agree with each other. When the voltages from sensors 'D' and 'E' do not match the way they should, the computer assumes there may be a fault and limits engine power to protect the vehicle. This code can be caused by a bad sensor, a dirty or failing throttle body, damaged wiring, or a connector problem. On many cars, you may notice the engine will not respond normally when you press the gas.
Common symptoms
- Check engine light on
- Reduced engine power
- Slow or delayed throttle response
- Car hesitates when accelerating
- Rough idle
- Limp mode or limited speed
Causes, fixes and costs
P2138: Throttle/Pedal Position Sensor/Switch 'D' / 'E' Voltage Correlation
General guide for most cars. Your car may differ.
The car may lose normal acceleration and go into limp mode, which can make merging or passing unsafe. If the engine stalls, will not respond to the gas pedal, or the check engine light starts flashing, stop driving and have it towed.
Most likely causes
- 1
Failing throttle body assemblyHigh
A worn electronic throttle body often causes inconsistent sensor readings, especially if the car idles poorly, hesitates, or stays in reduced-power mode. This is more likely if the problem returns right after clearing the code.
Quick check: Inspect the throttle body for heavy carbon buildup and scan live data for throttle position signals that do not track each other smoothly.
- 2
Faulty accelerator pedal position sensorHigh
If the code appears when pressing the pedal and the car responds weakly or unevenly, the pedal sensor may be sending a bad signal. Some vehicles combine the sensors in the pedal assembly, so the whole unit may fail.
Quick check: Watch live data while slowly pressing the pedal; if one sensor jumps, drops out, or disagrees with the others, the pedal assembly is suspect.
- 3
Damaged wiring or loose connectorMedium
Intermittent warning lights, problem changing with bumps, or the code coming and going often points to wiring near the throttle body or pedal. Corrosion, bent pins, or rubbed-through wiring can distort the voltage signal.
Quick check: Inspect connectors for corrosion, loose locks, broken wires, or damaged insulation and wiggle-test the harness while monitoring data.
- 4
Dirty throttle body or poor throttle plate movementMedium
A sticky throttle plate can make the sensor signals look wrong if the plate does not move smoothly with pedal input. This often shows up with hesitation, rough idle, or low-power complaints.
Quick check: With the engine off, inspect the throttle bore for carbon and check that the plate moves freely if the design allows manual inspection.
Can you fix it yourself?
Possible with some experience
Difficulty: Moderate. Basic cleaning and connector inspection can be DIY on some cars, but electrical diagnosis needs a scan tool that shows live throttle and pedal data. If the throttle body or pedal assembly is replaced, many vehicles also need a relearn or calibration procedure.
Show the stepsHide the steps
- Scan for codes and freeze-frame data
- Check the throttle body and pedal connectors for looseness or corrosion
- Inspect wiring near the throttle body and accelerator pedal
- Clean the throttle body if carbon buildup is present and the design allows it
- Clear the code and road test
- If the code returns, compare live sensor data for mismatched signals
- Replace the failed throttle body, pedal sensor, or repaired wiring as needed
- Perform any required relearn or calibration procedure
Estimated repair cost
$100 – $200
Throttle body cleaning and throttle relearn: shop cleaning plus scan-tool relearn
- Accelerator pedal position sensor or pedal assembly$180 – $450
- Electronic throttle body replacement$250 – $650
- Wiring repair or connector replacement$120 – $400
- Throttle body/pedal calibration diagnosis$100 – $180
Prices vary by vehicle, labor rate, and whether the repair needs programming or a relearn.
Frequently asked questions
Can I drive with code P2138?
Usually yes for a short trip, but drive gently because the car may enter reduced-power mode or hesitate when you press the gas. If it stalls, loses throttle response, or the engine light flashes, stop driving.
What is the most common fix for P2138?
The most common fixes are replacing the faulty throttle body or accelerator pedal sensor assembly, or repairing wiring and connector problems. The right repair depends on which sensor signals do not match in live data.
How much does it cost to fix P2138?
A typical independent-shop repair runs about $150 to $600, but it can be more on vehicles that need a full throttle body assembly or electronic calibration. Simple cleaning or connector repairs are usually on the lower end.
Will P2138 clear by itself?
It may go away temporarily if the signal problem is intermittent, but the fault usually comes back until the underlying issue is fixed. Clearing the code without repairing the cause does not solve the problem.
Can a dirty throttle body cause P2138?
Yes, carbon buildup can make the throttle plate move poorly and upset the sensor correlation. Cleaning may help if the throttle body is otherwise in good shape, but it will not fix a worn sensor or damaged wiring.
Related codes
- P0120 Throttle/Pedal Position Sensor/Switch 'A' Circuit
- P0121 Throttle/Pedal Position Sensor/Switch 'A' Circuit Range/Performance
- P0122 Throttle/Pedal Position Sensor/Switch 'A' Circuit Low
- P0123 Throttle/Pedal Position Sensor/Switch 'A' Circuit High
- P0220 Throttle/Pedal Position Sensor/Switch 'B' Circuit
- P2135 Throttle/Pedal Position Sensor/Switch 'A' / 'B' Voltage Correlation
This guide covers most cars and is general advice, not an inspection. Prices are typical US independent-shop ranges and vary by region, car and shop. If your brakes, steering or a warning light feel unsafe, stop driving and contact a mechanic.