P0387 Code: Crankshaft Position Sensor B Circuit Low
8 min read · by Nicole Bennett · Last updated: November 26, 2026
The p0387 code means the crankshaft position sensor B circuit reads low. The engine computer receives a signal from sensor B that falls below its expected range, so it stores the fault and turns on the check engine light.
The crankshaft sensor tells the computer when to fire the spark and inject fuel. A fault in this circuit can affect how the engine starts and runs, so it deserves a prompt check.
What the P0387 code means on your scanner
P0387 is a generic OBD-II code for a crankshaft position sensor B circuit low condition, which means the sensor signal reads below its expected range. The first letter, P, marks it as a powertrain code, covering the engine and transmission.
CarCodeFinder’s P0387 reference page titles the code Crankshaft Position Sensor B Circuit Low and cites the SAE J2012 standard for its generic range. It also groups the code with other crankshaft sensor faults, which is why the sensor and its wiring are the first place to look.

The code names a circuit, not a part. A low reading can come from the sensor itself, from a short in its wire, from a dirty connector or from the computer input. Your job is to find which one is failing before you buy parts.
Wikipedia’s OBD-II reference notes that the meaning of some code ranges can vary by manufacturer or model. If your scanner shows different wording, or the make’s service information names the circuit differently, follow the service manual for your exact vehicle.
What crankshaft position sensor B does
A crankshaft position sensor reports the position and rotational speed of the crankshaft, and the engine computer uses that signal to set ignition timing and fuel injection timing. Wikipedia’s crankshaft position sensor article describes this role in detail.
The crankshaft sensor is also the main source of engine speed in most systems. It works with the camshaft sensor so the computer can synchronize the engine when it starts, which means a fault here can stop a start before the engine turns over properly.
Crank sensors come in several designs, including inductive, Hall-effect, magnetoresistive and optical types. The design affects how the signal looks on a scope, but the scanner code is the same. The B label refers to a separate crankshaft sensor circuit in the manufacturer’s numbering, and the location of that sensor depends on the engine design. If your scanner also lists P0386 Code, that guide covers it.
Common causes of P0387
The most likely cause of P0387 is a short to ground in the sensor B wiring. A failed or shorted sensor, a corroded connector and a fault at the computer input come next, in that order of likelihood.
- Short to ground in the sensor B wiring
- A failed or shorted crankshaft position sensor
- Corroded or moisture-soaked connector pins
- A shorted computer input, the least likely cause on the list
Wikipedia names three conditions that commonly kill crank sensors: extreme heat, vibration that fractures a wire, and corrosion on harness connector pins. Each one can pull the sensor signal low, so the scanner shows the same code whether the sensor or its harness failed.
Wiring is the reason a new sensor often fails to fix the problem. If the harness shorts to ground, a fresh sensor plugged into that harness reads the same fault. Check the wire path before you spend money on the part, especially near the exhaust heat and moving parts.

