Q: I get trouble code P2138, but I have cleared it and the car works for a while. Now I am getting trouble code P2127 along with P2138.

asked by on October 27, 2016

Have had ongoing issues with P2138 , clear , works for a while. Now I am getting P2127 along with P2138 and i dont want to just start throwing parts at it like throttle body, pedal sensor etc.The car goes into reduced power mode and this has been a problem for a while. I checked for any obvious wiring issues like exposed wire etc. I have a feeling you may recommend the dealer for diagnostics but just thought I would check. This particular model you cant replace the sensor on the throttle body, they want you to replace the whole TB. My other concern is that it might be the computer itself might be bad. Any information would be greatly appreciated.

Scott Couser

My car has 73000 miles.
My car has an automatic transmission.

Hi there. The pedal position sensor on the gas pedal has lost signal for the switch ’E’ and ’D’. The code P2138 means that the computer has discovered a malfunction with the pedal sensor.

Check the harness to the gas pedal and see if there is any moisture or debris on the contacts. If there is no debris, then use a digital volt ohm meter (DVOM) and check resistance on the circuits to the sensor with the pedal in up position and down position. If the resistance has no change or very little change, then the sensor needs replacing. If the resistance is strong and seems normal, then check the wiring from the pedal to the computer for any broken or loose wires.

If you need further assistance troubleshooting your vehicle, then seek out a certified technician, such as one from YourMechanic, who can determine what exactly has gone wrong and replace the pedal position sensor if needed.

The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing


Experienced Mechanic?

Earn up to $70/hr

What others are asking

What does the fuel gauge tell you?
Without gas, your car won’t be going much of anywhere. The fuel gauge in the dash gives you information about how much gas is left in the tank, so you know when you need to find a gas station and...
Car ticking and smoking.
The 4.0 L engine in these years were known to have a lot of issues with the timing chain guides coming apart and causing lout ticking noises from the timing chains. You would have to have major engine timing chain...
Car hesitating after full stop
Hello, the code you have could be for two separate issues. The first one to look at is codes p0014 (exhaust valve performance bank 1) and p0024 (exhaust valve performance bank 2). The first thing to check is the engine...
Headlight going off
There are 3 items in the xenon light circuit responsible for igniting the bulb. According to Infiniti's TSB on xenon light, they recommend replacing the bulb first, and that will solve most problems. The HID control unit, and the harness...
Bench testing the wiper motor - 1979 Chevrolet C30
Many part suppliers can provide wiring diagrams for older vehicles like your truck - Autozone for example has these on their web site. The wiring diagram may provide enough detail on the power path in each wiper switch position to...
Tachometer malfunction
Hello. There are a few reasons why this is happening. The tachometer (https://www.yourmechanic.com/article/3-essential-things-to-know-about-your-car-s-tachometer) on the instrument cluster may be bad, and the instrument cluster may need to be replaced. There also could be a problem with the speedometer shaft and...
Cherry red catalytic converter.
Hi there. Usually, oxygen sensors do not cause this problem, but if the oxygen sensor itself is causing the truck to run lean, then that could cause this issue. If the oxygen sensor is bad, the Check Engine light would...
Check engine light appears and disappears
Sometimes when a check engine light comes on it will set a code in the computer and if after a set time limit the problem does not repeat the computer can turn off the light and go back to normal...
No start when hot but starts perfect when cold/cooled off for 20+ minutes.
Hi there. Check the Internal Control Pressure Sensor (ICP) and see if its not working properly. If the ICP is working fine, then it is possible that the inner lining in the fuel tank may have come apart and has...

Related articles

How Long Does an Injector Control Pressure Sensor Last?
A A diesel engine is a very sensitive and complicated piece of machinery. Getting a diesel to crank will require a number of parts to work together. Among the most vital systems on a diesel engine is the fuel injection....
P001F OBD-II Trouble Code: “A” Camshaft Profile Control Circuit High
P001F P001F code definition The P001F code indicates a problem with the timing in your engine. What the P001F code means This PCM code means that the signals that are moving between the crankshaft and the camshaft are not in...
P0752 OBD-II Trouble Code: Shift Solenoid A Stuck On
P0752 code means an abnormality was detected by the PCM in shift solenoid A often due too low/dirty transmission fluid or valve malfunction.