P2138 Hyundai: Diagnose Pedal Sensor Faults Before Replacing Parts
17 min read · by Nicole Bennett · Last updated: November 25, 2026
P2138 Hyundai indicates that the engine computer has detected an incorrect voltage relationship between the two accelerator pedal position sensor signals. These sensors monitor how far the driver presses the accelerator pedal. When their readings do not agree within the manufacturer’s specified limits, the ECM or PCM can store P2138 and restrict engine power to prevent unreliable throttle operation.
A faulty accelerator pedal position sensor assembly is one possible cause, but replacing it immediately is not always the right repair. Damaged wiring, loose connectors, electrical interference, reference voltage problems, and computer faults can produce similar symptoms. The correct diagnosis starts with comparing both pedal sensor signals using a capable OBD2 scanner.
This guide explains the generic P2138 definition, Hyundai accelerator pedal sensor operation, common symptoms, diagnostic procedures, driving risks, and repair considerations. Because Hyundai uses different electronic throttle control specifications across its models and engines, always verify the correct voltage ranges and repair procedures for the specific vehicle.
What P2138 Means on a Hyundai
P2138 is a generic SAE powertrain diagnostic trouble code meaning Throttle/Pedal Position Sensor/Switch D/E Voltage Correlation. On Hyundai vehicles, the code commonly identifies a disagreement between accelerator pedal position sensor channels APS1 and APS2. The engine computer expects both signals to change in a predictable relationship as the accelerator pedal moves.
Hyundai electronic throttle control systems use electronic signals instead of a traditional mechanical cable connecting the accelerator pedal directly to the throttle plate. The accelerator pedal assembly contains two position-sensing channels. Their signals allow the ECM or PCM to calculate driver demand while checking that the two readings remain consistent.
If one channel changes unexpectedly, becomes intermittent, or develops an electrical fault, the computer may detect a correlation problem and store P2138. For example, a signal that suddenly drops while the other channel continues increasing can indicate a damaged sensor, wiring problem, or poor electrical connection.
Understanding the two accelerator pedal signals
APS1 and APS2 monitor the same physical pedal movement through separate signal channels. Their voltage readings are not necessarily identical. Instead, the ECM expects a particular relationship between them. On the 2010 Hyundai Genesis specifications published by AutoHex, APS2 increases at approximately half the voltage rate of APS1.
That relationship provides an important diagnostic safeguard. If both signals rise normally and maintain their expected relationship, the computer can interpret pedal movement with greater confidence. If the relationship becomes abnormal, the computer may limit throttle operation.
The exact diagnostic threshold is vehicle-specific. For example, the 2010 Genesis service information identifies a normalized signal difference exceeding 4.5% as a detection condition. That figure should not automatically be applied to every Hyundai model.
Understanding the code structure
P2138 belongs to the powertrain code family. Its first character, P, identifies the powertrain system, while the second character, 1, identifies a manufacturer-specific code within the P1xxx range. The SAE definition provides the general meaning, while Hyundai service information establishes the applicable diagnostic specifications and repair procedures.
| Code element | Meaning |
|---|---|
| P | Powertrain-related fault |
| 2 | Second digit of the diagnostic code |
| 1 | Part of the diagnostic code identification |
| 38 | Identifies the specific throttle or pedal sensor correlation fault |
For additional context, the generic diagnostic definition is also used by other manufacturers. However, a Hyundai should be diagnosed using Hyundai-specific information rather than assuming another manufacturer’s wiring layout or repair procedure applies. For the same trouble code on a different platform, read P2138 Ford.

