P0336 Audi: Diagnose Crankshaft Sensor and Timing Problems
18 min read · by Nicole Bennett · Last updated: November 25, 2026
The P0336 Audi trouble code means the engine computer has detected an abnormal crankshaft position sensor A signal, indicating a range, performance, or synchronization problem. On many Audi applications, the diagnosis involves the G28 engine speed sensor, its electrical circuit, and the relationship between crankshaft and camshaft signals. The code does not automatically mean the sensor itself has failed.
A faulty sensor, damaged wiring, an incorrect sensor installation, or a problem with the crankshaft reluctor or flywheel can interfere with the engine speed signal. Depending on the vehicle, you might experience difficult starting, stalling, rough running, or an illuminated check engine light. Some vehicles may also store misfire-related codes.
The best approach is to scan all engine codes, preserve freeze-frame information, and compare live engine speed and crankshaft-to-camshaft synchronization data. Audi diagnostic procedures differ between model years and engines, so identify the exact vehicle before replacing parts. This guide explains the likely causes, useful scanner tests, repair considerations, and driving risks.
What P0336 Means on an Audi
P0336 is the generic SAE definition for Crankshaft Position Sensor A Circuit Range/Performance. It means the engine control module (ECM) has detected a crankshaft position signal that does not behave as expected. The signal might be present but inconsistent, incorrectly timed, or outside the expected pattern.
The crankshaft position sensor monitors crankshaft rotation. It supplies information that allows the ECM to calculate engine speed and identify crankshaft position. The computer uses this information to coordinate ignition timing, fuel injection, and other engine management functions. If the signal becomes unreliable, the ECM may struggle to determine exactly where the crankshaft is during each revolution.
The code contains useful information about the type of fault. Its five-character structure follows the standard OBD-II format:
| Code portion | Meaning | Explanation |
|---|---|---|
| P | Powertrain | The problem relates to engine or transmission management. |
| 0 | Generic SAE code | The basic definition is standardized across manufacturers. |
| 3 | Ignition-related category | Identifies the relevant powertrain diagnostic group. |
| 3 | Specific fault identifier | Identifies the crankshaft position sensor A performance fault. |
| 6 | Specific fault identifier | Completes the standardized P0336 diagnostic code. |
Audi uses the G28 designation for the engine speed sensor in relevant diagnostic documentation. This sensor supplies engine-speed information to the engine management system. Depending on the Audi platform and engine, its arrangement and relationship with other sensors can differ.
The ECM does more than check whether a signal exists. It can evaluate signal timing, count the teeth detected on the crankshaft reference wheel, and compare crankshaft information with camshaft phase information. A signal that appears electrically present but does not match the expected rotational pattern can trigger P0336.
This distinction matters because P0336 is different from P0335. P0335 generally identifies a crankshaft position sensor A circuit malfunction, while P0336 indicates a range or performance problem. The sensor might produce a signal, but the signal may be inconsistent or implausible.
A diagnostic trouble code identifies what the ECM detected, not necessarily which component should be replaced. A mechanic should confirm the underlying fault before installing a new G28 sensor, repairing wiring, or investigating the mechanical trigger wheel. Compare the causes listed here with P0336 VW to rule out make-specific issues.
Audi G28 Sensor Operation and Model Differences
The G28 engine speed sensor is an important part of Audi engine management on applications that use this designation. Its signal helps the ECM determine engine RPM and crankshaft position. The computer can then coordinate engine operation using crankshaft and camshaft information.

