OBD Codes List

Diagnostic reference · P0221

P0221

Throttle/Pedal Position Sensor/Switch B Circuit Range/Performance

System
Injector circuits (P code)
Lamp
Check Engine Light
Category
Powertrain - Fuel/Air Metering

What it means

P0221 means Throttle/Pedal Position Sensor/Switch B Circuit Range/Performance.

Where it lives

For P0221, the description names the sensor as the part involved.

Check these first

  • A faulty throttle or pedal position sensor B
  • Wiring or connector issues between sensor B and the ECM
  • Corrosion on the sensor B connector
  • A sticky throttle body or pedal assembly
  • An ECM calibration issue

What to do next

  1. Read throttle or pedal position sensor B on a scan tool
  2. Compare sensor B to sensor A through the pedal sweep
  3. Inspect the sensor B connector and wiring
  4. Clean the throttle body and pedal assembly
  5. Replace throttle or pedal position sensor B if it reads off
  6. Clear the code and retest

Look up another code

Enter a full code or a symptom. Press / to search. How to read a code

Type a code above, or start from a symptom or a common code.

Updated

Generic SAE J2012 definition. Last updated 2026-10-10.