P0221 OBD2 Code Guide
P0221 is a powertrain diagnostic trouble code. Use this hub to understand the plain meaning, the first checks to run, and which vehicle-specific guides may be more useful before replacing parts.
Throttle/Pedal Position Sensor/Switch B Circuit Range/Performance
Code P0221 signifies an issue with the range or performance of the Throttle Position Sensor (TPS) or Accelerator Pedal Position Sensor (APPS) 'B' circuit. Modern vehicles often employ two or more TPS/APPS sensors for redundancy and safety. Sensor 'B' is typically the secondary sensor, and the Powertrain Control Module (PCM) detects a discrepancy between its signal and the primary sensor (Sensor A), or an out-of-range voltage reading, indicating that the sensor's output does not correlate correctly with the actual throttle plate position or pedal input. This can lead to erratic throttle response, reduced engine power (limp mode), or illumination of the Malfunction Indicator Lamp (MIL).
Code verification standard
P0221 is published with SAE J2012 / ISO 15031-6 code structure plus OBD2 P0221 diagnostic context.
First checks
- - Read all stored and pending codes before clearing anything.
- - Save freeze-frame data so you know speed, load and temperature when the code set.
- - Inspect wiring, connectors, fuses, hoses and obvious leaks tied to the named system.
- - Compare live data against realistic values before buying sensors or modules.
- - Clear the code only after repair and complete a drive cycle to confirm it does not return.
P0221 diagnostic path
- 1Visual Inspection: Begin by thoroughly inspecting the throttle body assembly, accelerator pedal assembly, and their associated wiring harnesses and connectors for any signs of damage, corrosion, loose connections, or fraying. Pay close attention to areas where wiring might rub against engine components.
- 2Scan Tool Data Analysis: Connect an OBD-II scan tool and monitor live data for both Throttle Position Sensor A and B (or Accelerator Pedal Position Sensor A and B). Observe their voltage readings and percentage outputs at idle, during slow pedal depression, and at wide-open throttle. Look for discrepancies, flat spots, or erratic jumps in Sensor B's readings compared to Sensor A.
- 3Voltage and Ground Checks: With the ignition ON and engine OFF, use a digital multimeter (DMM) to check for proper reference voltage (typically 5V) and a good ground at the TPS/APPS Sensor B connector. Also, back-probe the signal wire to check its voltage output as the throttle plate is manually moved or the accelerator pedal is depressed. Compare these readings to manufacturer specifications.
- 4Continuity and Resistance Test: Disconnect the TPS/APPS Sensor B and the PCM connector. Use a DMM to check for continuity and proper resistance in the signal, reference, and ground wires between the sensor connector and the PCM connector. Look for open circuits, short circuits, or excessive resistance that could indicate wiring damage.
Verify before repair
- - Replace Accelerator Pedal Position Sensor (APPS): If the issue is identified with the pedal-side sensor, replacing the entire APPS assembly is often the most straightforward solution.
- - Replace Throttle Body Assembly: For drive-by-wire systems where the TPS is integrated into the throttle body, the entire throttle body assembly may need replacement if the TPS B is faulty.
- - Repair/Replace Wiring or Connectors: Address any damaged, corroded, or loose wiring and connectors found during the visual inspection or continuity tests.
- - PCM Reprogramming/Replacement: In rare cases, if all sensor and wiring checks pass, a faulty Powertrain Control Module (PCM) might be the cause, requiring reprogramming or replacement.
Vehicle-specific pages to check next
Searches this page covers
These queries are answered in this guide without creating thin duplicate pages.