P0335 Subaru Forester: Diagnose the Crankshaft Sensor Fault
18 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0335 subaru forester diagnostic trouble code indicates a problem with the crankshaft position sensor A circuit, which can cause engine stalling, starting difficulties, or a complete no-start condition. The crankshaft position sensor provides the engine computer with information about crankshaft position and rotational speed. Without a reliable signal, the computer may struggle to control ignition timing and fuel injection.
A defective sensor is one possible explanation, but it is not the only one. Damaged wiring, loose electrical connections, corrosion, incorrect sensor installation, or a problem with the signal-producing components can also trigger this code. Subaru’s factory diagnostic procedure checks several of these areas before recommending replacement.
This guide explains what P0335 means on a Subaru Forester, which symptoms matter, how to use an OBD2 scanner to investigate the fault, and what repairs may be necessary. Because Forester engines and electrical systems vary by model year, always use the correct service specifications for the vehicle being diagnosed.
What P0335 Means on a Subaru Forester
P0335 is the generic SAE diagnostic trouble code for Crankshaft Position Sensor A Circuit. On a Subaru Forester, it indicates that the engine control module has detected a problem with the electrical circuit or signal associated with the crankshaft position sensor. Subaru’s service documentation identifies this fault separately from P0336, which describes a crankshaft position sensor range or performance problem.
The crankshaft position sensor monitors the rotating crankshaft and sends information to the engine computer. The computer uses this information to determine engine speed and crankshaft position. It then coordinates ignition timing and fuel injection so the cylinders operate in the correct sequence.
The sensor works with a timing rotor or reluctor feature that moves past its sensing element. As the crankshaft rotates, the changing magnetic field produces an electrical signal. The computer interprets that signal to determine the crankshaft’s position. If the signal disappears, becomes unreliable, or cannot reach the computer, engine operation may become unstable or impossible. For additional technical information about crankshaft and camshaft sensor operation, see DENSO’s crankshaft and camshaft sensor technical explanation.

Understanding the P0335 Code Format
OBD2 codes contain five characters. Each character helps identify the affected system and the general nature of the detected problem.
| Code portion | Meaning | Application to P0335 |
|---|---|---|
| P | Powertrain | Engine or transmission-related system. |
| 0 | Generic SAE code | Standardized diagnostic definition. |
| 3 | Ignition and misfire-related code family | Crankshaft position signal monitoring. |
| 3 | Specific fault identifier | Crankshaft position sensor A circuit. |
| 5 | Specific fault identifier | Completes the P0335 diagnostic code. |
The second character is important. A 0 identifies a generic standardized powertrain code, while a 1 identifies a manufacturer-specific code. P0335 has a standardized definition, although the exact diagnostic thresholds and repair procedures can differ between Subaru models and engine configurations.
How Subaru’s Diagnostic System Detects the Fault
Subaru’s 2008 Forester turbo service manual describes P0335 as a fault that can be recognized immediately. Its diagnostic procedure identifies engine stalling and failure to start as associated symptoms. The manual also separates this circuit fault from P0336, which concerns signal range or performance.
This distinction matters during troubleshooting. P0335 directs attention toward the electrical circuit and the presence of a usable crankshaft signal. P0336 directs attention toward an abnormal signal range or performance condition. Both involve the crankshaft position system, but they do not automatically indicate the same failure. If the light returns with a different code, P0420 Subaru Forester is a good next read.
Symptoms of a Crankshaft Position Sensor Problem
A Subaru Forester with P0335 may experience anything from occasional starting trouble to complete engine failure. The most important symptoms are stalling, intermittent starting, and a no-start condition because the engine computer depends on a reliable crankshaft signal.

