P0335 BMW: Diagnose Crankshaft Sensor Problems and Restore Engine Performance
18 min read · by Nicole Bennett · Last updated: November 25, 2026
p0335 bmw indicates a problem with the crankshaft position sensor A circuit, which can interrupt the engine’s ability to determine crankshaft position and engine speed. The fault may come from a defective crankshaft position sensor, damaged wiring, a poor electrical connection, a missing power supply or an issue with the crankshaft signal wheel. Depending on the BMW engine, the problem can cause difficult starting, engine stalling or reduced performance.
The crankshaft position sensor is essential to engine management. The DME (Digital Motor Electronics) uses its signal to establish crankshaft position and coordinate ignition and fuel injection. When the signal disappears or becomes unreliable, the engine may struggle to start or stop running altogether. Some BMW models can activate an emergency operating strategy to maintain limited operation.
The correct repair depends on the vehicle’s model year, engine and diagnostic fault details. Replacing the sensor immediately is not always the answer. Checking the stored BMW-specific fault codes, live engine-speed data, wiring condition and sensor signal can prevent unnecessary parts replacement.
What P0335 Means on a BMW
P0335 is a generic powertrain diagnostic trouble code describing a Crankshaft Position Sensor A Circuit malfunction. On a BMW, the DME monitors the crankshaft sensor signal and compares crankshaft information with other engine signals, including camshaft position information. A missing or unacceptable signal can cause the control module to store this fault.
BMW’s published SAE code list identifies P0335 as Crankshaft Position Sensor ‘A’ Circuit. This is important because the generic definition identifies the affected circuit but does not automatically identify the failed component. The sensor, wiring, connector, electrical supply, ground or signal-generating components may all require inspection.
Understanding the crankshaft position sensor
The crankshaft position sensor monitors the rotating crankshaft. It detects changes in position using a magnetic or electronic sensing arrangement and sends electrical signals to the engine control module. The control module interprets these signals to determine crankshaft speed and position.
This information helps the DME coordinate ignition timing, fuel injection and engine synchronization. Without reliable crankshaft information, the engine cannot consistently determine when individual cylinders should receive the correct ignition or injection commands.
The sensor operates alongside the camshaft position sensors. These components provide related information that allows the engine management system to identify crankshaft rotation and cylinder timing. If camshaft signals remain available while crankshaft information disappears, the control module may recognize a crankshaft sensor fault.
BMW-specific fault information
BMW diagnostic information demonstrates why the engine and model year matter. For example, certain N55 applications identify fault 160001 alongside generic code P0335 and describe a missing crankshaft sensor signal. The documented potential causes include a defective sensor and a damaged wiring harness between the sensor and DME.
Other BMW applications use different internal fault numbers and monitoring conditions. An N54 diagnostic procedure, for example, identifies fault 2A94 and instructs technicians to check the signal wire for opens, shorts to positive and shorts to ground. These differences mean that a generic OBD2 description should be treated as the starting point rather than the complete diagnosis.
| Code or term | Meaning |
|---|---|
| P0335 | Crankshaft Position Sensor A Circuit |
| P0336 | Crankshaft Position Sensor A Circuit Range/Performance |
| DME | Digital Motor Electronics engine control module |
| CKP | Crankshaft position |
| CMP | Camshaft position |
A P0335 fault should not be confused with P0336. The former identifies a circuit malfunction, while the latter concerns signal range or performance. A BMW-specific scan tool can provide additional information that helps distinguish a missing signal from an incorrect or implausible signal.
Common Causes of P0335 on BMW Vehicles
The most common causes involve the crankshaft sensor and its electrical circuit. A sensor can fail internally, but a damaged connector, broken wire or interrupted electrical supply can produce similar symptoms. BMW service information also identifies sensor installation and signal-wheel conditions as possible causes on certain engines.
The following problems should be considered before deciding which component needs replacement.
1. Defective crankshaft position sensor
A failing crankshaft position sensor may stop producing a consistent signal. Internal electronic damage, heat exposure, vibration and normal component aging can contribute to failure. The problem may appear intermittently before becoming permanent.
A sensor that fails when hot may allow the BMW to start normally when cold but cause stalling or starting difficulties after the engine reaches operating temperature. In other cases, the sensor may fail completely and prevent the engine from starting.
2. Damaged wiring or electrical connections
The wiring between the crankshaft sensor and DME must remain electrically sound. An open circuit interrupts the signal, while a short to ground or positive voltage can interfere with normal operation.
Heat, engine vibration, abrasion and previous repair work can damage the wiring harness. Oil contamination, moisture, corrosion or loose connector terminals can also create intermittent electrical problems.
Pay particular attention to connector locking tabs, damaged insulation, bent terminals and signs of water intrusion. A connection that works while the engine is cold may become unreliable after repeated heating and cooling cycles.
3. Missing sensor power or ground
Some crankshaft position sensors require an electrical supply and ground connection to operate correctly. If either circuit is interrupted, the sensor may not provide the expected signal even when the sensor itself is functional.
Sensor designs differ between BMW engines. Some use active electronic sensing arrangements, while others use different electrical principles. Therefore, supply voltage and resistance specifications must come from the correct wiring diagram and service procedure rather than assumptions based on another BMW model.
4. Incorrect sensor installation or signal-wheel damage
A sensor that is not installed correctly may fail to read the rotating signal target accurately. An incorrect installation position, excessive clearance or damaged mounting point can affect signal quality.
The crankshaft reluctor or sensing wheel can also become damaged. Missing, damaged or contaminated target features may produce an abnormal signal. BMW diesel service information specifically includes excessive sensor-to-reluctor clearance as a possible cause for certain passive sensor arrangements.
5. DME or related electrical problems
A DME fault is possible, but it should not be the first assumption. Damaged module connections, power supply interruptions or internal electronic problems can interfere with crankshaft signal processing.
Battery and charging-system problems can also complicate diagnosis. A healthy battery measures approximately 12.6 volts at rest, while a typical running charging system measures approximately 13.5 to 14.7 volts. These are general reference readings, not substitutes for BMW-specific electrical testing. P0335 Honda CR-V walks through the same code on another vehicle, which helps if the usual fix does not work.
- Defective crankshaft position sensor.
- Broken or shorted sensor signal wire.
- Corroded or loose electrical connector.
- Missing sensor power supply or ground.
- Incorrect sensor installation or excessive clearance.
- Damaged crankshaft reluctor or signal wheel.
- DME power supply or internal control-module problem.
Symptoms of a BMW Crankshaft Sensor Problem
A BMW with P0335 may show anything from an illuminated check engine light to complete engine failure. The symptoms depend on whether the crankshaft signal is missing continuously or only intermittently. BMW service information for different engines documents stalling, extended starting times, reduced performance and no-start conditions.

