P0335 Mercedes: Find the Crankshaft Sensor Fault and Restore Reliable Starting
17 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0335 mercedes fault code indicates a problem with the crankshaft position sensor A circuit, which can prevent the engine computer from receiving an accurate crankshaft signal. This signal helps the engine control module (ECM) determine engine speed and crankshaft position. Without reliable information, the computer may struggle to control ignition timing and fuel injection.
A faulty crankshaft position sensor is one possible cause, but replacing it immediately is not always the correct repair. Damaged wiring, loose electrical connections, a defective sensor wheel, or an installation problem can produce similar symptoms. The correct diagnostic approach depends on your Mercedes model, engine, and sensor design.
This guide explains the meaning of P0335, common symptoms, Mercedes-specific diagnostic considerations, scanner checks, repair options, and driving risks. It also explains why some Mercedes-Benz vehicles require manufacturer-level diagnostic equipment to identify the actual problem.
What P0335 Means on a Mercedes-Benz
P0335 is a generic SAE powertrain diagnostic trouble code. Its standard description is Crankshaft Position Sensor A Circuit Malfunction. The code means the engine computer has detected an electrical or signal problem involving the crankshaft position sensor circuit.
The crankshaft position sensor monitors crankshaft rotation. Depending on the sensor design, it reads changes in a magnetic field or detects passing teeth on a rotating reluctor wheel. The resulting electrical signal allows the ECM to calculate engine speed and determine crankshaft position.
The ECM needs this information to coordinate important engine operations. If the signal disappears, becomes electrically incorrect, or does not match the expected pattern, the computer may store P0335 and illuminate the check engine light.
Understanding the P0335 code format
The five-character code provides useful information about the affected system. Its first two characters distinguish the general system and whether the definition is standardized or manufacturer-specific.
| Code section | Meaning |
|---|---|
| P | Powertrain system, including engine and transmission controls. |
| 0 | Generic SAE diagnostic trouble code. |
| 3 | Ignition system or auxiliary emission control code category. |
| 3 | Specific fault identification within the applicable category. |
| 5 | Completes the diagnostic trouble code identification. |
The important distinction is that P0335 is a generic code, not a complete Mercedes-specific diagnosis. Its exact detection conditions and diagnostic procedures can differ between engine management systems.
Mercedes-specific considerations
Mercedes-Benz service documentation identifies the crankshaft position sensor as component L5 on certain ME-SFI engine management systems. For example, Mercedes documentation covering the M112 engine describes monitoring the crankshaft signal by counting flywheel teeth. It identifies an incorrect tooth count as a condition that can trigger the fault.
Other Mercedes engines use different sensor arrangements and electronic control systems. A diagnostic procedure for one engine should not automatically be applied to another. Sensor locations, connector layouts, electrical specifications, and signal patterns can differ.
Mercedes-Benz has also documented crankshaft sensor electrical faults on certain Sprinter models with OM651 and OM642 diesel engines. The manufacturer’s bulletin identifies specific extended fault codes and directs technicians to use XENTRY guided tests rather than treating every accompanying code as a separate component failure. Owners of other makes can check the matching guide: P0335 Toyota Camry.
For additional manufacturer information, see the Mercedes-Benz Sprinter crankshaft sensor diagnostic bulletin.
Common Symptoms of a Mercedes P0335 Fault
P0335 can cause starting problems, unexpected engine stalling, and irregular engine operation. Symptoms depend on whether the crankshaft signal disappears completely or becomes unreliable only under certain conditions.

