How to Replace a BMW Camshaft Sensor

A camshaft position sensor on a BMW is a sensor that reads the position of the camshaft in relation to the engines timing and fuel delivery. There are two camshaft position sensors, one inlet and one exhaust, but the one that fails most commonly is the inlet sensor. If a camshaft sensor goes bad, it can result in erratic idling, as well as stalling. Fortunately, it is a relatively easy part to replace for even the relatively inexperienced home mechanic.

Things You'll Need

  • 5 mm Allen key
  • 6mm socket
  • 10mm socket
  • New camshaft position sensor and O-ring
  • The sensor is located on the left side of the oil filter. Remove the air filter and air filter box.

  • Disconnect the wiring harness to the mass air flow sensor and the air box temperature sensor.

  • Remove the tube that leads to the idle control valve.

  • Unscrew the 6-mm nut with a socket that holds the hose clamp that downstream of the mass airflow sensor. You should now be able to see the camshaft position sensor.

  • Remove the air intake silencer with a 10-mm socket.

  • Using a 5-mm Allen key, remove the nut that holds the camshaft sensor in place. Remove the engine cover and disconnect the sensor electrical connection at the top of the motor. Clearance around the dipstick is tight, but it is possible to remove the connector.

  • Install the new camshaft sensor with an oiled O-ring. Ensure that the sensor seals properly, and then reassemble everything in the order of removal.