Audi service documentation demonstrates why the exact model matters. A technical service bulletin covering certain 2006 Audi A4 3.2L applications describes P0336 appearing with multiple-cylinder misfires and other engine-speed-sensor codes. The bulletin identifies a possible installation spacer between the G28 sensor and gearbox as a cause on the covered application.
This is an important example of a problem that cannot be solved by automatically replacing the sensor. If the sensor is installed incorrectly, its position relative to the signal-producing components can affect the information received by the ECM. The same bulletin describes removing the spacer on the affected vehicle and reinstalling the sensor using the specified procedure.
The bulletin also recommends examining misfire detection information in measuring value blocks 015 and 016 with a compatible diagnostic tool. These details apply to the covered Audi application, not every Audi equipped with a P0336 code.
Other Audi engines may use different sensor arrangements, signal-processing strategies, and diagnostic thresholds. An A4, A6, A8, Q5, Q7, or TT should not be assumed to have the same sensor location or repair procedure. Engine configuration and production changes also matter.
For example, some systems evaluate the number of crankshaft teeth detected against a reference pattern. Others use signal timing and synchronization calculations. A problem can occur when the signal becomes inconsistent during acceleration, engine startup, or particular operating conditions.
The following Audi service reference is useful for understanding the specific G28-related condition documented for the covered A4 application: Audi engine controls technical service bulletin.
Before ordering a sensor, identify the VIN, model year, engine code, and relevant diagnostic information. Check the service information for the exact engine. This prevents confusion between similarly named sensors and avoids applying an older repair bulletin to an unrelated vehicle. If you want to see how the same fault shows up on another make, read our guide to P0336 Nissan.
Common Symptoms of P0336 on an Audi
P0336 can cause several drivability problems because crankshaft position information is essential for engine operation. Symptoms depend on how frequently the signal fails and whether the ECM can maintain synchronization with other engine sensors.

