P0335 Audi: Diagnose the Crankshaft Position Sensor Fault
19 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0335 audi trouble code indicates a problem with the Crankshaft Position Sensor A circuit, which can prevent the engine computer from receiving a reliable crankshaft speed or position signal. On many Audi engines, the associated component is called the engine-speed sensor G28. A faulty sensor, damaged wiring, a poor electrical connection, or a problem with the signal-producing components can trigger this code.
The crankshaft position signal is essential for engine operation. The engine control module (ECM) uses it to determine engine speed and crankshaft position. It also uses this information to coordinate ignition and fuel injection. When the signal disappears or becomes unreliable, an Audi may crank without starting, stall unexpectedly, or develop drivability problems.
Replacing the G28 sensor is not always the correct first repair. A careful diagnosis should include stored and pending codes, freeze-frame information, engine RPM while cranking, electrical connections, wiring condition, and the sensor signal. Audi-specific service information is particularly important because sensor locations, circuit designs, and testing specifications vary by engine and model year.
What P0335 Means on an Audi
P0335 is the generic SAE definition for Crankshaft Position Sensor A Circuit. It means the engine computer has detected a problem with the electrical circuit or expected signal from the crankshaft position sensor. On Audi vehicles, service information commonly identifies the related engine-speed sensor as G28. The code does not automatically prove that the sensor itself has failed.
The crankshaft rotates as the pistons move through their combustion cycles. A sensor monitors this movement and sends a changing electrical signal to the ECM. The computer uses that information to calculate engine RPM and establish crankshaft position. Without dependable information, the ECM may struggle to control spark timing and fuel injection correctly.
Understanding the P0335 code
The five-character code provides useful information about the affected system. Its first two characters identify the general diagnostic category and whether the definition is generic or manufacturer-specific.
| Code character | Meaning |
|---|---|
| P | Powertrain system, including the engine and transmission. |
| 0 | Generic SAE diagnostic trouble code. |
| 3 | Ignition system and related engine control functions. |
| 3 | Specific fault identifier within the diagnostic category. |
| 5 | Completes the P0335 diagnostic trouble code. |
The important distinction is the second character. P0335 begins with P0, so it uses a generic SAE definition rather than an exclusively Audi-specific code. Audi may add its own diagnostic descriptions, fault-detection conditions, and repair procedures for particular engines.
What G28 means in Audi diagnostics
Audi commonly calls the crankshaft speed sensor G28 the engine-speed sensor. It supplies information that the ECM needs to recognize crankshaft rotation. The exact mounting position and signal arrangement depend on the engine design.
For example, Audi service documentation for certain 3.2L applications identifies G28 as the engine-speed sensor and associates it with P0335 and related faults. This illustrates why it is risky to assume that every Audi has the same sensor location or mounting arrangement. Other engines use different configurations.
Audi diagnostic information may also direct technicians to inspect camshaft position signals when investigating P0335. The ECM compares crankshaft and camshaft information to establish engine synchronization. A problem with either signal can complicate the diagnosis.
Tip: Identify your Audi’s model year, engine code, and transmission before ordering a G28 sensor. Sensor position, connector design, and installation requirements can differ significantly between engines. A generic code description is not a substitute for vehicle-specific service information. P0335 Honda Odyssey walks through the same code on another vehicle, which helps if the usual fix does not work.
Symptoms of a Faulty Audi Crankshaft Position Sensor
A failing G28 sensor can cause starting problems, sudden engine shutdown, rough operation, and an illuminated check engine light. Symptoms depend on whether the signal is completely missing or only becomes unreliable under certain operating conditions.

