P0335 on a 2022 Hyundai Elantra

Crankshaft Position Sensor Circuit Fault

P0335 on a 2022 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 2020-2024 Hyundai Elantra

Reviewed by MECH AI Editorial · Last verified

What does P0335 mean on a 2022 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 2020-2024 Hyundai Elantra generation — the symptoms, causes, and diagnostic steps below apply to every model year from 2020 through 2024.

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

No. P0335 is a critical-severity code on the 2022 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 2022 Hyundai Elantra?

What causes P0335 on a 2022 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 2022 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 2022 Hyundai Elantra

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

92 owner complaints
4 involved a crash
1 involved a fire
3 reported injuries
  • ENGINE 10
  • SEAT BELTS 23
  • UNKNOWN OR OTHER 20
  • ELECTRICAL SYSTEM 17
  • FORWARD COLLISION AVOIDANCE 15

5 active recalls

  • SEAT BELTS:FRONT Mar 2022

    Hyundai Motor America (Hyundai) is recalling certain 2022 Elantra and Elantra HEV vehicles. In the event of a crash, the front passenger-side seat belt pretensioner may explode upon deployment.…

    NHTSA campaign 22V123000
  • SEAT BELTS:FRONT Apr 2022

    Hyundai Motor America (Hyundai) is recalling certain 2021-2022 Elantra and 2020 Accent vehicles. In the event of a crash, the front driver and passenger-side seat belt pretensioners may explode upon deployment.…

    NHTSA campaign 22V218000
  • SEAT BELTS:FRONT May 2022

    Hyundai Motor America (Hyundai) is recalling certain 2020-2022 Accent, 2021-2022 Elantra, and 2021-2022 Elantra HEV vehicles. In the event of a crash, the front driver-side and/or passenger-side seat belt pretensioners may explode upon deployment.…

    NHTSA campaign 22V354000
  • AIR BAGS:FRONTAL Aug 2022

    Hyundai Motor America (Hyundai) is recalling certain 2022 Elantra N and 2022-2023 Elantra vehicles. The emblem on the cover of the driver's front air bag may not have been welded properly, which can result in the emblem detaching upon deployment.…

    NHTSA campaign 22V632000

How do I fix P0335 on a 2022 Hyundai Elantra?

About the 2020-2024 Hyundai Elantra

The 2020-2024 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.

Related diagnostic codes