OBD-II Generic Error Code P2166: How to Fix It

Medium 1-3 hours Medium Severity Verified June 2026
Error Code
P2166
Brand
OBD-II Generic
Product Type
automotive
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
1-3 hours
OBD-II error code P2166 indicates that the throttle position sensor (TPS) circuit D is reporting a signal that is out of the acceptable range at the high stop position — meaning the sensor is not correctly detecting when the throttle is fully open or returning to idle. This issue can cause rough idling, poor acceleration, reduced engine power, or even trigger limp mode to protect your engine. While the code is rated medium severity, ignoring it can lead to worsening drivability problems and potential damage to the throttle body or engine management system.
Ad

Tools You'll Need

How to Fix Error Code P2166

  1. Scan and Record All Fault Codes

    Do not clear codes without recording them first. Clearing codes also resets readiness monitors, which may affect emissions testing.
  2. Inspect the Throttle Position Sensor Wiring and Connector

    Always turn the ignition OFF before inspecting or disconnecting any sensor connectors to avoid electrical damage or false codes.
  3. Test the Throttle Position Sensor Voltage

    Use care when manually opening the throttle plate on electronic throttle control (ETC) vehicles — never force the throttle plate open against the motor.
  4. Inspect and Clean the Throttle Body

    Do not spray throttle body cleaner into a running engine. On vehicles with electronic throttle control, avoid forcing the throttle plate as this can damage the throttle motor.
  5. Perform a Throttle Position Sensor Relearn Procedure

    Skipping the relearn procedure after sensor work may cause the code to return immediately or cause rough idle even after a correct repair.
  6. Replace the Throttle Position Sensor or Throttle Body Assembly

    After replacing the throttle body assembly, always perform the manufacturer-recommended relearn procedure. Failure to do so can result in poor idle, hesitation, or repeated fault codes.
  7. Clear Codes and Road Test

Parts You May Need

Throttle Position Sensor (TPS)
Check Price on Amazon
Throttle Body Assembly
Check Price on Amazon
Throttle Body Cleaner Spray
Check Price on Amazon
Electrical Contact Cleaner
Check Price on Amazon
Wiring Repair Kit (terminals, wire, heat shrink)
Check Price on Amazon
Throttle Position Sensor (TPS)
Check Price on Amazon
Throttle Body Assembly
Check Price on Amazon
Throttle Body Cleaner Spray
Check Price on Amazon
Electrical Contact Cleaner
Check Price on Amazon
Wiring Repair Kit (terminals, wire, heat shrink)
Check Price on Amazon
Throttle Position Sensor (TPS)
Check Price on Amazon
Throttle Body Assembly
Check Price on Amazon
Throttle Body Cleaner Spray
Check Price on Amazon
Electrical Contact Cleaner
Check Price on Amazon
Wiring Repair Kit (terminals, wire, heat shrink)
Check Price on Amazon
Throttle Position Sensor (TPS)
Check Price on Amazon
Throttle Body Assembly
Check Price on Amazon
Throttle Body Cleaner Spray
Check Price on Amazon
Electrical Contact Cleaner
Check Price on Amazon
Wiring Repair Kit (terminals, wire, heat shrink)
Check Price on Amazon
Ad

When to Call a Professional

You should seek help from a qualified mechanic or automotive technician if: the code returns after replacing the throttle position sensor and performing the relearn procedure; you find damaged wiring that requires tracing back through the harness or into the ECM connector; your vehicle has an electronic throttle control (ETC or drive-by-wire) system and the throttle plate does not move freely; the engine enters limp mode repeatedly and acceleration is severely impaired; or you are unable to perform the throttle relearn procedure with a basic OBD2 scanner and require a dealer-level or professional scan tool. Throttle body and ETC system issues can be safety-critical, so do not continue driving the vehicle if throttle response feels erratic or uncontrollable.

Frequently Asked Questions

What does P2166 mean on my car?
P2166 means the engine control module (ECM) has detected that throttle position sensor circuit D is reporting a voltage or signal that is too high at the throttle's high stop (wide-open throttle) position. This tells the ECM the sensor is not performing within expected parameters, which can affect how the engine manages fuel delivery and throttle response.
Can I drive my car with a P2166 code?
In many cases you can drive short distances, but it is not recommended. P2166 can cause reduced engine power, erratic acceleration, or cause the vehicle to enter limp mode, which limits your speed for safety. Continuing to drive with this fault may cause additional stress on the throttle body or engine management system. Have the issue diagnosed as soon as possible.
How much does it cost to fix a P2166 code?
If the fix is simply cleaning the throttle body or repairing a damaged wire, costs can be under $50 in parts and cleaner. If the throttle position sensor needs replacement, expect $50–$200 for the part depending on your vehicle. If the entire throttle body assembly must be replaced, parts alone can range from $100–$400 or more. Adding labor at a shop, total repair costs commonly range from $150–$600 depending on the vehicle make and model.
What is the difference between P2166 and other throttle position sensor codes like P0120 or P0122?
P0120–P0124 codes relate to throttle position sensor circuit A, which is the primary TPS signal. P2166 specifically refers to TPS circuit D, which is part of the redundant sensor system used in modern electronic throttle control (ETC or drive-by-wire) vehicles. Many modern throttle bodies have multiple TPS circuits that cross-check each other for safety. A fault in circuit D specifically may indicate a problem unique to one of those redundant sensors or its wiring.
Do I need to do a throttle relearn after replacing the throttle position sensor?
Yes, in most cases a throttle relearn or idle relearn procedure is required after replacing the throttle position sensor or throttle body assembly. Without this procedure, the ECM may not correctly calibrate the idle position, which can cause rough idle, hesitation, or the fault code to return. The relearn procedure varies by vehicle — consult your owner's manual, a vehicle-specific service manual, or ask your mechanic to perform it with a professional scan tool.