What to Do After Replacing Crankshaft Sensor: Essential Steps
By the CarsDailyHub Editorial Team | Automotive writers; every article fact-checked against OEM service documentation | Updated June 2026
Quick Answer: After replacing a crankshaft position sensor, you must: (1) clear the old codes with an OBD2 scanner, (2) perform a crankshaft position variation learn (relearn) procedure, (3) test drive at varying speeds for 15 minutes, and (4) verify the P0315 code does not return. On GM and Ford vehicles, the relearn requires a bidirectional scanner or a manual throttle procedure. On Toyota and Honda, the ECM self-learns automatically. Skipping the relearn causes rough idle, poor fuel economy, and a persistent P0315 code.
This guide covers post-replacement steps for all vehicle makes. Last reviewed: June 2026.
Table of Contents
- Post-Replacement Checklist
- Step 1: Clear the Old Codes
- Step 2: Perform the Relearn Procedure
- Step 3: Test Drive and Verify
- Step 4: Check for Related Codes
- Common Mistakes After Replacement
- What If the Code Comes Back?
- Cost Breakdown
- Frequently Asked Questions
- Sources & References
Post-Replacement Checklist
| Step | Required? | Time | Cost |
|---|---|---|---|
| Clear old codes with scanner | Yes | 5 min | $0 (free at parts stores) |
| Perform relearn procedure | Yes (GM, Ford, Chrysler) | 10-20 min | $0 (manual) or $80-150 (shop) |
| Test drive at varying speeds | Yes | 15 min | $0 |
| Check for P0315 or related codes | Yes | 5 min | $0 |
| Check oil and coolant levels | Recommended | 5 min | $0 |
| Inspect wiring connector | Recommended | 5 min | $0 |
Step 1: Clear the Old Codes
The ECM stores the old CKP sensor codes (P0315, P0335, P0336, etc.) even after you replace the sensor. The codes do not clear automatically.
- Plug in an OBD2 scanner to the port under the dashboard.
- Read all stored codes and write them down for reference.
- Navigate to “Clear Codes” or “Erase Codes” and confirm.
- Verify the check engine light is off.
If you do not have a scanner, any auto parts store will clear codes for free. You can also disconnect the battery for 3-5 minutes, but this resets radio presets and idle adaptations.
Cost: $0. Time: 5 minutes.
Step 2: Perform the Relearn Procedure
This is the most critical step. Without the relearn, the ECM uses default timing values that do not match your specific crankshaft, causing rough idle, poor performance, and a persistent P0315 code.
Which Vehicles Need a Relearn?
| Make | Relearn Required? | Method |
|---|---|---|
| GM (Chevy, GMC, Cadillac, Buick) | Yes, almost always | Scanner or manual (some models) |
| Ford | Usually yes | Scanner or manual (some models) |
| Chrysler (Dodge, Ram, Jeep) | Usually yes | Scanner |
| Toyota | No | Self-learns automatically |
| Honda | No | Self-learns automatically |
| Nissan | Rarely | Self-learns on most models |
| BMW | Yes | ISTA scanner required |
| Mercedes | Yes | XENTRY scanner required |
Manual Relearn (GM and Ford, Some Models)
- Start the engine and let it reach operating temperature (at least 170°F / 77°C).
- Turn the engine off and wait 30 seconds.
- Restart the engine and let it idle for 2 minutes.
- Accelerate to 3,000-4,000 RPM and hold for 5-10 seconds.
- Release the throttle and let the engine idle for 30 seconds.
- Repeat steps 4 and 5 two more times (3 total cycles).
- Let the engine idle for 2 minutes.
- Turn the engine off and wait 30 seconds.
Scanner-Based Relearn
If the manual relearn does not work (common on 2011+ GM and most Chrysler vehicles), you need a bidirectional scanner:
- Connect the scanner to the OBD2 port.
- Turn ignition to ON (do not start engine).
- Navigate to: Special Functions > Crankshaft Position Variation Learn.
- Follow the on-screen prompts (start engine, accelerate to specified RPM, release throttle).
- Wait for “Relearn Successful” confirmation.
- Clear all codes.
See our guide on what scanner can relearn a crankshaft position sensor for scanner recommendations.
Toyota and Honda (No Relearn Needed)
Just replace the sensor, clear the codes, and drive normally for 10-15 minutes. The ECM self-learns the new sensor position automatically during the first few drive cycles.
Step 3: Test Drive and Verify
After clearing codes and performing the relearn:
-
Start the engine and let it idle for 2 minutes. Listen for unusual noises, rough idle, or hesitation.
-
Test drive at varying speeds for 15 minutes. Include:
– City driving (stop and go, 25-45 mph)
– Highway driving (55-70 mph)
– Acceleration from a stop (to test throttle response)
– Deceleration (to test engine braking and idle recovery) -
Watch the check engine light. If it comes back on during the test drive, the relearn failed or there is another issue.
-
Check for codes after the test drive. Plug in the scanner and read any new codes. If P0315 is back, the relearn did not take. If a different code appears, there is a separate issue.
Step 4: Check for Related Codes
After the test drive, scan for codes again. Common codes that may appear after CKP sensor replacement:
| Code | Meaning | Action |
|---|---|---|
| P0315 | CKP variation not learned | Relearn failed. Try scanner-based relearn. |
| P0335 | CKP circuit malfunction | Wiring issue or defective new sensor. |
| P0336 | CKP circuit range/performance | Sensor signal weak. Check wiring or replace sensor. |
| P0016 | Cam/crank correlation | Timing belt/chain may be off. Have a mechanic check timing. |
| P0300 | Random misfire | Separate issue. Check spark plugs, coils, fuel. |
If P0315 is the only code and it returns, the relearn procedure failed. Try a scanner-based relearn or pay a shop $80-150 to do it.
If P0016 appears, the camshaft and crankshaft are out of sync. This usually means the timing belt or chain is off by a tooth. Have a mechanic verify timing alignment.
Common Mistakes After Replacement
| Mistake | Consequence | Fix |
|---|---|---|
| Not clearing old codes | Check engine light stays on | Clear codes with scanner |
| Skipping the relearn | Rough idle, P0315 returns | Perform relearn procedure |
| Using a cheap aftermarket sensor | Sensor fails again quickly | Use OEM or premium brand |
| Not checking the wiring connector | Same code returns | Inspect and clean connector |
| Overtightening the sensor bolt | Damaged sensor or timing cover | Torque to spec (usually 10-15 ft-lbs) |
| Not disconnecting battery before replacement | Short circuit risk | Always disconnect negative battery first |
What If the Code Comes Back?
If P0315 or the original CKP code returns after replacement and relearn:
-
Check the wiring connector. Corrosion, bent pins, or oil contamination can cause the same code as a bad sensor. Clean with electrical contact cleaner.
-
Try a different sensor. The new sensor may be defective. Use an OEM or premium brand (ACDelco for GM, Denso for Toyota, Motorcraft for Ford).
-
Check the reluctor ring. The notched wheel on the crankshaft that the sensor reads may be damaged. This requires engine disassembly to inspect.
-
Check the timing. If P0016 (cam/crank correlation) appears alongside P0315, the timing belt or chain may be off by a tooth.
-
Have a shop diagnose. If you have tried all of the above and the code persists, a shop can perform advanced diagnostics including oscilloscope testing of the sensor signal.
Cost Breakdown
| Step | DIY Cost | Shop Cost | Time |
|---|---|---|---|
| Clear codes | $0 (free at parts stores) | $0 | 5 min |
| Manual relearn | $0 | $0 | 15-20 min |
| Scanner-based relearn | $200-500 (scanner) | $80-150 | 10-15 min |
| Test drive | $0 | $0 | 15 min |
| Code check | $0 (free at parts stores) | $0 | 5 min |
| Wiring inspection | $0 | $50-80 | 15-30 min |
Frequently Asked Questions
Q: Do I need to clear codes after replacing the crankshaft position sensor?
A: Yes. The ECM stores the old codes and does not clear them automatically just because you replaced the sensor. Plug in an OBD2 scanner and clear all codes. If you do not have a scanner, any auto parts store will clear codes for free. You can also disconnect the battery for 3-5 minutes, but this resets radio presets and idle adaptations.
Q: What happens if I do not do the relearn after replacing the crankshaft sensor?
A: The P0315 code will not clear, and the engine may run roughly, idle poorly, hesitate on acceleration, and get worse fuel economy. The ECM uses default timing values that do not match your specific crankshaft, leading to suboptimal performance. The vehicle will run, but it will not run correctly. The relearn takes 5-10 minutes with the right scanner or 15 minutes with the manual procedure.
Q: Does Toyota or Honda need a relearn after crankshaft sensor replacement?
A: No. Toyota and Honda self-learn the crankshaft position during the first few drive cycles after sensor replacement. No manual procedure or scanner is needed. Just replace the sensor, clear the codes, and drive normally for 10-15 minutes. The ECM will learn the new sensor position automatically.
Q: Why does the P0315 code come back after I did the relearn?
A: If the relearn succeeds but P0315 returns, the replacement sensor may be defective, the wiring to the sensor may be damaged, or the crankshaft reluctor ring may be damaged. Check the sensor wiring first, then try a different sensor (use an OEM brand). If the problem persists, the reluctor ring may need inspection, which requires engine disassembly.
Q: How long should I test drive after replacing the crankshaft sensor?
A: Drive at varying speeds for 15 minutes. Include city driving (stop and go), highway driving (55-70 mph), acceleration from a stop, and deceleration. This allows the ECM to learn the new sensor across all operating conditions. If the check engine light comes back on during the test drive, the relearn failed or there is another issue.
Q: Can I drive without doing the relearn?
A: You can, but the engine will not run correctly. You will have rough idle, poor fuel economy, and possibly hesitation. The P0315 code will remain active. On some vehicles, the ECM may enter limp mode, restricting power. It is not dangerous for short distances, but you should perform the relearn as soon as possible.
Sources & References
- GM Service Information – Crankshaft Position Variation Learn procedure
- Ford Service Information – CKP System Variation Learn procedure
- SAE J2012 – OBD-II Diagnostic Trouble Code definitions (P0315, P0335, P0336, P0016)
- Autel, Launch, Innova – Scanner product documentation for CPS relearn
- RepairPal – Average repair cost estimates
Related articles on CarsDailyHub:
– Car Problem Solver: Complete Symptom Guide
– How to Reset Crankshaft Position Sensor Without a Scanner
– What Scanner Can Relearn a Crankshaft Position Sensor? Top 3 Picks
– What Happens If You Don’t Relearn Crankshaft Position Sensor?
– 5.7 Vortec Crankshaft Position Sensor Symptoms: Causes, Diagnosis & Fix