A completely missing crankshaft signal can prevent the ECM from establishing engine speed and position. An intermittent signal may allow the engine to start normally before causing a stall after the engine becomes warm or the vehicle experiences vibration.
1. Engine cranks but does not start
This is one of the more serious symptoms. The starter may turn the engine normally, but the engine does not fire. If the ECM cannot identify crankshaft position, it may be unable to coordinate fuel injection and ignition correctly.
A no-start condition does not prove that the sensor itself has failed. A broken signal wire, damaged connector, or missing sensor supply can produce the same result. Other starting-system faults must also be considered.
2. Unexpected engine stalling
An intermittent crankshaft signal can cause an engine to stop running without much warning. The problem may occur at idle, during acceleration, or after driving for an extended period.
A sensor affected by heat may work when cold but become unreliable after reaching operating temperature. Wiring insulation and connector contacts can also behave differently as temperatures change.
3. Extended cranking and difficult starting
A weak or inconsistent signal may delay engine synchronization. The starter continues turning while the ECM waits for a usable crankshaft signal. The engine may eventually start, but repeated extended cranking is not normal.
4. Rough running and reduced performance
If the crankshaft signal becomes unstable while the engine is running, engine management may not operate as intended. Drivers may notice rough idle, hesitation, reduced acceleration, or unexpected changes in engine response.
Some vehicles may enter a reduced-power operating mode. The exact behavior depends on the engine computer and the severity of the signal problem.
5. Check engine light and additional fault codes
The check engine light may illuminate when the ECM confirms the fault. A scanner may also show related crankshaft position, camshaft synchronization, engine speed, or injector control codes.
Do not assume that every additional code represents a failed component. A missing crankshaft signal can affect several engine control functions and create secondary diagnostic complaints. The same code can behave differently on other vehicles, so it helps to compare it with P0335 Toyota Prius.
| Symptom | Possible explanation | Diagnostic priority |
|---|---|---|
| Cranks but will not start | Missing crankshaft signal | High |
| Stalls when hot | Intermittent sensor or wiring fault | High |
| Extended cranking | Weak or delayed crankshaft signal | High |
| Rough idle | Unstable engine synchronization | Medium to high |
| Check engine light only | Intermittent or stored circuit fault | Requires scanning |
Most Likely Causes of P0335 on Mercedes Vehicles
P0335 identifies a crankshaft position sensor circuit problem, but several electrical and mechanical faults can produce it. The sensor should be tested alongside its wiring, power supply, signal path, and mechanical trigger components.

