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
Ad
Tools You'll Need
- OBD2 diagnostic scanner (preferably with live data and bi-directional control)
- Digital multimeter
- Vehicle-specific wiring diagram
- Throttle body cleaner spray
- Soft-bristle brush or lint-free cloth
- Phillips and flathead screwdrivers
- Socket and ratchet set
- Electrical contact cleaner
- Safety glasses
How to Fix Error Code P2166
-
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. -
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. -
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. -
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. -
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. -
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. -
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.