What a throttle position sensor does and why it fails

Your throttle position sensor (TPS) tells your engine computer how far open the throttle is when you press the gas pedal. The computer uses that signal to adjust fuel and ignition timing. When the sensor fails, your engine often runs rough at idle, hesitates when you accelerate, or triggers a check engine light.

The sensor wears out because it's a moving part exposed to heat and vibration. Inside the sensor is a resistor that changes resistance as the throttle moves. After years of opening and closing thousands of times, the resistor can wear out or the electrical connection can corrode. Once it fails, the computer can't read throttle position accurately, and the engine runs poorly.

You can confirm a bad TPS by connecting a diagnostic scanner to your vehicle's OBD-II port (the socket under the dashboard on the driver's side). A scanner will read the sensor's voltage output and show whether it's within the normal range. If the reading jumps erratically or stays stuck at one value, the sensor is likely bad.

Key Takeaways

  • A throttle position sensor sits on or near the throttle body and sends a signal to the engine computer about how far the gas pedal is pressed.
  • Replacement usually takes 15 to 45 minutes and requires only a screwdriver and a new sensor, though some vehicles require a relearn procedure afterward.
  • The sensor costs between $75 and $250 depending on your vehicle, and labor at a shop typically runs $150 to $300.
  • After replacement, many vehicles need a relearn procedure where you turn the key on and off in a specific sequence so the computer resets its baseline reading.
  • If you're not comfortable working under the hood, a mechanic can do the job in under an hour, but the procedure is straightforward enough for a confident DIY person.

Locating the throttle position sensor on your vehicle

The TPS bolts directly to the throttle body, which is the metal housing that opens and closes when you press the gas pedal. On most vehicles, the throttle body sits on top of or to the side of the engine, connected to the air intake. Look for a cylindrical or rectangular component about the size of a walnut with an electrical connector on one side.

The exact location varies by make and model. On some vehicles it's straightforward to see from above the engine; on others you may need to remove the air intake tube or look from underneath. Your vehicle's service manual or a repair guide specific to your year and model will show you exactly where it is. If you're unsure, take a photo of your engine bay and search online for "[your year, make, model] throttle position sensor location."

Before you start, disconnect the negative battery terminal to cut power to the sensor and prevent accidental electrical damage. Wait a few minutes to let any residual power drain from the system.

Removing the old sensor

Once you've located the sensor, unplug the electrical connector by pressing the release tab or clip and gently pulling it straight out. Take a photo of the connector orientation so you can plug the new one in the same way.

Next, remove the bolts holding the sensor to the throttle body. Most sensors have two or three bolts, usually 8mm or 10mm, that you can remove with a socket wrench or screwdriver depending on the bolt head. Keep the bolts in a safe place — you'll reuse them for the new sensor. Carefully pull the sensor straight out and set it aside.

Inspect the throttle body opening where the sensor was mounted. If you see carbon buildup or dirt, wipe it clean with a dry cloth. Do not use cleaner or solvent unless your service manual specifically says to, because some throttle bodies have a coating that can be damaged.

Installing the new sensor

Before you install the new sensor, check that it matches the old one — same shape, same connector type, same bolt pattern. If it doesn't match, you may have ordered the wrong part.

Slide the new sensor into the mounting location and align the bolt holes. Insert the bolts by hand first to make sure they thread correctly, then tighten them snugly with your wrench. Don't overtighten — these bolts are small and straightforward to strip. A snug fit is all you need.

Plug the electrical connector back in, making sure it clicks or seats fully. The connector should not wiggle or come loose with a gentle tug. Reconnect the negative battery terminal.

Relearning the sensor (required on most vehicles)

After you install a new TPS, the engine computer needs to relearn the sensor's baseline reading. Without this step, the idle may be rough or the engine may run poorly until the computer figures out the new sensor on its own, which can take days of driving.

Most vehicles use this relearn procedure: turn the ignition key to the "On" position without starting the engine, wait three seconds, then turn it back to "Off." Repeat this cycle five times, ending with the key in the "Off" position. Then start the engine normally. The computer will now recognize the new sensor's signal.

Some vehicles have different relearn steps — a few require you to press the gas pedal to the floor while the key is on, or to drive at a specific speed for a set time. Check your vehicle's service manual or search online for the exact procedure for your year and model. If you skip this step, the check engine light may come back on even though the sensor is good.

When to take it to a mechanic instead

If your throttle body is hard to reach, buried under other components, or if your vehicle requires special tools or computer reprogramming, a shop is the better choice. Some luxury or newer vehicles also have throttle bodies that need cleaning or calibration after sensor replacement, which requires a diagnostic scanner.

Labor costs at a shop typically run $150 to $300 depending on how long the job takes and your location. The sensor itself costs $75 to $250. If you're not confident removing bolts or working with electrical connectors, paying a mechanic is worth the peace of mind — a bad installation can damage the throttle body or leave the connector loose, which causes the same symptoms you started with.

Troubleshooting if the problem persists after replacement

If you've replaced the sensor and the check engine light is still on, or the engine still runs rough, the problem may not be the sensor itself. Scan the vehicle again with a diagnostic scanner to see what code is showing. If it's still a TPS code, the new sensor may be defective, the connector may not be fully seated, or the wiring to the sensor may be damaged.

If the code has changed to something else, the original problem may have been a different sensor or component. A bad mass airflow sensor, oxygen sensor, or fuel pressure regulator can cause similar symptoms. If you're unsure what the new code means, take the vehicle to a mechanic or post the code number online — most codes are well documented and will point you to the real culprit.

Frequently Asked Questions

How do I know if my throttle position sensor is bad?

Common signs are a check engine light, rough idle, hesitation when accelerating, or stalling at stops. A diagnostic scanner will read the sensor's voltage and show whether it's within the normal range for your vehicle. If the reading is stuck or jumps erratically, the sensor is likely bad.

Can I drive with a bad throttle position sensor?

You can drive short distances, but the engine will run poorly and may stall. The longer you drive, the more fuel you waste because the computer can't adjust the fuel mixture correctly. It's best to replace it as soon as you confirm it's bad.

Do I need a new gasket when I replace the sensor?

Most throttle position sensors don't use a gasket — they bolt directly to the throttle body with a rubber seal built into the sensor itself. Check your service manual or the instructions that come with the new sensor. If a gasket is needed, it will usually be included with the new sensor.

What if the relearn procedure doesn't work?

If the check engine light comes back after relearning, the new sensor may be defective or the connector may not be fully seated. Unplug the connector, inspect it for bent pins or corrosion, and plug it back in firmly. If the light persists, the sensor may need to be replaced under warranty.

Is throttle position sensor replacement covered by warranty?

If your vehicle is still under the manufacturer's warranty, a bad sensor is usually covered. If you're past the warranty period, you pay for the part and labor. Some extended warranties cover sensors, so check your paperwork or call your warranty provider.