P0335 VW: Diagnose Crankshaft Sensor Faults and Avoid Guesswork
16 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0335 vw trouble code indicates a Crankshaft Position Sensor A circuit malfunction, meaning the engine computer is not receiving a reliable crankshaft position signal. On Volkswagen vehicles, the component involved is commonly identified as the G28 engine speed sensor. A problem with the sensor, its wiring, electrical connections, or the signal-generating components can trigger this code.
A Volkswagen with this fault might crank without starting, stall unexpectedly, hesitate during acceleration, or illuminate the check engine light. Some vehicles continue running despite the warning, while others experience intermittent starting problems or sudden engine shutdowns.
Replacing the G28 sensor immediately is not always the right solution. A proper diagnosis should include stored trouble codes, freeze-frame information, engine RPM during cranking, wiring condition, and the actual sensor signal. Volkswagen-specific service information is particularly important because G28 installation and diagnostic procedures differ across engines and model years.
What P0335 Means on a Volkswagen
P0335 is a generic SAE powertrain code describing a malfunction in the Crankshaft Position Sensor A circuit. On Volkswagen applications, diagnostic information commonly identifies the engine speed sensor as G28. The code concerns the crankshaft position signal circuit, not necessarily a mechanically damaged crankshaft.
The crankshaft position sensor monitors a rotating target associated with the crankshaft. As the target passes the sensor, it generates electrical signals that allow the engine control module (ECM) to calculate engine speed and crankshaft position. The computer uses this information to coordinate ignition timing and fuel injection. Without a dependable signal, correct engine synchronization becomes difficult or impossible.
Volkswagen service information uses component identifiers rather than relying exclusively on generic descriptions. G28 is the important identifier to recognize when investigating this fault. However, its exact location, connector arrangement, sensor technology, and testing specifications depend on the vehicle and engine.

Understanding the P0335 Code
The five-character diagnostic code provides useful information about the affected system. Its structure follows the standardized OBD-II format used by passenger vehicles sold in the United States.
| Code element | Meaning |
|---|---|
| P | Powertrain-related fault. |
| 0 | Generic SAE diagnostic definition. |
| 3 | Ignition system and engine misfire-related code family. |
| 35 | Crankshaft Position Sensor A circuit malfunction. |
P0335 should also be distinguished from P0336. P0335 identifies a circuit malfunction, while P0336 describes a crankshaft position sensor range or performance problem. These codes can occur together, but they do not communicate exactly the same diagnostic condition.
Volkswagen and Audi service documentation also uses G28 to identify the engine speed sensor. A technician should therefore compare the generic OBD-II description with Volkswagen-specific fault information before choosing a test procedure. The wiring and part locations differ by make, as P0335 Toyota Highlander shows for the same code.
Symptoms of a Faulty G28 Sensor
A malfunctioning G28 sensor can affect starting, engine operation, and synchronization. The most important clues are an engine that cranks without starting, unexpected stalling, and missing or unstable engine-speed information on a diagnostic scanner.
Symptoms vary depending on whether the sensor has failed completely or produces an intermittent signal. A completely missing signal can prevent the engine computer from determining crankshaft position. An intermittent signal may allow normal operation for several minutes before the engine stalls or develops starting difficulties.

