P0335 on a Mercedes-Benz: Causes, Fixes & Repair Cost

⚠️ Severe · not recommended to drive

The engine may crank without starting or stall while driving, so have the Mercedes towed to a shop.

What P0335 means on a Mercedes-Benz

On a Mercedes-Benz, P0335 means the computer lost the crankshaft position signal needed to run the engine. The car may crank without starting or stall while driving.

Is P0335 common on Mercedes-Benzs?

Mercedes crankshaft position sensors are known to fail with age, especially on higher-mileage C-Class and E-Class models. Heat from the engine and normal wear are the usual culprits; the sensor must be replaced to restore the signal.

Commonly reported on: C-Class, E-Class, ML, GLK.

Symptoms

Common causes

How to fix it

FixDIY?Typical cost
Replace the crankshaft position sensorYes$70–240
Repair damaged wiring or the sensor connectorYes$20–150
Have a shop replace the sensor including laborMechanic$200–480

Frequently asked questions

Can I drive my Mercedes with a P0335 code?
No, not safely. The engine can stall at any time, so have the car towed to a shop.
Where is the crankshaft sensor on a Mercedes-Benz?
It is mounted low on the engine near the crankshaft pulley or flywheel, depending on the model.
How much does it cost to fix P0335 on a Mercedes-Benz?
The sensor costs about $70–240, and with shop labor the total is typically $200–480.

Other common Mercedes-Benz codes

P0420
P0420 on a Mercedes-Benz
P0171
P0171 on a Mercedes-Benz
P0300
P0300 on a Mercedes-Benz
P0456
P0456 on a Mercedes-Benz
P0430
P0430 on a Mercedes-Benz
P0128
P0128 on a Mercedes-Benz
P0455
P0455 on a Mercedes-Benz
P0174
P0174 on a Mercedes-Benz

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
BMW
P0335 on a BMW
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 Mercedes-Benz codes: Mercedes-Benz hub →

Updated 2026-08. This page is informational and not a substitute for professional diagnosis.