Skip to main content
O Trucking
OBD-II Diagnostic Trouble Code

P0766 — Shift Solenoid D Performance/Stuck Off

P0766 means shift solenoid D is performing poorly or stuck off. The TCM commanded solenoid D on, but gear ratio or pressure switch feedback shows the circuit did not apply. The electrical side usually tests good.

Severity 4/5 Truck-relevant
Stop within 50 mi
Severity
Stop within 50 mi Shift Solenoid D Performance/Stuck Off
Code
P0766
Category
Powertrain
Subsystem
Transmission
Truck-relevant
Yes
O Trucking From the O Trucking network CDL jobs guide — where to start in 2026 Hiring paths, endorsements, and what carriers actually want. Read guide

What this means for truckers

Stop within ~50 miles on a Cummins X15, Detroit DD15, PACCAR MX-13. Driving longer risks damaging adjacent components (turbo housing, head gasket, aftertreatment) and turning a $300 fix into a $3,000 fix.

Before you replace parts — try this first

P0766 on the Transmission system is most often solenoid d valve stuck closed from debris or varnish — not a dead part. On commercial diesels especially, work these in order before spending money on parts:

  1. Confirm the symptoms. Match what your truck is doing to the Symptoms section below. If the code is set but the symptoms are not there, clear the code and re-test after a drive cycle — it may not return.
  2. Clean and dry the sensor connector. Water, road salt, or oil seeping into a connector is the #1 fake sensor failure. Disconnect, look for green corrosion or moisture, spray with electrical contact cleaner, dry, reseat. Many faults clear here for $0.
  3. Inspect the wiring harness. Trace the wire from the sensor toward the ECM — look for chafing against the engine block, melted insulation near the turbo or exhaust, or pinch points where a clamp has rubbed through.
  4. Test the sensor before swapping it. Most Common Causes (below) list the expected voltage or resistance range — a $20 multimeter saves a $300 sensor swap that does not fix the problem.
  5. Only then, replace the part. Use the OEM or a tier-1 aftermarket. Cheap sensors throw the same code in two weeks.
Symptoms

Slipping or flaring on the shift that uses solenoid D, missing gears or a fixed limp gear. Loaded trucks may show high RPM without matching road speed during the affected shift. Warning light present.

Common causes
  • CommonSolenoid D valve stuck closed from debris or varnish ($350–$1000)
  • CommonLow fluid or restricted filter ($150–$500)
  • OccasionalSticking shift valve or worn valve body ($900–$2800)
  • OccasionalInternal leak at clutch piston seals in the solenoid D circuit ($1500–$5000)
How to fix
Check fluid level hot and inspect fluid condition
When to use: Always first
Command solenoid D on with a scan tool and watch hydraulic response
When to use: To confirm stuck-off behavior
Service fluid and filter, clean or replace solenoid D
When to use: When fluid is dirty or solenoid sluggish
Pressure test and repair valve body or internal seals
When to use: If the code returns after solenoid replacement
Affects most

No specific vehicle pattern found in our complaint database. This code can appear on any vehicle that supports OBD-II diagnostics.

Related

Frequently Asked Questions

Can I drive with code P0766?
Drive with caution. P0766 is severity 4 — stop within ~50 miles. Most commercial diesel codes at this severity (turbo, fuel rail, transmission solenoid) can damage adjacent expensive components if left unrepaired. Get to a service location before highway-speed loads.
How much does it cost to fix P0766 on a commercial truck?
Total repair cost ranges $150–$5000 depending on the root cause. The cheapest fix is usually the first one listed below — Solenoid D valve stuck closed from debris or varnish — which is also the most common. On commercial trucks the cost is usually higher than passenger vehicles due to part availability and shop labor rates ($120–185/hour at most truck shops, vs $90–130 at general auto shops). DIY-capable fixes (sensors, hoses, filters) are at the low end; major component replacements (turbo actuator, high-pressure fuel pump, transmission solenoid pack) are at the high end. Always diagnose with a scan tool BEFORE replacing parts — guessing wrong on a $1,500 turbo actuator when the actual issue was a $30 boost hose is a common expensive mistake.
Will P0766 fail a DOT inspection?
P0766 typically doesn't fail an inspection on its own. Inspectors focus on safety items (brakes, steering, tires, lights, HOS). Transmission codes only become an issue if the truck has shifting problems severe enough to qualify as 'mechanical fitness' OOS. Fix to prevent escalation.
What's the difference between P0766 and related codes?
P0766 is closely related to: P0700 (Transmission Control System Malfunction), P0701 (Transmission Control System Range/Performance), P0702 (Transmission Control System Electrical), P0703 (Brake Switch B Circuit). These codes share the same subsystem (transmission) and often appear together. If you see this code, scan for the full code list — fixing the root cause usually clears multiple companion codes at once. If only P0766 is set without the companions, the issue is more isolated.
How do I prevent P0766 from coming back after a repair?
For P0766 (Shift Solenoid D Performance/Stuck Off), prevention centers on the transmission system. Service transmission fluid at the OEM interval (typically 150K–250K miles for HD autos). Don't skip the magnet/strainer inspection. After repair, perform an adaptive shift relearn with a scan tool (or drive 40+ miles for adaptive ECMs to relearn naturally).

Need help diagnosing a tough engine code?

Ready to Grow Your Trucking Business?

Dispatch support for your trucking business. Explore our current service options.