P2138 Toyota: Diagnose Accelerator Pedal Sensor Problems
17 min read · by Nicole Bennett · Last updated: November 25, 2026
The p2138 toyota diagnostic trouble code means the engine computer has detected an incorrect voltage relationship between the accelerator pedal position sensor’s two signal circuits. These circuits help the electronic throttle control system determine how far the driver presses the accelerator. When their readings do not agree with the expected relationship, the engine control module (ECM) can limit engine power or enter a fail-safe operating mode.
The problem may involve a defective accelerator pedal position sensor, damaged wiring, a connector problem, a short circuit, or, less commonly, the ECM. Symptoms range from an illuminated check engine light to delayed acceleration, reduced power, and an engine that barely responds to the accelerator. The correct repair depends on testing both sensor signals and their electrical circuits rather than automatically replacing the pedal assembly.
What P2138 Means on a Toyota
P2138 is the generic SAE diagnostic definition for Throttle/Pedal Position Sensor/Switch D/E Voltage Correlation. On Toyota applications, the fault generally concerns the two accelerator pedal position sensor signals identified as VPA and VPA2. The ECM compares these signals to verify that accelerator pedal movement is being reported correctly.
Modern Toyota electronic throttle control systems do not rely on a conventional mechanical cable connecting the accelerator pedal to the throttle plate. Instead, the accelerator pedal contains an electronic position sensor. Pressing the pedal changes its electrical output, and the ECM uses that information to control the throttle actuator. The system also monitors a second signal as a safety check.
Understanding VPA and VPA2
Toyota service documentation for the 2AZ-FE engine describes a non-contact accelerator pedal position sensor with two Hall-effect sensing elements. VPA is the main signal, while VPA2 is the secondary signal. Both change as the accelerator pedal moves, but they have different expected voltage ranges. The ECM checks their relationship rather than expecting identical readings.
For the documented 2AZ-FE application, the main signal operates between approximately 0.5 and 4.5 volts, while the secondary signal operates between approximately 1.2 and 5.0 volts. Toyota specifies that their voltage difference must remain greater than 0.02 volts under the listed normal operating conditions. These figures are application-specific and should not be treated as universal specifications for every Toyota.
In that particular service procedure, P2138 can set when the difference between VPA and VPA2 reaches 0.02 volts or less for 2.0 seconds. Another documented condition involves VPA falling to 0.4 volts or less while VPA2 is at 1.2 volts or less. The ECM interprets these readings as an electrical correlation problem.
| Diagnostic item | Documented 2AZ-FE value |
|---|---|
| VPA operating range | 0.5–4.5 V |
| VPA2 operating range | 1.2–5.0 V |
| Minimum expected signal difference | Greater than 0.02 V |
| P2138 correlation threshold | 0.02 V or less |
| Correlation detection duration | 2.0 seconds |
| Alternative low-voltage condition | VPA at or below 0.4 V and VPA2 at or below 1.2 V |
The important distinction is that P2138 does not necessarily mean both sensors have failed. One signal may be incorrect while the other remains functional. The ECM detects that their relationship is no longer acceptable and takes protective action.
The code description remains the same across applicable Toyota vehicles, but causes vary by model year and engine. Always use the correct Toyota repair information before applying a specific voltage threshold or replacement procedure. For the same trouble code on a different platform, read P2138 Acura.
Common P2138 Toyota Symptoms
The symptoms of P2138 depend on how the ECM responds to the incorrect accelerator pedal signals. Some vehicles may continue operating with reduced engine output, while others may barely respond when the driver presses the accelerator. An illuminated check engine light is a common warning, but reduced acceleration is the more important concern.

