P0221: Throttle/Pedal Position Sensor/Switch B Circuit Range/Performance
Quick answer
P0221 is the standardised OBD-II code for throttle/Pedal Position Sensor/Switch B Circuit Range/Performance. This code sets when sensor B's voltage is within its normal electrical range but does not move the way it should compared to sensor A or to the commanded throttle position. The most likely cause is throttle body needing a relearn procedure after cleaning or replacement, not the most expensive one. Keep any driving short and light until it is repaired.
Severity 2 of 4. Short trips only.
Fix soon · Short trips only
| Code | P0221 |
|---|---|
| Standard name | Throttle/Pedal Position Sensor/Switch B Circuit Range/Performance |
| System | Fuel and air metering |
| Subsystem | Throttle position sensing |
| Sets the | Comprehensive component monitor |
| Severity | Fix soon (2 of 4) |
| Safe to drive | Short trips only |
| Tool needed | Scanner with live data |
| Cause | How often | What to check |
|---|---|---|
| Throttle body needing a relearn procedure after cleaning or replacement | Most likely | A throttle body that was cleaned or replaced without a relearn will not track correctly at first. |
| Sensor B drifted out of calibration with age | Common | Potentiometer style sensors wear and drift over tens of thousands of miles. |
| Corroded connector causing a weak but present signal | Worth checking | A partial connection can still produce a voltage, just not the correct one. |
| Throttle plate binding or sticking mechanically | Less common | Carbon buildup on the plate can make it lag behind the sensor voltage. |
| Failed accelerator pedal sensor module | Uncommon | The pedal's dual sensors can drift relative to each other as the unit ages. |
TOPDON TopScan Lite OBD2 Scanner, Bidirectional Scan Tool, 8 Resets & AI
Adds live sensor streams and freeze frame, which is what turns a code into a diagnosis rather than a guess.
Coverage varies by tool and by model year, so check a specific tool against a specific vehicle before buying.
What is the engine computer reporting with P0221?
This code sets when sensor B's voltage is within its normal electrical range but does not move the way it should compared to sensor A or to the commanded throttle position. The computer catches this by cross checking the two sensors against each other on every drive cycle. It usually means one sensor has drifted out of calibration rather than failed outright.
The code sits in the throttle position sensing area and is reported by the comprehensive component monitor. It names the circuit or the condition where the computer saw a reading outside its expected range. It does not name a failed part, and several genuinely different faults set this same code, which is the whole reason the causes below are ordered rather than listed.
What people usually notice
- Reduced power mode
- Hesitation or surging under light throttle
- Check engine light
- Idle speed that hunts up and down
- Delayed response to the pedal
What is actually behind P0221?
The causes below are ordered by how often they turn out to be the answer, cheapest and most common first. That order matters more than the list itself: the expensive component named in the code text is very rarely the first thing to replace, and working down from the top is what stops a throttle position sensing fault becoming an expensive guess.
Throttle body needing a relearn procedure after cleaning or replacement is the one to rule out before anything else. A throttle body that was cleaned or replaced without a relearn will not track correctly at first.
How do you diagnose P0221?
Start with freeze frame. Throttle position at the fault shows the specific point in the pedal's travel where the mismatch occurred. That snapshot is taken at the instant the code set, and it is the single most useful piece of evidence you have, which is also why clearing the code before reading it is such a costly habit.
This code is diagnosed by watching values change rather than by reading the number again, so the tool has to stream live data and hold freeze frame. Graphing sensor A against sensor B while sweeping the pedal through its full travel shows exactly where the two readings diverge.
The order worth working in
- 1. Throttle body needing a relearn procedure after cleaning or replacement: A throttle body that was cleaned or replaced without a relearn will not track correctly at first.
- 2. Sensor B drifted out of calibration with age: Potentiometer style sensors wear and drift over tens of thousands of miles.
- 3. Corroded connector causing a weak but present signal: A partial connection can still produce a voltage, just not the correct one.
- 4. Throttle plate binding or sticking mechanically: Carbon buildup on the plate can make it lag behind the sensor voltage.
- 5. Failed accelerator pedal sensor module: The pedal's dual sensors can drift relative to each other as the unit ages.
Can you keep driving with P0221?
Drivable for a short trip, but throttle response may be inconsistent, so get it checked soon.
This is a severity 2 of 4 code. It will not usually strand you, but it will fail an emissions test while it is present, and the underlying fault rarely gets cheaper by being left alone.
What does it cost to ignore P0221?
Left unresolved, the mismatch between the two throttle sensors keeps the computer in a defensive, reduced power mode that costs drivability every time the car is driven.
There is also the diagnostic cost of waiting. Freeze frame data, pending code history and the readiness monitor state all describe the fault as it was when it set, and all of it is lost the moment somebody clears the code to make the lamp go out.
Tools that can diagnose P0221
Adds live sensor streams and freeze frame, which is what turns a code into a diagnosis rather than a guess.
- LJPXHHU
OBD2 Bluetooth Scanner Car Code Reader for iOS, Android and Windows
- wireless
$13.98 Check pricePrices change often - Veepeak
Veepeak Mini Bluetooth OBD2 Scanner Code Reader for Android (NOT for iOS)
- wireless
$14.99 Check pricePrices change often - MOCATEC
WiFi ELM327 OBD2 Adapter WiFi ELM 327 OBD Scanner for Universal 12V Vehicle
- wireless
$15.95 Check pricePrices change often - UMEIJA
OBD2 Scanner Diagnostic Tool, Car Scanner for iOS & Android, Bluetooth 5.4
- wireless
$29.99 Check pricePrices change often
Common questions
What does code P0221 mean?
P0221 is the generic OBD-II code for throttle/Pedal Position Sensor/Switch B Circuit Range/Performance. This code sets when sensor B's voltage is within its normal electrical range but does not move the way it should compared to sensor A or to the commanded throttle position. The computer catches this by cross checking the two sensors against each other on every drive cycle. It usually means one sensor has drifted out of calibration rather than failed outright. It is a standardised definition, so it means the same thing on every manufacturer, although the fault behind it differs from car to car.
Can I drive with P0221?
Drivable for a short trip, but throttle response may be inconsistent, so get it checked soon. On the severity scale this sits at 2 of 4, described as fix soon. Whatever the code, a check engine light that starts flashing changes the answer immediately: that means an active misfire and the correct response is to reduce load and stop driving.
What is the most common cause of P0221?
Throttle body needing a relearn procedure after cleaning or replacement is the cause worth ruling out first. A throttle body that was cleaned or replaced without a relearn will not track correctly at first. Work down the ordered list rather than replacing the component named in the code text, because that component is the expensive answer and it is rarely the right one.
Will P0221 clear itself?
If the underlying fault genuinely goes away, the computer turns the lamp off after the monitor passes on a number of consecutive drive cycles, and the code moves to history before ageing out. A code that clears and returns is not fixed, it is intermittent. Clearing it manually erases the freeze frame data and resets every readiness monitor to incomplete.
What scanner do I need for P0221?
This code is diagnosed by watching values change rather than by reading the number again, so the tool has to stream live data and hold freeze frame. Graphing sensor A against sensor B while sweeping the pedal through its full travel shows exactly where the two readings diverge. Vehicle coverage still varies by tool and by model year, so check a specific tool against a specific vehicle rather than assuming a capability tier guarantees access.
