P0336 Subaru: Diagnose Crankshaft Sensor Problems and Prevent Stalling
19 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0336 subaru trouble code means the engine computer has detected an abnormal crankshaft position sensor A signal or an incorrect number of crankshaft signals per revolution. This problem can cause hard starting, unexpected engine stalling, rough running, or a no-start condition. The crankshaft position sensor helps the engine control module (ECM) determine crankshaft position and engine speed so it can coordinate ignition and fuel injection.
A faulty sensor is one possible explanation, but replacing it immediately is not always the right repair. Subaru diagnostic procedures also identify damaged sensor plates, loose sensor mounting, wiring faults, and incorrect mechanical timing as possible areas to investigate. The correct diagnosis depends on the Subaru model year, engine, and applicable factory service procedure.
This guide explains what P0336 means, which symptoms deserve attention, how to inspect the crankshaft signal with an OBD2 scanner, and what repairs may be necessary. It also explains when driving should stop and why a proper diagnosis matters before purchasing replacement parts.
What P0336 Means on a Subaru
P0336 is a generic powertrain diagnostic trouble code describing a crankshaft position sensor A circuit range or performance problem. On Subaru engines, the ECM evaluates the crankshaft signal pattern and checks whether the number and timing of incoming signals match the expected pattern. An incorrect signal pattern can prevent the computer from accurately determining engine position.

The crankshaft position sensor works with a rotating toothed or patterned component called a sensor plate or reluctor. As the crankshaft rotates, the sensor produces electrical signals that the ECM interprets. The computer uses this information alongside camshaft position signals to establish engine timing.
Understanding the P0336 Code Structure
The five-character code identifies the affected system and the general type of fault. Its second character is especially useful because it distinguishes generic diagnostic definitions from manufacturer-specific definitions.
| Code element | Meaning | Application |
|---|---|---|
| P | Powertrain | Engine and transmission management |
| 0 | Generic SAE code | Standardized diagnostic definition |
| 3 | Ignition and engine-speed-related category | Engine position and timing signals |
| 3 | Specific fault identifier | Crankshaft signal range or performance |
| 6 | Specific fault identifier | Completes the P0336 definition |
Subaru’s factory diagnostic information describes P0336 as an abnormality in crankshaft sensor output properties. One documented 2018–2023 Crosstrek engine configuration expects 30 crankshaft sensor signals per crankshaft revolution. A different signal count can cause the ECM to identify a fault. That figure is specific to the documented configuration and should not be assumed to apply to every Subaru engine.
Why the Crankshaft Signal Matters
The crankshaft rotates whenever the engine operates. Its position helps the ECM determine when each cylinder approaches the correct point in its operating cycle. If the signal disappears, becomes inconsistent, or contains an unexpected pulse pattern, the computer may struggle to coordinate ignition and fuel delivery.
This explains why a crankshaft signal problem can produce more than a warning light. The engine may crank without starting, run briefly before stalling, or suddenly lose power. The exact response depends on the engine management strategy and the nature of the signal failure. If you work on more than one brand, keep P0336 VW handy as well.
Common Subaru P0336 Symptoms
A Subaru with P0336 may experience starting difficulties, intermittent stalling, or unstable engine operation. Some vehicles continue running with relatively minor symptoms, while others become difficult or impossible to start. The severity depends on whether the crankshaft signal is occasionally incorrect or completely unavailable.

