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

Common causes

How to fix it

FixDIY?Typical cost
Replace the crankshaft position sensorYes$60–220
Repair damaged wiring or the sensor connectorYes$20–150
Have a shop replace the sensor with laborMechanic$180–450

Frequently asked questions

Will my BMW start with a P0335 code?
Often not. The engine may crank but won't fire because the computer needs the crankshaft signal to make a spark.
Where is the crankshaft sensor on a BMW?
It is mounted low on the engine near the crankshaft or flywheel; the exact location varies by model.
How much does it cost to fix P0335 on a BMW?
The sensor runs about $60–220, and a shop will typically charge $180–450 total including labor.

Other common BMW codes

P0420
P0420 on a BMW
P0171
P0171 on a BMW
P0300
P0300 on a BMW
P0456
P0456 on a BMW
P0430
P0430 on a BMW
P0128
P0128 on a BMW
P0455
P0455 on a BMW
P0174
P0174 on a BMW

P0335 on other brands

Toyota
P0335 on a Toyota
Honda
P0335 on a Honda
Ford
P0335 on a Ford
Chevy
P0335 on a Chevy
Nissan
P0335 on a Nissan
Mercedes-Benz
P0335 on a Mercedes-Benz
Volkswagen
P0335 on a Volkswagen
Hyundai
P0335 on a Hyundai
Subaru
P0335 on a Subaru
Mazda
P0335 on a Mazda
Jeep
P0335 on a Jeep
GMC
P0335 on a GMC
Lexus
P0335 on a Lexus
Volvo
P0335 on a Volvo

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.