Not every vehicle displays every symptom. A loose connector might produce an intermittent fault, while a completely failed sensor can prevent the engine from starting. Other electrical or mechanical problems can create similar symptoms, so the code should always be considered alongside the vehicle’s behavior.
1. Engine Cranks but Does Not Start
One of the most serious symptoms is an engine that turns over with the starter but refuses to start. The starter motor may rotate the engine normally, yet the engine computer may not receive the crankshaft position information needed to coordinate ignition and injection.
Pay attention to whether the problem occurs consistently or only occasionally. A complete loss of signal can create a persistent no-start condition. An intermittent connection may allow the engine to start on some attempts but fail on others.
2. Unexpected Engine Stalling
A Forester may start normally and then shut off unexpectedly. This can happen if the crankshaft signal becomes unreliable while the engine is running. A failing sensor or damaged electrical connection may work temporarily before the signal disappears.
Stalling is particularly concerning in traffic, at intersections, and when entering a highway. If the engine stops, power steering assistance and brake assistance may be reduced depending on the vehicle’s design and operating conditions. The vehicle may become difficult to control.
3. Rough Running and Inconsistent Acceleration
An intermittent crankshaft signal can interfere with engine timing information. The driver may notice hesitation, uneven acceleration, occasional misfires, or unexpected changes in engine performance.
These symptoms are not exclusive to P0335. Ignition coils, spark plugs, fuel delivery problems, and other sensor faults can produce similar behavior. Additional codes and live data help determine whether the crankshaft circuit is the main concern.
4. Check Engine Light Illumination
The check engine light may illuminate when the computer recognizes a crankshaft position circuit malfunction. A scanner can show whether P0335 is pending, stored, or permanent. These statuses provide useful information about how the fault has been recorded.
- Pending code: The computer has detected a fault condition but has not yet confirmed it.
- Stored or confirmed code: The computer has confirmed the malfunction and may have commanded the check engine light on.
- Permanent code: The computer retains the emissions-related fault record until the repair is verified through its own monitoring process.
A permanent code cannot normally be removed simply by repeatedly clearing the scanner memory. The underlying problem must be corrected, and the relevant monitor must complete its verification process.
Common Causes of P0335 on a Subaru Forester
P0335 can result from a failed crankshaft position sensor, damaged wiring, poor connector contact, or an issue affecting the sensor’s signal. Subaru’s service procedure checks sensor installation, sensor resistance, and harness continuity, demonstrating why replacing the sensor without testing the circuit can lead to unnecessary repairs.
1. Defective Crankshaft Position Sensor
The sensor itself is a common suspect. Internal electrical damage, heat exposure, contamination, and physical deterioration can interfere with its ability to produce a usable signal.
A sensor can also fail intermittently. It might operate correctly when cold but develop problems after the engine compartment becomes hot. This explains why a vehicle may start normally in the morning but experience starting trouble after a short trip.
2. Damaged or Broken Sensor Wiring
The wiring between the crankshaft position sensor and engine control module carries the signal. A broken conductor, damaged insulation, internal wire fatigue, or a short circuit can interrupt communication.
Engine vibration and repeated temperature changes can contribute to wiring deterioration. Harness sections near hot components or moving engine parts deserve careful inspection. Look for damaged insulation, stretched wires, previous repairs, and signs of rubbing.
3. Loose, Dirty, or Corroded Connectors
A connector that is not fully seated can interrupt the signal. Corrosion, moisture, dirt, damaged terminals, and weak terminal tension can also increase electrical resistance or cause intermittent contact.
Inspect the sensor connector and accessible intermediate harness connections. A connection can look normal from the outside while an individual terminal is damaged internally. Subaru’s diagnostic documentation specifically includes poor contact at the ECM and sensor connectors among the conditions requiring attention.
4. Incorrect Sensor Installation
A sensor that is not securely installed may not maintain the correct relationship with the timing rotor. Incorrect installation can interfere with signal generation and may cause additional mechanical damage if the sensor contacts a rotating component.
Subaru’s diagnostic procedure begins by checking whether the crankshaft position sensor installation bolt is secure. This is an important first inspection, especially if the sensor or nearby engine components were recently serviced.
5. Damaged Timing Rotor or Signal-Producing Components
The crankshaft sensor needs a suitable rotating target to generate its signal. A damaged reluctor feature, excessive contamination, or an incorrect sensor-to-target relationship can affect the waveform.
A technician may need to inspect the signal-producing components if the sensor and wiring pass their electrical tests but the waveform remains abnormal. This is one reason a complete diagnosis is more reliable than installing a replacement sensor based only on the stored code.
6. Engine Control Module or Electrical Problems
An ECM fault is possible, but it should be considered only after the sensor, connectors, wiring, and signal quality have been checked. Poor electrical connections at the computer can imitate a component failure.
Battery and charging problems can also complicate diagnosis. A healthy battery at rest is approximately 12.6 volts, while a typical charging system with the engine running produces approximately 13.5 to 14.7 volts. These are useful general reference values, not Subaru-specific P0335 pass-or-fail specifications. For another common fault on this model, see P0741 subaru forester.
How to Diagnose P0335 with an OBD2 Scanner
An OBD2 scanner helps identify the fault and provides information about the conditions under which it occurred. A basic code reader can retrieve P0335, while a more capable diagnostic scanner can display freeze-frame information, live engine data, and additional manufacturer-specific information where supported.
OBD-II is required on cars and light trucks sold in the United States from model year 1996. The standard 16-pin diagnostic connector is usually under the driver’s dashboard, within reach of the steering column.
Step 1: Read All Stored and Pending Codes
Connect the scanner with the ignition in the appropriate position for the tool. Read all available powertrain codes before clearing anything. Record P0335 and any accompanying codes.
Pay particular attention to other crankshaft or camshaft position codes, communication faults, and voltage-related codes. Multiple faults can help identify whether the issue is isolated to one sensor or involves a broader electrical problem.
Step 2: Examine Freeze-Frame Data
Freeze-frame data records operating conditions associated with a detected emissions-related fault. Depending on the vehicle and scanner, the available information may include engine RPM, coolant temperature, vehicle speed, calculated load, and fuel system status.
Use this information to understand when the problem occurred. For example, a fault recorded during engine cranking suggests a different diagnostic direction from one recorded while the Forester was moving at highway speed.
- Engine RPM: Check whether the scanner reports engine speed during cranking.
- Coolant temperature: Compare cold-start and fully warmed operating conditions.
- Vehicle speed: Determine whether the fault appeared while stationary or moving.
- Calculated load: Consider whether the fault occurred during acceleration or low-load operation.
Step 3: Check Live Engine RPM
Engine RPM is one of the most useful live-data items when investigating a suspected crankshaft position signal problem. With the vehicle safely stationary and the transmission secured, observe the RPM parameter while the engine is cranked.
If the scanner consistently displays zero RPM during cranking, investigate whether the ECM is receiving a usable crankshaft signal. However, zero RPM does not prove that the sensor is defective. Wiring, connector contact, the signal target, and communication problems must also be considered.
If the RPM reading appears normal, the fault may be intermittent or may involve a signal-quality issue that a basic scanner cannot display. A waveform test may then be necessary.
Step 4: Review Additional Live Data
Check available engine parameters for inconsistencies. Depending on scanner coverage, useful information may include coolant temperature, battery voltage, camshaft synchronization status, engine load, and misfire information.
Fuel trims can provide additional information about engine operation, but they are not a direct crankshaft sensor test. Short-term and long-term fuel trims that exceed roughly plus or minus 10 percent combined can suggest a mixture problem. Readings beyond approximately 25 percent combined may contribute to lean or rich trouble codes. These findings should be investigated separately rather than automatically attributed to P0335.
Mode $06 may provide additional onboard monitor test results when the vehicle and scanner support the relevant information. It is not a substitute for directly testing the crankshaft sensor circuit, and unsupported or manufacturer-specific data should not be interpreted using generic assumptions.
Step 5: Save the Diagnostic Information
Save the codes, freeze-frame information, and available live-data observations before attempting repairs. This information is especially useful if the problem occurs intermittently and cannot be reproduced immediately.
Avoid clearing the code before recording the information. Clearing memory can remove useful diagnostic evidence and reset emissions readiness monitors. A scanner report also gives a repair technician a clearer starting point. The wiring and part locations differ by make, as P0335 Honda Odyssey shows for the same code.
Testing the Crankshaft Sensor and Electrical Circuit
Once the scanner confirms P0335, the next step is to test the circuit instead of assuming the sensor has failed. Subaru’s 2008 Forester turbo service manual provides a useful example of this diagnostic approach, including installation inspection, resistance testing, and harness continuity checks. The Subaru Forester factory service manual contains the model-specific diagnostic procedure and electrical test information.
Inspect the Sensor and Connector
Begin with a visual inspection of the crankshaft position sensor and accessible wiring. Look for a loose mounting bolt, cracked connector housing, damaged locking tabs, moisture, corrosion, and damaged harness insulation.
The exact sensor position and connector arrangement depend on the Forester’s model year and engine. Do not assume that the location or terminal identification from one Subaru engine applies to another. Use the correct wiring diagram and service information before disconnecting or testing any terminals.
Understand Subaru’s Electrical Test Specifications
Subaru’s 2008 Forester turbo diagnostic procedure provides specific electrical values for its crankshaft sensor and wiring. These figures demonstrate the type of checks involved, but they must not be treated as universal specifications for every Forester.
| Test | 2008 Forester turbo specification | Diagnostic purpose |
|---|---|---|
| Sensor terminal resistance | 1–4 kΩ | Evaluates the sensor’s electrical condition. |
| Harness continuity | Less than 1 Ω | Checks the specified wiring paths between the ECM and sensor. |
| Sensor mounting | Secure installation bolt | Checks that the sensor is correctly installed. |
| ECM and sensor connections | Proper electrical contact | Identifies loose or poor connections. |
These specifications apply to the particular turbo engine service procedure, not every Subaru Forester. Different sensor designs can require different testing methods. Confirm the correct engine-specific specifications before using an ohmmeter or measuring electrical resistance.
Test the Signal with an Oscilloscope
An oscilloscope provides a more detailed view of the crankshaft position sensor signal than a basic code reader. It displays the electrical waveform while the engine is cranking or running under appropriate test conditions.
A technician compares the captured waveform with the expected pattern for that sensor design. Missing pulses, irregular spacing, weak signals, or intermittent interruptions can indicate a problem with the sensor, wiring, connector, or rotating target.
DENSO recommends waveform inspection during cranking and explains that a normal waveform should lead to further investigation of open circuits, short circuits, and possible ECU faults. A missing waveform may indicate a failed sensor, although the rest of the circuit still needs to be evaluated.
Tip: Do not perform resistance tests until the sensor type and Subaru-specific procedure have been identified. HELLA warns that applying an ohmmeter to an unidentified Hall-effect sensor can damage it. Use the correct wiring diagram, terminal identification, and test equipment. Keep hands, clothing, and tools away from moving belts, pulleys, and cooling fans during engine-running tests.
Repair Options, Costs, and Driving Safety
The correct repair depends on the test results. A defective sensor may require replacement, while an electrical connection problem may only require connector or wiring repair. More complicated cases can involve signal-producing components or the engine control module.
Common Repair Options
- Crankshaft position sensor replacement: Appropriate when testing confirms that the sensor itself is defective.
- Connector repair: Necessary when damaged terminals, corrosion, poor contact, or broken connector locks interrupt the signal.
- Wiring harness repair: Required when testing identifies an open circuit, short circuit, damaged insulation, or excessive resistance.
- Sensor installation correction: Necessary when the mounting bolt is loose or the sensor is incorrectly installed.
- Signal target inspection: Appropriate when the sensor and wiring pass testing but the waveform indicates a mechanical signal problem.
- ECM diagnosis: Considered only after the sensor, wiring, connectors, and signal quality have been checked.
What Affects the Repair Cost?
Repair expenses depend on the actual failure and the amount of diagnostic work required. Replacing an accessible sensor is generally a different job from tracing an intermittent wiring fault or investigating a damaged signal target.
Several factors influence the final repair estimate:
- Parts: The cost depends on whether the repair requires a sensor, connector, wiring section, mounting hardware, or another component.
- Labor time: Sensor accessibility and the amount of disassembly required vary between Forester engines.
- Diagnostic complexity: An intermittent electrical fault may require additional testing and time to reproduce.
- Shop versus DIY: A repair facility includes diagnostic labor and installation work. DIY repairs may reduce labor expenses but require suitable tools, accurate service information, and appropriate mechanical skills.
- Additional damage: Damaged wiring or signal-producing components can make the repair more involved than a straightforward sensor replacement.
Request an estimate that separates diagnosis, parts, labor, and any additional repairs. This makes it easier to understand whether the proposed work addresses the confirmed cause or simply replaces a suspected component.
Is It Safe to Drive with P0335?
Driving with P0335 is not recommended if the Forester is stalling, struggling to start, or experiencing intermittent engine shutdowns. A sudden stall can leave the driver without normal engine power and make steering or braking more difficult. A vehicle that repeatedly loses its crankshaft signal should be transported to a repair facility rather than driven.
If the check engine light is on but the engine appears to run normally, that does not guarantee the vehicle is safe. An intermittent sensor or wiring problem can become worse without warning. Arrange prompt diagnosis and avoid unnecessary trips until the fault has been evaluated.
If the check engine light flashes, reduce engine load and have the vehicle checked promptly. A flashing light indicates an active misfire that can damage the catalytic converter. Stop driving when engine operation becomes severely unstable, and arrange professional assistance.
Verify the Repair Properly
After the defective component or circuit has been repaired, the computer needs to verify that the problem is resolved. Subaru’s service procedure calls for Clear Memory Mode and Inspection Mode after repairs or component replacement.
A technician should confirm that the engine starts consistently, the live RPM signal is appropriate, and the crankshaft signal remains reliable under the conditions that previously produced the fault. The stored and pending codes should also be checked again.
Do not mistake a temporarily extinguished check engine light for proof of a successful repair. Permanent codes and readiness monitors follow their own verification requirements. The relevant monitor must complete successfully before the computer can remove a permanent fault record. The same code can behave differently on other vehicles, so it helps to compare it with P0335 Audi.
Frequently Asked Questions
These additional answers address common Subaru Forester crankshaft sensor questions that can help narrow down the next diagnostic step.
1. Where is the crankshaft position sensor on a Subaru Forester?
The sensor is mounted on the engine and positioned to detect the crankshaft’s rotating timing target. Its precise location depends on the model year and engine configuration. Consult the correct Subaru service manual before removing components or disconnecting the sensor.
2. Can P0335 appear without the check engine light staying on?
Yes. A pending code may be stored before the computer confirms the malfunction and commands the warning light on. An intermittent fault can also disappear temporarily while diagnostic information remains available in the computer’s memory.
3. Can a crankshaft position sensor affect the tachometer?
It can. Depending on the vehicle’s instrument and engine control architecture, an interrupted crankshaft speed signal may cause the tachometer to drop unexpectedly or behave abnormally. This symptom alone does not establish that the sensor has failed.
4. Will disconnecting the battery permanently clear P0335?
No. Disconnecting the battery does not repair the circuit. It may erase some stored information and reset readiness monitors, but a permanent diagnostic trouble code requires the underlying fault to be corrected and the appropriate monitor to pass.
5. Is P0335 the same as P0336 on a Subaru Forester?
No. P0335 identifies a crankshaft position sensor A circuit malfunction, while P0336 identifies a crankshaft position sensor A range or performance problem. Both concern the same general system but describe different diagnostic conditions.
P0335 on a Subaru Forester means the crankshaft position sensor A circuit needs attention, but it does not automatically mean the sensor must be replaced. Start with the stored codes, freeze-frame information, sensor installation, and electrical connections before moving to resistance and waveform testing. Confirm the correct engine-specific specifications, repair the actual fault, and verify that the engine runs reliably before returning the Forester to normal driving.
-
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
LearnP0841 Subaru Forester: Diagnose CVT Pressure Problems Before Major Repairs
LearnP0141 Subaru Forester: Diagnose the Rear O2 Sensor Heater
LearnP2096 Subaru Forester: Diagnose the Lean Fuel Trim Code
LearnP0456 Subaru Forester: Find the EVAP Leak and Fix the Warning
LearnP0301 Subaru Forester: Find the Misfire Cause and Fix It
LearnP0456 Toyota Prius: Find the Small EVAP Leak and Fix It