P0315 Code: Crankshaft Position System Variation Not Learned
6 min read · by Nicole Bennett · Last updated: November 26, 2026
The p0315 code means Crankshaft Position System Variation Not Learned. Your engine computer has not accepted the crankshaft position signal as a valid learned value, so timing and misfire control can be affected.
The code does not always mean the sensor has failed. A bad sensor, damaged wiring or an incomplete relearn procedure can all set it, so test the parts before you buy a new sensor.
What the p0315 code tells you
P0315 is a generic OBD-II code that says the engine computer has not learned the crankshaft position system variation. In plain terms, the computer has not finished matching its crankshaft reading to the engine’s actual rotation.
The exact title comes from KBB’s P0315 code page, which also lists the usual causes. The code points to the crankshaft system as a whole, so it is not a direct readout of one failed part.
Why the code can appear after repairs
Some cars set this code after a sensor replacement or certain engine work, because the computer needs a new learned value. Whether a relearn is needed, and how it is done, depends on the model, so check the service information for your vehicle.
What the crankshaft position sensor does

The crankshaft position sensor tracks the crankshaft’s position and speed. According to Wikipedia’s article on crankshaft position sensors, the engine computer uses this signal to set ignition timing or fuel injection timing, and it is the main source of engine speed.
Because the signal controls timing, a bad reading can upset the whole engine. That is why P0315 is not a code to ignore, even when the car still starts and drives. Codes in this range are close together, so if P0314 Code shows up as well, read that guide too.
Causes of P0315 to check first
Most p0315 code cases trace back to the sensor, its wiring, or an incomplete relearn. Rule out the simple faults first, since they cost far less than a sensor and a crankshaft job.

- A faulty crankshaft position sensor that sends an unstable or missing signal
- Circuit problems between the sensor and the engine computer, such as cut or corroded wires
- An improperly performed crankshaft position relearn after a repair
- A damaged crankshaft, which is less common but harder to fix
- A faulty powertrain control module, which sources describe as rare
The computer is the least likely cause, so replace it only after the sensor, wiring and relearn have been ruled out.
Check the sensor wiring before you order parts. Look at the connector for oil or coolant, bent pins and a loose clip. These faults often show up only when the engine vibrates, so a wiggle test with the engine running can reveal them.
Mileage alone does not settle the question. An older sensor is more likely to drift, but a low-mileage car can still set this code after a wiring fault or an interrupted relearn. Test before you assume age is the cause.
Symptoms and whether it is safe to drive
The check engine light is usually the first warning. You may also feel rough idling, misfires or surging, and in some cars the engine may crank but not start.
Engine that cranks but will not start
A sensor signal that drops out can stop the engine from starting, sometimes only when hot. If the engine stalls, do not keep trying to restart it repeatedly, and have it towed if needed. If your scanner also lists P0316 Code, that guide covers it.
Most drivers can still move the car for a short trip, but continued driving with a timing fault can add engine damage. Book a repair visit soon rather than waiting for the symptoms to get worse. A basic code reader will show the code, but Best Budget OBD2 Apps for Affordable Car Diagnostics covers tools that read live data too.
How to check P0315 with a scanner
Start with the freeze frame data and the live engine speed reading. A scanner that can show crankshaft and camshaft signals makes the check much faster than guessing from the code alone.
- Read the code and record the freeze frame data, including engine speed and load when it set.
- Look for other codes in the crankshaft and camshaft family, since they can point to the same fault.
- Inspect the sensor connector and wiring for damage, pulled pins and corrosion.
- Check the signal on live data while cranking and idling, and watch for gaps or dropouts.
- Run the crankshaft relearn procedure from the service information if the parts check out.
Procedures and test values depend on the make, model and engine. Use the factory information for your vehicle before you clear the code.
Plan the diagnosis in order: scan data, wiring, sensor, then relearn. Each step narrows the fault. Skipping ahead to a crankshaft or computer job is how owners pay for repairs they did not need.
Compare the crankshaft signal with the camshaft signal on the same drive. A mismatch between the two points toward the sensor or wiring, while steady signals point toward the relearn. That check is what turns a p0315 code into a clear repair plan.
Repair cost and when to see a shop
The repair range for the p0315 code is wide. A connector or wiring fix can be small, while a crankshaft or computer job costs much more. Because the causes overlap, a professional test is often the cheaper route.
Diagnosis needs tools and experience to separate a sensor fault from a crankshaft or wiring fault. If you lack a scanner that shows live signals, book a shop check instead of replacing parts by guess. When P0313 Code appears in the same scan, check that guide before replacing parts.
Frequently Asked Questions
What does the p0315 code mean?
P0315 means the crankshaft position system variation has not been learned by the engine computer. The signal may be fine, but the computer has not accepted the learned value, so timing control can be affected.
Can I drive with the p0315 code?
Most drivers can move the car for a short trip, but do not keep driving for long periods. Stop if the engine stalls repeatedly or refuses to start, and have it checked.
Does a new crankshaft sensor fix the p0315 code?
Sometimes, but not always. A new sensor may still need a relearn, and wiring or crankshaft faults can keep the code set. Confirm the signal and relearn steps before you assume the sensor was the cause.
Can I clear the p0315 code myself?
You can clear it with an OBD-II scanner, but it will return if the fault or the missing relearn remains. Save the freeze frame data first, because a technician can use it to trace the cause.
Is the p0315 code the same as a crankshaft sensor circuit code?
Not exactly. P0315 is about the learned crankshaft variation, while sensor circuit codes point to the signal or wiring itself. Both can appear together, so read the full code list before you choose the repair order.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0351 Toyota RAV4: Diagnose the Ignition Coil Circuit
LearnP0213 Code: Diagnose Cold-Start Injector Problems and Restore Reliable Starting
LearnP0133 Ram 1500: Diagnose the Slow Oxygen Sensor Code
LearnP0606 Honda Civic: Diagnose the PCM Fault and Find the Right Fix
LearnExhaust Gas Temperature Sensor Symptoms: Quiet Signs to Check
LearnP0600 Chrysler: Diagnose Communication Faults Before Replacing Parts