P0221 — Throttle/Pedal Position Sensor/Switch B Circuit Range/Performance (5.9 Cummins Common Rail)
Throttle/Pedal Position Sensor/Switch B Circuit Range/Performance
What it means
The engine control module has detected that the signal from throttle/pedal position sensor/switch B is outside the expected range or is not performing as expected. On the 5.9L Cummins Common Rail 2003-2007 Dodge Ram 2500/3500 ISB, the accelerator pedal position sensor (APPS) is still used and P0121/P0122/P0221-type faults remain common per platform facts.12
Most likely causes
- APPS sensor internal wear or out-of-range voltage on sensor B — APPS signal drift or internal failure causing range/performance error for sensor B.12
- APPS wiring/connector corrosion, chafing, or poor ground causing erratic sensor B signal — Intermittent or noisy signal to ECM from sensor B circuit.12
- ECM pedal input processing anomaly for sensor B — ECM detects sensor B performance outside expected range despite wiring integrity.1
How to diagnose
- Verify code and freeze frame; confirm P0221 is present on 5.9 Cummins Common Rail 2003-2007 with APPS still used.
- Inspect APPS connector and wiring for corrosion, moisture, chafing, and secure pin engagement; check harness routing near pedal assembly.
- Monitor live APPS sensor A and sensor B voltages with a scan tool while slowly pressing pedal from idle to wide open; look for smooth, proportional change and expected correlation between A and B.
- Check reference voltage and ground supplies to APPS per service information; verify no voltage drop or intermittent opens during wiggle test of harness.
- If voltages are out of range or erratic, replace APPS assembly; clear codes and retest pedal sweep for consistent sensor B performance.
Parts and tools you may need
- Scan tool with live data
- Digital multimeter
- APPS assembly (pedal position sensor)
- Dielectric grease
- Basic hand tools
Rough cost and difficulty
Parts and labor vary by region and shop; APPS replacement is typically moderate cost compared with diagnostic time.
When to see a pro
If pedal signal remains erratic after APPS and wiring checks, have a diesel technician evaluate ECM inputs and harness integrity to avoid misdiagnosis.
Sources
Help improve this guide
Own a 6.7 and spotted something wrong or missing? Tell us. This goes straight to the editor — it is not published.