Some Audi owners experience intermittent symptoms before the engine stops working altogether. A vehicle may start normally when cold but refuse to restart after reaching operating temperature. Another vehicle may stall briefly while driving and restart after cooling down. These patterns are useful diagnostic clues, but they do not establish that the sensor is defective.
Common warning signs
- Extended cranking: The starter turns the engine, but combustion does not begin promptly because the ECM cannot establish a dependable crankshaft position signal.
- Crank-no-start condition: The engine turns over normally but does not start. A completely missing crankshaft signal can prevent the engine computer from controlling ignition and injection correctly.
- Intermittent stalling: The engine may suddenly shut down while idling, accelerating, or cruising if the sensor signal disappears.
- Unstable engine RPM: The tachometer or scan-tool RPM reading may behave inconsistently when the crankshaft signal is interrupted.
- Check engine light: The malfunction indicator lamp may illuminate after the ECM detects a qualifying signal or circuit fault.
- Rough running or misfires: An unreliable engine-speed signal can interfere with engine synchronization and contribute to poor operation.
- Intermittent hot-start trouble: A sensor or electrical connection may become unreliable as engine compartment temperatures increase.
- Unexpected engine shutdown: A complete loss of the crankshaft signal can cause the engine to stop running without much warning.
Why the symptoms may come and go
Electrical resistance, damaged insulation, loose terminals, and internal sensor faults can produce intermittent signals. Engine vibration may temporarily interrupt a damaged wire or loosened connector. Heat can also expose a fault that is not obvious during a cold inspection.
A vehicle that starts normally several times does not necessarily have a healthy G28 sensor. The ECM may have stored a fault during an earlier event even though the signal has returned. Reviewing pending and confirmed codes, along with freeze-frame information, helps establish when the problem occurred.
Also consider other stored codes. P0321, P0322, P0336, and P0300-series misfire codes can provide additional information. Their presence does not prove that one component has failed, but related faults may help identify a shared electrical or synchronization problem.
Common Causes of P0335 on Audi Vehicles
P0335 can result from a defective G28 sensor, damaged wiring, poor electrical connections, or a problem with the crankshaft signal-producing components. The correct cause must be established through testing rather than replacing parts based only on the stored code.