1. Defective crankshaft position sensor
The sensor itself is a common suspect. Internal electronic components or magnetic elements can deteriorate and produce an incorrect signal. Heat, vibration, age, and contamination may contribute to sensor failure.
A failing sensor may work intermittently. This explains why some Mercedes vehicles start normally when cold but stall or refuse to restart after warming up. A sensor that produces no usable signal can also cause an immediate no-start condition.
2. Damaged wiring or electrical connectors
The crankshaft sensor depends on a reliable electrical connection to the engine control module. A broken wire, corroded terminal, loose connector, or short to ground can interrupt the signal.
Engine heat and vibration can damage wiring insulation over time. Previous engine repairs may also leave a connector incorrectly secured or a wiring harness routed too close to a hot or moving component.
A visual inspection should look for damaged insulation, moisture, oil contamination, bent connector pins, and loose terminal contacts. Electrical continuity and short-circuit testing should follow the correct Mercedes wiring diagram.
3. Incorrect sensor installation or mounting
A crankshaft sensor must sit correctly in its mounting position. Incorrect installation, a loose retaining fastener, or mechanical damage can affect the relationship between the sensor and its trigger wheel.
Mercedes-Benz diagnostic information specifically instructs technicians to inspect sensor seating, correct installation, and mechanical condition when investigating certain Sprinter crankshaft sensor faults.
4. Damaged reluctor wheel or flywheel teeth
The sensor reads a rotating trigger pattern associated with the crankshaft. Depending on the engine design, this pattern may be located on a reluctor wheel, signal plate, or flywheel.
Bent, chipped, damaged, or incorrectly positioned teeth can produce an irregular signal. A damaged trigger wheel may cause P0335 even when the sensor and wiring are functioning correctly.
Some Mercedes ME-SFI diagnostic information specifically identifies flywheel sensor-wheel damage and excessive mechanical runout as possible causes of crankshaft signal faults.
5. Sensor power supply or ground problem
Certain crankshaft sensors require a stable electrical supply and ground to generate the expected signal. If either circuit is interrupted, the ECM may interpret the missing or incorrect signal as a sensor circuit fault.
Mercedes Sprinter diagnostic procedures for specified OM651 applications include a separate power-supply check and signal-line continuity test. The published voltage specifications apply to those particular applications and should not be treated as universal Mercedes specifications.
6. Engine control module or related electrical fault
An ECM problem is possible, but it should not be the first assumption. A defective control module, damaged connector, poor ground, or internal circuit fault can affect the sensor signal.
Before considering ECM replacement, verify the sensor supply, ground, signal wiring, connector condition, and trigger-wheel integrity. Control module diagnosis requires vehicle-specific electrical testing and suitable diagnostic equipment.
Tip: Do not replace the crankshaft sensor based only on the P0335 code. Check the connector, wiring, sensor installation, and trigger-wheel condition first. A failed signal wire can produce the same fault description as a defective sensor.
How to Diagnose P0335 With an OBD2 Scanner
A proper diagnosis starts with retrieving all available fault codes and reviewing live engine data. A basic OBD2 scanner can identify P0335 and show useful engine information, while a Mercedes-capable diagnostic tool can provide additional manufacturer-specific details.
The standard OBD-II diagnostic connector is a 16-pin J1962 port, usually located beneath the driver’s dashboard. Most US-market Mercedes passenger cars and light trucks from model year 1996 onward support OBD-II emissions diagnostics.
Step 1: Retrieve stored and pending codes
Connect the scanner and switch the ignition to the appropriate position. Read the engine control module before clearing anything. Record P0335, pending codes, stored codes, and any related crankshaft or camshaft synchronization faults.
A pending code indicates that the computer detected a problem but has not yet confirmed it. A stored or confirmed code indicates that the diagnostic conditions were satisfied. Permanent emissions-related codes require the underlying problem to be repaired and the relevant monitor to pass before they disappear.
Step 2: Review freeze-frame information
Freeze-frame data records selected operating conditions when a fault is stored. This information can help establish whether P0335 appeared during startup, at idle, or while driving.
Pay attention to the following information where available:
- Engine RPM when the fault was recorded.
- Engine coolant temperature.
- Vehicle speed.
- Engine load and throttle position.
- System voltage.
- Related fault codes and their status.
For example, a fault recorded during a hot restart may justify investigating a temperature-sensitive sensor or connector. A fault that appears during vibration or acceleration may point toward an intermittent wiring problem. These patterns are clues, not proof of a specific failed part.
Step 3: Check live engine RPM
Select the engine speed parameter in the scanner’s live-data menu. Observe the displayed RPM while cranking, if the engine does not start. A zero reading or an implausible reading may indicate that the ECM is not receiving a usable crankshaft signal.
If the engine runs, compare scanner RPM with the vehicle’s tachometer. The readings should be reasonably consistent. A Nissan factory diagnostic procedure also uses this comparison as a basic crankshaft signal check, although its vehicle-specific test values must not be transferred to Mercedes models.
Some generic scanners refresh live data slowly. A short signal interruption may therefore go unnoticed. A professional diagnostic system or oscilloscope can reveal problems that a basic scanner cannot display clearly.
Step 4: Inspect the sensor and electrical circuit
With the ignition switched off, inspect the accessible sensor connector and wiring. Look for corrosion, moisture, oil contamination, broken locking tabs, damaged insulation, and loose connections.
Next, use the correct Mercedes wiring diagram to identify the sensor supply, ground, and signal terminals. A digital multimeter can check appropriate supply voltage and circuit continuity. An oscilloscope is more useful for evaluating the actual signal waveform while the engine is cranking or running.
Do not assume that all Mercedes crankshaft sensors use the same resistance specification. Hall-effect sensors and inductive sensors have different electrical characteristics. Follow the test procedure for the exact engine and sensor type.
Step 5: Check signal quality and trigger-wheel condition
A waveform test can help distinguish a failed sensor from a mechanical trigger-wheel problem. The technician checks whether the signal has the expected shape, amplitude, and timing pattern.
Mercedes documentation for certain engines uses an oscilloscope to assess crankshaft sensor output. The specified signal characteristics vary between applications. A distorted waveform, missing pulses, or inconsistent tooth pattern requires further investigation.
If the electrical circuit and sensor test correctly, inspect the relevant mechanical trigger components. Damaged teeth, incorrect sensor seating, or excessive mechanical runout can cause signal irregularities.
Step 6: Use Mercedes-specific diagnostic information
A generic scanner may not reveal every Mercedes-specific fault description or guided test. XENTRY and compatible professional diagnostic systems can provide additional control module information, extended fault codes, and model-specific troubleshooting instructions.
This is particularly important on newer diesel applications. Mercedes-Benz has published Sprinter procedures covering OM651 and OM642 crankshaft position faults. The bulletin directs technicians to process the crankshaft sensor faults using XENTRY guided tests before addressing certain accompanying injector output-stage codes.
Mode $06 can provide useful onboard monitor results when supported by the vehicle and scanner. However, it is not a universal P0335 sensor test. The available monitor information and interpretation depend on the control module. Fuel trims are also not a primary diagnostic measurement for a crankshaft position sensor circuit fault. Before you clear the codes, check whether P0339 mercedes applies to your vehicle too.
For more detailed manufacturer procedures, consult the Mercedes-Benz crankshaft sensor plausibility and electrical testing bulletin.
How Serious Is P0335 and Can You Drive?
P0335 should be treated as a potentially serious engine management fault. A vehicle with an intermittent crankshaft signal can stall unexpectedly, while a complete signal failure can leave the engine unable to start.
The actual risk depends on the symptoms and whether the engine continues running reliably. A Mercedes with only a stored code and no noticeable symptoms presents a different situation from one that repeatedly stalls or loses power.
When driving may be possible
If the check engine light is steady, the engine runs normally, and there are no signs of stalling or reduced control, a short trip to a nearby repair facility may be possible. However, this is not a guarantee that the vehicle will remain operational.
An intermittent crankshaft signal can fail without warning. Even if the engine restarts after a brief stall, the fault may return during the journey.
When you should stop driving
Stop in a safe location and arrange professional assistance if the engine stalls repeatedly, loses power severely, or refuses to restart. Continuing to drive with an unpredictable engine can create a dangerous situation in traffic.
A flashing check engine light is a separate urgent warning. It generally indicates an active misfire that can damage the catalytic converter. Reduce engine load and arrange prompt inspection. If the engine runs poorly or stalls, do not continue driving.
Tip: Do not attempt to test a running engine by reaching near rotating components, hot exhaust parts, or exposed ignition wiring. Crankshaft sensor testing may require access near moving engine components and high-temperature surfaces. Use appropriate professional equipment and follow the Mercedes workshop safety procedure. If the vehicle stalls in traffic, prioritize getting yourself and the vehicle to a safe location. Codes often appear in groups on this vehicle, so P0336 Mercedes may also apply.
Repair Options and Cost Factors for P0335
The correct repair depends on which part of the crankshaft position system has failed. A sensor replacement may solve the problem, but wiring repairs, connector replacement, or mechanical repairs may be necessary in other cases.
The total repair expense depends on parts availability, labor time, vehicle configuration, access to the sensor, and the diagnostic equipment required. There is no single repair price that applies to every Mercedes model.
Crankshaft position sensor replacement
If testing confirms that the sensor is defective, replacement is usually the most direct repair. The correct sensor must match the engine and control system. Connector type, electrical characteristics, and physical dimensions are important.
Labor time depends on sensor accessibility. Some engines allow relatively straightforward access, while others require additional component removal. The technician should also inspect the mounting surface and connector before installing the replacement.
Wiring and connector repair
If the sensor itself works correctly, the repair may involve restoring a damaged signal wire, power connection, ground, or connector terminal. The damaged section must be repaired using an appropriate automotive wiring method.
Electrical repairs can require additional diagnostic time because an intermittent fault may not be present during every inspection. Testing while monitoring the circuit can help identify a connection that fails under vibration or temperature changes.
Trigger-wheel or flywheel repair
A damaged reluctor wheel or flywheel can require more extensive work than replacing the sensor. Depending on the engine design, access may involve removing surrounding components or transmission-related parts.
Mechanical repairs are generally more labor-intensive. The technician must confirm the actual mechanical defect before recommending this type of repair.
Professional diagnostic labor
A repair facility may charge for an initial scan, electrical testing, waveform analysis, and manufacturer-specific diagnosis. These steps can prevent unnecessary replacement of expensive components.
Mercedes dealerships and independent European vehicle specialists may have different labor rates and diagnostic equipment. A specialist with access to XENTRY can be particularly helpful when the vehicle has additional manufacturer-specific codes or an intermittent fault.
DIY versus professional repair
An experienced DIY owner may be able to replace an accessible crankshaft position sensor after confirming the correct component and following the engine-specific service instructions. However, diagnosis is often more difficult than the physical replacement.
Electrical testing, oscilloscope analysis, and trigger-wheel inspection require suitable tools and technical knowledge. If the sensor is difficult to access or the engine has a no-start condition, professional diagnosis may be the more practical option.
Ask the repair facility to explain which test confirmed the failed component. A reliable estimate should separate diagnostic labor, replacement parts, additional repair work, and any required post-repair procedures. For tools that help with this kind of work, check Best Car Diagnostic Scanners for Emissions Readiness.
Frequently Asked Questions
Can P0335 cause a Mercedes to shut off while driving?
Yes. If the crankshaft signal disappears while the engine is running, the ECM may lose the information needed to maintain engine operation. The vehicle can stall unexpectedly, even if it started normally earlier.
Can a weak battery trigger P0335 on a Mercedes?
Low system voltage can interfere with electronic control operation and create additional electrical faults. However, a weak battery should not automatically be considered the cause of P0335. Check battery condition, charging voltage, sensor supply, and stored voltage-related codes before replacing components.
Will P0335 disappear after replacing the battery?
Not necessarily. A battery replacement does not repair a defective sensor or damaged circuit. Some stored faults may remain until the appropriate clearing and monitoring procedures are completed. Permanent emissions-related codes require the fault to be corrected and the relevant monitor to pass.
Can P0335 appear together with P0336?
Yes. P0335 identifies a crankshaft position sensor circuit malfunction, while P0336 generally identifies a crankshaft position sensor range or performance problem. Both can point toward the same sensor system, but they describe different detected conditions and require their respective diagnostic procedures.
Does every Mercedes use the same crankshaft position sensor location?
No. Sensor location depends on engine design and vehicle configuration. Some engines position the sensor near the flywheel or transmission housing, while other arrangements differ. Always use the correct service information for the vehicle identification number and engine.
P0335 on a Mercedes indicates a crankshaft position sensor circuit problem, but the sensor is not automatically the failed component. Check the wiring, electrical supply, signal waveform, and mechanical trigger system before choosing a repair. A proper diagnosis using compatible Mercedes diagnostic equipment can prevent unnecessary parts replacement and help restore reliable engine starting and operation.
-
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
LearnP0353 Mercedes: Diagnose Ignition Coil Circuit Problems
LearnP0352 Mercedes: Diagnose Cylinder 2 Ignition Circuit Faults
LearnP0305 Mercedes: Diagnose and Fix a Cylinder 5 Misfire
LearnP0303 Mercedes: Find the Cause Before Replacing Parts
LearnP0341 Mercedes: Diagnose Camshaft Sensor Problems
LearnMitsubishi Mirage Check Transmission Fluid Level