What a TPS sensor does and why it fails

Your throttle position sensor (TPS) tells your engine's computer how far open the throttle is when you press the gas pedal. The computer uses that signal to adjust fuel injection, ignition timing, and transmission shifting. When the TPS fails, your engine can't read throttle input correctly, which causes rough idle, hesitation during acceleration, poor fuel economy, or a check engine light.

TPS sensors fail because they wear out over time. The sensor sits on the throttle body and experiences constant movement as you accelerate and decelerate. The internal contacts inside the sensor can corrode, the wiper that slides across the resistor track can get stuck, or the electrical connection can loosen. Most TPS sensors last 80,000 to 150,000 miles, though some fail much earlier if exposed to moisture or heat damage.

You'll know the sensor is likely bad if your check engine light is on and a scan tool reads a code like P0120, P0121, P0122, or P0123 — all TPS-related codes. You might also notice the engine stalling at stops, refusing to idle smoothly, or surging unexpectedly while driving.

Key Takeaways

  • A failing TPS sensor produces a check engine light and codes P0120 through P0123, and causes rough idle, hesitation, or stalling.
  • Replacement typically costs $150 to $400 in labor plus $50 to $200 for the sensor itself, depending on your vehicle make and location.
  • The job takes 30 minutes to two hours and requires only basic hand tools on most vehicles, making it a reasonable DIY task if you're comfortable with electrical connectors.
  • After replacement, the sensor must be relearned by the engine computer through a specific idle relearn procedure, which varies by manufacturer.
  • A faulty TPS can trigger transmission problems or rough running that feels like an engine issue, so confirm the code before replacing other parts.

Symptoms that point to a TPS sensor problem

The most reliable sign is a check engine light paired with a TPS code. Use an OBD-II scanner (available at most auto parts stores for $25 to $100, or free if you borrow one) to read the code. If you see P0120, P0121, P0122, or P0123, the TPS is the likely culprit.

Beyond the code, watch for these driving symptoms: the engine idles roughly or stalls when you come to a stop, the car hesitates or stumbles when you accelerate from a standstill, the engine surges or races unexpectedly while cruising, or fuel economy drops noticeably. Some vehicles also shift transmission gears harshly or at the wrong time because the computer is receiving bad throttle data.

Not every rough idle or hesitation is the TPS — a dirty fuel injector, bad oxygen sensor, or vacuum leak can cause similar symptoms. That's why reading the actual code is essential. If your scanner shows no TPS code, the problem lies elsewhere.

Cost to replace the sensor and labor

The sensor itself usually costs $50 to $200 depending on whether you buy OEM (original equipment manufacturer) or aftermarket, and which vehicle you drive. Luxury brands and some imports run higher. Labor at a shop typically ranges from $150 to $400, though independent shops are often cheaper than dealerships.

Total out-of-pocket at a shop is usually $200 to $600. If you replace it yourself, you pay only for the sensor. Many auto parts stores will read your check engine code for free to confirm the TPS is the problem before you buy anything.

Some vehicles have the TPS integrated into the throttle body assembly, which means you can't replace just the sensor — you have to replace the entire throttle body. This costs significantly more, sometimes $400 to $800 in parts alone. Check your vehicle's service manual or call a shop with your year, make, and model to find out which type you have.

How to replace it yourself

Replacing a TPS sensor is straightforward on most vehicles. Start by disconnecting the negative battery terminal to cut power to the electrical system. Locate the throttle body — it's bolted to the intake manifold and has a cable or electronic linkage running to it. The TPS sensor is mounted on the side of the throttle body and held by two small bolts.

Unplug the electrical connector from the sensor by pressing the release tab or clip. Remove the two mounting bolts and slide the sensor out. Before installing the new one, check that the throttle plate inside the throttle body is in the closed position. Install the new sensor, align the mounting holes, and thread the bolts in by hand first to avoid cross-threading. Tighten them snugly but not hard — they're small bolts and strip easily. Plug in the electrical connector and reconnect the battery.

The entire job takes 30 minutes to an hour on most vehicles. You'll need a socket set, a screwdriver, and possibly a small wrench. Some vehicles require removing the air intake tube or other components to reach the sensor, which adds time. Consult your vehicle's service manual or a repair guide specific to your year and model before you start.