Audi’s diagnostic documentation includes circuit faults such as open circuits, shorts to ground, shorts to battery voltage, and missing signals among the conditions associated with crankshaft position sensor faults. These possibilities explain why electrical inspection is an important part of the repair process.
1. Defective G28 crankshaft position sensor
The sensor can develop an internal electrical fault after prolonged exposure to heat, vibration, and engine operating conditions. Its signal may become weak, intermittent, or completely absent. A sensor that fails internally may work during one test and fail during another.
A scan tool showing zero engine RPM while the starter is turning the engine is a useful warning sign. However, confirm battery condition, starter operation, wiring, and the relevant signal circuit before condemning the sensor.
2. Damaged wiring or a poor connector
A broken conductor, damaged insulation, loose terminal, or corroded connector can interrupt the sensor signal. Harness damage may occur near hot engine components, moving parts, or areas exposed to vibration and moisture.
A visual inspection should look for damaged insulation, pulled wires, contamination, bent terminals, and poor connector locking. The correct wiring diagram is necessary to identify the signal, power, and ground connections where applicable. Do not assume that every G28 installation uses the same circuit arrangement.
3. Damaged signal wheel or magnetic target
The crankshaft sensor reads a rotating target, which may be a toothed wheel or magnetic ring depending on the engine. Damage, contamination, incorrect positioning, or a problem with the target can interfere with the expected signal pattern.
Metal debris can also accumulate around certain sensor designs and affect signal quality. An oscilloscope inspection may help distinguish a sensor fault from an irregular signal produced by the target. The appropriate inspection method depends on the specific Audi engine.
4. Incorrect sensor installation
A sensor that is incorrectly seated, mounted with an incorrect spacer, or installed using the wrong hardware may produce an unreliable signal. Installation depth and the relationship between the sensor and its target can be important.
Audi published a service bulletin covering certain older A4 and A6 applications with 3.2L engines. It describes an unnecessary spacer between the G28 sensor and gearbox as a possible cause of multiple misfires and engine-speed sensor faults, including P0335 and P0336. This is a vehicle-specific condition, not a universal Audi repair.
The documented procedure for covered applications includes removing the spacer, reinstalling the sensor with a specified tightening torque of 10 Nm, and checking misfire detection in measuring value blocks 015 and 016. The procedure should not be applied to other Audi engines without confirming applicability.
5. Related camshaft signal or synchronization problems
The ECM uses crankshaft and camshaft signals together to determine engine synchronization. A faulty camshaft position sensor, damaged wiring, or an abnormal relationship between the signals can complicate diagnosis.
Audi diagnostic tables for certain engines direct technicians to inspect G28 and relevant camshaft sensors when investigating P0335. The applicable sensors and procedures depend on the engine management system. A camshaft-related code or synchronization fault should therefore be considered alongside the crankshaft code. Shops often compare notes across makes for this code, and P0335 Ram 1500 is a good reference.
| Possible cause | Typical diagnostic clue | Recommended check |
|---|---|---|
| Defective G28 sensor | Missing or intermittent RPM signal. | Check sensor output and compare it with specifications. |
| Open or damaged wiring | Signal disappears or circuit testing shows an interruption. | Inspect harness condition and test circuit continuity. |
| Shorted wiring | Abnormal circuit voltage or missing signal. | Check for shorts to ground or power using the correct diagram. |
| Corroded connector | Intermittent operation or visibly damaged terminals. | Inspect connector condition and terminal contact. |
| Damaged signal target | Irregular waveform or synchronization problems. | Inspect the applicable encoder or magnetic target. |
| Incorrect installation | Fault appears after previous sensor or engine work. | Verify seating, mounting hardware, and model-specific procedure. |
How to Diagnose P0335 With an OBD2 Scanner
An OBD2 scanner can identify stored faults and provide valuable information about engine speed, operating conditions, and related sensor signals. A scan should be the starting point of diagnosis, not the final reason for replacing the G28 sensor.
US-market cars and light trucks from model year 1996 generally have the standardized OBD-II diagnostic system. The 16-pin J1962 diagnostic connector is usually under the dashboard on the driver’s side. Audi-specific diagnostic equipment may provide additional measuring values and test functions beyond those available through a basic generic scanner.
Step 1: Read all stored and pending codes
Connect the scanner and read the engine control module before clearing anything. Record P0335, pending codes, confirmed codes, and any accompanying faults. Also check other modules if the equipment supports Audi-specific system access.
Pay attention to P0336, which identifies a crankshaft position sensor A circuit range or performance problem. P0335 generally indicates a circuit or missing-signal problem, while P0336 points toward an abnormal signal relationship or performance condition. The two codes can overlap in their symptoms, but they are not interchangeable.
Step 2: Save freeze-frame data
Freeze-frame data records operating conditions associated with a detected fault. Depending on the vehicle and scanner, useful information may include engine RPM, coolant temperature, vehicle speed, calculated load, and battery voltage.
For example, a fault recorded while the engine was running at normal operating temperature may suggest an intermittent problem different from one recorded during cranking. A code recorded alongside unusually low system voltage also deserves a charging and battery check before the sensor is replaced.
Save this information before clearing codes. It can help a technician reproduce the fault and determine whether the problem occurs during startup, warm operation, or normal driving.
Step 3: Monitor engine RPM while cranking
The engine RPM parameter is one of the most useful live-data readings for P0335. With the vehicle secured and the transmission in the appropriate starting position, observe the RPM value while the starter operates.
If the starter is turning the engine but the scanner consistently displays 0 RPM, the ECM may not be receiving a usable crankshaft signal. This is a strong reason to investigate G28 and its circuit. It is not conclusive proof of a defective sensor because wiring, electrical supply, and control-module problems can produce similar results.
A stable RPM reading indicates that the computer is receiving some engine-speed information. However, an intermittent or distorted signal can still trigger P0335 or related faults. An oscilloscope may be necessary to examine the signal pattern accurately.
Step 4: Check related live data
Where supported, compare crankshaft speed information with camshaft synchronization status. Look for related sensor faults, engine synchronization warnings, and abnormal RPM behavior. Audi-specific measuring values may provide more detail than generic OBD-II parameters.
Fuel trims are not a direct test of G28. Short-term and long-term fuel trims are useful for identifying mixture problems, but they should not be treated as proof of a crankshaft sensor fault. Combined fuel trims beyond approximately plus or minus 10 percent can indicate a mixture concern. Readings beyond roughly 25 percent may be associated with lean or rich trouble codes, depending on operating conditions.
Mode $06 may provide additional onboard monitor results on supported vehicles. However, not every Audi exposes a useful crankshaft sensor test through generic Mode $06 data. Use manufacturer-specific diagnostic procedures rather than assuming a particular test identification number or threshold applies to every model.
Step 5: Inspect the electrical circuit
After scanning, inspect the accessible G28 connector and wiring using the vehicle’s service information. Look for broken insulation, corrosion, loose terminals, damaged clips, oil contamination, and harness contact with hot or moving components.
Electrical testing should follow the exact Audi wiring diagram. Check the specified power supply, ground, and signal connections where applicable. A continuity test can help identify an open wire, while suitable voltage and oscilloscope testing can reveal an electrical short or missing signal.
The sensor design must be identified before resistance testing. HELLA’s crankshaft sensor technical guide describes both inductive and Hall-effect crankshaft sensors. Their electrical behavior and testing procedures are different. A resistance measurement that is suitable for an inductive sensor can damage an electronic Hall-effect sensor.
Step 6: Confirm the sensor signal
An oscilloscope provides a more detailed view of the sensor’s output. An inductive sensor generally produces a sinusoidal waveform, while a Hall-effect sensor produces a square-wave signal. The expected waveform and amplitude must be checked against the specific manufacturer’s specifications.
If the sensor produces a correct signal at its connector but the ECM does not receive it, investigate the wiring between the sensor and control module. If the signal is missing directly at the sensor, check the sensor, its installation, and the signal target.
Tip: Never apply a generic resistance specification to an unidentified G28 sensor. HELLA identifies a typical 200 to 1,000 ohm range for certain two-pin inductive sensors, but that range is not an Audi-wide specification. Do not use an ohmmeter on a Hall-effect sensor unless the manufacturer specifically authorizes the test. A related problem on the same vehicle is explained in P0336 Audi.
Audi P0335 Repair Options and Cost Factors
The correct repair depends on which part of the crankshaft position sensing system has failed. Some vehicles need a sensor replacement, while others require wiring repairs, connector work, or correction of an installation problem.
A repair estimate should include diagnostic time, component access, required parts, labor hours, and any additional testing. An Audi with difficult sensor access or a more involved signal-target inspection may require considerably more labor than a vehicle with an easily accessible sensor.
Replacing a defective G28 sensor
If testing confirms that the sensor itself has failed, replacement with the correct application-specific component may resolve P0335. Verify compatibility using the vehicle identification number and engine code rather than selecting a component from the model name alone.
The repair may involve removing protective covers or other components to access the sensor. Some applications may require additional disassembly. The mounting surface, sensor seating, connector engagement, and specified fastener torque must all follow the applicable Audi procedure.
Do not reuse an incorrect spacer or assume that the installation procedure from another Audi engine applies. Audi’s older 3.2L service bulletin illustrates how a seemingly minor installation detail can contribute to engine-speed sensor faults.
Repairing damaged wiring or connectors
If the sensor itself passes testing, the wiring harness and connectors should receive attention. Depending on the damage, the repair may involve replacing a connector terminal, repairing a damaged wire section, or replacing a larger harness section.
A proper electrical repair must preserve the original circuit’s electrical characteristics and environmental protection. Poorly sealed connections can allow moisture into the harness and create another intermittent problem later.
Correcting signal-target or installation problems
A damaged encoder wheel, magnetic ring, or incorrect sensor installation may require more extensive work. These repairs can involve access to components around the engine or transmission, depending on the design. A qualified technician should determine whether the signal target is accessible and whether special tools are required.
For an Audi with additional misfire codes, the technician should verify whether the misfires are related to the crankshaft signal problem or represent a separate issue. Replacing ignition coils or spark plugs without confirming the cause may leave P0335 unresolved.
What determines the repair estimate?
- Sensor type: The correct inductive or Hall-effect sensor design and vehicle application affect parts selection.
- Accessibility: Labor depends on the sensor’s location and the number of components that must be moved or removed.
- Electrical damage: Harness repairs and connector replacement can add diagnostic and labor time.
- Additional mechanical work: A damaged signal target or incorrect installation may require more extensive disassembly.
- Diagnostic equipment: Audi-specific scan tools and oscilloscope testing may be needed to confirm an intermittent signal problem.
- Shop versus DIY: A qualified independent repair shop or Audi dealership may have different labor rates and diagnostic capabilities. DIY work depends on experience, access, and the availability of correct service information.
A reasonable estimate should explain what failed and why the proposed repair addresses that failure. Ask whether the technician confirmed the missing or abnormal signal, inspected the wiring, and verified the sensor’s compatibility. This is especially important if the vehicle has experienced repeated sensor replacements.
Is It Safe to Drive an Audi With P0335?
Driving with P0335 is not recommended if the engine is stalling, difficult to start, or losing its RPM signal. A crankshaft position fault can cause sudden engine shutdown, leaving the vehicle unable to maintain normal power or continue running safely in traffic.
If the Audi runs normally and the check engine light remains steady, the fault may be intermittent. Even then, the vehicle should be inspected promptly because a complete signal failure can occur without much warning. A normal test drive does not guarantee that the sensor circuit is reliable.
When to stop driving
- The engine stalls repeatedly while moving.
- The vehicle cranks but will not start.
- The engine suddenly loses power or shuts down.
- The engine runs very roughly or develops severe misfires.
- The check engine light flashes, indicating an active misfire that can damage the catalytic converter.
- The vehicle cannot maintain a predictable idle or reliable engine operation.
A flashing check engine light requires particular attention. Reduce engine load and arrange prompt inspection. Continuing to drive with an active misfire can overheat and damage the catalytic converter. If the engine is repeatedly stalling or the vehicle cannot operate reliably, arrange towing rather than attempting to drive it to a repair facility.
If the engine stops, power assistance for steering or braking may be reduced depending on the vehicle. This can make controlling the car more difficult. Move to a safe location if possible, activate the hazard warning lights, and request roadside assistance when necessary.
Can you clear P0335 and keep driving?
Clearing the code does not repair the underlying problem. The ECM may detect the fault again when the engine is restarted or when the relevant monitor runs. Erasing diagnostic information before recording freeze-frame data can also remove useful evidence.
A pending code means the computer has detected a fault condition that has not yet met all confirmation requirements. A confirmed code generally indicates that the diagnostic criteria have been satisfied and may turn on the malfunction indicator lamp. Permanent emissions-related codes require the vehicle to correct the fault and complete the relevant monitor before they disappear.
After repairs, clear codes only when appropriate and verify operation through the required driving or diagnostic procedure. Check whether the monitor completes and whether P0335 returns. A permanent code that remains temporarily after repair does not necessarily mean the replacement failed. For the equipment used in these checks, see OBD2 scanner with live data.
Frequently Asked Questions
1. Is P0335 the same as P0336 on an Audi?
No. P0335 identifies a Crankshaft Position Sensor A Circuit fault, while P0336 identifies a Crankshaft Position Sensor A Circuit Range/Performance fault. Audi diagnostic information distinguishes missing or electrical signal problems from signal timing and performance irregularities. Both codes can involve G28, but their diagnostic procedures are not identical.
2. Can P0335 damage the Audi catalytic converter?
P0335 alone does not automatically indicate catalytic converter damage. However, if the underlying fault causes active engine misfires, unburned fuel can enter the exhaust and overheat the catalytic converter. A flashing malfunction indicator lamp should be treated as an urgent warning.
3. Can a weak Audi battery cause P0335?
Low system voltage can complicate engine starting and electronic diagnostics, although it is not proof of a crankshaft sensor circuit failure. A healthy fully charged battery generally measures about 12.6 volts at rest, while a running charging system commonly measures approximately 13.5 to 14.7 volts. Test the battery and charging system if low-voltage codes or starting problems are also present.
4. Will an Audi pass an emissions inspection with P0335?
A confirmed engine-related emissions fault that illuminates the malfunction indicator lamp can prevent a vehicle from passing an OBD-based emissions inspection. Requirements vary by state and inspection program. Permanent diagnostic codes and incomplete readiness monitors may also affect inspection results even after a repair.
5. Does replacing G28 require an ECU reset or programming?
A straightforward sensor replacement does not automatically require a new engine control module or ECU programming. However, the applicable Audi repair procedure may require clearing fault memory, checking measuring values, and completing specified adaptation or verification steps. ECU replacement or programming should only be considered after proper circuit and control-module diagnosis.
P0335 on an Audi indicates a crankshaft position sensor circuit or signal problem, commonly involving the G28 engine-speed sensor. A defective sensor is only one possible cause, so check wiring, connectors, installation, and crankshaft signal quality before replacing parts. If the engine stalls, refuses to start, or develops severe misfires, stop driving and arrange a proper diagnosis.
-
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
LearnP0300 Audi: Diagnose Random Misfires With Confidence
LearnP0301 Audi Code: Cylinder 1 Misfire Causes and Checks
LearnP0336 Audi: Diagnose Crankshaft Sensor and Timing Problems
LearnP0332 Audi: Diagnose Knock Sensor 2 and Restore Engine Performance
LearnP0308 Audi: Diagnose Cylinder 8 Misfires and Find the Cause
LearnB0050 Code: Driver Seatbelt Sensor Fault Meaning and Fixes