How to Replace a TPS Sensor: Idle & Hesitation Fix

If your engine idles rough, hesitates when you press the gas, or stalls at stops, a bad throttle position sensor is a likely culprit. Here is how to replace a TPS sensor in about 20 minutes, plus the calibration step most people skip.

⏱ 15-30 min job 💰 $15-$90 part 🔧 Basic tools ⚠ Relearn often required

✅ The short answer

This is a beginner-friendly DIY job on most older vehicles. Replacing a TPS sensor usually means removing two screws, unplugging one connector, and bolting in the new sensor. Done right, it cures rough idle and acceleration hesitation. The catch: on many cars you must let the ECU relearn the new sensor's idle position, or the problem will seem to return.

The throttle position sensor (TPS) tells your engine computer how far the throttle is open. The computer uses that signal to set fuel, spark timing, and on automatics, shift behavior. When the sensor develops dead spots or sends a jumpy signal, you get surging idle, a stumble off the line, and sometimes a stall. If you are not yet sure the TPS is the problem, run a quick check on your rough idle symptoms first so you do not replace a part that was never bad.

Before you buy anything, confirm whether your vehicle even has a separate, replaceable TPS. On most cars built from roughly 2008 onward the throttle is electronic and the sensor is integrated into the throttle body. We cover that distinction below.

💵 Cost and time breakdown

Here is what to expect whether you do it yourself or hand it to a shop. Prices vary by make, but these ranges hold for most common vehicles.

ItemDIYShop
Standalone TPS part$15-$60$15-$60
Integrated throttle body$80-$300$80-$300
Labor$0$80-$180
Total (standalone)~$15-$60$120-$250
Time15-30 min30-60 min
Skill levelBeginnern/a

A standalone sensor is one of the cheapest fixes in the engine bay. Doing it yourself with a $25 to $60 part keeps the whole job under about $60. If your car uses an integrated electronic throttle body, the part costs more but the install is just as simple, usually four bolts and one plug.

🔧 Step-by-step: how to replace a TPS sensor

Set aside 30 minutes for your first time. You will need a socket set or Torx bits, a flat screwdriver, and ideally a multimeter to verify the new sensor.

1. Disconnect the battery

Pull the negative battery terminal. This protects the electronics and starts clearing the ECU's old learned values, which doubles as part of your relearn later.

2. Locate the TPS

It sits on the side of the throttle body, opposite the throttle cable or actuator, where the throttle shaft passes through. It is a small plastic sensor with a 3-wire connector. If you cannot find a separate sensor, your throttle body is likely electronic and integrated.

3. Unplug and remove

Press the locking tab and pull the connector off. Remove the two retaining screws (often Torx T20 or small Phillips). Note the orientation of the old sensor before it comes off.

4. Install the new sensor

Slide the new TPS onto the throttle shaft in the same orientation. The shaft is usually D-shaped or keyed so it only fits one way. Start both screws by hand, then snug them. Do not overtighten plastic housings; roughly 12 to 20 in-lb is plenty. Reconnect the plug until it clicks.

5. Verify with a multimeter (optional but smart)

With the key on and engine off, back-probe the signal wire. Voltage should sit near 0.5V to 0.9V at closed throttle and sweep smoothly up toward 4.5V as you open the throttle by hand. A jumpy or dropping reading means a bad sensor or wiring. If readings look wrong, check for related codes like P0121 or P0122.

6. Reconnect and relearn

Reconnect the battery. Many vehicles need an idle relearn: turn the key on for a few seconds without starting, then start and let it idle for two to five minutes without touching the throttle. Some makes require a scan tool relearn. Skipping this step is the single most common reason a fresh sensor still hesitates.

Not sure the TPS is your problem?
Get a ranked list of likely causes for your exact symptoms, year, make, and model.
Run AI Diagnosis →

🔍 Standalone sensor vs. integrated throttle body

This is the decision that trips up most people buying parts. Get it wrong and you order a sensor that does not exist for your car.

