P2121 Duramax Code: Meaning, Causes, and What to Do Next
6 min read · by Nicole Bennett · Last updated: November 14, 2026
A P2121 Duramax code means the engine computer sees an accelerator pedal position sensor D reading that does not match what it expects. The code is generic, but the fix depends on how your truck’s pedal assembly is wired and which sensor is labeled D.
Most drivers notice the check engine light and a weak or delayed pedal response first. Whether the truck is safe to drive depends on the symptoms you see, so read the sections below before you plan a long trip.
What the P2121 Code Means on a Duramax
P2121 is defined as Throttle/Pedal Position Sensor/Switch “D” Circuit Range/Performance. It is a generic OBD-II code, so the basic meaning is the same on any vehicle. CarCodeFinder’s Duramax P2121 page uses the same definition and identifies the sensor involved as the pedal position sensor D.
The word “performance” matters. The computer is not necessarily reporting a dead sensor. It is reporting that the signal is out of its expected range or does not agree with what the computer expects for the current pedal input, and that can point to wiring as readily as to the sensor itself. If several modules report faults together, see our guide on the U0001 communication code.
The exact setting conditions for this code on Duramax engines are in GM service information. Check that data for your model year before you buy parts, because the sensor labels and connector locations can differ between years.
Symptoms That Come With a P2121 Code
The usual symptoms are a lit check engine light, reduced power, and a pedal that responds poorly or not at all. Note when each symptom shows up, because the timing helps a technician tell a sensor fault from a wiring fault.
- Check engine light, often the first sign
- Reduced power mode that limits acceleration
- Poor or no response when you press the pedal
Wikipedia’s overview of electronic throttle control explains that vehicles with this system use a limp-home mode when the pedal, computer, and throttle can no longer work together. A reduced-power mode after a P2121 code follows the same logic, so expect the truck to feel limited until the fault is checked.

Common Causes of a P2121 Code on a Duramax
The two most likely causes are a failed accelerator pedal sensor and damaged wiring or a corroded connector at the pedal. CarCodeFinder ranks the causes by likelihood.
| Possible cause | Likelihood per CarCodeFinder | What to check |
|---|---|---|
| Failed accelerator pedal sensor | High | Live data from sensor D while you press the pedal slowly |
| Damaged wiring or corroded connector at the pedal | High | Harness chafing, pin tension, and corrosion |
| Shared reference voltage or ground problem | Moderate | Reference voltage and ground circuits at the pedal |
| Engine computer input fault | Low | Checked only after the pedal and wiring tests pass |
The computer input fault is the least likely cause, so work through the pedal and wiring first. A shared reference or ground fault can also affect other sensors, so look for additional codes in the scan before you focus on the pedal alone. A shared reference fault that affects several sensors is covered in our guide on the sensor reference voltage B circuit.
Is It Safe to Drive With a P2121 Code?
CarCodeFinder rates P2121 as serious but says driving with caution is acceptable while you arrange a diagnosis. Treat the code as urgent, but not as a reason to park the truck at once if it still drives normally.
Keep trips short and avoid towing, long highway merges, and steep grades until the fault is checked. These are general precautions rather than a requirement from the code guide, and they matter most when the pedal feels slow or inconsistent. The low-signal sibling of this fault is covered in our guide on the pedal sensor low signal code.
Stop driving and arrange a tow if the pedal stops responding, the truck will not accelerate, or reduced power keeps the engine near idle. Those symptoms suggest the computer may not be able to control the engine as expected.
How to Diagnose a P2121 Code Step by Step
Diagnosis starts with confirming which pedal sensor is D, then checking the connector and watching live data while you press the pedal. The steps below follow the order in CarCodeFinder’s guide, with one added check for stored codes at the start.

- Scan the computer for all stored codes and freeze-frame data, and note any other pedal or throttle codes.
- Use the service information for your model year to confirm which pedal sensor is labeled D.
- Inspect the pedal connector and harness for corrosion, chafing, and loose pins.
- Watch sensor D on the scan tool while you press the pedal slowly, looking for dropouts or sudden jumps.
- Repair any wiring fault first, then retest before you consider replacing the pedal assembly.
Step five is where many repairs stop. If the wiring tests clean and sensor D still drops out, the pedal assembly is the likely next component to replace. Confirm that with a technician, because the exact conditions and part numbers depend on your model year.
This sequence assumes a standard Duramax pedal assembly. Connector locations and pedal designs change between model years, so check your service information before you unplug or probe anything.
Frequently Asked Questions
What does P2121 mean on a Duramax?
It means the pedal position sensor D circuit is out of its expected range or does not agree with what the engine computer expects. The code is defined as Throttle/Pedal Position Sensor/Switch D Circuit Range/Performance. Confirm the exact setting conditions in GM service information for your model year.
Can I clear a P2121 code and keep driving?
Clearing the code removes the stored fault and turns off the light, but it does not repair anything. If the signal problem is still present, the computer can set the code again. Diagnose the wiring and sensor first, then clear the code after the repair and confirm it stays clear.
Is P2121 the same as P2122?
No. P2121 is a range or performance fault on the pedal sensor D circuit, while P2122 is a low-signal fault in the same pedal sensor family. Because the two are related, read a scan that shows both together rather than treating them as separate problems.
Should I stop driving right away?
Not always, but treat the code as urgent. CarCodeFinder rates P2121 as serious and says driving with caution is acceptable. If the pedal stops responding or the truck will not accelerate, stop driving and arrange a tow.
If the check engine light stays on after a basic scan, book a diagnosis instead of repeating the clear-and-drive routine. A shop with GM service information can confirm which pedal sensor is D for your model year before any parts are replaced.
-
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
LearnP2135 Duramax Code: Meaning, Causes and Fixes
LearnP2123 Duramax Code: Meaning, Causes and How to Fix It
LearnP2120 Duramax Code: Throttle or Pedal Position Sensor D Circuit
LearnP2127 Duramax Code: Meaning, Causes and How to Fix It
LearnP2609 Duramax Code: Intake Air Heater System Fault
LearnP2145 Code: Identify EGR Circuit Faults and Diagnose the Problem