P0777 Duramax Code: Solenoid B Stuck On Causes and Checks
6 min read · by Nicole Bennett · Last updated: November 25, 2026
A P0777 Duramax code means the transmission control module sees pressure control solenoid B behaving as if it is applied when it was commanded off. The code is about a stuck-on solenoid in the transmission, not a problem in the engine.
Do not ignore it. A transmission that holds the wrong pressure can shift badly or hold one gear, so keep trips short and get it checked soon.
What the P0777 Duramax code means
P0777 is a generic OBD-II transmission code that flags pressure control solenoid B as stuck on. Car Code Finder’s Duramax P0777 page lists the same SAE J2012 definition that applies to any vehicle.

“Stuck on” means the control module commands the solenoid off, yet the transmission responds as if the valve is still applied. The module sees the mismatch and stores the code.
GM sets the exact conditions for its diesels in service information. Use that as the final reference for your model year, since the thresholds are not the same on every truck.
Symptoms you will notice with P0777
The usual signs are a Check Engine light, harsh or delayed shifts, and erratic shifts. In some cases the transmission holds one gear and will not change.
- Check Engine light on
- Harsh, delayed or erratic shifts
- The transmission stuck in a single gear
- Shifts that feel different on a cold start than on a warm engine
Write down the conditions when the shifts go wrong, such as cold or warm, highway or stop-and-go. Those notes help a technician narrow the cause faster than a code alone.
Likely causes of P0777, in order
Low or contaminated fluid and a sticking solenoid B valve are the two most likely causes. The wiring and internal hydraulic faults follow behind them on the usual list.
- Low or contaminated fluid (high likelihood): fluid that is low or dirty can change the pressure the valves see.
- A sticking solenoid B or its valve (high likelihood): debris or wear can keep the valve applied when it should release.
- An electrical fault in the solenoid B circuit (moderate likelihood): a wiring short or poor connection can hold the solenoid on.
- An internal hydraulic or clutch fault (low likelihood): the least common cause, and usually the costliest.
The transmission depends on fluid to do its job. Wikipedia’s automatic transmission article describes how fluid is pressurized and sent to the clutches and bands, and how computer-controlled solenoids direct that flow in modern designs.
If a second electrical code appears with P0777, the wiring deserves attention before the valve. A related solenoid B fault is in P0776 solenoid B causes. Replacing a valve on a circuit fault wastes money and leaves the cause in place.
How to check P0777 step by step
A basic scanner, a multimeter and your service information cover most first checks. Begin with fluid, because it is the cheapest and most likely cause on the list.

- Check the transmission fluid level and condition with the method in your owner’s manual. Note any burnt smell or debris.
- Read all stored codes and list any electrical codes that appear with P0777.
- Inspect the solenoid B wiring and connector for chafing, corrosion or a loose pin.
- Measure the solenoid resistance and compare it with the service specification for your model year.
- If your scanner can command the solenoid, cycle it and watch whether the transmission responds.
Specifications and test methods change by model year, so do not rely on a general number. A shift solenoid B stuck-on code is covered in P0757 Duramax code. If the fluid and wiring pass, a shop with transmission-specific tools can test the valve and the internal pressure circuits.
Keep a simple log while you test. Write down the fluid level, the stored codes, the resistance reading and the shift behavior at each step. A shop can use that log to skip repeat tests, and you can see whether a fix changed anything. If the fluid is fine and the resistance matches the specification but the code still sets, the valve may stick only under heat or load, so ask the technician to test under those conditions. Other faults on the same vehicle are covered in P0736 Duramax Code.
Repair options and rough cost
A fluid service is usually the least expensive fix, and it is the right first step when the fluid is low or dirty. A solenoid or valve body replacement costs more, and internal clutch or hydraulic work costs the most.
Shop prices vary by region, truck and transmission design, so ask for a written estimate that names the cause. Online price figures are a rough guide only, and you should confirm them with the shop before approval.
Clearing the code does not fix a solenoid that stays applied. Circuit-open variants are in P0960 Duramax code. Expect the code to return if the root cause is still present, and keep the shifting problem on your list until the test results confirm the repair.
When to stop driving
Stop driving if the truck will not hold a gear, slips badly, or loses drive power while shifting. A transmission in that state needs a tow, not a trip across town.
For most owners, a short drive to a shop is an acceptable risk because the code is rated serious but generally driveable with caution. Avoid heavy towing, steep grades and long highway runs until the cause is found.
Frequently Asked Questions
What does P0777 mean on a Duramax?
P0777 means pressure control solenoid B is stuck on, so the transmission acts as if the valve is applied when it is commanded off. It is a generic OBD-II code, and GM sets the exact conditions in its service information for each model year.
Is P0777 more serious than P0776?
Both are rated serious by the same source. P0777 means stuck on and P0776 means poor performance or stuck off. Both codes share the same likely causes, so the checks for fluid and wiring are the same for each.
Can I clear P0777 and keep driving?
Clearing the code only hides the stored fault. If the solenoid or the fluid condition is still wrong, the code and the shifting problem will likely return, so find the cause before you rely on the truck.
Should I replace the solenoid first?
Not usually. Check the fluid level and condition, then inspect the wiring and connector. Replace the solenoid only after those checks point to the valve, since a circuit fault can damage a new part just as quickly.
Start with the cheap checks and keep a record of what you find. A shop that gets the fluid, wiring and test results in one place can usually confirm the cause faster and avoid paying for parts you do not need.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0736 Duramax Code: Reverse Incorrect Ratio Causes and Fixes
LearnP0712 Duramax Code: Transmission Fluid Temperature Sensor A Circuit Low
LearnP0717 Duramax Code: Input Speed Sensor No Signal
LearnP0733 Duramax Code: Gear 3 Incorrect Ratio Causes and Fixes
LearnP0732 Duramax Code: Gear 2 Incorrect Ratio
LearnP0293 Code: Cylinder 11 Contribution Fault Meaning and Fixes