Home/BMW/P0335

What does code P0335 mean on a BMW and is it safe to drive?

P0335: Crankshaft Position Sensor A Circuit Malfunction. Here's what it means on your BMW, what usually causes it, what repairs typically cost, and how safe it is to keep driving.

PowertrainHigh urgency

What this code means

The PCM is not receiving the expected signal from the crankshaft position sensor (CKP). This sensor tells the ECM the exact position and speed of the crankshaft. Without it, the engine may not start or will stall and run poorly.

Common causes for your BMW

  • Failed crankshaft position sensor
  • Damaged or corroded sensor wiring/connector
  • Tone ring (reluctor wheel) damage or debris
  • Failed PCM (rare)

Symptoms

  • Engine won't start or stalls unexpectedly
  • Check Engine Light on
  • Engine cranks but will not fire
  • Intermittent stalling at speed

Typical fixes

  • Replace crankshaft position sensor
  • Inspect and repair wiring harness and connector
  • Check tone ring for damage or packed debris

Repair cost range

For a BMW, repairs for P0335 often fall between $100 and $350, depending on the cause and whether you use OEM or aftermarket parts. Labor rates vary by location.

Known issues on BMW

BMW N52 and N54 P0335 can be caused by a failed CKP sensor or Valvetronic timing issues. Confirm the reluctor ring on the crankshaft is intact before replacing the sensor—the ring can separate on high-mileage N54 engines.

Most commonly affected models

3 Series 2006–20125 Series 2008–2013X5 2007–2013

Is it safe to keep driving your BMW with this code?

For driving-safety guidance—how far you can go, when to tow, and what's urgent—see these checklists:

Browse P0335 on your BMW by model year

Year-specific guides include BMW-tailored causes and repair costs.

More codes for BMW

View all OBD2 code guides for BMW