Common Warning Signs
- Crank-no-start condition: The starter turns the engine, but the engine does not fire because the computer cannot establish dependable crankshaft position information.
- Intermittent starting: The Volkswagen starts normally when cold but struggles or refuses to start after reaching operating temperature. Heat-sensitive electrical failures are one possible explanation.
- Unexpected stalling: The engine suddenly stops while idling or driving because the crankshaft signal becomes unavailable or unreliable.
- Rough running: An inconsistent position signal can interfere with engine synchronization and contribute to misfires or irregular operation.
- Hesitation during acceleration: The vehicle may respond inconsistently when engine speed changes, particularly if the sensor signal drops out intermittently.
- Check engine light: The ECM stores P0335 or related diagnostic codes when the monitored conditions meet its fault criteria.
- Additional misfire codes: P0300 and cylinder-specific misfire codes may accompany crankshaft signal problems.
What the Symptoms Can Tell You
The combination of symptoms can help narrow down the investigation. For example, an engine that cranks normally but displays zero RPM on a scanner deserves a closer examination of the G28 circuit. However, zero RPM alone does not establish that the sensor is defective. The ECM may also be affected by wiring problems, insufficient cranking speed, or electrical supply issues.
If the vehicle stalls after warming up, the technician should attempt to capture the fault while the engine is hot. An intermittent sensor or connector can work normally during a cold inspection and fail once operating temperatures increase.
A flashing check engine light requires particular attention. It can indicate an active misfire capable of damaging the catalytic converter. Reduce engine load and arrange prompt inspection rather than continuing normal driving. Shops often compare notes across makes for this code, and P0335 Honda Pilot is a good reference.
Common Causes of P0335 VW
Several electrical and mechanical problems can produce P0335 on a Volkswagen. The G28 sensor is an obvious suspect, but damaged wiring, poor connector contact, contamination, and incorrect sensor installation can produce similar results.
The correct repair depends on identifying where the crankshaft signal is being interrupted. Replacing an expensive component without checking the circuit can leave the original problem unresolved.
1. Failed G28 Crankshaft Position Sensor
The sensor can develop an internal electrical failure after prolonged exposure to engine heat, vibration, and normal operating conditions. An inductive sensor may produce an increasingly weak signal, while an electronic sensor may stop switching correctly.
An internal fault can be intermittent. This is why a sensor that appears functional during one inspection should not automatically be considered reliable. Signal testing during the actual failure condition provides stronger evidence.
2. Damaged Wiring or Electrical Connections
The wiring between G28 and the engine computer can develop broken conductors, insulation damage, short circuits, or poor terminal contact. Heat, vibration, moisture, and previous repairs can contribute to these problems.
A loose connector may interrupt the signal only when the engine moves under load. Corrosion can also increase electrical resistance or interfere with terminal contact. Inspect the connector housing, locking mechanism, terminals, and harness condition before condemning the sensor.
3. Contamination or Incorrect Sensor Installation
Metal particles or other contamination near the sensor’s magnetic sensing area can interfere with its operation. Physical damage, incorrect positioning, or an unsuitable air gap can also affect the signal generated by the rotating target.
Sensor installation is particularly important on Volkswagen engines where the sensor mounting arrangement determines its relationship with the trigger target. Always follow the correct engine-specific installation procedure and tightening specifications.
4. Trigger Wheel or Mechanical Problems
The crankshaft trigger wheel provides the features that the sensor reads. Damaged teeth, mechanical movement, contamination, or incorrect positioning can produce missing or irregular signals even when the electrical sensor is working.
A related camshaft synchronization problem may also complicate the diagnosis. If G28 produces a usable signal but the ECM cannot establish correct engine synchronization, camshaft position information and mechanical timing deserve further investigation.
5. Volkswagen-Specific Installation Issues
Volkswagen and Audi service documentation provides an important example of why the vehicle-specific repair procedure matters. Technical Service Bulletin 2005586/5 describes an engine-speed-sensor spacer condition associated with P0335, P0336, and misfire faults on specified Audi applications.
The bulletin identifies the G28 sensor at the gearbox and describes removing an unnecessary spacer in the affected application. It also directs technicians to check engine misfire information using Measuring Value Blocks 015 and 016. This is a specific documented condition, not a universal repair instruction for every Volkswagen.
Do not assume that every Volkswagen with P0335 has the same spacer problem. The engine code, model year, transmission arrangement, and applicable service information must match before applying a manufacturer-specific procedure.
How to Diagnose P0335 With an OBD2 Scanner
A useful diagnosis begins with a complete scan rather than immediately clearing the warning light. Read the engine computer, save the available freeze-frame information, and monitor engine speed while cranking if the vehicle is safe to operate.
A basic generic scanner can identify P0335, but Volkswagen-specific diagnostic equipment provides additional information. Depending on the vehicle, enhanced equipment can display G28-related measuring values, synchronization status, and additional manufacturer-specific fault information.
Step 1: Read All Stored and Pending Codes
Connect an OBD-II scanner to the 16-pin diagnostic connector, usually located beneath the driver-side dashboard. Read the engine control module and save all stored, pending, and permanent codes before clearing anything.
Look for related codes, particularly P0336, P0321, P0322, P0300, and cylinder-specific misfire codes. Their presence can help distinguish a missing crankshaft signal from a signal-quality or synchronization problem.
Step 2: Examine Freeze-Frame Information
Freeze-frame data records operating conditions associated with a detected fault. Depending on the vehicle and available data, it may include engine RPM, coolant temperature, calculated load, vehicle speed, and other operating values.
Check whether the fault occurred during starting, at idle, or while the engine was running under load. If the code appeared after the engine became hot, prioritize an inspection that can reproduce the same temperature conditions.
Step 3: Monitor Engine RPM During Cranking
Open the scanner’s live-data menu and select engine RPM. Have an assistant operate the starter while observing the displayed value, following the vehicle manufacturer’s precautions.
A reading that remains at zero during normal cranking suggests that the ECM may not be receiving a usable crankshaft signal. An unstable or intermittent reading can also indicate a signal problem. However, first consider battery condition, starter operation, and the vehicle’s expected cranking speed.
For context, a healthy battery at rest is approximately 12.6 volts. The charging system typically operates around 13.5 to 14.7 volts with the engine running. These general values do not replace Volkswagen-specific electrical specifications, but they help identify broader supply problems that could affect diagnosis.
Step 4: Inspect G28 Wiring and the Connector
Using the correct wiring diagram, identify the G28 connector and its circuit terminals. Inspect accessible wiring for abrasion, broken insulation, heat damage, moisture, corrosion, and loose connections.
Electrical measurements should follow the wiring diagram and the specified test conditions. Do not assume that every Volkswagen crankshaft sensor uses the same voltage supply, ground arrangement, or signal type. Avoid applying power directly to sensor terminals.
Step 5: Examine the Sensor Signal
An oscilloscope provides more information than a basic resistance check because it displays the actual electrical waveform. During cranking, a technician can inspect signal strength, pulse consistency, interruptions, and reference features.
Inductive sensors typically produce an alternating waveform, while Hall-effect designs produce a digital switching signal. The correct waveform and voltage specifications must come from the applicable Volkswagen service information.
If a normal waveform reaches the sensor connector but does not reach the ECM correctly, investigate the wiring and terminals. If the waveform is missing, check the sensor’s required supply and ground where applicable, installation, air gap, and trigger wheel before deciding that the sensor has failed.
Step 6: Check Related Camshaft Information
The ECM compares crankshaft and camshaft information to establish engine synchronization. If G28 data appears normal but the synchronization status remains incorrect, investigate the relevant camshaft position sensor circuits and mechanical timing.
Volkswagen diagnostic procedures may include checks of G28, G40, and additional camshaft sensors depending on the engine. A manufacturer-capable scan tool is helpful when generic OBD-II data does not reveal enough information.
Mode $06 can provide additional onboard-monitor test information when the vehicle supports relevant results. However, not every Volkswagen exposes a useful crankshaft sensor test through generic Mode $06 data. Do not interpret an unrelated monitor result as proof that G28 has passed or failed.
Tip: Never replace G28 based only on the P0335 code. Confirm the actual signal, wiring condition, connector integrity, and engine-specific installation requirements. Resistance testing must also match the sensor design. Applying an ohmmeter to an unidentified Hall-effect sensor can cause damage. A related problem on the same vehicle is explained in P0341 VW Code.
Repair Options for a Volkswagen P0335 Fault
The correct repair depends on the failed part or condition identified during diagnosis. Some vehicles need a sensor replacement, while others require connector repairs, wiring work, or correction of a mechanical installation problem.
A repair should restore a dependable crankshaft signal and allow the ECM to recognize correct engine synchronization. Replacing the sensor without correcting an underlying wiring or trigger-wheel problem may cause the code to return.
Replace a Confirmed Defective G28 Sensor
If testing confirms that the sensor has failed, replacement with a component matching the exact Volkswagen application is appropriate. Confirm compatibility using the VIN, engine code, production details, and correct manufacturer catalog information.
The replacement procedure depends on sensor accessibility and the engine configuration. Some installations require access around the gearbox or other nearby components. Use the correct service information for removal, installation, sealing, and tightening requirements.
Repair the Wiring or Connector
A damaged harness may need an approved wiring repair or replacement section. Corroded, loose, or damaged terminals may require connector service rather than a new sensor.
The repair must preserve the correct electrical connections and protect the harness from heat, vibration, and moisture. Improvised connections can introduce additional signal interference or intermittent faults.
Correct Installation or Trigger-Wheel Problems
If the sensor is incorrectly installed or the trigger wheel is damaged, the underlying mechanical condition must be corrected. The appropriate procedure may involve inspecting mounting surfaces, checking the sensor position, and examining the signal-generating target.
The Audi service bulletin concerning the G28 spacer illustrates why installation details matter. Its procedure applies to specified vehicles and should not be transferred to unrelated Volkswagen engines without matching service information.
Verify the Repair
After the repair, the technician should confirm that the engine starts normally and that the crankshaft signal remains stable. Check live RPM, synchronization information where available, and any related misfire counters.
Clear eligible stored faults only after saving the original diagnostic information and completing the repair. Then perform the manufacturer’s prescribed verification or drive cycle. Permanent OBD-II codes may remain until the relevant monitor completes successfully with the underlying fault corrected. Before you clear the codes, check whether P0306 VW applies to your vehicle too.
Driving Safety and Repair Cost Factors
P0335 deserves prompt attention because the crankshaft position signal is essential to engine operation. A Volkswagen that stalls unpredictably or cannot restart can create a road hazard, even if the original warning light appeared without noticeable drivability problems.
Whether the vehicle can be driven depends on the symptoms and the stability of the engine signal. A steadily illuminated warning light with normal operation is different from repeated stalling, severe misfires, or a flashing check engine light.
Is It Safe to Drive With P0335?
Driving is not recommended if the engine stalls, struggles to restart, or loses power unexpectedly. The vehicle could stop in an intersection or during highway travel. Arrange professional diagnosis and towing if reliable engine operation cannot be maintained.
If the engine runs normally and the warning light is steady, a short trip to a repair facility may be possible after considering the vehicle’s condition. Avoid high speeds, heavy acceleration, and long journeys. Stop driving if stalling, severe misfires, or other dangerous symptoms develop.
A flashing check engine light is a stronger warning because an active misfire can overheat and damage the catalytic converter. Reduce engine load and seek prompt assistance.
What Affects P0335 Repair Costs?
The total repair cost depends on the actual fault, vehicle configuration, replacement components, and labor required. A straightforward sensor replacement is generally less involved than tracing an intermittent wiring problem or inspecting a difficult-to-access trigger wheel.
- Sensor cost: The required component depends on the Volkswagen model, engine code, sensor technology, and parts availability.
- Labor hours: Accessibility and the number of components requiring removal influence the time needed for diagnosis and replacement.
- Electrical diagnosis: Intermittent wiring faults may require additional testing with a multimeter, wiring diagrams, and an oscilloscope.
- Mechanical inspection: Trigger-wheel damage, incorrect installation, or related timing problems can require more extensive work.
- Shop versus DIY: Professional labor increases the total bill, while DIY work requires suitable tools, technical information, and the ability to verify the repair.
A repair estimate should separate diagnostic labor, replacement parts, installation time, and any additional mechanical or electrical work. Ask the repair facility to identify the test results supporting the proposed repair instead of accepting a sensor replacement based solely on the stored code. The right tool makes this easier, and Best Diagnostic Scanner for Older Cars lists options worth comparing.
For additional technical background, DENSO’s crankshaft and camshaft sensor technical information explains sensor operation, failure symptoms, and waveform-based diagnosis. Volkswagen and Audi owners can also review the Audi G28 service bulletin for an example of a documented installation-related condition associated with P0335.
Frequently Asked Questions
1. Is G28 the same as the crankshaft position sensor?
G28 is Volkswagen and Audi’s component designation for the engine speed sensor, which monitors crankshaft rotation. It is commonly associated with the generic crankshaft position sensor function described by P0335.
2. Can P0335 appear without turning on the check engine light immediately?
Yes. Depending on the monitoring strategy and fault status, a problem may first appear as a pending code. A fault that has not met the required confirmation conditions may not immediately illuminate the warning light.
3. Will disconnecting the battery permanently remove P0335?
No. Disconnecting the battery does not repair the underlying problem. Some stored diagnostic information may be erased, but permanent OBD-II codes require the fault to be corrected and the relevant onboard monitor to pass before they clear.
4. Can a weak battery contribute to a P0335 diagnosis?
Yes. Low battery voltage can reduce starter speed and affect electrical operation during cranking. Check battery condition and cranking performance before interpreting missing engine-speed information as a definite sensor failure.
5. Does P0335 always mean the crankshaft sensor circuit has an open wire?
No. The code identifies a circuit malfunction, which can involve an open circuit, short circuit, poor electrical connection, defective sensor, or an interrupted signal caused by a mechanical problem. Testing is necessary to distinguish these conditions.
P0335 on a Volkswagen points to an unreliable crankshaft position signal involving the G28 engine speed sensor circuit. Diagnose the sensor, wiring, connector, and trigger wheel before replacing components. Confirm the repair with stable live RPM, correct engine synchronization, and a successful follow-up diagnostic check.
-
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
LearnP0306 VW: Diagnose Cylinder 6 Misfires and Avoid Unnecessary Repairs
LearnP0305 VW: Diagnose a Cylinder 5 Misfire and Find the Cause
LearnP0332 VW: Diagnose Knock Sensor 2 Problems and Restore Engine Performance
LearnP0304 VW: Find the Cylinder 4 Misfire and Fix It
LearnP0353 VW: Diagnose Ignition Coil Circuit Problems and Prevent Misfires
LearnP1548 Code: Identify the Fault Before Replacing Parts