Because the accelerator pedal is an input for electronic throttle control, an unreliable position signal can affect how the engine responds to driver commands. Toyota’s fail-safe strategy is designed to reduce the risk of uncontrolled throttle operation. This protective strategy can make the vehicle difficult or unsafe to operate in normal traffic.
Symptoms to Watch For
- Check engine light: The ECM stores P2138 after detecting an unacceptable relationship between the accelerator pedal position signals.
- Reduced engine power: The ECM may restrict throttle operation when it detects an accelerator pedal signal problem.
- Weak accelerator response: Pressing the pedal may produce little acceleration or a delayed response.
- Limited vehicle speed: The vehicle may struggle to accelerate normally, particularly when merging or climbing a hill.
- Engine stuck at idle: If both accelerator pedal sensor circuits become unusable, certain Toyota systems treat the pedal as released and close the throttle.
- Intermittent acceleration problems: A damaged connector or unstable electrical connection can cause symptoms that appear and disappear.
- Additional warning lights: Depending on the Toyota model and the fail-safe response, other powertrain or electronic throttle warnings may appear.
Why the Symptoms Can Change
A Toyota with one functioning accelerator pedal sensor circuit may behave differently from one with two failed circuits. Toyota’s documented 2AZ-FE strategy allows the ECM to use the remaining signal when one circuit malfunctions. If both signals become unreliable, the system treats the accelerator as released and the engine may remain at idle.
Intermittent problems can also be confusing. The vehicle may accelerate normally during one trip and enter reduced-power mode during another. This can happen when a damaged wire, loose terminal, or internal sensor fault produces an inconsistent signal. A stored trouble code may remain even when the symptoms temporarily disappear.
Do not assume the vehicle is safe simply because the accelerator works during a short test. A fault affecting electronic throttle control can return unexpectedly, including while driving in traffic. If you work on more than one brand, keep P2138 VW handy as well.
Common Causes of the P2138 Fault
P2138 usually points toward an electrical problem involving the accelerator pedal position sensor or its circuits. The pedal assembly is a common suspect, but wiring and connector faults must also be considered. Replacing parts without checking both signal paths can lead to unnecessary repairs.

