C0387 code: meaning, causes and how to diagnose it
6 min read · by Nicole Bennett · Last updated: November 26, 2026
The c0387 code means the transfer case could not complete a requested shift, and it is listed as “Unable to Perform Shift (GM).” GM has a separate bulletin for cases where the code comes and goes, and that bulletin changes how a shop should approach it.
Carcodefinder lists a 4WD warning message as a main symptom. Whether the fault is steady or intermittent decides the next step, so note how often it appears before anything is replaced.
The timing behind this code is very short. The control module expects the transfer case motor to start moving within a fraction of a second of a request.
What the c0387 code means
Carcodefinder’s C0387 entry gives the definition as “Unable to Perform Shift (GM)” and rates it moderate severity. The page ties the code to the four-wheel-drive and transfer case system.
The page says the code is mainly a GM assignment for Chevrolet, GMC, Buick and Cadillac, and that other makes may use it differently. Confirm the meaning in your make’s service information before you act on the label.
The 50 millisecond shift rule
GM’s bulletin explains that the transfer case control module watches the shift shaft after a shift or a slip correction is requested. If the transfer case motor does not begin to move the shift shaft within 50 milliseconds, C0387 can set.
Temperature and system voltage also affect how fast the motor responds. That is why the bulletin asks the technician to find out when the problem happens, not only what the scan tool shows. Some scans return a group of codes in this range, and C0379 code is one of them.
Hard code or intermittent code
The first decision is whether C0387 is a current, hard code or a stored, intermittent one. The bulletin gives different instructions for each.
A current, hard code is diagnosed with the published procedures. For a stored code that is intermittent and cannot be repeated, the bulletin’s steps are below, in order. The GM bulletin PIP5003C is the source for them.
- Attempt to shift the transfer case through all ranges successfully.
- Safely test drive in automatic 4WD in conditions that cause the encoder motor to act, such as a slip event.
- If the code is still intermittent and cannot be reproduced, do not replace the transfer case control module or re-flash it with the same software.
The third step is the one that prevents an unnecessary module replacement. Replacing a module for a c0387 code that cannot be repeated does not prove the module was faulty, and the bulletin warns against it.

Causes listed for the c0387 code
Carcodefinder ranks the causes for the c0387 code in this order. The first two are rated high likelihood, and the page treats the other two as less likely.
- A fault in the transfer case or 4WD component the code names, rated high likelihood.
- Damaged wiring or corroded connectors, common in road-splash areas.
- A failed related sensor or actuator, rated moderate likelihood.
- A control module fault, rated low likelihood.
Carcodefinder’s steps for a c0387 code are a GM-capable scan tool to read the subcode, live data for the related circuit, a wiring and connector inspection, and GM’s pinpoint test before parts are replaced.
Symptoms and the intermittent pattern
Carcodefinder lists the symptoms as a 4WD warning message or light, a 4WD that will not engage or disengage, and possible binding in turns. An intermittent fault may show only some of these, which makes the customer’s account important. If a nearby code such as C0376 code is stored too, its guide is worth reading.
- When the message appears, such as during a shift or a slip event.
- The temperature outside and how long the truck had been running.
- Whether the battery voltage looked low, such as during cranking.
Write these details down before the visit for a c0387 code. The bulletin asks technicians to question the customer about when the condition happens, because the answer narrows the test. Doing this job more than once? Best Handheld OBD2 Scanners for Mechanics covers tools that pay for themselves.

When the encoder motor is the answer
The bulletin’s last step is replacing the transfer case encoder motor. It applies only when the condition repeats and no root cause has been found.
In that case, the bulletin says the encoder motor is probably not responding quickly enough and should be replaced. The motor is not the first move, and a shop should document the failed tests before it is replaced.
Is it safe to drive with a c0387 code?
Carcodefinder says the truck is generally safe to keep driving, but the fault should be repaired soon. The code will not clear on its own, so the warning returns until the cause is found.
Because the c0387 code is about a shift that did not happen, do not count on the 4WD engaging when you need it, such as on a slippery grade. If the truck allows it, keep to 2WD for normal driving until the system is checked. For a nearby code in this range, see C0374 code.
Any change in braking or steering is urgent. Stop driving and have the truck inspected before going further.
What a c0387 repair can cost
Carcodefinder estimates a c0387 code repair at $150 to $900, depending on whether the fault is the encoder motor, a switch or wiring. The page rates the DIY difficulty as moderate.
GM’s bulletin is written for professional technicians, not do-it-yourself repairs. Ask the shop to explain what it tested before approving parts, since the bulletin’s steps are designed to rule out replacements.
Frequently Asked Questions
What does “unable to perform shift” mean on a GM 4WD truck?
It means the transfer case did not complete a requested shift within the expected time. Carcodefinder lists the code as “Unable to Perform Shift (GM),” and GM’s bulletin ties it to the shift shaft position check.
Should the transfer case control module be replaced for C0387?
Not for an intermittent code that cannot be repeated. The GM bulletin says not to replace the module or re-flash it with the same software in that case. A current, hard code follows the published diagnostics instead.
Can temperature or battery voltage set C0387?
The bulletin says temperature and system voltage can affect how the transfer case motor responds. That is why it asks the technician to find out when the condition happens before deciding on a repair.
When does the encoder motor need replacing for C0387?
The bulletin says to consider it only after repeat occurrences with no root cause found. In that situation, the encoder motor is probably not responding quickly enough and should be replaced.
A c0387 code is best handled by documenting when it happens and testing before replacing anything. Ask the shop to show the test results, and avoid relying on the 4WD until the system is checked.
-
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
Learnp2454 code: Diagnose a Low DPF Pressure Sensor Signal
LearnP0302 Jeep Code: Cylinder 2 Misfire Causes and Swap Test
LearnP0101 Mercedes Diagnosis to Find Airflow Faults Faster
LearnC0284 Code: EBCM Malfunction (GM) Explained
LearnP0442 Mazda: Find and Fix EVAP Small Leaks
LearnP0125 Dodge: Find the Cause of Coolant Warm-Up Problems