✅ The short answer
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.
| Item | DIY | Shop |
|---|---|---|
| Standalone TPS part | $15-$60 | $15-$60 |
| Integrated throttle body | $80-$300 | $80-$300 |
| Labor | $0 | $80-$180 |
| Total (standalone) | ~$15-$60 | $120-$250 |
| Time | 15-30 min | 30-60 min |
| Skill level | Beginner | n/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.
🔍 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.
| Type | Found on | What you replace |
|---|---|---|
| Standalone TPS | Most cable-throttle vehicles, roughly pre-2008 | Just the sensor, $15-$60 |
| Integrated (drive-by-wire) | Most electronic-throttle vehicles, ~2008 and newer | The 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
📝 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.