P0335 on a BMW: Causes, Fixes & Repair Cost
⚠️ Severe · not recommended to drive
The engine may crank without starting or stall while driving, so have the BMW towed to a shop.
What P0335 means on a BMW
On a BMW, P0335 means the engine computer isn't receiving the crankshaft position signal it needs to fire the ignition. The engine may crank but not start, which is a classic symptom of a failed BMW crankshaft sensor.
Is P0335 common on BMWs?
BMW crankshaft position sensors fail with age and heat, and this code is common on higher-mileage 3 Series and 5 Series models. The sensor sits near the crankshaft and can be tight to reach, so many owners have a shop do the job.
Commonly reported on: 3 Series, 5 Series, X3, X5.
Symptoms
- Engine cranks but won't start
- Engine stalls while driving
- Check engine light is on
- No spark reaching the spark plugs
Common causes
- most common: Failed crankshaft position sensor
- common: Heat and age damage to the sensor wiring
- common: Loose or corroded sensor connector
- less common: Damaged trigger wheel or reluctor teeth
How to fix it
| Fix | DIY? | Typical cost |
|---|---|---|
| Replace the crankshaft position sensor | Yes | $60–220 |
| Repair damaged wiring or the sensor connector | Yes | $20–150 |
| Have a shop replace the sensor with labor | Mechanic | $180–450 |
Frequently asked questions
Other common BMW codes
P0335 on other brands
Looking for the full (non-brand-specific) guide? See the P0335 code page →
Browse all BMW codes: BMW hub →
Updated 2026-08. This page is informational and not a substitute for professional diagnosis.