P0221: Throttle/Pedal Position Sensor/Switch 'B' Circuit Range/Performance
P0221 means the engine computer sees an out-of-range or inconsistent signal from throttle/pedal position sensor 'B'. The most common fix is to diagnose and replace a faulty throttle body, accelerator pedal sensor, or wiring issue, usually costing about $150 to $600.
- Severity
- High
- Can I drive?
- Drive with caution
- DIY?
- Possible with some experience
- Repair cost range
- $100 – $650
Get the answer for your exact car
Add your car and a few details. DashClue asks up to 3 questions, then tells you the most likely cause and what it should cost.
FreeNo card neededAnswer in about 2 minutes
What does P0221 mean?
This code is set when the computer compares the throttle position or accelerator pedal signals and the 'B' circuit does not match what it expects. On many vehicles, that signal helps control engine response and electronic throttle operation. A bad sensor, dirty throttle body, damaged wiring, or a connector problem can make the signal jump around or read incorrectly. When that happens, the computer may limit throttle response to protect the engine and drivability.
Common symptoms
- Check engine light on
- Reduced acceleration
- Hesitation when pressing the gas pedal
- Poor throttle response
- Engine goes into limp mode
- Rough idle or stalling
Causes, fixes and costs
P0221: Throttle/Pedal Position Sensor/Switch 'B' Circuit Range/Performance
General guide for most cars. Your car may differ.
The car may enter reduced-power mode and become hard to accelerate or merge with traffic. Stop driving if the engine stalls, the throttle stops responding, or the check engine light starts flashing.
Most likely causes
- 1
Faulty throttle body or throttle position sensorHigh
A jerky throttle response, limp mode, or no change in symptoms after clearing the code often points to an internal sensor or throttle body problem. This is common if the code returns quickly after starting the car.
Quick check: Scan live data and watch the throttle signal while slowly pressing the pedal; if it drops out or jumps, the throttle assembly may be bad.
- 2
Faulty accelerator pedal position sensorHigh
If the code appears when you press the pedal and the engine responds late or not smoothly, the pedal sensor circuit is a likely suspect. A worn pedal sensor often causes an inconsistent 'B' signal.
Quick check: Compare pedal sensor data on a scan tool; the readings should move smoothly and track each other without spikes or flat spots.
- 3
Damaged wiring or loose connectorMedium
Intermittent symptoms, bumps making the problem worse, or a code that comes and goes often point to wiring, corrosion, or a loose plug at the throttle body or pedal sensor.
Quick check: Inspect the connectors for bent pins, corrosion, water intrusion, rubbed-through wires, or a connector that is not fully latched.
- 4
Dirty or sticking throttle bodyMedium
A dirty throttle plate can cause the signal to look wrong at certain positions and may come with rough idle, hesitation, or sticking throttle response. This is more likely if the throttle body has heavy carbon buildup.
Quick check: Look for carbon buildup around the throttle plate and bore; if it is dirty, cleaning may improve the idle and response.
Can you fix it yourself?
Possible with some experience
Difficulty: Moderate. Basic inspection and throttle body cleaning can be DIY on some cars, but sensor testing usually needs a scan tool. If the wiring looks damaged or the signal is erratic, ask the shop to test the pedal sensor, throttle body, and related wiring under load.
Show the stepsHide the steps
- Check the connector at the throttle body and accelerator pedal for looseness or corrosion.
- Inspect the harness for rubbing, broken insulation, or damage near moving parts.
- Use a scan tool to compare throttle and pedal data for smooth, matching changes.
- Clean the throttle body only if the vehicle maker allows it.
- Clear the code and test drive to see if it returns.
- If the signal still drops out, replace the failed sensor or throttle body assembly as needed.
Estimated repair cost
$250 – $650
Throttle body assembly: parts and labor; many units include the sensor
- Accelerator pedal position sensor$150 – $350
- Throttle body cleaning and throttle relearn$100 – $200
- Wiring repair or connector replacement$120 – $400
- Throttle/pedal sensor circuit diagnosis$100 – $180
Prices vary by vehicle, labor time, and whether the sensor is sold separately or built into the throttle body or pedal assembly.
Frequently asked questions
Can I drive with P0221?
Usually yes for a short time if the car still accelerates normally, but drive gently. If it goes into limp mode, stalls, or loses throttle response, stop driving and get it checked.
Will P0221 clear itself?
It may go away temporarily if the signal glitch was brief, but the problem usually comes back until the faulty part or wiring is repaired.
Is P0221 usually the throttle body or the gas pedal?
Either one can cause it. On many cars the throttle body is the most common fix, but the accelerator pedal sensor and wiring must be tested before replacing parts.
Can a dirty throttle body cause P0221?
Yes, on some vehicles heavy carbon buildup can affect throttle movement and signal readings. Cleaning may help, but it will not fix a failed sensor or damaged wiring.
Will P0221 fail an inspection?
In many states a check engine light on for this code will fail an emissions inspection. The repair needs to be completed and the monitors set before the car will pass.
Related codes
- P0120 Throttle/Pedal Position Sensor/Switch 'A' Circuit
- P0121 Throttle/Pedal Position Sensor/Switch 'A' Circuit Range/Performance
- P0122 Throttle/Pedal Position Sensor/Switch 'A' Circuit Low
- P0123 Throttle/Pedal Position Sensor/Switch 'A' Circuit High
- P0220 Throttle/Pedal Position Sensor/Switch 'B' Circuit
- P0222 Throttle/Pedal Position Sensor/Switch 'B' Circuit Low
Related problems
This guide covers most cars and is general advice, not an inspection. Prices are typical US independent-shop ranges and vary by region, car and shop. If your brakes, steering or a warning light feel unsafe, stop driving and contact a mechanic.