P0335 on a 2022 Mazda CX-5

Crankshaft Position Sensor Circuit Fault

P0335 on a 2022 Mazda CX-5 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 SUV 2020-2024 Mazda CX-5

Reviewed by MECH AI Editorial · Last verified

What does P0335 mean on a 2022 Mazda CX-5?

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 Mazda CX-5 generation — the symptoms, causes, and diagnostic steps below apply to every model year from 2020 through 2024.

Is it safe to drive a 2022 Mazda CX-5 with P0335?

No. P0335 is a critical-severity code on the 2022 Mazda CX-5 — 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 Mazda CX-5?

What causes P0335 on a 2022 Mazda CX-5?

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 Mazda CX-5

  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 Mazda CX-5

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

60 owner complaints
5 involved a crash
2 involved a fire
1 reported injuries
  • ENGINE 13
  • POWER TRAIN 5
  • EXTERIOR LIGHTING 21
  • UNKNOWN OR OTHER 9
  • ELECTRICAL SYSTEM 6

How do I fix P0335 on a 2022 Mazda CX-5?

About the 2020-2024 Mazda CX-5

The 2020-2024 Mazda CX-5 was commonly sold with the following powertrains: 2.5L I4, 2.5L Turbo I4. Common trims include S, S Select, S Preferred, S Premium, Turbo, Signature.

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