Common Symptoms of a Faulty Accelerator Pedal Signal
P2138 can cause anything from an illuminated check engine light to a serious loss of engine power. The most important symptoms involve inconsistent accelerator response and electronic throttle protection. The vehicle may still start and idle normally even when accelerator pedal signals become unreliable.
Symptoms depend on how the ECM or PCM responds to the detected fault. Some Hyundai vehicles may continue operating with limited performance, while others may experience intermittent acceleration problems or enter a reduced-power operating mode.
Reduced engine power or limp mode
One of the most concerning symptoms is reduced engine power. The computer may restrict throttle opening because it cannot confidently determine the driver’s requested acceleration. The vehicle may feel unusually slow even when the accelerator pedal is pressed farther than normal.
Hyundai’s service bulletin covering certain 2006–2007 Sonata 3.3L and Azera vehicles describes P2138-related faults accompanied by P2106, an electronic throttle control forced-limited-power code. This confirms that reduced-power operation is a documented possibility on the covered applications. It does not establish that every Hyundai with P2138 will enter limp mode. The applicable Hyundai bulletin can be reviewed in this service information.
Other warning signs
- Check engine light illuminated after the ECM detects an accelerator pedal sensor correlation problem.
- Delayed response when pressing the accelerator pedal.
- Weak acceleration during normal driving.
- Inconsistent engine response when the pedal is held at a steady position.
- Unexpected changes in engine power during acceleration.
- Intermittent reduced-power operation that disappears temporarily after restarting the vehicle.
- Additional electronic throttle or accelerator pedal sensor codes stored alongside P2138.
A vehicle that returns to normal operation after restarting should not be considered repaired. An intermittent electrical connection can temporarily restore normal signals while the underlying problem remains. The fault may return during vibration, temperature changes, or pedal movement.
The absence of obvious symptoms also does not rule out a genuine fault. A stored or pending diagnostic code may appear before the driver notices a major change in acceleration. Checking the stored fault information and sensor readings is more reliable than judging the problem from the warning light alone.

