Know My EngineEspañol
Home / BMW 3.0 Turbo 6-cyl (335i/340i/X3/X5 M40i) / P0335

P0335 on the BMW 3.0 Turbo 6-cyl (335i/340i/X3/X5 M40i): what it means

Crankshaft sensor circuit. BMW 3 Series, BMW 4 Series, BMW 5 Series.

Get it checked this week

What P0335 means on this engine

Crankshaft sensor circuit.

The crankshaft sensor tells the computer how fast the engine is turning and where each piston is. Without that signal the computer can't time the spark or the fuel. The sensor, its connector or its wiring has a fault.

The usual suspects
Sensor or wiring.
What you'll notice
The engine cranks but won't start, stalls when hot and restarts after cooling, or cuts out for a moment while driving.

Can you keep driving?

On this engine: you can drive gently, but get it checked this week.

Not reliably. If the signal drops the engine stops, wherever you are. Have it fixed before you depend on the car.

The part behind it: Crankshaft position sensor

What it does
Reports engine speed and position.
Why it fails
Heat or wiring failure.
Other signs you'll notice
Stalls or won't start, P0335.

In the full guide for this engine

  • How to check it yourself, step by step
  • What fixes it, and who should fix it: you, a shop or a mechanic
  • Where the part sits on a 3D engine you can turn
  • The exact part to ask for
Open the full guidePlans from $39 a year.

Know this about your engine

The one rule for this engine: watch the coolant level and the dashboard for coolant warnings. The electric water pump, plastic thermostat housing and expansion tank are the parts that leave these sixes stranded, and overheating can warp the head. Replacing them as a set around 80,000 miles is common practice.

Cars with this engine

Other codes on this engine

Dashboard lights on this engine