Generic OBD-II / Powertrain

P0221 - P0221 Usually Means Throttle Position Sensor B Is Out of Range or Performing Poorly

P0221 is a generic OBD-II code for a throttle position sensor or switch B range/performance fault.

This is a generic OBD-II guide that can apply across many makes. Exact test flow, sensor locations, and repeat failure patterns can still vary by manufacturer and engine family.

Severity

Medium

Keep driving?

Usually short trips only

Most likely cause

A worn sensor, wiring issue, or sticky throttle body is usually the first place to look.

DIY friendly?

Basics first

First checks take 10 to 20 minutes for the first checks. No special tools are usually needed for the first checks.

Can you keep driving?

Can you keep driving?

Stop driving if any of these apply

  • !The engine starts stalling, losing power sharply, or refusing to respond to throttle normally.
  • !The check-engine light flashes or the vehicle suddenly runs much worse after the code appears.
If the light is steady and the vehicle still drives normally: Often yes for a short time, but it should not be ignored.

What to check first

Step-by-step checks

  1. 1

    Free - no tools

    Inspect the connector and harness for looseness, corrosion, or damaged insulation

  2. 2

    Free - no tools

    Compare the live throttle reading at idle, tip-in, and wide-open throttle before replacing the sensor

  3. 3

    Basic tool needed

    Check whether the problem started after cleaning the throttle body or working on the intake

  4. 4

    Basic tool needed

    Notice whether the pedal response feels erratic or delayed

  5. 5

    Basic tool needed

    If an electronic throttle body is fitted, look for related throttle actuator codes as well

If the code returns

  • -If the reading drops out or spikes during a wiggle test, wiring moves higher on the list.
  • -If the throttle plate is sticking, clean and inspect it before condemning the sensor.
  • -If the code returns after replacement, confirm the reference and ground side before buying another part.

Background

What this code means

P0221 is a generic OBD-II code for a throttle position sensor or switch B range/performance fault.

That means the signal exists, but the ECU does not trust it because it is not behaving the way it should across throttle movement.

Diagnosis

Common causes

Most common

Worn TPS signal

The sensor can drift out of a believable range over time.

Common

Connector or harness issue

A poor connection can create range/performance faults.

Common

Throttle-body sticking

Mechanical issues can make the signal look wrong even when the sensor is okay.

Possible

Reference voltage fault

The sensor may be fine but the supply side is not.

Avoid these mistakes

What not to do

  • xDo not replace the sensor or pump first if there is obvious wiring, connector, or intake damage.
  • xDo not ignore drivability changes or stalling just because the code sounds electrical.

Parts

Parts that may need replacing

PartTypical costNotes
Throttle position sensor$30-$120Relevant if testing shows the signal is not plausible.
Throttle body cleaning$20-$80Worth doing if carbon buildup is affecting throttle movement.
Connector repair$15-$90Useful if the plug is loose or corroded.

See also

Related OBD codes

Source notes

Generic OBD-II (SAE J1979 / ISO 15031-5). P0221 was expanded around common throttle-position range/performance faults, including sensor wear, sticky throttle bodies, and wiring problems.

This guide is written as a generic multi-make reference, so bulletin history, sensor locations, and repair order can still change by manufacturer and engine family.

This is generic OBD-II guidance and should not override vehicle-specific service information. Exact diagnosis and repair steps vary by make, engine family, and model year.

Last reviewed: 2026-04-10

Reference: Open reference

Privacy and advertising

Choose whether to allow ad personalization

FixThisError may use Google AdSense on broad browse pages. Your choice controls whether advertising-related cookies and ad requests can be used. Core site content remains available either way.