Home/Mazda/P0335

What does code P0335 mean on a Mazda and is it safe to drive?

P0335: Crankshaft Position Sensor A Circuit Malfunction. Here's what it means on your Mazda, what usually causes it, what repairs typically cost, and how safe it is to keep driving.

PowertrainHigh urgency

What this code means

The PCM is not receiving the expected signal from the crankshaft position sensor (CKP). This sensor tells the ECM the exact position and speed of the crankshaft. Without it, the engine may not start or will stall and run poorly.

Common causes for your Mazda

  • Failed crankshaft position sensor
  • Damaged or corroded sensor wiring/connector
  • Tone ring (reluctor wheel) damage or debris
  • Failed PCM (rare)

Symptoms

  • Engine won't start or stalls unexpectedly
  • Check Engine Light on
  • Engine cranks but will not fire
  • Intermittent stalling at speed

Typical fixes

  • Replace crankshaft position sensor
  • Inspect and repair wiring harness and connector
  • Check tone ring for damage or packed debris

Repair cost range

For a Mazda, repairs for P0335 often fall between $100 and $350, depending on the cause and whether you use OEM or aftermarket parts. Labor rates vary by location.

Known issues on Mazda

Mazda P0335 on MZR-engined models typically means a failed crank sensor or a damaged tone ring. On the CX-7 2.3T, oil leaks from the front crankshaft seal can contaminate the crank sensor and cause intermittent P0335 faults—inspect the front seal for leakage before replacing the sensor.

Most commonly affected models

Mazda3 2.0L 2004–2009Mazda6 2.3L 2003–2008CX-7 2.3T 2007–2012

Is it safe to keep driving your Mazda with this code?

For driving-safety guidance—how far you can go, when to tow, and what's urgent—see these checklists:

Browse P0335 on your Mazda by model year

Year-specific guides include Mazda-tailored causes and repair costs.

More codes for Mazda

View all OBD2 code guides for Mazda