Engine cranks but will not start
One of the most serious symptoms is an engine that turns over normally but does not start. The starter motor may rotate the engine, but the DME may not receive the crankshaft position information needed for proper engine synchronization.
This condition can occur with a completely failed sensor, an open signal circuit or an electrical supply problem. Other faults can also cause a no-start condition, so the crankshaft sensor should be tested rather than automatically replaced.
Unexpected engine stalling
An intermittent crankshaft signal can cause the engine to stall while idling or driving. The DME may lose reliable information about crankshaft position and interrupt normal engine operation.
Some BMW service information describes stalling at idle when the fault is recorded. An engine that stops unexpectedly can create a dangerous situation, especially in traffic, at intersections or during highway driving.
Longer cranking time
The engine may take longer than normal to start. This can happen when the sensor produces an inconsistent signal that eventually becomes readable after additional cranking.
A temperature-sensitive sensor may make the problem more noticeable after the engine has warmed up. Repeated long starting attempts should not be treated as a normal characteristic of an older BMW.
Reduced power and limp-home operation
Some BMW engines can activate an emergency operating strategy when the DME detects a missing crankshaft signal. Engine output may be reduced, acceleration may become inconsistent and the vehicle may respond more slowly to the accelerator.
BMW N55 service information describes reduced engine power and advises against passing maneuvers when the relevant fault is present. The exact emergency strategy varies by engine and control system.
Check engine light and related warnings
The check engine light may illuminate when the DME stores a confirmed emissions-related fault. Other BMW warning messages may appear depending on the model and engine management system.
A fault may also exist as a pending code before the warning light appears. A pending code indicates that the diagnostic monitor has detected a problem once but has not yet confirmed it under the required conditions.
| Symptom | Possible explanation | Priority |
|---|---|---|
| Engine cranks but does not start | Missing crankshaft signal | High |
| Engine stalls unexpectedly | Intermittent sensor or wiring fault | High |
| Long starting time | Unreliable crankshaft signal | High |
| Reduced acceleration | DME emergency operating strategy | High |
| Check engine light | Stored crankshaft sensor circuit fault | Prompt diagnosis |
How to Diagnose P0335 With an OBD2 Scanner
A proper diagnosis starts with reading the stored fault information before clearing anything. A basic OBD2 scanner can retrieve generic P0335 information, but a BMW-capable diagnostic tool is preferable because it can access DME-specific faults and additional engine data.
The standard 16-pin OBD2 connector is usually located beneath the driver’s dashboard, near the steering column. Most US-market cars and light trucks from model year 1996 onward support standardized OBD-II diagnostics.
- Read all stored fault codes. Connect the scanner and perform a complete engine control module scan. Record P0335, BMW-specific fault numbers and any related camshaft or synchronization faults.
- Check pending and permanent codes. A pending P0335 may indicate an intermittent problem. A permanent code cannot normally be erased manually; the underlying fault must be repaired and the relevant monitor must pass.
- Save freeze-frame information. Record engine RPM, coolant temperature, vehicle speed, system voltage and operating conditions when the fault was stored.
- Inspect live engine-speed data. Monitor the RPM parameter while cranking. If the engine is turning but the scanner continues to display zero RPM, a missing crankshaft signal becomes a strong diagnostic possibility.
- Compare available crankshaft and camshaft information. A BMW-capable scanner may display synchronization status and individual sensor information. Look for missing or implausible readings.
- Check related electrical faults. Examine battery voltage, DME supply-related faults and other sensor circuit codes before concluding that the crankshaft sensor has failed.
- Inspect the connector and harness. Look for damaged insulation, corrosion, loose terminals, oil contamination and signs of previous repairs.
- Confirm the signal with appropriate test equipment. A qualified technician can use an oscilloscope and the correct BMW wiring information to evaluate the sensor waveform and circuit operation.