Most Common Causes of P2138 Hyundai
The most common diagnostic possibilities involve the accelerator pedal position sensor assembly and its electrical circuits. However, the code identifies a signal relationship problem rather than naming one defective component. A proper diagnosis should check the sensor, connectors, wiring, reference voltage, and computer inputs before replacement.
1. Defective accelerator pedal position sensor
The accelerator pedal position sensor assembly is a primary suspect because it contains the two channels being compared by the ECM or PCM. Internal wear, electrical deterioration, or an intermittent sensing element can cause one channel to produce an abnormal signal.
For example, APS1 might increase smoothly as the pedal moves while APS2 briefly drops or stops responding. The computer detects that the signals no longer maintain their expected relationship and may set P2138.
A sensor can also behave normally at rest but develop an intermittent fault during pedal movement. This is why a single voltage measurement with the pedal released may not be sufficient to confirm the condition of the assembly.
2. Damaged wiring or poor electrical connections
Loose terminals, corroded connectors, damaged insulation, broken conductors, and poor terminal contact can interrupt one of the sensor signals. Wiring faults can be especially difficult to identify because they may occur intermittently rather than remaining present continuously.
A connector may appear properly installed while an internal terminal has lost contact tension. A damaged wire may also produce a normal reading when stationary but become intermittent when the harness moves.
Electrical connector problems are a documented cause of P2138 across vehicle manufacturers. A GM technical service bulletin submitted to NHTSA describes water intrusion, corrosion, and debris affecting accelerator pedal sensor signal connections. Its specific repair applies to the listed GM vehicles, not automatically to Hyundai models, but it demonstrates why connector inspection matters. The bulletin is available through NHTSA’s technical service bulletin archive.
3. Reference voltage or ground problems
Accelerator pedal sensors depend on stable electrical reference and ground circuits. A problem affecting the supply voltage or low-reference circuit can change the sensor output and cause the two channels to become inconsistent.
A technician should check whether the relevant reference circuits remain within the specifications for the vehicle. If multiple sensors share an affected reference circuit, other diagnostic codes may appear at the same time.
4. Aftermarket electrical equipment
Certain aftermarket devices can interfere with sensitive engine management circuits if incorrectly connected. Remote-start installations, alarm systems, wiring modifications, and other electrical accessories deserve attention when P2138 appears after an installation or electrical repair.
A published GM service bulletin specifically warns about aftermarket equipment connected to accelerator pedal sensor signals, low-reference circuits, or ECM/PCM reference circuits. This is a useful general diagnostic consideration, although the bulletin’s vehicle-specific procedure should not be treated as a Hyundai repair instruction.
5. ECM or PCM problems
An engine computer fault is possible but should not be the first assumption. The ECM or PCM receives the two accelerator pedal signals and evaluates their relationship. Internal electronic damage, connector problems, or an input circuit fault can affect how these signals are interpreted.
Before considering computer replacement, the technician should verify power supplies, grounds, wiring continuity, sensor signals, and relevant technical service information. Replacing an expensive control module without completing these checks can leave the original problem unresolved. P2138 Mazda walks through the same code on another vehicle, which helps if the usual fix does not work.
| Possible cause | Typical diagnostic clue | Recommended check |
|---|---|---|
| Faulty pedal sensor | APS1 and APS2 do not maintain their expected relationship. | Compare both live-data signals. |
| Damaged wiring | Intermittent signal loss or abnormal voltage. | Inspect harnesses and test circuits. |
| Loose or corroded connector | Unstable sensor readings or intermittent faults. | Inspect terminals and connector condition. |
| Reference or ground fault | Abnormal supply or low-reference readings. | Test the specified electrical circuits. |
| Aftermarket interference | Fault appears after an electrical installation. | Review accessory wiring and circuit connections. |
| ECM or PCM fault | Incorrect input interpretation despite verified circuits. | Complete module power, ground, and input tests. |
How to Diagnose P2138 With an OBD2 Scanner
A scanner that displays manufacturer-enhanced live data is the most useful starting point for diagnosing P2138 on a Hyundai. The goal is to determine whether APS1 and APS2 respond smoothly and maintain the relationship specified for the vehicle. Reading the code alone cannot establish which component has failed.
Step 1: Read all stored diagnostic codes
Connect an OBD2 scanner to the vehicle’s 16-pin diagnostic connector, usually located beneath the driver-side dashboard. Turn the ignition on and retrieve stored, pending, and permanent powertrain codes when supported by the scanner.
Do not focus exclusively on P2138. Look for additional accelerator pedal, throttle position, reference voltage, and electronic throttle control codes. Related codes can help identify whether the fault affects one sensor channel or a larger electrical circuit.
For example, Hyundai’s service bulletin covering certain 2006–2007 vehicles discusses P2138 alongside P2127, P2122, and P2106. The combination provides more diagnostic information than P2138 by itself.
Step 2: Examine freeze-frame data
Freeze-frame data records operating conditions associated with a detected fault. Depending on the vehicle and scanner, it may include engine speed, vehicle speed, engine load, coolant temperature, and other available parameters.
Use this information to determine whether P2138 appeared while the engine was idling, during acceleration, or under another operating condition. If the code appeared during pedal movement, the sensor signals deserve particular attention.
Freeze-frame information does not identify the failed component by itself. It provides a starting point for reproducing and investigating the conditions under which the ECM detected the abnormal signal relationship.
Step 3: Monitor APS1 and APS2 live data
Find the accelerator pedal position parameters in the scanner’s data list. Depending on the scan tool, they may appear as APS1, APS2, APP Sensor 1, APP Sensor 2, or similar manufacturer-specific descriptions.
With the ignition in the appropriate position and the engine off, observe both readings while the accelerator pedal is released. If the manufacturer permits the test under those conditions, gradually depress the pedal and watch how each signal changes.
Both channels should respond smoothly and maintain their specified relationship. Look for sudden drops, flat spots, unexpected spikes, or interruptions in either reading. A channel that stops changing while the other continues responding may indicate an electrical or sensor problem.
Do not assume that both channels should display the same percentage or voltage. The relationship is determined by the particular Hyundai system. Some applications use a secondary signal that increases at approximately half the rate of the primary signal.
Example: Hyundai Genesis sensor voltage readings
The following figures come from the 2010 Hyundai Genesis service specifications published by AutoHex. They are useful examples of how the two signals differ, but they are not universal specifications for every Hyundai model.
| Pedal position | APS1 voltage | APS2 voltage |
|---|---|---|
| Fully released | 0.70–0.80 V | 0.29–0.46 V |
| Fully depressed | 3.85–4.35 V | 1.93–2.18 V |
These readings demonstrate why comparing both channels matters. APS1 and APS2 have different voltage ranges, but their changes should remain proportional. A reading outside the specified range requires further investigation rather than an automatic sensor replacement.
Step 4: Inspect the electrical connections
If live data suggests an intermittent signal, the next diagnostic area is the accelerator pedal connector and associated wiring. Look for visible harness damage, loose connections, corrosion, moisture, damaged insulation, and signs of previous electrical repairs.
A qualified technician can use the correct wiring diagram and a digital multimeter to check the reference voltage, low-reference circuit, and individual sensor signal circuits. The test must follow Hyundai’s model-specific terminal identification and electrical specifications.
Step 5: Confirm the diagnosis
After identifying and correcting the underlying problem, clear the diagnostic codes using an appropriate scanner. Recheck the APS1 and APS2 readings and perform the manufacturer-prescribed verification procedure.
A successful repair should restore the expected relationship between both sensor channels without the fault returning. If P2138 reappears, the diagnosis is incomplete and further circuit or module testing may be necessary.
Tip: Save the original diagnostic codes and freeze-frame information before clearing anything. Do not replace the accelerator pedal assembly based only on the P2138 description. Compare both live-data channels and verify the relevant electrical circuits against the exact Hyundai service specifications. A related problem on the same vehicle is explained in P2112 Hyundai.
Is It Safe to Drive a Hyundai With P2138?
Driving safety depends on how the fault affects accelerator response. Because P2138 involves electronic throttle control, an unexpected reduction or interruption in engine power can create a dangerous situation. A vehicle that cannot accelerate predictably should not be driven normally.
The ECM or PCM may activate a protective reduced-power strategy when accelerator pedal signals become unreliable. This can limit available engine torque and throttle opening. The driver may notice that the vehicle cannot maintain speed or respond normally when entering traffic.
When to stop driving
- The accelerator pedal produces little or no response.
- The vehicle unexpectedly loses engine power while moving.
- The engine enters reduced-power or limp-home mode.
- Acceleration becomes unpredictable or inconsistent.
- The vehicle cannot maintain a safe speed in traffic.
- Additional electronic throttle warnings appear alongside P2138.
If any of these conditions occur, move to a safe location when possible and arrange professional diagnosis or towing. Avoid highways, steep hills, heavy traffic, and situations where predictable acceleration is essential.
What if the vehicle still drives normally?
A Hyundai that appears to drive normally with a stored P2138 still requires prompt inspection. An intermittent sensor or wiring fault can become more serious without warning. Normal acceleration during one trip does not prove that both sensor channels are operating correctly.
If there is no noticeable change in throttle response, no reduced-power warning, and no other abnormal behavior, a short, cautious trip to a nearby repair facility may be possible. However, towing is the safer option whenever acceleration reliability is uncertain.
A flashing check engine light is a separate urgent warning generally associated with an active misfire that can damage the catalytic converter. If that occurs, reduce engine load and seek immediate diagnosis rather than assuming it is simply another P2138 symptom.
P2138 Repair Options and Cost Factors
Repairing P2138 requires identifying which part of the accelerator pedal signal system has failed. The final repair may involve replacing the pedal sensor assembly, repairing damaged wiring, correcting connector problems, or addressing a control module issue. Labor and parts requirements vary by Hyundai model and engine.
Accelerator pedal sensor assembly replacement
If testing confirms an internal fault in the pedal position sensor, replacing the appropriate accelerator pedal sensor assembly may be necessary. On many Hyundai applications, the two sensing channels are integrated into the pedal assembly rather than serviced as separate external sensors.
The replacement procedure depends on the vehicle’s pedal design, mounting arrangement, connector, and manufacturer instructions. Some applications may require an accelerator pedal released-position learning procedure or additional electronic throttle initialization after installation.
A Hyundai service bulletin for certain 2006–2007 Sonata and Azera vehicles specifically directs technicians to replace the accelerator pedal sensor assembly for the covered P2138-related condition. That recommendation should not be generalized to every Hyundai model or model year.
Wiring and connector repairs
If testing identifies a damaged wire, poor terminal contact, or corroded connector, the repair may involve replacing a connector terminal, repairing an approved section of wiring, or replacing a damaged harness section.
Electrical repairs require the correct terminal tools, wiring information, and testing equipment. Poorly performed repairs can introduce additional resistance or intermittent connections, causing P2138 to return.
ECM or PCM diagnosis and repair
Control module replacement is generally considered only after the pedal assembly, wiring, connectors, power supplies, and grounds have been checked. Depending on the vehicle, module replacement may also require programming, configuration, or immobilizer-related procedures.
What determines the total repair expense?
The main cost factors include the following:
- Diagnostic labor required to compare APS1 and APS2 signals and test electrical circuits.
- The cost and availability of the correct accelerator pedal assembly or replacement electrical components.
- Additional labor required to access wiring connectors or damaged harness sections.
- Whether corrosion, moisture intrusion, or previous electrical modifications complicate the repair.
- Whether a dealer-level scan tool or specialized programming is necessary.
- Whether additional faults require separate repairs.
A straightforward pedal assembly replacement generally involves less diagnostic work than locating an intermittent wiring problem. However, a more expensive component does not automatically represent the correct solution. Paying for accurate testing before ordering parts can prevent unnecessary replacements.
DIY repair or professional diagnosis?
An experienced DIY owner can begin by reading the diagnostic codes, recording freeze-frame information, and reviewing available accelerator pedal live data. These checks help establish whether the two signals behave normally.
However, diagnosing reference voltage faults, intermittent wiring problems, and computer inputs requires appropriate electrical testing knowledge. Incorrect probing or wiring modifications can damage sensitive engine control circuits.
If the accelerator response is unpredictable, the vehicle has entered reduced-power mode, or the electrical diagnosis requires accessing unfamiliar circuits, professional service is the better choice. Ask the repair facility to provide the diagnostic findings rather than approving pedal replacement solely because P2138 is stored. It is also worth reading P2111 Hyundai for the same vehicle.
Frequently Asked Questions
Can P2138 appear without turning on the check engine light?
Yes. Diagnostic status and warning-light behavior depend on the vehicle’s monitoring strategy. Some Hyundai applications may record a fault under conditions that do not immediately illuminate the malfunction indicator lamp. A scanner should be used to check pending and stored codes rather than relying on the dashboard light alone.
Can disconnecting the battery permanently fix P2138?
No. Disconnecting the battery does not repair a defective sensor, damaged wire, or poor connector. It may also reset certain learned values and readiness information. A permanent P2138 code cannot be erased simply by disconnecting the battery; the underlying fault must be corrected and the relevant monitor must pass.
Can P2138 affect cruise control?
Yes. Cruise control depends on reliable electronic throttle and accelerator information. A detected accelerator pedal signal fault may cause the vehicle to disable cruise control until the problem is corrected. The exact behavior depends on the Hyundai model and its control system.
Will replacing the accelerator pedal require sensor relearning?
Some Hyundai applications specify accelerator pedal released-position learning or related electronic throttle initialization after repairs. The required procedure depends on the model and engine. Follow the correct factory service instructions rather than assuming every replacement uses the same relearning process.
Can P2138 cause a vehicle to fail an emissions inspection?
It can. If P2138 illuminates the malfunction indicator lamp or affects emissions-related OBD readiness requirements, the vehicle may fail an applicable state inspection. Inspection rules vary by state, and clearing codes immediately before testing can leave required readiness monitors incomplete.
P2138 on a Hyundai identifies an accelerator pedal sensor correlation problem, not automatic proof of a failed pedal assembly. Compare APS1 and APS2 live data, inspect electrical connections, and verify the correct vehicle-specific specifications before replacing parts. If acceleration is unpredictable or reduced-power mode is active, avoid driving and arrange professional diagnosis.
-
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
LearnP2187 Hyundai Code: Lean Idle Meaning, Causes and Fixes
LearnP2135 Hyundai: Diagnose Throttle Sensor Problems and Restore Engine Power
LearnP2112 Hyundai: Causes, Symptoms, and Diagnostic Steps
LearnP2111 Hyundai: Identify the Throttle Control Fault and Fix It
LearnP0755 Ford: Diagnose Shift Solenoid B and Transmission Problems