2019 Mercedes-Benz P0335: What It Means & Is It Safe to Drive?

P0335 on the 2019 Mercedes-Benz: Crankshaft Position Sensor A Circuit Malfunction. Here's what it means, what usually causes it, what repairs typically cost, and whether it's safe 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 on the 2019 Mercedes-Benz

  • 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 2019 Mercedes-Benz, repairs for P0335 typically fall between $100 and $350, depending on the root cause and labor rates in your area.

Known issues on Mercedes-Benz

Mercedes P0335 crankshaft position sensor fault often means a failed sensor or connector corrosion. On M271 engines, the crank sensor is positioned near the front of the block and can be contaminated by oil from a leaking front crankshaft seal—inspect the seal before sensor replacement.

Most commonly affected models

C-Class M271 2004–2011E-Class M272 2006–2012ML-Class M272 2006–2011

Is it safe to keep driving your 2019 Mercedes-Benz with this code?

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

See all codes for your Mercedes-Benz

Looking for a different code, or want the full guide without the year filter?