P0221: Throttle/Pedal Position Sensor/Switch B Circuit Range/Performance
Updated November 29, 2026
Electronic throttles use two position signals, A and B, so the computer can cross-check them. On most vehicles, sensor B is the second track of the throttle position sensor inside the throttle body. P0221 means sensor B's signal is within its normal voltage range but doesn't make sense: it doesn't agree with sensor A, or it jumps or drops out. Because the computer can't trust the throttle reading, it often limits power.
COMPZA may earn a commission when you buy through links on this page, at no extra cost to you. How we make money.
🔧 Want to check this yourself? An OBD2 scanner reads the code; models with live data also show the sensor readings used in the checks below. See code readers and scanners from $24.99 ↓ · Which scanner do I need?
Common causes
- A worn or failing throttle position sensor (on many cars it's built into the electronic throttle body and not sold separately)
- An intermittent wire, or a loose or corroded connector that adds resistance to the signal
- A problem with the 5-volt reference or sensor ground that the throttle sensors share
- An engine computer fault (rare)
Code meanings can vary slightly by manufacturer. Use these as a starting point and confirm with your vehicle's service information or a mechanic before replacing parts.
Symptoms
- Check engine light, often with a reduced power or throttle warning
- Limited throttle response (limp mode)
- Hesitation, surging, poor idle or stalling
- Harsh or odd shifting on automatics
Is it safe to drive?
If the car goes into reduced-power mode, stalls or surges, don't drive it in traffic; have it towed. If it drives normally with a steady light, get it checked soon, since a second throttle sensor fault can leave the car with very little power.
How to check it with a scanner
- Plug an OBD2 scanner into the port under the dashboard and read all stored codes and the freeze-frame data (the conditions when the code set).
- Scan for other throttle, pedal and sensor reference voltage codes; several at once point to shared wiring or the 5-volt reference.
- Key on, engine off: watch both throttle position readings in live data as you slowly press and release the pedal. They should change smoothly together in the pattern your service information describes; a jump, dropout or flat spot in sensor B matches this code.
- With the key on and engine off, gently wiggle the throttle body connector and harness while watching live data; a reading that glitches points to the wiring or connector. Keep fingers out of the throttle bore whenever the key is on, since an electronic throttle plate can move on its own.
- With the key off, unplug the throttle body and inspect the connector for corrosion, water or pushed-back pins.
- Many vehicles need a throttle relearn (idle relearn) after replacing the throttle body or sensor; check the procedure for your vehicle.
- After a repair, clear the code and drive normally for a few days to confirm it doesn't come back.
A basic code reader shows the code; scanners with live data let you watch sensor readings, which is what you need for most of the checks above. See OBD2 scanners under $100.
Code readers and scanners in stock
From partner stores' live product feeds. Check that the tool covers your vehicle's make, model and year on the retailer's page before you buy.
LAUNCH CR319 OBD2 Code Reader & Emissions Readiness Tester$24.99at LAUNCH X431 Online
LAUNCH CR529 OBD2 Code Reader with Live Data Stream$45at LAUNCH X431 Online
Autel MaxiLink ML529$52at AUTELOnline
AutoLink AL319$59at AUTELOnline
LAUNCH Creader VII+ Code Reader for Engine, ABS, SRS & Transmission$60at LAUNCH X431 Online
MaxiAP AP2500E$60at AUTELOnline Affiliate links. AUTELOnline prices updated Dec 4, 5:23 PM EST · LAUNCH X431 Online prices updated Dec 4, 5:35 PM EST.
Search eBay for your vehicle
Affiliate links: COMPZA may earn a commission from qualifying eBay purchases at no extra cost to you. Add your vehicle in eBay's parts finder to see parts that fit.
Questions
What does P0221 mean?
P0221 is the generic OBD2 code for "Throttle/Pedal Position Sensor/Switch B Circuit Range/Performance." Electronic throttles use two position signals, A and B, so the computer can cross-check them. On most vehicles, sensor B is the second track of the throttle position sensor inside the throttle body. P0221 means sensor B's signal is within its normal voltage range but doesn't make sense: it doesn't agree with sensor A, or it jumps or drops out. Because the computer can't trust the throttle reading, it often limits power.
Is it safe to drive with P0221?
If the car goes into reduced-power mode, stalls or surges, don't drive it in traffic; have it towed. If it drives normally with a steady light, get it checked soon, since a second throttle sensor fault can leave the car with very little power.
How do I check P0221 myself?
Read the code and freeze-frame data with an OBD2 scanner, then: Scan for other throttle, pedal and sensor reference voltage codes; several at once point to shared wiring or the 5-volt reference. Key on, engine off: watch both throttle position readings in live data as you slowly press and release the pedal. They should change smoothly together in the pattern your service information describes; a jump, dropout or flat spot in sensor B matches this code. With the key on and engine off, gently wiggle the throttle body connector and harness while watching live data; a reading that glitches points to the wiring or connector. Keep fingers out of the throttle bore whenever the key is on, since an electronic throttle plate can move on its own. With the key off, unplug the throttle body and inspect the connector for corrosion, water or pushed-back pins. Many vehicles need a throttle relearn (idle relearn) after replacing the throttle body or sensor; check the procedure for your vehicle.
Related codes
📬 Get the weekly deals email
One email a week with the best current deals from our partner stores: home, kitchen, tech, car and gifts. No spam, unsubscribe anytime.
Emails include affiliate links; COMPZA may earn a commission at no extra cost to you. See our privacy policy.