Symptoms you may notice with P0387
P0387 usually comes with a lit check engine light, and the engine may stall, idle unevenly or lose power. The symptoms depend on how unreliable the crank signal is at the moment you drive.
- Check engine light on the dashboard
- Stalling, or a no-start condition
- Erratic or unsteady RPM
- Loss of power and hesitation under load
- Misfire, vibration or a rough idle
Wikipedia notes a pattern that is worth reporting to a shop. A failing crank sensor can make the engine hard to start when hot, then let it start again after it cools. That heat-related pattern points toward the sensor or its wiring rather than the fuel system. Some scans return a group of codes in this range, and P0388 Code is one of them.
The engine may also cut out while running, not just at startup. If you notice the engine dying at a stoplight or on a highway ramp, treat that as the main symptom and do not wait for the check engine light to change. Best Automotive Scan Tool under 1000 compares tools that make this test faster.
How to check P0387 with a scanner
Start with the freeze frame data, then measure the sensor B signal at running RPM and check the wiring for a short to ground. Wikipedia’s OBD-II PIDs reference explains that freeze frame data holds the values recorded when the code was stored, which is what makes it useful here.
The freeze frame tells you whether the fault happened at idle, during a cold start or at highway speed. Engine speed is reported by PID 0C, so check the rpm value at the moment the code set.
- Connect a scanner and record the freeze frame data, the pending codes and the engine speed and temperature when the fault set.
- Measure the sensor B signal voltage at running RPM with a multimeter or a live data graph. A low reading points to a low circuit.
- Disconnect the sensor and check the circuit for a short to ground with the meter set to resistance.
- Inspect the connector for moisture, green corrosion or bent pins.
- Compare the live readings with sensor A. A large gap between the two narrows the fault to the sensor B side.
Clear the code only after the repair, then drive the car through its normal cycle and check whether the code returns. A cleared code tells you nothing about whether the circuit is fixed, because the computer can only confirm it after the fault is gone.
If your scanner cannot show live data, a shop with a full diagnostic tool can capture the signal in a few minutes. That step is worth paying for when the code keeps returning after a sensor swap.
Is it safe to drive with P0387?
P0387 is a serious code. CarCodeFinder rates it critical and advises stopping the vehicle, because the engine can lose its timing reference while you are still driving.
The risk is loss of power or a stall at a bad moment, such as a turn across traffic or a highway merge. A short trip to a shop in light traffic may be manageable, but a rough or stalling engine is a reason to stop in a safe place and call for a tow.
This advice is about the code with symptoms or a suspected short. A single code with a steady engine and no stalling still needs a diagnosis before a long trip, because the cause can grow worse under heat and vibration. If a nearby code such as P0385 Code is stored too, its guide is worth reading.
Repair options and what to expect
The repair depends on the cause, and a wiring or connector repair usually costs less than a new sensor. Check the circuit first, then decide whether the sensor needs replacing.
If the scan shows a short to ground, repair the harness first. Fix a chafed wire, repair a damaged connector or clean the corroded pins, then recheck the live signal before you close the job.
If the sensor reads out of range on its own test, replace it with the part specified for your engine. Check the computer input last, since CarCodeFinder lists it as the least likely cause.
Costs vary by make, engine and whether a dealer or an independent shop does the work. Ask for the live data readings and the wire test results with the estimate, so you can see which part of the circuit was actually faulty.
Frequently Asked Questions
Can I keep driving with a P0387 code?
Not for long. CarCodeFinder rates the code critical and advises stopping. A crank sensor fault can make the engine cut out while running, so limit driving to a short trip to a safe place or a shop. The freeze frame data from the scan helps the technician see the conditions at the fault.
Does P0387 mean the crankshaft sensor is bad?
Not always. The code reports a low circuit reading, and a short to ground in the wiring is the most likely cause on the CarCodeFinder list. Test the wire and connector before replacing the sensor, because a new sensor on a shorted circuit will show the same fault.
Do I need a professional scanner to check it?
A basic code reader shows the P0387 code, but live data and freeze frame need a scanner that reads those values. Wikipedia’s OBD-II reference describes Service 06 as test results for other monitored components, which some tools display for deeper diagnosis.
Is the P0387 definition the same on every car?
The core definition is generic, but Wikipedia notes that some code meanings vary per manufacturer or model. The P stands for powertrain. Confirm the wording and the test values in the service manual for your make and model year before ordering parts.
Check the circuit before the sensor. A short to ground is the most likely cause on the CarCodeFinder list, and a wiring check costs less than a sensor you may 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
LearnC0563 Code: Calibration ROM Checksum Error Explained
LearnP0730 Mercedes Code: Gear Ratio Causes and Scanner Checks
LearnU0100 Jeep Cherokee: Diagnose Lost PCM Communication and Starting Problems
LearnP0662 Code: Diagnose Intake Manifold Circuit High and Restore Engine Performance
LearnManually Release BMW Emergency Parking Brake: Safe Steps
LearnC0043 Code: Identify Brake Sensor Faults and Protect Braking Performance