P0335 on a Subaru: Causes, Fixes & Repair Cost
⚠️ Severe · not recommended to drive
The boxer engine may crank without starting or stall, so have the Subaru towed rather than driven.
What P0335 means on a Subaru
On a Subaru, P0335 means the engine computer has lost the crankshaft position signal it needs to run the engine. The boxer engine may crank without starting or stall, so the car should be towed rather than driven.
Is P0335 common on Subarus?
Subaru crankshaft position sensors can fail with age on models like the Outback, Forester, and Impreza. The sensor sits low near the crankshaft pulley, where oil and debris can affect the connector.
Commonly reported on: Outback, Forester, Impreza, Legacy.
Symptoms
- Engine cranks but won't start
- Engine stalls while driving
- Check engine light is on
- No spark from the ignition system
Common causes
- most common: Failed crankshaft position sensor
- common: Oil or debris on the sensor connector
- common: Damaged wiring near the crankshaft pulley
- less common: Loose sensor mounting changing the gap
How to fix it
| Fix | DIY? | Typical cost |
|---|---|---|
| Clean the connector, then replace the sensor if the code returns | Yes | $50–190 |
| Repair damaged wiring or the sensor connector | Yes | $20–150 |
| Have a shop replace the sensor and verify the signal | Mechanic | $150–400 |
Frequently asked questions
Other common Subaru codes
P0335 on other brands
Looking for the full (non-brand-specific) guide? See the P0335 code page →
Browse all Subaru codes: Subaru hub →
Updated 2026-08. This page is informational and not a substitute for professional diagnosis.