Mazda Crankshaft Position Sensor Problem, DIY Fix

Published by YOUCANIC Automotive Experts 
Last Updated Oct 22, 2018 

A problem that many Mazda owners may face is the crankshaft position sensor failing. If the crank sensor fails on your Mazda, your car will refuse to start or will start intermittently. A Mazda crankshaft position sensor (CPS) monitors the position and rotation speed of the crankshaft on your Mazda engine. It is installed on all Mazda vehicles including, Mazda 3, 5, 6, CX5, CX7, CX9. 



Common symptoms of bad Mazda crankshaft position sensor include:

  • Mazda won't start
  • Intermittent Starting 
  • Check Engine Light On
  • Mazda cranks but won't start
  • DTC Codes P0335, P0017, P0016

These symptoms may be intermittent in some cases. That's why it makes it hard to diagnose a bad crankshaft position sensor especially if the check engine light has not turned on.  


How to replace Mazda Crankshaft Position Sensor

Follow these steps to change the crankshaft position sensor on a Mazda. 

You will need: 


  1. Park your Mazda on a level ground. Engage parking brakes. Let the engine cool down. 
  2. Jack up the front right (passenger) side wheel. The CPS sensor is located on the same side that you have the serpentine belt. It is not on the transmission side. mazda 3 6 crankshaft position sensor location


  3. Remove front wheel. Make sure to secure your vehicle with a good set of jack stands and block a tire as well so your car doesn't roll. mazda crankshaft position sensor location


  4. Remove the plastic wheel well liner. It is held in place with several plastic clips, 8mm nut, or 10 mm nuts depending on Mazda model. 
  5. Locate the crankshaft position sensor. 
  6. Unplug the electrical connector. replace crankshaft position sensor on mazda


  7. Remove two 8mm bolts.replace mazda cps sensor by removing two 8mm bolts 
  8. Before you remove old crankshaft position sensor mark the exact position of the old sensor with a marker. You need to install the new CPS sensor in the exact same location. crankshaft position sensor replacement mazda 3 5 6 cx5 cx7 cx9


  9. Install new crankshaft position sensor on your Mazda engine block. Notice that the mounting holes are not round but oval. This allows the sensor to be moved slightly. 
  10. Before you tighten the screws make sure that the new sensor is in the same location as the old. 

Further instructions: 

  • Use the bolt in the center of the crankshaft to turn the engine until cylinder 1 hits Top Dead Center (TDC) on the compression to adjust mazda crankshaft position sensor


  • Next you will need to align the fifth tooth to the center of the sensor magnetic tip. mazda cps replacement diy cost


  • Check with your Mazda dealer as these instructions may vary between different 2.0, 2.3, 2.5 Mazda engine sizes. 

Mazda Crankshaft Position Sensor Replacement Cost

Mazda Dealership

  • Replacing the crankshaft position sensor at Mazda dealership will cost from $220-$390.

Auto Mechanic

  • Replacing the crankshaft position sensor at local auto mechanic costs between $200-$320.

DIY Cost

  • Replacing the CPS sensor yourself cost less than $50 for the part and less than an hour of work. Replacing the crankshaft position sensor on a Mazda four cylinder engines found on Mazda3, Mazda5, Mazda6 models is very easy and can be completed by any DIYer. 

Fuel Pump

If your Mazda is not starting it is possible that the fuel pump has failed or is not generating enough pressure. 

Ignition System

Spark plugs and ignition coils can also be effective and could be another reason why your Mazda does not start.