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

Common causes

How to fix it

FixDIY?Typical cost
Clean the connector, then replace the sensor if the code returnsYes$50–190
Repair damaged wiring or the sensor connectorYes$20–150
Have a shop replace the sensor and verify the signalMechanic$150–400

Frequently asked questions

Will my Subaru start with a P0335 code?
Often not. The engine may crank but won't fire because the computer needs the crankshaft signal to make a spark.
Where is the crankshaft sensor on a Subaru?
It sits low on the engine near the crankshaft pulley; the exact spot varies by model.
How much does it cost to fix P0335 on a Subaru?
The sensor runs about $50–190, and a shop will typically charge $150–400 total including labor.

Other common Subaru codes

P0420
P0420 on a Subaru
P0171
P0171 on a Subaru
P0300
P0300 on a Subaru
P0456
P0456 on a Subaru
P0430
P0430 on a Subaru
P0128
P0128 on a Subaru
P0455
P0455 on a Subaru
P0174
P0174 on a Subaru

P0335 on other brands

Toyota
P0335 on a Toyota
Honda
P0335 on a Honda
Ford
P0335 on a Ford
Chevy
P0335 on a Chevy
Nissan
P0335 on a Nissan
BMW
P0335 on a BMW
Mercedes-Benz
P0335 on a Mercedes-Benz
Volkswagen
P0335 on a Volkswagen
Hyundai
P0335 on a Hyundai
Mazda
P0335 on a Mazda
Jeep
P0335 on a Jeep
GMC
P0335 on a GMC
Lexus
P0335 on a Lexus
Volvo
P0335 on a Volvo

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.