P0335 on a Hyundai: Causes, Fixes & Repair Cost

⚠️ Severe · not recommended to drive

The engine may crank without starting or stall unexpectedly, so have the Hyundai towed to a shop.

What P0335 means on a Hyundai

On a Hyundai, P0335 means the computer isn't getting the crankshaft position signal it needs for spark and fuel timing. The engine may crank without starting or stall unexpectedly while driving.

Is P0335 common on Hyundais?

Hyundai crankshaft sensors fail with age and heat, showing up on higher-mileage models like the Elantra and Sonata. Checking the connector and wiring before replacing the sensor avoids wasted parts.

Commonly reported on: Elantra, Sonata, Santa Fe, Tucson.

Symptoms

Common causes

How to fix it

FixDIY?Typical cost
Inspect the connector and wiring, then replace the sensorYes$50–180
Repair damaged wiring or the sensor connectorYes$20–150
Have a shop replace the sensor and clear the codesMechanic$150–400

Frequently asked questions

Can I drive my Hyundai with a P0335 code?
No, not safely. The engine can stall at any time, so have the vehicle towed to a shop.
Where is the crankshaft sensor on a Hyundai?
It is mounted low on the engine near the crankshaft pulley or flywheel, depending on the model.
How much does it cost to fix P0335 on a Hyundai?
The sensor costs about $50–180, and with shop labor the total is typically $150–400.

Other common Hyundai codes

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

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
Subaru
P0335 on a Subaru
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 Hyundai codes: Hyundai hub →

Updated 2026-08. This page is informational and not a substitute for professional diagnosis.