Go-Parts
Cart 0
Your cart is empty
Add an item to see it appear here.
Wrenchy
Go-Parts Garage
Expert guides for diagnosing, troubleshooting, and replacing auto parts Expert guides for diagnosing and replacing auto parts
Browse All →
🎬 Helpful Videos 🛍️ Shop This Part

P0335 on 2006-2013 BMW with N52/N53 Engine: Crank Sensor Causes and Fixes

On a BMW with the N52 or N53 engine, code P0335 almost always points to a failed crankshaft position sensor. This can cause long cranks, stalling, or a no-start condition. Expect to pay $60-$100 for an OEM-quality sensor from a brand like VDO, but the repair is labor-intensive due to its location under the intake manifold and starter.

21 minutes to read 2006-2013 BMW Multiple
Most Likely Cause
Failed Crankshaft Position Sensor
Difficulty
4/5
Est. Time
3.5 hrs
DIY Doable?
🔧 Shop
Shop Labor
$400 – $800
Parts Price
$60 – $120
🚫 Do not drive — Driving is not recommended. The engine may stall at any time without warning, fail to restart, or enter a limp mode with severely reduced power, creating a significant safety risk in traffic.
Key Takeaways
  • P0335 on your N52/N53 BMW means the crankshaft position sensor signal is lost, which will cause serious drivability problems like stalling, long cranking, or a no-start.
  • The sensor itself is the most likely culprit, but always inspect the wiring and connector for damage, especially after other nearby repairs.
  • The repair is known for being labor-intensive due to the sensor's location under the intake manifold and starter. A faster method from below is possible but requires skill and specific tools.
  • Only use a high-quality OEM (Genuine BMW) or OE supplier (VDO/Continental) sensor. Cheaper aftermarket sensors are a common cause of repeat failures for this specific part.
The trouble code P0335 stands for "Crankshaft Position Sensor 'A' Circuit Malfunction." This means the engine control module (ECM), which BMW calls the Digital Motor Electronics (DME), has lost the signal from the crankshaft position sensor. This sensor's job is to tell the DME the exact rotational speed and position of the engine's crankshaft. This information is one of the most critical inputs for the engine to run, as it controls ignition timing and fuel injection.

What's Unique About the 2006-2013 BMW Multiple

Engine bay of a BMW N52 engine showing the intake manifold and driver-side components.
The N52 and N53 engines feature a crankshaft sensor buried deep beneath the intake manifold and starter motor, making access the primary challenge.

For the N52 and N53 engines, the story of P0335 is one of difficult access. The crankshaft position sensor is notoriously buried on the driver's side of the engine block, tucked underneath the starter motor and intake manifold. While the sensor itself is a common failure item on many cars, on this platform, the labor to reach it is the main challenge. The standard procedure requires the complete removal of the intake manifold, turning a simple part swap into a multi-hour job 🎬 See this walkthrough for removing the manifold and replacing the sensor. that can be daunting for a novice DIYer.

Symptoms You May Notice

  • Engine takes a long time to crank before starting (extended crank).
  • Engine cranks but does not start at all.
  • Engine stalls unexpectedly while driving or at idle.
  • Rough, unstable, or fluctuating idle.
  • Noticeable loss of power and sluggish acceleration.
  • Check Engine Light is illuminated.
  • Transmission may enter 'limp mode,' getting stuck in one gear.
  • Symptoms may be intermittent or only appear when the engine is warm.
⚠️ Don't Waste Money on the Wrong Fix
  • Replacing the sensor without checking the wiring. Many owners replace the sensor only to find the issue persists because the root cause was a loose, broken, or oil-saturated connector.
  • Mistaking it for a camshaft position sensor fault. While symptoms can be similar (rough running, no-start), P0335 is specific to the crankshaft sensor.
  • Using a cheap, poor-quality aftermarket sensor. These are known to be unreliable and can fail quickly or not work at all, leading to a repeat of the same symptoms and code. Sticking to OEM or VDO/Continental is highly recommended.
  • Not seating the new sensor or connector properly. Due to the difficult access, it's easy to not fully seat the sensor in the block or fail to hear the 'click' of the electrical connector, leading to an immediate return of the code.

