OBD-II Generic Error Code P2138: How to Fix It
Medium 1-3 hours Medium Severity
Verified June 2026
- Error Code
- P2138
- Brand
- OBD-II Generic
- Product Type
- automotive
- Severity
- Medium
- DIY Difficulty
- Medium
- Estimated Fix Time
- 1-3 hours
Ad
Tools You'll Need
- OBD2 diagnostic scanner (code reader with live data capability)
- Digital multimeter
- Backprobe test leads or T-pins
- Throttle body cleaner spray
- Basic socket set and ratchet (metric)
- Phillips and flathead screwdrivers
- Vehicle-specific wiring diagram or service manual
- Solder-and-seal wire connectors (for wiring repairs)
How to Fix Error Code P2138
-
Scan and Record All Active Codes
Do not clear codes without first recording them. Freeze frame data is critical for accurate diagnosis and will be lost after clearing. -
Inspect the Accelerator Pedal Position (APP) Sensor Wiring
Always turn the ignition fully OFF before unplugging any sensor connectors to avoid sending voltage spikes to the ECM. -
Test APP Sensor Voltages with a Multimeter
Use the backprobe method carefully to avoid spreading connector terminals. Do NOT short any pins to ground during testing. -
Inspect the Throttle Body and Its Wiring
Never spray throttle body cleaner into a running engine. On drive-by-wire systems, do NOT manually force the throttle plate open — do so only gently by hand with ignition OFF to avoid damaging the motor. -
Check for Power and Ground at Both Sensors
-
Replace the Accelerator Pedal Position Sensor if Faulty
Use only a quality replacement part that is compatible with your specific vehicle's year, make, and model. An incorrect sensor can create new faults. -
Replace the Throttle Body if Sensor Tests Point to It
On some vehicles, installing a new throttle body without performing the relearn procedure will result in rough idle, stalling, or additional fault codes. -
Inspect and Repair Wiring Harness if All Components Test Good
Never use standard electrical tape for automotive wiring repairs in engine bays. Use heat-shrink solder connectors or OEM-style repairs to ensure long-term durability.
Parts You May Need
Accelerator Pedal Position Sensor Assembly
Check Price on Amazon
Electronic Throttle Body Assembly
Check Price on Amazon
Wiring Harness Repair Kit (solder-and-seal connectors, automotive wire)
Check Price on Amazon
Throttle Body Cleaner Spray
Check Price on Amazon
Accelerator Pedal Position Sensor Assembly
Check Price on Amazon
Electronic Throttle Body Assembly
Check Price on Amazon
Wiring Harness Repair Kit (solder-and-seal connectors, automotive wire)
Check Price on Amazon
Throttle Body Cleaner Spray
Check Price on Amazon
Accelerator Pedal Position Sensor Assembly
Check Price on Amazon
Electronic Throttle Body Assembly
Check Price on Amazon
Wiring Harness Repair Kit (solder-and-seal connectors, automotive wire)
Check Price on Amazon
Throttle Body Cleaner Spray
Check Price on Amazon
Accelerator Pedal Position Sensor Assembly
Check Price on Amazon
Electronic Throttle Body Assembly
Check Price on Amazon
Wiring Harness Repair Kit (solder-and-seal connectors, automotive wire)
Check Price on Amazon
Throttle Body Cleaner Spray
Check Price on Amazon
Ad
When to Call a Professional
You should seek a professional mechanic or automotive technician if: the vehicle is stuck in reduced power/limp mode and unsafe to drive to a shop (arrange a tow); you do not have access to a multimeter or OBD2 scanner with live data; all sensor and wiring tests pass but the code keeps returning (possible ECM issue requiring dealer-level diagnostics); or if your vehicle requires a dealer-specific throttle relearn procedure that cannot be performed with a standard aftermarket scanner. ECM replacement or reprogramming should always be handled by a professional.Frequently Asked Questions
Can I drive my car with a P2138 code?
Driving with P2138 is not recommended for extended periods. The code often triggers reduced engine power mode, which limits throttle response and can make the vehicle feel sluggish or unresponsive — particularly dangerous in situations requiring quick acceleration such as merging onto a highway. For short, low-speed trips to a repair shop it may be possible, but you should address this fault as soon as possible.
What is the most common cause of code P2138?
The most common cause of P2138 is a failing accelerator pedal position (APP) sensor assembly. Over time the dual internal sensors within the assembly can wear and produce signals that no longer match the expected correlation. Corroded or damaged wiring connectors at the APP sensor are a close second cause and should always be inspected first since they are a free fix.
How much does it cost to fix a P2138 code?
If the fix is a simple connector cleaning or minor wiring repair, cost can be minimal — just your time. Replacing an accelerator pedal position sensor assembly typically costs between $50 and $200 for the part, plus $75 to $150 in labor if done at a shop. Replacing an electronic throttle body is more expensive, generally $150 to $400 for the part plus $100 to $200 in labor. ECM replacement, if ever needed, can exceed $500 to $1,500 depending on the vehicle.
Will P2138 clear itself after the problem is fixed?
Once the underlying fault is repaired, the code will typically clear itself after a set number of successful drive cycles — usually 3 to 5 cycles without the fault reoccurring. However, it is best practice to manually clear the code with an OBD2 scanner after the repair so you can immediately confirm whether the fix was successful on your next test drive rather than waiting for the self-clear.
Is P2138 the same as P0120 or other throttle codes?
Not exactly. P0120 relates to a general throttle/pedal position sensor circuit malfunction for sensor A, while P2138 specifically flags a voltage correlation failure between sensors D and E — meaning the two sensors are not tracking together as expected. Both codes involve the throttle or pedal position sensing system, but P2138 is specifically a rationality or correlation fault rather than a simple out-of-range voltage fault. It is common for multiple throttle-related codes to appear together, so always address all stored codes.