Engine Stalling While Driving
One of the more concerning symptoms is an engine that suddenly shuts off while the vehicle is moving. If the ECM loses reliable crankshaft position information, it may no longer be able to maintain normal engine operation.
A stall can happen during acceleration, at a stop, or while cruising. Intermittent electrical connections and heat-sensitive sensor failures can make the problem appear and disappear. A vehicle that stalls repeatedly should not be treated as reliable transportation.
Extended Cranking or No-Start Condition
The starter may turn the engine normally, but the engine may take longer than usual to start. In more serious cases, the engine cranks continuously without firing. This happens because the ECM needs dependable position information to coordinate engine operation.
A no-start condition does not automatically prove the crankshaft sensor has failed. Battery voltage, wiring, ignition operation, fuel delivery, and other engine management problems can create similar symptoms. A scanner and appropriate electrical tests help separate these possibilities.
Rough Running and Unstable Idle
An inconsistent crankshaft signal can interfere with engine synchronization. Depending on the fault, the driver may notice rough idle, hesitation, irregular acceleration, or occasional misfires. These symptoms can become more noticeable during warm-up or after the engine reaches operating temperature.
However, rough running alone is not enough to identify P0336 as the cause. Spark plugs, ignition coils, fuel delivery, vacuum leaks, and other engine components can produce similar behavior. Additional diagnostic codes and live data are important.
Check Engine Light and Other Warning Signs
The check engine light may illuminate when the ECM confirms the fault. A pending P0336 may appear before the computer decides that the problem meets its confirmation requirements. Some Subaru applications require the fault to occur during two consecutive driving cycles before illuminating the malfunction indicator.
Other warning signs can include an erratic tachometer, poor throttle response, or unexpected changes in engine operation. These are possible supporting symptoms rather than guaranteed consequences of P0336. The instrument display and available warning messages vary by vehicle.
Tip: If the check engine light flashes while the engine runs roughly, reduce engine load and stop driving as soon as it is safe. A flashing light can indicate an active misfire that may damage the catalytic converter. Repeated engine stalling also creates a road safety risk. The fault logic is shared, but the test points change, so check P0336 honda too.
Common Causes of P0336 on Subaru Vehicles
P0336 does not identify one failed component. It indicates that the crankshaft signal does not meet the ECM’s expected operating criteria. Subaru diagnostic procedures show that the investigation should include the sensor, its mounting, the signal-generating plate, wiring, and mechanical timing.
1. Defective Crankshaft Position Sensor
The crankshaft position sensor is an obvious place to investigate. Internal electrical deterioration, damaged connections, or an intermittent signal can prevent the ECM from receiving consistent crankshaft information.
Some sensor problems become more noticeable as engine temperature increases. A sensor may operate normally when cold but produce an unreliable signal after warming up. Other failures can prevent the engine from starting altogether.
A technician should compare the sensor’s electrical output with the applicable Subaru specifications before replacing it. A resistance test alone may not identify an intermittent signal problem, particularly if the sensor behaves differently under operating conditions.
2. Damaged Crankshaft Position Sensor Plate
The crankshaft position sensor plate provides the pattern that the sensor reads. Cracked, damaged, or irregular teeth can change the signal pattern and cause an incorrect pulse count.
Subaru’s factory diagnostic procedure for the 2024 Forester specifically includes checking the sensor plate for cracked or damaged teeth. This is an important distinction because replacing a functioning sensor will not correct a damaged signal-generating component.
Physical damage, incorrect installation, or a problem affecting the relationship between the sensor and plate may also interfere with signal quality. The appropriate inspection method depends on the engine design and access requirements.
3. Loose Sensor Mounting
A sensor that is not properly secured may not maintain its intended position relative to the signal plate. Movement or an incorrect installation condition can affect signal consistency.
Subaru’s 2024 Forester diagnostic sequence begins by checking whether the crankshaft position sensor installation bolt is secure. This is a useful reminder to verify basic installation conditions before assuming the sensor itself has failed.
4. Damaged Wiring or Electrical Connections
The wiring between the crankshaft sensor and ECM carries the signal needed for engine synchronization. A damaged wire, corroded connector, poor terminal contact, or short to ground can interrupt the circuit.
The 2004 Subaru Forester service procedure includes specific checks for wiring resistance and sensor connector condition. It also identifies poor contact at the ECM connector and intermediate connectors as possible problems. These findings show why the electrical circuit deserves attention before parts are replaced.
Heat, vibration, moisture, and previous repair work can contribute to wiring problems. A connector that looks acceptable from the outside may still have a loose terminal or damaged internal contact surface.
5. Incorrect Timing Belt or Timing Chain Alignment
Mechanical timing problems can affect the relationship between crankshaft and camshaft signals. Subaru service procedures include checking timing alignment when the sensor and signal plate inspections do not reveal the cause.
Depending on the engine, the relevant components may include a timing belt or timing chain. Incorrect installation, a slipped belt, or a chain timing problem can create synchronization issues that require mechanical inspection.
Do not assume that every Subaru uses the same timing arrangement. Engine design and service procedures vary by model year and engine. Consult the correct factory manual before performing any mechanical timing inspection.
6. Other Engine Management Problems
Low system voltage, poor electrical grounds, or additional sensor faults can complicate diagnosis. These conditions may affect the quality of electronic signals or create other engine symptoms that occur alongside P0336.
An ECM failure is possible but should be considered only after the sensor, wiring, connectors, signal plate, and mechanical timing have been checked. Replacing the computer without confirming its failure can create unnecessary expense and may require additional programming procedures.
How to Diagnose Subaru P0336 With an OBD2 Scanner
An OBD2 scanner provides the first useful information about the fault. A basic code reader can retrieve P0336, but a more capable diagnostic scanner can also display freeze-frame information, engine speed, pending codes, and selected live sensor data. These details help determine whether the fault is intermittent or persistent.
Step 1: Retrieve All Diagnostic Trouble Codes
Connect the scanner to the 16-pin diagnostic connector, normally located beneath the driver-side dashboard near the steering column. Turn the ignition on and follow the scanner instructions to retrieve stored, pending, and permanent trouble codes.
Do not focus on P0336 alone. Other codes may identify related crankshaft or camshaft signal problems, ignition faults, or low-voltage conditions. Record the complete code list before clearing anything.
A pending code means the ECM has detected a possible fault but has not yet confirmed it. A stored code indicates that the fault has met the applicable confirmation requirements. A permanent code may remain even after the repair until the vehicle completes the required self-tests.
Step 2: Review Freeze-Frame Data
Freeze-frame data records selected engine operating conditions when the ECM detects a qualifying fault. It can show whether the problem occurred during starting, idling, acceleration, or normal cruising.
Pay attention to engine speed, calculated load, coolant temperature, vehicle speed, and available battery voltage information. For example, a fault recorded during a warm engine operating condition may support further investigation of an intermittent heat-related electrical problem.
Freeze-frame information does not identify the failed component by itself. It provides a useful starting point for reproducing the conditions under which the fault occurred.
Step 3: Examine Crankshaft Sensor Live Data
Look for engine RPM and crankshaft-related parameters supported by the scanner. During cranking, the ECM should receive a usable crankshaft position signal if the circuit and sensor are functioning correctly.
If the scanner displays zero RPM while the starter is turning the engine, investigate the crankshaft sensor circuit and its signal. However, confirm that the scanner is communicating correctly and that its data list supports the vehicle before drawing a conclusion.
An advanced scan tool or oscilloscope may be necessary to evaluate the actual crankshaft waveform. A waveform can reveal missing pulses, irregular spacing, or other signal abnormalities that a basic scanner cannot display.
Step 4: Check Battery and Charging Voltage
Electrical system condition should be checked before performing detailed sensor tests. A weak battery or charging problem can complicate engine management diagnosis.
A healthy fully charged battery typically measures approximately 12.6 volts with the engine off. With the engine running, charging voltage is generally around 13.5 to 14.7 volts. Compare actual readings with the vehicle manufacturer’s specifications and consider battery condition and temperature.
If the engine will not start, inspect battery condition and cranking voltage using an appropriate testing procedure. Do not assume that an acceptable resting voltage guarantees that the battery can supply sufficient current while cranking.
Step 5: Inspect the Sensor Circuit and Connector
With the ignition switched off, a qualified technician can inspect the crankshaft sensor connector and accessible wiring for corrosion, damaged insulation, loose terminals, or previous repairs. The wiring should also be checked for poor continuity, unwanted resistance, and shorts according to the correct Subaru wiring diagram.
The 2004 Forester service manual provides application-specific resistance checks for the sensor harness and sensor itself. For that documented configuration, the sensor resistance specification is 1–4 kΩ. Its wiring procedure also includes checks involving more than 100 kΩ, less than 10 Ω, and less than 5 Ω at particular terminals.
These figures must not be treated as universal Subaru specifications. Different sensors and engine configurations can use different electrical designs. Always use the correct wiring diagram, connector identification, and testing values for the vehicle being repaired.
Step 6: Inspect the Sensor Plate and Mechanical Timing
If the electrical circuit appears sound, inspect the crankshaft position sensor plate for damaged or cracked teeth. Also verify that the sensor is correctly installed and secured. These are explicit checks in Subaru’s later Forester diagnostic procedure.
If the sensor plate and installation condition are acceptable, mechanical timing may need further investigation. A qualified technician should compare the crankshaft and timing alignment marks using the correct engine-specific service procedure.
Do not dismantle timing components based solely on a P0336 code. Incorrect handling of timing components can create serious engine damage, especially if the engine has an interference design. Mechanical inspection should be performed with the correct tools and specifications.
Diagnostic Reading Reference
The following table summarizes useful measurements and observations. Values identified as application-specific should only be used with the corresponding service information.
| Test or observation | Reference | Diagnostic meaning |
|---|---|---|
| Battery at rest | Approximately 12.6 V | Typical fully charged battery reading |
| Charging voltage | Approximately 13.5–14.7 V | Typical charging-system operating range |
| 2004 Forester crankshaft sensor resistance | 1–4 kΩ | Application-specific sensor specification |
| 2004 Forester harness check, specified terminal | More than 100 kΩ | Open-circuit isolation check |
| 2004 Forester harness check, specified terminal | Less than 10 Ω | Ground-short diagnostic check |
| 2018–2023 Crosstrek documented signal count | 30 signals per crankshaft revolution | Application-specific crankshaft signal criterion |
The Subaru-specific resistance and signal-count figures come from different documented engine applications. They are included to demonstrate how factory diagnostic specifications guide testing, not as interchangeable specifications for every Subaru. Before you clear the codes, check whether P0303 Subaru Code applies to your vehicle too.
Repairs, Driving Safety, and Repair Cost Factors
The correct repair depends on what caused the abnormal crankshaft signal. Some cases involve a relatively straightforward electrical or sensor installation problem, while others require access to mechanical timing components or replacement of a damaged sensor plate.
Replacing a Defective Crankshaft Position Sensor
If testing confirms that the crankshaft position sensor is defective, replacement may restore a reliable signal. The technician should use the correct component for the specific Subaru engine and follow the manufacturer’s installation instructions.
The repair involves more than fitting another sensor. The connector should be checked, the mounting surface inspected, and the sensor installed in its specified position. Incorrect mounting or improper installation can allow the original signal problem to remain.
Repairing Sensor Wiring and Connectors
If the problem comes from damaged wiring, the affected circuit must be repaired using an appropriate automotive electrical repair method. Corroded terminals, broken conductors, poor connector contact, and damaged shielding may require different corrective actions.
The repaired wiring should be routed and secured correctly so that engine movement, heat, and vibration do not damage it again. The technician should also confirm that electrical resistance and continuity meet the correct service specifications.
Replacing a Damaged Sensor Plate
A cracked or damaged crankshaft position sensor plate may require mechanical disassembly to access and replace the affected component. This repair can be more involved than replacing the sensor itself because access and installation requirements depend on engine design.
The replacement plate must be installed in the correct orientation and position. A technician should inspect related components and confirm that the resulting crankshaft signal is consistent with factory specifications.
Correcting Timing Belt or Timing Chain Problems
If mechanical timing is incorrect, the repair must address the actual alignment problem. This may involve correcting belt or chain installation, inspecting related timing components, or investigating damage that caused the timing relationship to change.
Timing repairs require engine-specific tools, alignment information, and torque specifications. An incorrect repair can lead to valve and piston contact on applicable engines. This work is best handled by a technician familiar with the specific Subaru engine.
What Determines Repair Cost?
There is no single repair cost for P0336 because the code does not identify the failed part. The final amount depends on the diagnosis, component accessibility, labor requirements, and whether additional mechanical or electrical work is necessary.
- Sensor replacement: Costs depend on the correct replacement component, installation time, and access to the sensor.
- Wiring repair: Labor depends on the location and extent of damaged wiring, connector condition, and electrical testing requirements.
- Sensor plate replacement: Additional disassembly and mechanical labor may make this repair more involved.
- Timing belt or chain correction: Labor depends on engine configuration, the cause of incorrect timing, and the condition of related components.
- Diagnostic labor: Advanced scan-tool testing, oscilloscope measurements, and factory diagnostic procedures can affect the initial service charge.
- DIY versus professional repair: DIY work may reduce labor expenses, but incorrect diagnosis or installation can lead to repeat repairs and engine damage.
When requesting a repair estimate, ask the shop to identify the confirmed cause rather than quoting a sensor replacement based only on the trouble code. A useful estimate should explain the diagnostic findings, proposed parts, labor involved, and any additional work required.
Is It Safe to Drive With P0336?
Driving with P0336 is not recommended if the engine stalls, runs poorly, or has difficulty maintaining normal operation. An engine that shuts off unexpectedly can leave the driver without normal engine power assistance and may create a dangerous situation in traffic.
If the vehicle starts and runs normally with a steady check engine light, the fault may be intermittent. Even so, the vehicle should be inspected promptly because an intermittent crankshaft signal problem can become a complete failure without much warning.
If the engine stalls repeatedly, will not restart, or has a flashing check engine light, arrange professional assistance and consider towing the vehicle. Avoid highway driving, hard acceleration, and unnecessary trips until the fault is diagnosed.
Tip: Do not inspect rotating engine components with the engine running or disconnect sensor wiring while the engine is operating unless a factory procedure specifically requires it. Keep hands, clothing, and tools away from belts, fans, and moving parts. Timing-component work and electrical testing should follow the correct Subaru service instructions. If the vehicle stalls or cannot restart reliably, use a tow service instead of attempting to drive it.
Confirming the Repair
After the underlying problem is corrected, the technician should follow the applicable Subaru final-check procedure. This may include clearing diagnostic memory, performing the required inspection mode, and verifying that the engine operates normally.
A scanner should be used to check for returning stored or pending codes. The crankshaft signal and engine RPM data should also be reviewed where supported. A successful repair means the signal problem has been corrected, not simply that the warning light has disappeared.
Permanent diagnostic trouble codes may remain visible until the required monitor completes successfully. Disconnecting the battery or clearing codes does not repair the underlying problem and may erase useful diagnostic information. The vehicle should complete the applicable self-tests before the repair is considered fully verified. For the equipment used in these checks, see Best OBD2 Scanner for Subaru Outback.
For additional model-specific information, consult the Subaru Forester factory diagnostic procedure and the Subaru Crosstrek diagnostic trouble code criteria. Always match the procedure to the vehicle’s engine and model year.
Frequently Asked Questions
Can a Subaru have P0336 without turning on the check engine light?
Yes. A pending P0336 may be stored before the ECM confirms the fault and illuminates the check engine light. The monitoring and confirmation requirements depend on the engine management calibration. A scanner that can retrieve pending codes may reveal the problem earlier than a basic dashboard warning.
Does P0336 mean the crankshaft sensor has stopped working completely?
No. P0336 can occur when the sensor still produces a signal but the signal pattern or number of pulses is incorrect. This differs from P0335, which generally identifies a crankshaft position sensor A circuit problem involving an open or short circuit or a missing signal.
Can cold weather affect a Subaru crankshaft sensor problem?
Cold weather can expose an existing electrical problem by affecting battery performance, connector contact, and component behavior. However, cold temperatures alone do not establish the cause of P0336. Comparing cold-start and warm-engine diagnostic data can help identify temperature-related patterns.
Will clearing P0336 permanently fix the problem?
No. Clearing the code only erases diagnostic information that the scanner or ECM allows it to clear. If the underlying signal problem remains, the code may return when the relevant monitoring conditions are met. Permanent codes require the fault to be corrected and the appropriate monitor to pass.
Can P0336 affect an emissions inspection?
Yes. A confirmed powertrain trouble code and an illuminated malfunction indicator can cause a vehicle to fail an applicable OBD-based emissions inspection. Clearing the code immediately before testing may also leave readiness monitors incomplete. Inspection requirements depend on the state and its emissions program.
P0336 on a Subaru indicates an abnormal crankshaft position sensor signal, but the sensor is not automatically the failed component. Check the wiring, mounting, sensor plate, and mechanical timing before choosing a repair. Use the correct engine-specific service specifications, and avoid driving a vehicle that stalls or cannot maintain reliable engine 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
LearnP0351 Subaru Code: Meaning, Causes, and Step-by-Step Diagnosis
LearnP0353 Subaru: Diagnose the Ignition Coil Circuit Before Replacing Parts
LearnP0354 Subaru: Diagnose Ignition Coil Circuit Faults and Restore Engine Performance
LearnP0304 Subaru Forester: Find and Fix Cylinder 4 Misfires
LearnP0325 Subaru: Diagnose the Knock Sensor Circuit Before Replacing Parts
LearnP0211 Code: Identify Cylinder 11 Injector Circuit Problems