TypeFound onWhat you replace
Standalone TPSMost cable-throttle vehicles, roughly pre-2008Just the sensor, $15-$60
Integrated (drive-by-wire)Most electronic-throttle vehicles, ~2008 and newerThe whole throttle body, $80-$300

If you have an electronic throttle body, the position sensor is sealed inside and is not sold separately. The good news is that swapping the whole throttle body is still a beginner job, typically four bolts and one connector. After replacing an electronic throttle body, a relearn is almost always mandatory, and skipping it can leave the car in limp mode.

⚠ Common mistakes to avoid

  • Skipping the relearn. The ECU stores the old sensor's closed-throttle voltage. Install a new sensor with a slightly different baseline and the car can idle high, idle low, or keep hesitating until you relearn.
  • Forcing the orientation. The throttle shaft is keyed. If the sensor will not seat flush, you have it rotated wrong. Never bolt it down under tension.
  • Overtightening the screws. The housing is plastic. Crack it and you have wasted the part. Snug, do not crank.
  • Replacing the TPS when it was a vacuum leak. Rough idle and surging also come from unmetered air. Confirm symptoms before spending money. Our engine hesitation guide helps you tell them apart.
  • Buying a standalone sensor for a drive-by-wire car. Check your year and engine first so you order the right part.

🧮 How to confirm it's the TPS before you buy

A short diagnostic saves you from a parts-cannon repair. Work through this before ordering anything.

  • Scan for codes. Codes in the P0120 to P0124 range point directly at the throttle position circuit. A code plus matching symptoms is strong evidence.
  • Watch live data. If you have a scan tool, watch TPS percentage as you slowly press the pedal. The value should rise smoothly with no spikes or dropouts. Glitches in the sweep confirm a failing sensor.
  • Multimeter sweep test. As described in step 5, a smooth voltage climb is good; any jump or dead spot is a bad sensor.
  • Rule out the cheap stuff. A vacuum leak, dirty throttle body, or failing idle air control valve can mimic these symptoms. A quick throttle body cleaning sometimes fixes hesitation for the price of a can of cleaner.

If you would rather not guess, get a quote checked before paying a shop. Our quote checker tells you whether the price you were given for a TPS or throttle body job is fair for your area.

❓ Frequently asked questions

Can I replace a TPS sensor myself?
Yes. On most vehicles a throttle position sensor is held by two screws on the side of the throttle body and connects with a single plug. It is one of the easier sensor jobs, usually 15 to 30 minutes with basic hand tools. The tricky part is correct alignment and, on some models, a relearn or idle relearn procedure afterward.
How much does it cost to replace a TPS sensor?
The part typically runs $15 to $90 depending on whether it is a standalone sensor or built into the throttle body. A shop will usually charge $120 to $250 total with labor. Doing it yourself with a $25 to $60 sensor keeps the job under about $60.
Do I need to reset or calibrate the TPS after replacing it?
Often yes. Many vehicles need the ECU to relearn the new sensor's idle position. Disconnecting the battery for 10 to 15 minutes or running a scan tool idle relearn clears the old learned values. Skipping this is the most common reason the new sensor still idles or hesitates poorly.
What are the symptoms of a bad TPS sensor?
Rough or surging idle, hesitation or stumble on light acceleration, unexpected stalling, surging at steady speed, and a check engine light with codes like P0121, P0122, or P0123. Some cars also drop into limp mode or shift harshly because the transmission relies on the throttle signal.
How do I know if it's the TPS or the throttle body?
On older cable throttle bodies the TPS is a separate, replaceable sensor. On most vehicles from roughly 2008 onward the throttle body is electronic and the position sensor is built in, so you replace the whole throttle body. Check your specific year, make, and model before buying a standalone sensor that may not exist for your car.

📝 TL;DR

To replace a TPS sensor: disconnect the battery, remove two screws on the side of the throttle body, unplug the old sensor, install the new one in the same keyed orientation, snug the screws without overtightening, then run an idle relearn. Budget $15 to $60 and about 20 minutes for a standalone sensor. If your car has an electronic throttle body, you replace the whole unit instead, and a relearn is mandatory. Confirm the sensor is actually bad with codes or a multimeter sweep before you buy.