Most Likely Causes

Comparison between a new, clean crankshaft position sensor and a failed, oil-saturated sensor with a brittle connector.
A new OEM sensor (left) versus a common failure point (right) where oil leaks from the valve cover have saturated the sensor connector.
  1. Failed Crankshaft Position Sensor 🔴 High Probability The sensor is located in a high-heat area of the engine bay, and years of heat cycles cause the internal electronics and magnetics to degrade and fail. Oil leaks from components above, such as the valve cover gasket or oil filter housing gasket, can also contaminate the sensor and its wiring, accelerating failure.
    How to confirm: If the engine cranks but there is no RPM reading on a live data scanner, the sensor is the primary suspect. Testing the sensor's output with an oscilloscope is the most definitive test. Given the difficult access, many owners opt to replace the sensor as a primary diagnostic step if the code is present.
    Typical fix: Replace the crankshaft position sensor and its O-ring. It is critical to use a high-quality OEM or OE-supplier part (like VDO/Continental) as cheap aftermarket sensors are known to fail prematurely or be dead on arrival.
    Est. part cost: $60-$120
  2. Damaged Wiring or Loose Connector 🟡 Medium Probability The sensor's wiring is routed near hot and vibrating components, like the starter and exhaust. The plastic connector can become brittle and break, or the pins can get corroded. This is a common issue after a nearby repair, like a starter or clutch replacement, where the wiring may have been disturbed or not re-secured properly.
    How to confirm: Visually inspect the wiring harness leading to the sensor for any signs of melting, chafing, or breaks. Check that the connector is securely plugged in and that the locking tab is intact. Inspect its pins for corrosion or damage.
    Typical fix: Repair the damaged section of the wiring harness or replace the connector pigtail. Ensure the connector is clean and securely fastened with a click.
    Est. part cost: $15-$50

Rare But Worth Checking

  • Damaged Reluctor Wheel: The toothed wheel on the crankshaft that the sensor reads can be damaged, have missing teeth, or be excessively rusty, causing an erratic signal. This is very uncommon but can happen, especially if the engine has been previously disassembled.
  • Faulty Engine Control Module (DME): In very rare cases, the fault may lie within the DME itself, where it is unable to process the signal from a known-good sensor. This should only be considered after all other possibilities, including wiring and the sensor itself, have been exhaustively ruled out.
  • Blown Fuse: In some BMW models, the crankshaft position sensor circuit is protected by a dedicated fuse located in the main engine electronics box (E-box). A blown fuse will cause a complete loss of signal and a P0335 code.

Diagnosis Steps

  1. Connect an OBD-II scanner and confirm the P0335 code is present. Use a BMW-specific scanner for more detailed fault codes if possible.
  2. Monitor live data on the scanner while cranking the engine. Look for an RPM signal. If the RPM reads 0 while the engine is turning over, the DME is not receiving a signal from the sensor.
  3. Perform a visual inspection. Raise the vehicle safely. Locate the sensor on the driver's side of the engine block, below the starter motor. 🎬 Watch this video to see the exact sensor location on N52 engines. Check the sensor's connector for looseness, corrosion, or oil contamination. Inspect the wiring harness for any signs of damage, melting, or chafing against other components.
  4. If wiring looks good, the next step is to test the sensor. This can be done with a multimeter by checking for voltage and ground at the connector, but an oscilloscope is required to properly view the sensor's signal waveform.
  5. If the sensor and wiring test good, check the dedicated fuse for the crankshaft sensor in the E-box under the hood.
  6. Given the high failure rate of the sensor and the difficult access, if you have to remove the intake manifold to inspect the wiring, it is highly recommended to replace the sensor with an OEM/VDO part at the same time.

