P0335 on a 2012 Hyundai Elantra

Crankshaft Position Sensor Circuit Fault

P0335 on a 2012 Hyundai Elantra indicates crankshaft position sensor circuit fault. Stop driving and diagnose it before continuing — it can signal an unsafe condition. The most common cause is failed crankshaft position sensor (heat-related failure) (typically $100–$400). Confirm the root cause before replacing parts.

Severity: critical Do not drive Compact Sedan 2010-2014 Hyundai Elantra

Reviewed by MECH AI Editorial · Last verified

What does P0335 mean on a 2012 Hyundai Elantra?

P0335 is set when the engine control module does not receive a valid signal from the crankshaft position sensor. The crank sensor is the primary timing reference for the entire engine — fuel injection, ignition timing, and cam position correlation all depend on a clean crank signal. Without it, the engine will not start, or it will stall as soon as the signal drops out.

This guide covers P0335 across the 2010-2014 Hyundai Elantra generation — the symptoms, causes, and diagnostic steps below apply to every model year from 2010 through 2014.

Is it safe to drive a 2012 Hyundai Elantra with P0335?

No. P0335 is a critical-severity code on the 2012 Hyundai Elantra — avoid driving until it is diagnosed and repaired, as it can indicate an unsafe condition or risk further damage.

What are the symptoms of P0335 on a 2012 Hyundai Elantra?

What causes P0335 on a 2012 Hyundai Elantra?

Cause Likelihood Estimated repair (USD)
Failed crankshaft position sensor (heat-related failure) Heat-soak failure pattern is the textbook P0335 — fails when hot, recovers when cold. Most common $100–$400
Damaged or melted sensor wiring near the exhaust Common $80–$350
Corroded crank sensor connector Common $30–$200
Damaged crank reluctor / tone ring (rare, requires teardown) Rare $1,500–$4,000
Loose or improperly torqued sensor (cannot read gap correctly) Occasional $20–$100
Failed PCM input (rare) Rare $400–$1,500

How to diagnose this on a 2012 Hyundai Elantra

  1. Confirm the engine cranks but doesn't fire

    P0335 typically presents as a crank-no-start. Confirm by cranking — the engine should rotate normally but never fire. If the engine fires intermittently, the sensor may be marginal; if it never fires, the sensor or wiring is fully out.

    Tools: Common observation

  2. Locate the sensor on the engine

    Crank sensors are typically mounted on the timing cover (front of engine), the bell housing (rear of engine), or on the side of the block. Consult the service manual. Most are accessible from underneath with a basic socket set.

    Tools: Vehicle-specific service information

  3. Inspect wiring and connector

    The sensor wiring routes close to the exhaust on many engines. Look for heat-damaged insulation, broken wires, or melted connectors. Sensor connectors near the firewall accumulate water and corrode — clean thoroughly.

    Tools: Flashlight, Electrical contact cleaner

  4. Test sensor resistance and reference voltage

    Most crank sensors are inductive (variable reluctance) with approximately 200–2,000 Ω resistance, or Hall-effect with a 5 V reference. Compare to the service manual. With the connector unplugged and key on, verify the 5 V reference reaches the connector (Hall-effect sensors).

    Tools: Multimeter, Wiring diagram

  5. Heat-soak test for intermittent failures

    P0335 that comes and goes with temperature is the textbook heat-soak failure pattern. Drive until the engine is hot, then attempt a restart immediately. If the engine cranks-no- starts hot and starts fine after cooling, the sensor is the cause even if cold-bench tests pass.

    Tools: Patience

NHTSA complaints & recalls for the 2012 Hyundai Elantra

Owner-reported safety complaints and official recalls filed with the U.S. National Highway Traffic Safety Administration for the 2012 Hyundai Elantra. Use these to gauge how common a problem is on your specific vehicle before you start chasing Hyundai Elantra diagnostics.

669 owner complaints
48 involved a crash
12 involved a fire
42 reported injuries
  • ENGINE 139
  • ELECTRICAL SYSTEM 128
  • AIR BAGS 127
  • SERVICE BRAKES 97
  • STEERING 90

