OBD-II Generic Error Code P0221: How to Fix It

Medium 30-90 minutes Medium Severity Verified June 2026
Error Code
P0221
Brand
OBD-II Generic
Product Type
automotive
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
30-90 minutes
Error code P0221 means the engine control module (ECM) detects a range or performance issue with the second throttle position sensor (TPS B). This sensor tells the computer how far you've pressed the accelerator. A faulty sensor or wiring can cause poor acceleration, stalling, or limp mode.
Ad

Tools You'll Need

How to Fix Error Code P0221

  1. Safety First

    Always disconnect the battery before working on electrical components to prevent short circuits or airbag deployment.
  2. Locate the Throttle Position Sensor

  3. Inspect Wiring and Connector

  4. Test the Sensor with a Multimeter

    Be careful not to short the probes. Keep them away from moving parts.
  5. Replace the TPS (If Faulty)

    Do not overtighten screws; they can strip or crack the throttle body.
  6. Clear the Code and Test Drive

Parts You May Need

Throttle Position Sensor (TPS)
Check Price on Amazon
Throttle Body Gasket
Check Price on Amazon
Throttle Position Sensor (TPS)
Check Price on Amazon
Throttle Body Gasket
Check Price on Amazon
Throttle Position Sensor (TPS)
Check Price on Amazon
Throttle Body Gasket
Check Price on Amazon
Throttle Position Sensor (TPS)
Check Price on Amazon
Throttle Body Gasket
Check Price on Amazon
Ad

When to Call a Professional

If you've replaced the TPS, checked wiring, and the code persists, the issue may be a faulty throttle body, ECM, or internal engine problem. A professional mechanic can perform advanced diagnostics and throttle body relearn procedures.

Frequently Asked Questions

Can I drive with a P0221 code?
It's not recommended. The vehicle may enter limp mode, limiting speed and acceleration, or stall unexpectedly. Drive only to a repair shop.
Is P0221 the same as P0121?
No. P0221 refers to TPS B (sensor 2), while P0121 refers to TPS A (sensor 1). However, both indicate throttle position sensor issues.
How much does it cost to fix code P0221?
DIY cost is $20-$80 for a new TPS sensor. Professional repair costs $150-$300 including labor and diagnostics.
Can a dirty throttle body cause P0221?
Yes, carbon buildup can affect sensor readings. Cleaning the throttle body may resolve the code in some cases.
Do I need to program the new TPS?
Some vehicles require a throttle position relearn procedure after replacement. Consult your service manual or use an OBD2 scanner with that function.