Relearning the sensor after installation

After you install a new TPS sensor, the engine computer must relearn its position. This is called an idle relearn procedure or throttle relearn, and it's essential — without it, the engine may run rough or the check engine light may come back on.

The relearn procedure varies by manufacturer. On many vehicles, you straightforward turn the key to the "On" position (without starting the engine) for a few seconds, then turn it off and wait 10 seconds. Repeat this three times, then start the engine normally and let it idle for 10 to 20 minutes without touching the gas pedal. The computer watches the sensor signal and learns the closed-throttle position.

Some vehicles require driving at specific speeds or using a diagnostic scanner to initiate the relearn. Ford, GM, Honda, and Toyota each have slightly different procedures. Check your vehicle's service manual or search for "[your year, make, model] TPS relearn procedure" online. If you're not sure, take the vehicle to a shop for the relearn — it usually costs $50 to $100 and takes 15 minutes.

When to take it to a shop instead

If your vehicle's TPS is part of the throttle body assembly and can't be replaced separately, a shop is your better option. The throttle body removal and reinstallation is more involved, and the relearn procedure is more complex. Shops have the diagnostic equipment to confirm the sensor is bad and to complete the relearn correctly.

You should also go to a shop if you're uncomfortable working with electrical connectors, removing bolts from the intake manifold area, or performing the relearn procedure. A mistake during removal can damage the throttle body or intake manifold gasket, leading to vacuum leaks and a much bigger repair bill. If you're unsure about any step, it's worth paying for labor to avoid that risk.

If the check engine light returns after you replace the sensor and complete the relearn, take the vehicle back to the shop or have a scanner read the code again. A persistent TPS code can mean the new sensor is defective, the wiring harness is damaged, or the throttle body itself is faulty.

Confirming the TPS is actually the problem

Before you buy a sensor, use an OBD-II scanner to read the check engine code. If the code is P0120, P0121, P0122, or P0123, the TPS is almost certainly the problem. If you see a different code — like P0171 (fuel system too lean), P0300 (random misfire), or P0505 (idle control system) — the TPS may not be the issue.

Some shops will diagnose the problem for free or for a small fee ($50 to $100) if you're not sure. This is worth doing because replacing the wrong part wastes money and leaves the real problem unfixed. A bad oxygen sensor, vacuum leak, or fuel injector can mimic TPS symptoms, and a proper diagnosis saves you from guessing.

If you've already replaced the TPS and the light came back on with the same code, the new sensor may be defective, the wiring to the sensor may be damaged, or the throttle body itself may be faulty. Have the wiring checked before assuming the replacement sensor is bad.

Frequently Asked Questions

Can I drive with a bad TPS sensor?

You can drive short distances, but it's not safe for long trips. The engine may stall at stops, hesitate during acceleration, or surge unexpectedly. You also risk damaging the catalytic converter if the engine runs too rich for an extended period. Have it replaced as soon as you can.

Will a bad TPS sensor cause a transmission to shift hard?

Yes. The transmission computer relies on throttle position data to decide when to shift gears. A faulty TPS can cause harsh shifts, delayed shifts, or shifting at the wrong speed. Once you replace the sensor, transmission shifting usually returns to normal.

Do I need to clear the check engine light after replacing the TPS?

The light should go off on its own after you complete the relearn procedure and drive the vehicle for a few minutes. If it stays on after relearning, use an OBD-II scanner to clear the code manually, then drive for 50 to 100 miles to confirm the code doesn't return. If it does, the sensor or wiring may be faulty.

What's the difference between OEM and aftermarket TPS sensors?

OEM sensors are made by the vehicle manufacturer and typically cost more but have a higher reliability rate. Aftermarket sensors are cheaper and usually work fine, but quality varies by brand. Read reviews for the specific sensor you're buying. Many aftermarket sensors come with a warranty, so you can return it if it fails.

Can a bad TPS sensor damage other parts of the engine?

A faulty TPS won't directly damage the engine, but it can cause the engine to run too rich (too much fuel), which can foul spark plugs and damage the catalytic converter over time. Replace it promptly to avoid secondary damage.