1. Defective Accelerator Pedal Position Sensor
The accelerator pedal position sensor is one of the first components to investigate. It contains two sensing elements that provide separate position signals to the ECM. An internal electrical defect can cause one output to become unstable, disappear, or stop following the expected voltage pattern.
Sensor wear, internal electronic failure, or damage to the pedal assembly can produce an incorrect correlation. A scanner may show one signal changing smoothly while the other remains fixed or changes unpredictably. If the wiring and reference circuits are verified, replacing the complete pedal sensor assembly may be the appropriate repair.
2. Damaged Wiring or a Short Circuit
The VPA and VPA2 circuits carry important electrical signals between the pedal sensor and the ECM. Damaged insulation, pinched wires, corrosion, or contact between two signal wires can disrupt their relationship. Toyota service documentation specifically lists a short between the VPA and VPA2 circuits as a possible P2138 trouble area.
Wiring damage can develop from previous repairs, vibration, moisture exposure, or contact with surrounding components. A fault may also occur near a connector where repeated movement or poor terminal contact affects electrical continuity. Inspecting the complete circuit is important before condemning the sensor.
3. Loose or Corroded Electrical Connectors
A connector that is not fully seated can interrupt one or both sensor signals. Corrosion, moisture, bent terminals, or weakened terminal tension can create intermittent resistance. These problems may cause a voltage reading to change when the vehicle moves or when the wiring harness vibrates.
A visual inspection should include the accelerator pedal sensor connector and the accessible wiring leading toward the ECM. Look for damaged insulation, moisture, corrosion, broken locking tabs, and signs of previous electrical repairs. Connector appearance alone does not prove that the terminals make reliable electrical contact.
4. Deformed Accelerator Pedal Assembly
A physically damaged accelerator pedal or pedal arm can affect the sensor’s ability to report pedal movement correctly. Toyota’s documented 2GD-FTV diagnostic information lists a deformed accelerator pedal rod or arm among possible trouble areas for the related pedal sensor faults.
Inspect for visible damage, binding, unusual movement, or an obstruction that prevents the pedal from returning smoothly. Floor mats and other objects should not interfere with pedal movement. Do not attempt to bend or modify an electronic accelerator pedal assembly to correct a sensor reading.
5. ECM or Power Supply Problems
The ECM monitors the accelerator pedal signals and controls the electronic throttle system. An internal ECM fault is possible, but it should be considered only after the sensor, wiring, connectors, reference supplies, and grounds have been tested.
Low system voltage or unstable electrical power can also complicate electronic diagnostics. A fully charged automotive battery generally measures approximately 12.6 volts at rest, while a functioning charging system commonly produces about 13.5 to 14.7 volts with the engine running. These are general electrical checks, not Toyota-specific P2138 pass/fail thresholds.
A technician should avoid replacing the ECM based solely on the presence of P2138. Control module replacement can require vehicle-specific programming, registration, and initialization procedures. A second fault on the same model is covered in P2196 Toyota Code.
How to Diagnose P2138 With an OBD2 Scanner
A proper P2138 diagnosis starts with a complete scan and a comparison of the two accelerator pedal position signals. A basic code reader can identify the fault, but a Toyota-compatible enhanced scanner provides more useful information. The most important readings are the main and secondary accelerator pedal sensor outputs.
Toyota service procedures use Techstream or the appropriate Toyota diagnostic system to access enhanced powertrain data. Some aftermarket scanners provide similar information under different menu names. Confirm that the scanner supports Toyota-specific accelerator pedal live data before relying on it for diagnosis.
Step 1: Read All Diagnostic Trouble Codes
Connect the scanner to the 16-pin OBD-II diagnostic connector, usually located beneath the driver’s side dashboard. Turn the ignition on and perform a complete vehicle scan. Record every stored, pending, and permanent code before clearing anything.
Look for related codes such as P2120, P2122, P2123, P2125, P2127, and P2128. These codes relate to accelerator pedal position sensor circuits and can help identify whether the problem concerns one signal, a voltage range, or the correlation between two signals. Other power supply or reference voltage codes may also provide useful clues.
A pending code means the fault has been detected but has not yet met the confirmation requirements. A stored or confirmed code indicates that the monitoring system has recognized the malfunction. Permanent codes require the fault to be corrected and the relevant monitor to pass before they clear automatically.
Step 2: Examine Freeze-Frame Data
Freeze-frame data records vehicle operating conditions when the ECM detects a fault. Save this information before clearing codes. Toyota’s diagnostic procedure specifically recommends reviewing freeze-frame information because it can help establish whether the malfunction happened while the vehicle was moving, stationary, or operating under particular engine conditions.
Useful information includes engine speed, vehicle speed, coolant temperature, system voltage, engine load, and accelerator pedal position when supported by the vehicle and scanner. Compare these values with the driver’s description of the problem. For example, a fault that occurs during acceleration may require closer examination of the sensor outputs during pedal movement.
Step 3: Compare Both Accelerator Pedal Signals
Open the enhanced live-data menu and locate the two accelerator pedal position readings. Toyota may identify them as Accel Sensor Out No. 1 and Accel Sensor Out No. 2, ACCEL POS #1 and ACCEL POS #2, or similar descriptions. The exact menu depends on the vehicle and diagnostic equipment.
With the vehicle safely stationary and the ignition in the required diagnostic position, observe both readings as the accelerator pedal moves gradually from released to partially depressed and then fully depressed. Follow the manufacturer’s testing procedure and do not perform this test while driving in traffic.
The readings should change smoothly and maintain the relationship specified for the particular Toyota application. Watch for a signal that remains fixed, suddenly drops, jumps, or becomes nearly identical to the other signal when the manufacturer’s specifications require a different relationship.
Step 4: Check the Electrical Circuits
If the live data indicates an abnormal signal, inspect the accelerator pedal sensor connector and wiring. A qualified technician can use the correct wiring diagram to check the signal circuits, reference supplies, and grounds. Continuity and short-circuit tests should follow the Toyota service procedure for the exact model and engine.
Do not assume that a normal-looking connector is electrically sound. A terminal can have poor contact even when its housing appears undamaged. Similarly, an intermittent short may not be present during a stationary inspection.
Step 5: Review Mode $06 and Related Data
Mode $06 provides onboard monitor test results when the vehicle and scanner support the relevant information. It can help technicians review monitor performance and identify results associated with a failed test. However, not every Toyota exposes a useful accelerator pedal correlation result through a generic Mode $06 display.
Live pedal position data and the manufacturer’s diagnostic procedure should remain the primary tools for investigating P2138. Fuel trims are generally not the main diagnostic measurement for this code because P2138 concerns accelerator pedal signal correlation rather than an air-fuel mixture problem.
Step 6: Confirm the Repair
After correcting the identified fault, clear the codes using the appropriate scanner procedure. Recheck both accelerator pedal signals and confirm that they follow the expected pattern. Then complete the Toyota-specific confirmation procedure and check for pending and permanent codes.
Toyota service information includes a confirmation pattern that involves the ignition on and the accelerator pedal fully released, partially depressed, and fully depressed for specified intervals. One documented Hilux procedure uses 3 seconds at each pedal position. Do not assume that this exact sequence applies to every Toyota.
A repair is not confirmed simply because the check engine light goes out. The relevant monitor must complete successfully, and the accelerator pedal signals must remain within the manufacturer’s specifications.
Tip: Save the original trouble codes and freeze-frame data before clearing anything. P2138 can be intermittent, and the recorded operating conditions may be the best clue to finding a loose connector or unstable sensor signal. Never probe ECM terminals or apply external voltage to accelerator pedal signal circuits without the correct wiring diagram and test procedure. For another common fault on this model, see P2112 Toyota.
P2138 Toyota Repairs, Severity, and Driving Safety
P2138 should be treated as an important powertrain fault because it affects the electronic accelerator pedal input. The correct repair may involve a pedal sensor assembly, wiring repair, connector replacement, or an ECM-related repair after further testing. Driving safety depends on how severely the fault affects throttle response.
Is It Safe to Drive With P2138?
Driving with P2138 is not recommended until the accelerator pedal system has been diagnosed. A Toyota that has entered reduced-power mode may not accelerate sufficiently to merge, overtake, or maintain speed on an incline. A vehicle that suddenly loses accelerator response can also create a traffic hazard.
If the engine remains at idle when the accelerator is pressed, or if throttle response becomes unpredictable, stop in a safe location and arrange professional assistance. Do not attempt to compensate for reduced engine power by repeatedly pressing the accelerator or continuing a long journey.
If the vehicle still responds normally, that does not guarantee that the fault will remain inactive. An intermittent sensor or wiring problem can return without warning. The safest option is prompt diagnosis and repair rather than relying on temporary normal operation.
Common Repair Options
- Replace the accelerator pedal sensor assembly: Appropriate when testing confirms an internal sensor failure and the electrical circuits are functioning correctly.
- Repair damaged wiring: Necessary when testing identifies an open circuit, short circuit, damaged insulation, or other wiring defect.
- Repair or replace an electrical connector: Required when corrosion, damaged terminals, or poor electrical contact causes unstable signals.
- Correct pedal assembly damage: Necessary when a deformed or obstructed pedal mechanism affects sensor operation.
- Diagnose the ECM: Considered only after the pedal assembly, wiring, power supply, grounds, and connector circuits have been verified.
The accelerator pedal sensor is often serviced as part of the pedal assembly, although the exact replacement arrangement depends on the Toyota model. A technician should confirm the correct service procedure before ordering a component. Replacing the throttle body without evidence of a throttle actuator problem is not an appropriate first response to P2138.
What Affects P2138 Repair Costs?
The cost of repairing P2138 depends on the failed component, the vehicle’s design, and the amount of diagnostic work required. A straightforward pedal sensor replacement may involve less labor than tracing an intermittent short inside a wiring harness. A connector repair can also require additional testing if corrosion or moisture has affected nearby terminals.
Several factors influence the final repair bill:
- Parts: The cost depends on whether the repair requires a complete accelerator pedal assembly, an electrical connector, wiring materials, or an ECM.
- Diagnostic labor: Comparing two sensor signals, checking electrical continuity, and identifying an intermittent fault can take more time than reading a code.
- Vehicle accessibility: Pedal assembly design and access to the relevant harness connections influence labor requirements.
- Shop versus DIY: A professional shop charges for diagnostic equipment and technician time. DIY work may reduce labor expense but requires appropriate tools, service information, and electrical testing skills.
- Programming and initialization: Some control module-related repairs may require specialized registration or initialization procedures.
A useful estimate should separate diagnostic labor, replacement parts, installation time, and any required programming. Ask the repair shop to explain which measurements confirmed the failed component. This helps prevent unnecessary replacement of the accelerator pedal assembly or ECM. The test is only as good as the tool, so compare options in Best OBD2 Scanner for Toyota 4Runner.
For owners who want to understand the factory diagnostic approach, the Toyota 2AZ-FE engine control service procedure explains the accelerator pedal sensor signals, voltage checks, freeze-frame information, and fail-safe operation. Its numerical specifications apply to that documented engine application, not every Toyota.
The Toyota Venza accelerator pedal sensor diagnostic procedure also describes the two sensor outputs, related trouble areas, live-data checks, and confirmation testing. Always match the procedure to the vehicle being repaired.
Frequently Asked Questions
Does P2138 automatically mean the accelerator pedal must be replaced?
No. P2138 identifies a correlation problem, not a confirmed failed component. Wiring shorts, connector faults, damaged terminals, and ECM problems can produce the same diagnostic code. The two sensor signals should be tested before replacing the pedal assembly.
Can P2138 appear without noticeable acceleration problems?
Yes. The ECM may detect an abnormal relationship between the two signals before the driver notices a significant change in vehicle behavior. A stored code can therefore be present even when the vehicle appears to accelerate normally during a short trip.
Can disconnecting the battery permanently fix P2138?
No. Disconnecting the battery does not repair a defective sensor, damaged wire, or short circuit. It may also erase useful diagnostic information and reset certain learned values. Permanent P2138 codes cannot be removed simply by disconnecting the battery; the underlying fault must be corrected and the monitor must pass.
Is P2138 the same as P2135?
No. P2138 refers to throttle or pedal position sensor D/E voltage correlation, while P2135 refers to throttle or pedal position sensor A/B voltage correlation. On the documented Toyota 2AZ-FE application, P2138 concerns the accelerator pedal sensor signals, whereas P2135 concerns the throttle position sensor circuit.
Will a generic OBD2 scanner identify the exact failed wire or component?
No. A generic scanner can retrieve the standardized P2138 definition and may display basic accelerator pedal information. Identifying the failed component requires additional circuit testing and, in many cases, Toyota-enhanced live data and manufacturer-specific diagnostic procedures.
P2138 on a Toyota indicates that the accelerator pedal position sensor signals are not maintaining their expected electrical relationship. The accelerator pedal assembly, wiring, connectors, and ECM should be checked before choosing a repair. Because this fault can trigger reduced-power operation or loss of accelerator response, arrange proper diagnosis promptly and avoid driving a vehicle with unreliable throttle control.
-
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
LearnP2138 Code: What It Means and How to Fix It
LearnP2135 Toyota: Diagnose Throttle Sensor Problems and Restore Engine Response
LearnP2196 Toyota Code: Meaning, Causes and Checks
LearnP2111 Toyota Code: Throttle Stuck Open Meaning and Fixes
LearnP2101 Toyota: Diagnose Electronic Throttle Problems
LearnP0782 Code: Diagnose 2-3 Shift Problems and Find the Right Repair