P0400

Crankshaft Position Sensor B Circuit Intermittent

Powertrain Ignition System Crankshaft Position Sensing 🟡 Moderate — Fix within a week ⚠️ Drive with Care
💬

What This Actually Means

In plain language — no jargon

Your engine's timing sensor is sending spotty signals to the computer, like a radio that keeps cutting out. The ECU can't reliably track piston position, which throws off ignition and fuel timing.

Symptoms You May Notice

3 known symptoms for this code
Check Engine Light illuminates intermittently
Engine hesitation or stumbling during acceleration
Hard starting or rough idle
🔬

How Your ECU Detects This

Technical sensor logic and voltage thresholds

The ECM monitors voltage and signal frequency from Crankshaft Position Sensor B to confirm precise piston location for spark timing and fuel injection. It expects consistent signal transitions within specific voltage windows; intermittent dropouts or weak signals trigger this fault.

Voltage & Parameter Thresholds

ParameterNormal RangeFault Condition
Sensor Signal Voltage 0.2V to 4.8V with clean transitions Voltage spikes, dropouts, or erratic transitions below 0.2V or above 4.8V
Signal Frequency Stability Consistent pulses matching engine RPM Intermittent signal loss or frequency variance >10% over 100ms window
🔧

Diagnostic & DIY Fix Guide

Check these in order — from cheapest to most complex
1
Crankshaft Position Sensor B connector and wiring
Inspect connector for corrosion, loose pins, or damaged wires; reseat connector firmly and clean terminals with electrical contact cleaner.
2
Crankshaft Position Sensor B
Remove sensor from engine block, check air gap (typically 0.020-0.050 inches) against reluctor ring, clean sensor tip, and reinstall.
3
Engine wiring harness and shielding
Trace sensor wiring for abrasion, pinches, or separation from shielding; repair or re-route away from high-heat and high-voltage components.
⚠️

When to See a Professional Mechanic

Not all fault codes are safe to DIY

Code P0400 is a moderate fault. You can generally drive to a workshop, but avoid long trips or high-load driving (motorway, uphill towing) until it is diagnosed. If the code keeps returning after clearing, or if you notice the symptoms listed above worsening, do not delay professional diagnosis. Many moderate codes have multiple possible root causes — a mechanic with live OBD data can identify the exact fault more efficiently than part-by-part trial and error.

Safety note: OBD-II codes identify the system or circuit where a fault was detected — they do not always identify the exact failed component. A professional mechanic using live sensor data will diagnose the root cause more accurately than replacing parts based on the code alone.
🔄

How to Clear Code P0400

What happens after you fix the fault

Once the fault is repaired, P0400 can be cleared using any OBD-II scanner. Connect the scanner, navigate to "Clear Codes" or "Erase DTCs," and confirm. The check engine light turns off immediately.

The code will return if the root cause was not actually fixed. The ECM re-detects the fault within 1–3 drive cycles and sets the code again.

✅ Safe to Clear When
  • Fault has been diagnosed and repaired
  • You want to confirm the repair worked
  • Code appeared after a sensor was cleaned
⚠️ Do Not Clear When
  • Preparing for an emissions/PUC test
  • Root cause is still undiagnosed
  • Check engine light is flashing
Emissions test note: Clearing codes resets OBD readiness monitors. Most vehicles need 50–100 km of mixed driving before monitors complete. Do not clear codes immediately before an emissions or PUC inspection.