1. Check Engine Light
An illuminated check engine light is a common indication of P0336. The ECM may store a confirmed code after detecting the problem under the required monitoring conditions. A pending code can appear when the fault has been detected once but has not yet met the confirmation requirements.
A basic scanner might show only the code. A more capable diagnostic tool can also display the operating conditions and additional manufacturer-specific information that help explain when the fault occurred.
2. Hard Starting or Extended Cranking
The engine may crank longer than normal before starting. If the ECM cannot reliably determine crankshaft position during startup, it may have difficulty coordinating fuel injection and ignition timing. In some cases, the engine may crank without starting.
An intermittent signal can make this symptom unpredictable. The Audi may start normally when cold but struggle after a hot soak, or the opposite may occur. Record whether the problem happens after an overnight stop, a short break, or extended driving.
3. Engine Stalling
A sudden loss of the crankshaft speed signal can cause the engine to stall. The vehicle may restart after a short wait if an intermittent electrical problem temporarily disappears. Repeated stalling is a serious concern because it can reduce engine power assistance and make the vehicle difficult to control.
4. Rough Running and Misfires
Incorrect crankshaft information can interfere with engine timing and misfire monitoring. You may notice uneven idle speed, shaking, hesitation, or reduced acceleration. Related diagnostic codes can include P0300 or cylinder-specific misfire codes.
Audi’s bulletin for the covered A4 3.2L application specifically associates P0336 with possible multiple-cylinder misfires. This makes it important to investigate related codes rather than treating each one as an unrelated problem.
5. Reduced Engine Performance
Some vehicles may experience hesitation, inconsistent acceleration, or reduced engine output. The ECM may use protective operating strategies if it cannot trust the crankshaft position information. The exact response varies with the Audi engine and the seriousness of the signal problem.
6. Intermittent Warning Lights
An intermittent P0336 fault may cause the warning light to appear and disappear. The code can remain stored even when the engine seems to run normally. A normal test drive does not prove that the problem has disappeared.
Pay attention to the combination of symptoms. A warning light without noticeable drivability problems requires diagnosis, but stalling, repeated misfires, or a flashing check engine light indicates a more urgent situation.
Common Causes of the Audi P0336 Code
Several electrical and mechanical problems can cause P0336. The sensor is one possibility, but the wiring, connector, installation, and crankshaft signal-producing components also deserve attention.
Faulty G28 Crankshaft Position Sensor
A failing engine speed sensor can produce an unstable or inaccurate signal. Internal electronic damage, heat-related failure, or deterioration can cause the signal to become inconsistent. Some sensors work correctly when cold but develop problems after the engine compartment becomes hot.
A sensor should be tested according to the correct Audi procedure. Its electrical design matters. An inductive sensor and a Hall-effect sensor do not necessarily produce the same type of signal, so their test methods and expected readings differ.
Damaged Wiring or Electrical Connectors
The wiring between the G28 sensor and ECM can develop an intermittent open circuit, short circuit, or excessive resistance. Heat, vibration, moisture, oil contamination, and damaged insulation can contribute to electrical problems.
Connector problems can be equally important. Loose terminals, corrosion, damaged locking tabs, and pins pushed backward into the connector can interrupt the signal. An electrical problem may become more noticeable when the engine moves under load or when temperatures change.
Incorrect Sensor Installation or Air Gap
The sensor must be installed correctly for its signal to remain within the expected range. Incorrect positioning, an improper mounting arrangement, contamination at the mounting surface, or an unsuitable spacer can affect the sensor’s relationship with the trigger wheel.
The 2006 Audi A4 bulletin provides a useful example involving a spacer between the G28 sensor and gearbox. This is a model-specific finding. It should not be interpreted as evidence that every Audi P0336 fault requires spacer removal.
Damaged Reluctor Wheel or Flywheel
The crankshaft sensor reads a rotating trigger pattern. Depending on the design, this may involve a reluctor wheel, flywheel features, or another reference arrangement. Missing, damaged, contaminated, or incorrectly positioned trigger features can produce an abnormal signal.
A damaged tooth or reference gap can affect signal timing even when the sensor itself is working correctly. Mechanical damage may require more extensive inspection than a simple electrical connector problem.
Crankshaft and Camshaft Synchronization Problems
The ECM may compare crankshaft position with camshaft position to confirm that the engine is synchronized. If the signals do not agree, the computer may identify an implausible crankshaft signal.
Depending on the engine, possible underlying issues include camshaft sensor faults, timing component problems, or an incorrectly interpreted reference signal. Related codes such as P0340 or P0341 may provide additional clues. Do not assume that a camshaft timing repair is necessary without confirming the actual cause.
ECM or Power Supply Problems
A control module problem is possible, but it should be considered only after the sensor, connectors, wiring, trigger wheel, and relevant power and ground circuits have been checked. Poor electrical supply can create confusing engine-management faults.
A fully charged battery should measure approximately 12.6 volts at rest. With the engine running, a typical charging system reading is approximately 13.5 to 14.7 volts. These are general reference values, not substitutes for the Audi-specific electrical specifications. A related problem on the same vehicle is explained in P0341 Audi Code.
How to Diagnose P0336 with an OBD2 Scanner
A proper diagnosis combines fault-code information, freeze-frame records, live engine data, and electrical or mechanical testing. A scanner can narrow down the problem, but a code description alone cannot identify a failed component.
- Confirm the vehicle information. Record the Audi model, model year, engine configuration, and VIN. Use the correct engine-specific diagnostic information rather than assuming that every G28 sensor has the same specifications.
- Perform a complete scan. Connect the scanner to the 16-pin OBD-II diagnostic connector, usually located beneath the driver-side dashboard. Scan the engine control module and other accessible modules for related faults.
- Record every trouble code. Note P0336, P0335, P0321, P0322, P0300, and any relevant camshaft sensor codes if present. Their combination may help identify whether the issue involves signal quality, synchronization, or misfires.
- Save freeze-frame information. Record engine RPM, calculated load, coolant temperature, vehicle speed, and other available operating conditions. These details show what the engine was doing when the fault was recorded.
- Check live engine RPM. Observe the engine speed parameter during cranking and idle. An implausible reading, sudden drop, or inconsistent value can suggest a crankshaft signal problem. Compare the data with actual engine operation.
- Review synchronization data. If the scanner supports Audi-enhanced measurements, inspect crankshaft and camshaft synchronization parameters. Look for synchronization errors or implausible signal information using the manufacturer’s specifications.
- Inspect electrical connections. Check the G28 connector and accessible wiring for corrosion, loose terminals, damaged insulation, oil contamination, or signs of previous repairs.
- Test the sensor and circuit. Use the correct wiring diagram and test procedure. Depending on sensor design, this may involve resistance testing, supply voltage, ground verification, or oscilloscope examination of the signal waveform.
- Investigate the mechanical trigger. If electrical testing does not reveal a fault, inspect the applicable reluctor wheel, reference features, mounting arrangement, and related mechanical components.
- Verify the repair. Clear codes only after recording the original information and completing the repair. Restart the engine, review live data, and perform an appropriate verification drive. Recheck pending and confirmed codes.
Understanding Freeze-Frame Data
Freeze-frame data is particularly useful when P0336 occurs intermittently. It preserves a snapshot of engine operating conditions associated with a detected fault. For example, a code recorded at high engine RPM may require a different investigation from one recorded during cranking.
Check whether the fault occurred during a cold start, after the engine warmed up, during acceleration, or at idle. If the engine stalls when hot, compare the stored coolant temperature and RPM with the conditions during a successful restart.
Using Live Data and Fuel Trims
Engine RPM is one of the most important parameters to watch. When cranking, the scanner should report a plausible engine-speed value. A reading that drops unexpectedly or disappears while the engine continues rotating can point toward a signal interruption, although scanner refresh speed and communication limitations must also be considered.
Fuel trims provide additional information when rough running or misfires accompany P0336. Short-term fuel trim (STFT) and long-term fuel trim (LTFT) show how the ECM adjusts fueling. Combined corrections beyond approximately plus or minus 10 percent deserve investigation for mixture problems. Corrections beyond approximately 25 percent can contribute to lean or rich trouble codes.
However, abnormal fuel trims do not prove that the crankshaft sensor is faulty. They may indicate a separate air leak, fuel delivery problem, or combustion issue. Treat fuel trim data as supporting evidence rather than a direct P0336 test.
When Mode $06 Helps
Mode $06 provides onboard monitor test results on supported vehicles. Some advanced scanners can display test identifiers, measured values, and pass or fail limits. Manufacturer-specific diagnostic information may be necessary to interpret the results correctly.
Mode $06 is not a universal direct test of G28 sensor condition. Do not assume that a generic Mode $06 result confirms a defective crankshaft sensor. Use the Audi diagnostic specifications for the exact engine and compare the available measurements with other evidence.
Tip: Save all original codes and freeze-frame records before clearing anything. If P0336 appears with P0300, P0335, P0321, or P0322, investigate the combined pattern. Audi’s 2006 A4 bulletin demonstrates that an engine-speed sensor installation issue can be associated with several related codes. Never replace the sensor solely because a generic scanner displays P0336. A second fault on the same model is covered in P0352 Audi.
Audi’s published reference documentation also explains the importance of crankshaft and camshaft signal synchronization. For additional technical context, see the Audi A8/A8L/S8 diagnostic specification reference. Its numerical diagnostic criteria apply to the documented vehicles and should not be transferred directly to another Audi engine.
P0336 Repair Options, Severity, and Driving Safety
The appropriate repair depends on the confirmed cause. A damaged connector may require a relatively limited electrical repair, while a trigger-wheel problem or an inaccessible sensor installation can require substantially more labor. Replacing the G28 sensor is appropriate only when testing supports that decision.
Common Repair Approaches
- Repairing the connector: Damaged terminals, loose connections, and corrosion may require connector repair or replacement using the correct electrical repair procedure.
- Repairing the wiring: An intermittent open circuit, short, or damaged section of harness may require wiring repair or harness replacement.
- Replacing the G28 sensor: A confirmed internal sensor failure may require a replacement unit that matches the vehicle’s engine and installation specifications.
- Correcting sensor installation: If the sensor is incorrectly positioned or installed with an unsuitable mounting arrangement, the issue must be corrected according to the applicable Audi service procedure.
- Repairing the trigger wheel: A damaged reluctor wheel, flywheel reference feature, or related mechanical component may require more extensive work.
- Addressing synchronization problems: If testing confirms an actual camshaft or crankshaft timing problem, the affected mechanical components must be inspected and repaired.
How Much Does P0336 Repair Cost?
There is no reliable single repair price for every Audi P0336 problem. The total depends on the failed component, parts availability, diagnostic time, labor requirements, and whether the work is performed by an independent repair shop, an Audi specialist, or a dealership.
A sensor replacement may involve the cost of the correct replacement part and the labor required to access and install it. A connector or wiring repair can have a different parts-to-labor balance. A difficult-to-access sensor may require considerably more labor than an easily accessible component.
A flywheel or reluctor-related repair can be substantially more involved. Depending on the engine and design, accessing the relevant components may require transmission-related labor or other major disassembly. Timing-related repairs can also involve additional inspection and specialized procedures.
Diagnostic labor should be considered separately from parts replacement. A technician may need to review freeze-frame records, examine wiring diagrams, perform electrical measurements, and use an oscilloscope to confirm the crankshaft signal. Paying for an accurate diagnosis can prevent unnecessary component replacement.
Is It Safe to Drive with P0336?
Driving safety depends on the symptoms and the reliability of the crankshaft signal. A vehicle with an illuminated check engine light and no noticeable performance problems may still operate, but the fault should be diagnosed promptly. An intermittent signal can deteriorate without much warning.
Do not continue driving if the engine repeatedly stalls, loses power, struggles to maintain idle, or becomes difficult to restart. A sudden stall in traffic creates a safety risk. Arrange professional assistance or towing when the vehicle cannot be operated reliably.
A flashing check engine light requires particular attention. It generally indicates an active misfire severe enough to threaten catalytic converter damage. Reduce engine load, avoid hard acceleration, and arrange immediate diagnosis. If the engine is shaking or running severely, stop in a safe location rather than continuing the journey.
Even if the Audi seems normal, an unresolved P0336 can interfere with engine operation and may lead to unexpected stalling. Avoid long trips or situations where a breakdown could create additional risk until the problem has been investigated.
After the repair, confirm that the engine starts consistently, idle speed remains stable, and the crankshaft signal is reliable. Check that the relevant readiness monitors complete and that the fault does not return. A permanent OBD-II code may remain stored until the vehicle’s onboard monitor confirms that the problem has been corrected. For tools that help with this kind of work, check Best Professional Scan Tools for Evs.
Frequently Asked Questions
1. Is P0336 a generic or Audi-specific trouble code?
P0336 is a generic SAE powertrain code, not an Audi-exclusive definition. However, Audi-specific diagnostic criteria, sensor arrangements, and repair procedures can differ by engine and model. The G28 designation is used for the engine speed sensor in relevant Audi service information.
2. Can P0336 appear without turning on the check engine light?
Yes. A fault may initially be recorded as pending before the conditions required for confirmed fault storage and warning-light activation are met. A scanner may therefore reveal useful diagnostic information even when the dashboard warning light is not illuminated.
3. Can P0336 affect an Audi’s emissions inspection?
Yes. An active emissions-related powertrain fault can cause an OBD-based inspection to fail, depending on the applicable state program. Permanent trouble codes and incomplete readiness monitors can also affect inspection results even after a repair has been performed.
4. Will disconnecting the Audi battery permanently erase P0336?
No. Disconnecting the battery is not a reliable repair or permanent solution. It may erase some stored information or reset certain adaptations, depending on the vehicle, but permanent diagnostic codes require the underlying problem to be fixed and the appropriate monitor to pass.
5. Can a new crankshaft sensor still produce P0336?
Yes. A new sensor does not correct a damaged signal wheel, faulty connector, incorrect sensor positioning, unsuitable replacement component, or defective wiring. Installation errors and compatibility problems can also prevent the ECM from receiving the expected signal.
P0336 on an Audi identifies a crankshaft position signal performance problem, not automatic proof of a failed G28 sensor. Start with a complete scan, freeze-frame information, and live engine-speed and synchronization data before replacing parts. Check the wiring, sensor installation, and mechanical trigger components as needed, using the correct Audi-specific service information to confirm the repair.
-
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
LearnP0303 Audi: Diagnose Cylinder 3 Misfires and Find the Cause
LearnP0302 Audi: Find the Cause of a Cylinder 2 Misfire
LearnP0341 Audi Code: Camshaft Position Sensor A Causes and Signal Tests
LearnP0353 Audi: Diagnose Ignition Coil Circuit Faults and Misfires
LearnP0352 Audi: Diagnose Ignition Coil B Circuit Problems
LearnP0603 Duramax Code: Keep Alive Memory Error Causes and Checks