4 active recalls

  • ELECTRONIC STABILITY CONTROL (ESC) Dec 2015

    Hyundai Motor America (Hyundai) is recalling certain model year 2011-2012 Elantra vehicles manufactured October 29, 2010, to October 25, 2011. Due to an electronic stability control (ESC) sensor malfunction, the brakes for one or more wheels may be applied unexpectedly and the e…

    NHTSA campaign 15V871000
  • AIR BAGS:SIDE/WINDOW Apr 2013

    Hyundai Motor Company is recalling certain model year 2011-2013 Elantra vehicles manufactured from November 12, 2010, through March 5, 2013. A support bracket attached to the headliner may become displaced during a side curtain airbag deployment.…

    NHTSA campaign 13V115000
  • EQUIPMENT:ELECTRICAL Jul 2020

    Hyundai Motor America (Hyundai) is recalling certain 2011-2012 Hyundai Elantra and Sonata Hybrid, 2012 Accent and Veloster vehicles. The 12V accessory socket outlet may have been over-tightened during installation, possibly disabling the thermal fuse and allowing the outlet to o…

    NHTSA campaign 20V393000
  • SERVICE BRAKES, HYDRAULIC:ANTILOCK/TRACTION CONTROL/ELECTRONIC LIMITED SLIP:CONTROL UNIT/MODULE Sep 2023

    Hyundai Motor America (Hyundai) is recalling certain 2011-2015 Elantra, Genesis Coupe, Sonata Hybrid, 2012-2015 Accent, Azera, Veloster, 2013-2015 Elantra Coupe, Santa Fe, 2014-2015 Equus, 2010-2012 Veracruz, 2010-2013 Tucson, 2015 Tucson Fuel Cell, and 2013 Santa Fe Sport vehicl…

    NHTSA campaign 23V651000

How do I fix P0335 on a 2012 Hyundai Elantra?

About the 2010-2014 Hyundai Elantra

The 2010-2014 Hyundai Elantra was commonly sold with the following powertrains: 2.0L I4, 1.6L Turbo I4, 1.6L Hybrid I4. Common trims include SE, SEL, N Line, Limited.

The “crank-no-start” pattern that distinguishes P0335 from no fuel / no spark

Three different no-start patterns:

A scan tool can confirm P0335 by reading the crank RPM PID during cranking — it should report the cranking RPM (typically 150–300 RPM). If it reports zero or doesn’t update, the crank signal is the problem.

Heat-soak failure: the most frustrating intermittent

A failing crank sensor often works perfectly cold and fails after the engine reaches operating temperature. The pattern owners describe: drive for 30+ minutes, stop somewhere (gas station, errand), and the car will not restart for 15-30 minutes — then starts fine. This is the crank sensor failing under heat. A new sensor is the only fix.

Replace the sensor preemptively if you see this pattern; the failure mode worsens until the vehicle will not start at all.

Why P0335 is more serious than P0340 (cam sensor)

The cam sensor is supplementary on most engines — the ECM can run on the crank signal alone in a “limp” mode. The crank sensor is not supplementary; without it the ECM has no idea where any piston is, when to fire, or even whether the engine is running. P0335 = engine off until fixed. P0340 = engine runs poorly but runs.

P0335 on a 2012 Hyundai Elantra: frequently asked questions

What does diagnostic trouble code P0335 mean on a 2012 Hyundai Elantra?

P0335 is set when the engine control module does not receive a valid signal from the crankshaft position sensor. The crank sensor is the primary timing reference for the entire engine — fuel injection, ignition timing, and cam position correlation all depend on a clean crank signal. Without it, the engine will not start, or it will stall as soon as the signal drops out.

What are the symptoms of P0335 on a 2012 Hyundai Elantra?

Check Engine Light is illuminated. Engine cranks but will not start. Intermittent stalling that worsens with engine heat. Hard starting after a long drive (heat-soak failure). Sudden stalling at highway speed with restart difficulty. Tachometer reads zero or fluctuates while running. Hard cold start with extended crank time

What causes P0335 on a 2012 Hyundai Elantra?

Failed crankshaft position sensor (heat-related failure) (most-common). Damaged or melted sensor wiring near the exhaust (common). Corroded crank sensor connector (common). Damaged crank reluctor / tone ring (rare, requires teardown) (rare). Loose or improperly torqued sensor (cannot read gap correctly) (occasional). Failed PCM input (rare) (rare)

Is it safe to drive a 2012 Hyundai Elantra with P0335?

No. P0335 is a critical-severity code on the 2012 Hyundai Elantra — avoid driving until it is diagnosed and repaired, as it can indicate an unsafe condition or risk further damage.

Related diagnostic codes

P0335 on other Hyundai Elantra model years