Safety Warning
DIY auto repair can cause serious injury, fire, or vehicle damage. These guides are for informational purposes only. Always follow OEM torque specs, wear PPE, and consult a certified mechanic if you are unsure. You are solely responsible for your safety.
2004 Mazda 6 L4-2.3LFACTORY OEM SERVICE PROCEDURE
Crankshaft Position Sensor: Service and Repair
CRANKSHAFT POSITION (CKP) SENSOR REMOVAL/INSTALLATION
Removal
1. Perform the following procedure to making the working space
1. Remove the Front wheel (RH)
2. Remove the splash shield
2. Disconnect the CKP sensor connector
3. Remove the installation bolts to remove the CKP sensor
Installation
CAUTION: When foreign material, such as an iron chips, gets on the CKP sensor, it can cause abnormal output from the sensor because of flux turbulence and adversely affect engine control. Be sure there is no foreign material on the CKP sensor when replacing.

1. Perform the following procedure so that piston No 1 is at the top dead center
1. Remove the drive shaft (RH) (See DRIVE SHAFT REMOVAL/INSTALLATION)
2. Remove the cylinder block lower blind plug and install the SST
3. Turn the crankshaft pulley to the clockwise until it stops

2. Using a straight edge draw a straight line directly in the center of the ninth tooth of the crankshaft pulley pulse wheel (counting counterclockwise from the empty space)
CAUTION: If the line is not accurately drawn, ignition timing, fuel injection and other engine control systems will be adversely effected. Draw the straight line carefully using a straight edge.
3. Align the center line of the crankshaft position sensor and the line drawn in Step 2, then install the sensor
4. Install the CKP sensor fitting bolts
Tightening torque: 5.5 - 7.5 N.m {56 - 76 kgf-cm, 4.1 - 5.5 ft.lbf}
5. Remove the SST then install the cylinder block lower blind plug
Tightening torque: 20 N.m {2.0 kgf.m, 15 ft.lbf}
6. Install the front drive shaft (RH) (See DRIVE SHAFT REMOVAL/INSTALLATION)
Removal
1. Perform the following procedure to making the working space
1. Remove the Front wheel (RH)
2. Remove the splash shield
2. Disconnect the CKP sensor connector
3. Remove the installation bolts to remove the CKP sensor
Installation
CAUTION: When foreign material, such as an iron chips, gets on the CKP sensor, it can cause abnormal output from the sensor because of flux turbulence and adversely affect engine control. Be sure there is no foreign material on the CKP sensor when replacing.
1. Perform the following procedure so that piston No 1 is at the top dead center
1. Remove the drive shaft (RH) (See DRIVE SHAFT REMOVAL/INSTALLATION)
2. Remove the cylinder block lower blind plug and install the SST
3. Turn the crankshaft pulley to the clockwise until it stops
2. Using a straight edge draw a straight line directly in the center of the ninth tooth of the crankshaft pulley pulse wheel (counting counterclockwise from the empty space)
CAUTION: If the line is not accurately drawn, ignition timing, fuel injection and other engine control systems will be adversely effected. Draw the straight line carefully using a straight edge.
3. Align the center line of the crankshaft position sensor and the line drawn in Step 2, then install the sensor
4. Install the CKP sensor fitting bolts
Tightening torque: 5.5 - 7.5 N.m {56 - 76 kgf-cm, 4.1 - 5.5 ft.lbf}
5. Remove the SST then install the cylinder block lower blind plug
Tightening torque: 20 N.m {2.0 kgf.m, 15 ft.lbf}
6. Install the front drive shaft (RH) (See DRIVE SHAFT REMOVAL/INSTALLATION)
Factory Service Tools
Use the Manual With the Right Hardware
Pair factory procedures with proven DIY tools so the instructions are easier to execute.
Disclosure: Verified tool recommendations may earn an affiliate commission at no cost to you.
When to See a Mechanic
Stop DIY work and contact a certified mechanic immediately if any of the following apply:
- β’ You smell fuel, burning insulation, or see smoke.
- β’ Brakes feel soft, pull hard to one side, or make grinding noises.
- β’ The engine overheats, stalls repeatedly, or misfires under load.
- β’ You are missing required tools, torque specs, or safe lifting equipment.
- β’ You are not confident in the next step or safety outcome.
Rather have a pro handle this?
A certified mobile mechanic comes to your home or office. They bring the tools, you stay comfortable. No tow truck, no waiting room, no surprises.
Comes to youSame-day available12-month warranty
Get a Free QuoteNo obligation. See pricing before you book.