Understanding live RPM readings
Live engine RPM is one of the most useful parameters when investigating a crankshaft sensor fault. During cranking, the scanner should normally register engine speed if the DME receives and recognizes the crankshaft signal.
A zero RPM reading while the starter is turning the engine suggests that the DME may not be receiving usable crankshaft information. However, the reading alone does not prove the sensor is defective. A broken wire, missing power supply, poor ground or control-module problem can create the same result.
Checking electrical signals
A digital multimeter can help verify electrical supply, ground and circuit continuity when the correct BMW specifications are available. An oscilloscope provides a more detailed view of the sensor waveform and can reveal missing pulses or an inconsistent signal.
Do not apply a generic voltage specification to every BMW crankshaft sensor. Active and passive sensor designs have different testing requirements. For example, a separate Mitsubishi diagnostic procedure specifies 4.9 to 5.1 volts for its particular sensor supply circuit. That figure must not be treated as a universal BMW specification. The wiring and part locations differ by make, as P0335 Ford Ranger shows for the same code.
For additional technical context, the manufacturer diagnostic procedure for P0335 illustrates how technicians use scan-tool data, oscilloscope readings, supply-voltage checks and wiring inspections to isolate a crankshaft sensor circuit problem.
Tip: Save freeze-frame data and all BMW-specific fault numbers before clearing codes. Never replace the crankshaft sensor solely because a generic scanner displays P0335. Confirm the sensor signal, wiring, connector and electrical supply first. If testing involves access near rotating engine components or electrical circuits that you cannot safely identify, have a qualified technician perform it. If you want to see how the same fault shows up on another make, read our guide to P0335 Ford F150.
How to Fix P0335 on a BMW
The correct repair depends on which part of the crankshaft position sensing system has failed. Once the fault is confirmed, repairs may involve replacing the sensor, repairing wiring, correcting connector damage or addressing a problem with the signal wheel.
The repair procedure should follow the service information for the exact BMW model, production date and engine. Sensor locations, connector arrangements and installation requirements vary considerably between BMW platforms.
Replace a confirmed faulty crankshaft sensor
If testing confirms that the sensor is defective and the wiring and electrical supply are satisfactory, replacement is the appropriate repair. The replacement component must match the specific engine application and sensor design.
Installation requires attention to the mounting surface, connector engagement, sensor positioning and any specified sealing components. Incorrect installation can cause the replacement sensor to produce another signal fault.
Avoid assuming that the sensor is located in the same place on every BMW. Depending on the engine, access may involve different components and labor requirements. The correct workshop procedure should identify the location and any components that need to be removed.
Repair damaged wiring or connectors
If the sensor itself tests correctly, inspect the wiring between the sensor and DME. A damaged signal wire, open supply circuit or poor ground can prevent the module from recognizing crankshaft rotation.
The appropriate repair may involve replacing damaged wiring sections, restoring connector terminals or correcting a poor electrical connection. Repairs should maintain the original wiring protection, routing and insulation requirements.
Simply cleaning a connector is not sufficient if its terminals are loose, corroded or physically damaged. The electrical connection must be restored and verified through testing.
Correct sensor installation or signal-wheel problems
If the sensor is incorrectly positioned, it must be installed according to the correct engine-specific procedure. A damaged mounting point or excessive air gap may require additional inspection.
If the crankshaft signal wheel is damaged, replacing the sensor alone will not solve the problem. The technician must determine whether the target wheel, mounting arrangement or another mechanical component requires repair.
Investigate DME problems only after circuit testing
DME replacement should be considered only after the sensor, wiring, connectors, power supply and ground have been properly checked. An incorrectly diagnosed control-module fault can result in unnecessary repair expense and additional programming requirements.
Some BMW control modules require programming, coding or vehicle-specific configuration following replacement. This makes accurate diagnosis especially important before authorizing a module repair.
Verify the repair
After the repair, clear eligible fault codes and repeat the diagnostic checks. Confirm that the scanner displays a plausible engine-speed reading during cranking and that the DME recognizes the crankshaft signal correctly.
Start the engine, allow it to reach normal operating temperature and monitor the relevant live data. If the original problem was intermittent, the vehicle should also be checked under the operating conditions that previously triggered the fault.
Recheck the DME for pending and confirmed faults after the appropriate diagnostic drive cycle. Remember that permanent emissions-related codes may remain stored until the required self-monitoring tests pass.
Repair Costs and Whether It Is Safe to Drive
The cost of repairing P0335 depends on the actual cause, the BMW engine and how difficult it is to access the affected components. A straightforward sensor replacement generally involves different labor requirements from repairing a damaged harness or investigating a DME fault.
An accurate estimate requires the vehicle identification, engine information, diagnostic results and a confirmed repair plan. Replacing parts without identifying the electrical fault can increase the total expense without resolving the problem.
Factors affecting repair costs
- Sensor cost: The required component depends on the exact BMW engine and its sensor design. Genuine and aftermarket components may differ in price and availability.
- Labor hours: Accessibility determines how much time is needed to reach the sensor, remove surrounding components and complete installation.
- Wiring repairs: A damaged connector or harness may require additional electrical diagnosis and repair work.
- Signal-wheel inspection: A mechanical problem involving the sensing target can require substantially more work than a simple sensor replacement.
- Diagnostic equipment: BMW-specific scanning, oscilloscope testing and electrical troubleshooting may add diagnostic labor.
- Shop versus DIY: An experienced DIY owner may save labor costs, but incorrect installation or electrical testing can create additional problems.
- Programming requirements: If a DME or related electronic module needs replacement, additional coding and programming may be necessary.
Before approving a repair, request an estimate that separates diagnostic labor, parts, installation time and any additional electrical or programming work. Ask the repair facility to explain which test confirmed the failed component.
Can you drive a BMW with P0335?
Driving with P0335 is not recommended when the engine stalls, struggles to start or experiences reduced power. A missing crankshaft signal can cause sudden engine shutdown, leaving the vehicle unable to maintain normal acceleration or operation.
Even if the BMW continues running, an intermittent fault may return without warning. This creates additional risk when merging into traffic, overtaking another vehicle or driving through busy intersections.
If the engine repeatedly stalls, will not restart or displays significant power reduction, arrange roadside assistance or towing instead of continuing to drive. If the fault appears without noticeable symptoms, arrange prompt professional diagnosis and avoid unnecessary trips.
An illuminated check engine light should also be taken seriously. A flashing check engine light indicates an active misfire that can damage the catalytic converter. Reduce engine load and arrange immediate inspection.
Tip: Do not rely on limp-home operation as a guarantee that the BMW is safe to drive. An engine with an unreliable crankshaft signal can stall unexpectedly. Stop in a safe location if the engine begins cutting out, and arrange professional assistance when restarting or maintaining engine operation becomes unreliable. Shops often compare notes across makes for this code, and P0335 Lexus Code is a good reference.
Frequently Asked Questions
Does P0335 always mean the BMW crankshaft sensor is bad?
No. The code identifies a crankshaft position sensor circuit malfunction, not necessarily a defective sensor. A broken signal wire, poor ground, missing electrical supply, damaged connector or signal-wheel problem can produce the same code. Testing the complete circuit is necessary before replacing parts.
Can a BMW restart after the crankshaft sensor fails?
Yes, depending on the nature of the failure. An intermittent sensor may temporarily resume sending a usable signal after the engine cools or electrical conditions change. A completely failed sensor may prevent the engine from restarting. Repeated successful starts do not prove that the problem has disappeared.
Can P0335 affect automatic transmission operation?
It can affect overall vehicle drivability because engine speed and torque information are shared with other control systems. Depending on the BMW platform, an engine-management fault may influence transmission behavior or cause additional warning messages. Transmission symptoms should be diagnosed separately rather than assuming that P0335 identifies a transmission failure.
Will disconnecting the BMW battery permanently remove P0335?
No. Disconnecting the battery does not repair the underlying fault. The DME can detect the same problem again when the crankshaft sensor monitor runs. Permanent OBD-II codes require the fault to be repaired and the relevant monitor to pass before they clear automatically.
What is the difference between P0335 and BMW fault 2A94?
P0335 is the standardized SAE description for a crankshaft position sensor A circuit malfunction. BMW fault 2A94 is a manufacturer-specific diagnostic designation associated with crankshaft sensor signal monitoring on certain applications. Their relationship and exact diagnostic conditions depend on the BMW engine and control-module software.
P0335 on a BMW points to a crankshaft position sensor circuit problem, but the sensor is not automatically the failed component. Check the BMW-specific fault information, live engine RPM, wiring, connector and electrical signal before choosing a repair. Prompt diagnosis is important because an unreliable crankshaft signal can cause unexpected stalling, difficult starting or complete engine shutdown.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0341 BMW: Diagnose Camshaft Sensor and VANOS Problems
Learnp0302 BMW Code: Cylinder 2 Misfire Causes and Fixes
LearnP0304 BMW Code: Cylinder 4 Misfire Causes and Fixes
LearnP0305 BMW Code: Cylinder 5 Misfire Causes and Fixes
LearnP0303 BMW Code: Cylinder 3 Misfire Causes and Tests
LearnP0095 Code: Causes, Symptoms, Diagnosis, and Repair