Parts You'll Likely Need

A high-quality OEM VDO/Continental crankshaft position sensor with its rubber O-ring.
Using a high-quality OEM or OE-supplier part like VDO/Continental is critical, as cheap aftermarket sensors often fail prematurely on this platform.
  • Crankshaft Position Sensor (OEM #13627525015) — This is the most common failure item for code P0335. The sensor's internal electronics fail from prolonged exposure to engine heat.
    Trusted brands: VDO (OEM), Continental (OEM), Hella
    OEM price range: $80-$120
    Aftermarket price range: $45-$75
  • Sensor O-Ring (OEM #12141748398) — A new O-ring is required to seal the sensor in the engine block. It is often sold separately from the sensor.
    Trusted brands: Genuine BMW, Elring
    OEM price range: $2-$5
    Aftermarket price range: $1-$3
  • Intake Manifold Gasket Set (OEM #11617547242) — If the intake manifold is removed to access the sensor (the most common method), these six individual gaskets must be replaced to prevent vacuum leaks.
    Trusted brands: Victor Reinz, Elring, Genuine BMW
    OEM price range: $30-$50
    Aftermarket price range: $20-$40

Related Codes That Often Appear With This One

  • P0336-P0339 — These are all related codes for the crankshaft position sensor circuit, indicating different types of faults (e.g., range/performance, intermittent).
  • P1727 — This is a BMW-specific code indicating a CAN message from the DME/DDE is missing. It's often triggered by the lack of a valid crankshaft signal, which is critical data the transmission control module needs to operate correctly.
  • 2E94 — This is a BMW-specific fault code that directly translates to a problem with the crankshaft sensor.

Platform-Specific Known Issues

  • Difficult Sensor Location: The primary issue for the N52/N53 engine is the sensor's location. Most repair procedures require removing the entire intake manifold to gain sufficient access, significantly increasing labor time and complexity.
  • Replacement from Below (Advanced DIY): Some experienced DIYers have managed to replace the sensor from underneath the car without removing the manifold. This method is faster but requires working in a very tight space with specific tools like a small ratchet, multiple extensions, a swivel socket, and an E8 or E10 external Torx socket (reports vary). This approach is challenging due to poor visibility and the risk of dropping the bolt or tools.
  • Broken Bolt During Removal: In some cases, the small external Torx bolt holding the sensor can be seized and break during removal, which dramatically complicates the repair, potentially requiring removal of the starter motor for access to extract the broken bolt.

Mechanic-Grade Diagnostic Values

  • Crankshaft Position Sensor Connector Voltage (Key On, Engine Off) — expected: Pin 1 (Orange wire): ~12V (Battery Voltage). Pin 2 (Black/White wire): Ground. Pin 3 (Yellow wire): ~5V (DME Reference Voltage).. Failure: No voltage on Pin 1 or Pin 3 indicates a wiring or DME power supply issue. No ground continuity on Pin 2 points to a bad ground.
  • Crankshaft Position Sensor Signal Test (Hall Effect Sensor) — expected: Using a multimeter on the signal wire (Yellow), the voltage should switch between ~5V and ~0V when a metal object is passed in front of the sensor tip.. Failure: Voltage that does not switch, is stuck high or low, or switches intermittently indicates a faulty sensor. An oscilloscope is the preferred tool to see the square wave signal clearly.

Hidden / Shadow Codes Worth Checking

  • 2A94: This is a common BMW-specific fault code for 'Crankshaft Sensor, Signal'. It is the direct equivalent of the generic P0335 code and will often appear alongside it or by itself when using BMW-specific diagnostic software like ISTA. (see via BMW-specific scan tools like ISTA, or advanced aftermarket scanners with BMW software (e.g., Foxwell, Autel, MHD).)
  • 3100: This is a shadow code for 'Boost-pressure control, deactivation' that is often triggered as a consequence of the 2A94/P0335 fault. The DME deactivates boost control as a protective measure when it loses the critical crankshaft signal. (see via BMW-specific scan tools that can read shadow or secondary fault codes.)

Scan Tool Commands That Help

  • ISTA: Delete engine adaptation values — After replacing the crankshaft position sensor or performing other major engine repairs, it is recommended to reset all engine adaptations. This forces the DME to relearn values for fuel trim, idle, and flywheel position with the new sensor data. The path is: Vehicle management > Service function > Power train > Engine Electronics > Adjustment functions > Delete engine adaptation values.
  • ISTA: Flywheel Adaptation (Increment Wheel) — If running issues persist after clearing adaptations, a specific flywheel re-adaptation may be needed. This involves a specific drive cycle procedure where the car is accelerated and then allowed to coast down in gear for 7-10 seconds, repeated three times, to allow the DME to learn the exact pattern of the reluctor wheel.

Wiring & Ground Locations

The wiring harness and electrical connector for the crankshaft sensor near the starter motor on a BMW N52 engine.
The sensor's wiring is routed near high-heat components like the starter. Inspect the plastic connector for brittleness or oil contamination.
  • Engine Ground Strap — On the driver's side (US models), connecting the engine block/oil pan area to the chassis, located underneath the car near the driver's seat area.. A corroded or loose main engine ground strap can cause a voltage drop and introduce electrical noise into the system. This can affect sensitive sensors like the crankshaft position sensor, leading to intermittent signals, a no-start condition, and codes like P0335, even if the sensor and its direct wiring are good.
  • Crankshaft Sensor Connector (X6214) — On the driver's side of the engine block, below the starter motor. The wiring consists of an Orange wire (12V Power), a Black/White wire (Ground), and a Yellow wire (Signal).. This is the primary point of failure for wiring issues. The connector can become brittle from heat, and oil leaks can saturate the connection, causing poor contact and signal loss.
  • DME Connector X60005 — In the electronics box (E-box) in the engine bay, under the passenger-side cabin air filter housing.. This is where the crankshaft sensor wiring terminates at the DME. The signal wire (Yellow) connects to Pin 29, and the ground wire (Black/Blue) connects to Pin 30. Testing for signal continuity and voltage here can rule out the entire wiring harness between the sensor and the DME.

Real Owner Repair Stories

  • Bimmerpost user 'tofu?' (BMW E93 328i) — Car would shudder on acceleration, have rough shifting, misfires at idle, loss of power, and multiple dash lights including limp mode. Threw code 2A94 (P0335).
    ❌ Tried (didn't work) Replacing the crankshaft position sensor with a new one.
    ✅ What actually fixed it The replacement sensor was defective from the factory. Replacing the 'new' sensor with another new genuine Continental sensor resolved all issues. The car ran perfectly for over a month after the second replacement.
  • Bimmerfest user (BMW 335i (N54 engine, similar issue)) — Sudden engine and transmission malfunction warnings, car stuck in 3rd gear (limp mode), long crank times, and stalling on cold starts. Codes 2A94 (Crankshaft Sensor) and 3100 (Boost loss).
    ❌ Tried (didn't work) Replacing both VANOS solenoids., Replacing the crankshaft position sensor with a new one from the dealer., Checking every fuse in the fuse box with a multimeter.
    ✅ What actually fixed it The user's post ends without a final resolution, highlighting a common scenario where standard fixes fail, pointing towards a more complex wiring or DME issue that often requires professional diagnosis.

OEM Part Supersession History

  • 13627525015None, this is the current part number. — N/A
    Heads up: While the part number has remained stable, it is critical to use the OEM sensor from VDO/Continental or Genuine BMW. Aftermarket versions are widely reported to be dead-on-arrival or fail prematurely, causing the P0335 code to return.

Diagnostic Flowchart

Start by using a scan tool to check for an RPM signal while cranking. The presence or absence of this signal is the most critical first step in diagnosing P0335 on the N52/N53 engine, as it immediately isolates the issue to the sensor circuit.
This confirms the DME is not receiving a signal. The next step is a visual inspection. The sensor is on the driver's side of the engine block, below the starter. Can you visually inspect the sensor's connector and wiring, either from above or by safely raising the vehicle?
Inspect the wiring harness and connector closely. Do you see any signs of oil contamination (from common N52 oil leaks), chafing, melting, or a loose/broken connector?
→ Repair the damaged wiring or replace the connector pigtail. Oil from a leaking valve cover or oil filter housing gasket is a known cause of accelerated failure. After repair, clear codes and re-test.
→ With wiring intact, a failed sensor is highly probable due to years of heat cycles. Replace it with a quality VDO/Continental (OEM) part. Cheap aftermarket sensors are notorious for being dead-on-arrival on these engines.
This is common on the N52/N53. The standard BMW procedure is to remove the intake manifold for access. Are you equipped to perform this procedure?
→ Proceed with intake manifold removal. PRO TIP: Given the significant labor involved, it is highly recommended to replace the sensor with a new OEM/VDO part while you have access, even if you suspect wiring. This prevents having to do the job twice.
→ This is a complex job due to the N52's design. An experienced independent BMW mechanic may be able to replace the sensor from below, saving significant labor. Consider getting a professional diagnosis.
→ If a stable RPM signal is present, the sensor and its primary wiring are likely functional. The P0335 code may be intermittent or historic. Check the dedicated fuse for the sensor in the E-box. If the issue persists despite a good RPM signal, a more advanced diagnosis with an oscilloscope to check signal quality may be needed.

Used vs. New Parts: Buying Guide for This Vehicle

When a used part is the smart pick: For this repair, sourcing used parts is generally not recommended for the sensor itself. However, if the wiring connector pigtail is broken, a used pigtail from a junkyard harness can be a cost-effective solution, provided the plastic is not brittle and the pins are clean.

Donor-vehicle mileage cap: roughly under 80000 miles for the part to have meaningful remaining life.

What to inspect on the donor part:

  • For a wiring pigtail, check for any signs of cracking, brittleness, or melting on the plastic connector.
  • Ensure the locking tab is intact and functional.
  • Inspect the wire insulation for at least 6 inches back from the connector for any chafing, cuts, or heat damage.
  • Look at the metal pins inside the connector for any green or white corrosion.

OEM-only on this vehicle (don't cheap out):

  • Crankshaft Position Sensor

Aftermarket brands forum-validated for this vehicle:

  • VDO (OEM)
  • Continental (OEM)
  • Hella

Brands owners have reported issues with on this vehicle:

  • Unbranded or generic 'white-box' sensors from online marketplaces are frequently reported as faulty.

Real Owner Stories

Aggregated from forums and TSBs cited above. Mileages and costs reflect what owners reported in those sources.

2006 330i N52

Symptoms: Long crank, limp mode, crank no start, and a transmission fault light.

What fixed it: After two different aftermarket sensors failed to resolve the issue, a BMW dealer advised the owner that the sensor wire was likely not plugged in correctly or had defective pins, indicating a wiring or connection problem was the root cause.

Source hint: e90post.com

BMW E90/E92 with N52 engine

Symptoms: Hesitation and limp mode symptoms with a P0335 code.

What fixed it: The issue appeared immediately after a starter replacement, indicating the problem was disturbed or damaged wiring near the sensor, not a failed sensor itself. The fix was to address the wiring harness connection.

Source hint: Bimmerpost.com (E90/E92) - Thread 'Crankshaft Position Sensor Replacement'

BMW E90/E92

Symptoms: A P0335 code appeared after performing other maintenance.

What fixed it: The owner discovered they had broken the fragile plastic connector for the sensor. The fix was to repair or replace the connector pigtail to ensure a secure connection.

Source hint: Bimmerpost.com (E90/E92) - Thread 'Wire Harness connector to Crankshaft Position Sensor broke :('

Documented NHTSA Reports

NHTSA ODI #11445896

Symptoms: While traveling at approximately 35 mph, the vehicle shut off unexpectedly. A check engine light followed, and a code reader identified code P0335 for the crankshaft position sensor.

What fixed it: The owner reported that they were thankfully able to coast the car safely to the shoulder of the roadway after the sudden stall.

Frequently Asked Questions

Where is the crankshaft position sensor located on my N52/N53 engine, and is it difficult to replace?
The sensor is located on the driver's side of the engine block, below the starter motor. It is notoriously difficult to access, and most repair procedures require removing the entire intake manifold, which significantly increases labor time and complexity.
Can I replace the crankshaft sensor from underneath the car to avoid removing the intake manifold?
Some experienced DIYers have managed this, but it is considered an advanced repair. The method requires working in a very tight space with poor visibility and specific tools like a small ratchet, multiple extensions, a swivel socket, and an E8 or E10 external Torx socket.
Do I need to buy an expensive OEM sensor, or will a cheaper aftermarket part work?
It is critical to use a high-quality OEM or OE-supplier part, such as one from VDO/Continental. Cheaper aftermarket sensors are known to fail prematurely or be dead on arrival, which can lead to repeated, difficult repairs.
My engine cranks but won't start. How can I confirm it's the crankshaft sensor before buying parts?
The best initial test is to connect an OBD-II scanner and monitor live data while cranking the engine. If the RPM signal reads '0' while the engine is physically turning over, it's a strong indication that the engine computer (DME) is not receiving a signal from the sensor.
I just had my starter replaced and now my car has a P0335 code and is in limp mode. Could the repair have caused this?
Yes, this is a common scenario. The sensor's wiring is routed very close to the starter and can easily be damaged, disconnected, or not secured properly during an adjacent repair like a starter or clutch replacement. Inspect the wiring and connector carefully before replacing the sensor.
What happens if the small bolt holding the sensor breaks during removal?
The small external Torx bolt can seize and break, which dramatically complicates the repair. Extracting the broken bolt may require removing the starter motor for better access.
How To Replace BMW Crankshaft Position Sensor WITHOUT Removing Intake Manifold! | E90 E92 N52 328i
How To Replace BMW Crankshaft Position Sensor WITHOUT Removing Intake Manifold! | E90 E92 N52 328i
BMW Removing Intake Manifold, Replacing Crankshaft Sensor E90, E91, E92, E93
BMW Removing Intake Manifold, Replacing Crankshaft Sensor E90, E91, E92, E93
BMW CRANKSHAFT POSITION SENSOR REPLACEMENT LOCATION BWM N51 N52 N53 N54 N55 ENGINE
BMW CRANKSHAFT POSITION SENSOR REPLACEMENT LOCATION BWM N51 N52 N53 N54 N55 ENGINE
BMW E90 - P0335/P1727 crankshaft position sensor replacement (DIY23)
BMW E90 - P0335/P1727 crankshaft position sensor replacement (DIY23)
BMW N52 Intake Manifold Removal *GUIDE*
BMW N52 Intake Manifold Removal *GUIDE*
Wrenchy
Article researched & written by
Go-Parts' AI research assistant. Every article is backed by live web research, verified OEM data, and real technician knowledge — so you get accurate, up-to-date information you can trust.
Meet Wrenchy → Updated Jul 23, 2026

The information in this article is provided for general reference and educational purposes only. Vehicle specifications, procedures, and part compatibility can vary by production date, trim level, and region. Always consult your vehicle's factory service manual and verify part numbers before purchasing or performing repairs. Safety-critical components such as airbags, seat belts, and braking systems should be installed by a qualified professional.

Year Coverage
This article covers the OBD-II Code P0335 (Deep Dive) for:
  • BMW Multiple: 20062007200820092010201120122013
In this article
🎬 Helpful Videos
Jump to ▴

Email This Guide

We'll send you a link to this article so you can read it later or share it.

Added to cart · Part