P0315: Crankshaft position system variation not learned
DIY difficulty 2/5
Print shop one-pagerTake this page to the shop — causes, fair prices, and sharp questions on one sheet.
Diagnose soonMisfires can damage the catalytic converter. Drive gently to a shop; if the check-engine light is flashing, stop driving.
The engine computer needs to 'learn' the characteristics of a new crankshaft sensor, and that learn procedure was never done. It's a quick scan-tool procedure, not a broken part.
VW/Audi note (VCDS): Look for a crankshaft variation learn or CASE learn function in your scan tool's special functions menu; generic tools often have it under the engine module.
Model notes: This code commonly appears after DIY crank sensor replacement - the sensor job is only half done until the relearn is performed. Some vehicles also need it after a battery disconnect or ECM update.
Key facts
P0315 means crankshaft position system variation not learned. The engine computer needs to 'learn' the characteristics of a new crankshaft sensor, and that learn procedure was never done. It's a quick scan-tool procedure, not a broken part. WrenchFair's published fair-price range for this repair is $30–$120 parts and $80–$180 labor at independent shops.
WrenchFair rates P0315 a 2-of-5 DIY difficulty (“The fix is a procedure, not a part - but it requires a scan tool that can command the relearn.”) with a “Diagnose soon” driveability rating: Misfires can damage the catalytic converter. Drive gently to a shop; if the check-engine light is flashing, stop driving. These are this guide’s own published ratings.
For labor context, WrenchFair's methodology page cites two published numbers: about half of US independent shops charge $120–$159/hr (PartsTech survey of 752 shops, fall 2024), and the national average posted mechanical rate was $163/hr in June 2026 (NABR LaborRateHero). Multiply either band by a quote's labor hours to judge whether its labor line is in range.
Symptoms
check engine light
possible false misfire codes
no drivability symptoms in many cases
bucking or surging
dies out but restarts
won't restart after shut off
cranks but won't start
Likely causes
Crankshaft position sensor replaced without performing the relearn procedure (most common)
ECM replaced or reflashed without relearn
Timing component replacement disturbing the crank-cam relationship
Relearn procedure attempted but failed due to unmet enable criteria
Too many suspects? Answer 4–6 quick questions and this page's published cause list re-orders itself for your situation — plus the cheapest test to run next. Start the elimination wizard →
Before you buy the part — 4 checks
Work these checks before spending money — each one rules a cause in or out, cheapest first.
Bring the engine to full operating temperature and resolve any other codes first
Follow the relearn procedure: typically involves holding a specific RPM for several seconds while the tool commands the learn Tests: Crankshaft position sensor replaced without performing the relearn procedure (most common)
If the relearn fails, check that all enable criteria are met (coolant temp, no other codes, correct RPM) Tests: Relearn procedure attempted but failed due to unmet enable criteria
After a successful relearn, road test and confirm misfire detection behaves normally Tests: Crankshaft position sensor replaced without performing the relearn procedure (most common)
No scan tool yet? The Veepeak OBDCheck (~$32) reads and clears codes from your phone in about two minutes.
Typical price range
Parts$30 – $120
Labor$80 – $180
A crankshaft position variation relearn with a scan tool is the typical fix. National-average estimate for the most common repair for this code. Actual quotes vary by vehicle, region, and shop - get a local written estimate.
Dealer vs independent shop: these ranges reflect typical independent-shop prices. A dealer will usually quote higher — higher labor rates plus OEM-only parts — so a dealer quote at the top of (or a bit above) this range isn't automatically a rip-off. For a big dealer number, get a second quote from an independent shop before authorizing the work.
What will this cost to fix?A code doesn’t name the repair — run the code-first estimator to see the most likely fixes for P0315 ranked, each with a price range. They handed you a printout at the parts store? Decode it before you buy.
DIY difficulty
2 of 5 — The fix is a procedure, not a part - but it requires a scan tool that can command the relearn.
Who's behind this guide?WrenchFair is built by a fellow DIYer, not a repair shop. Code meanings follow the SAE J2012 standard; cause rankings come from real-world repair evidence (service bulletins, owner reports, NHTSA records); prices are typical US ranges, not quotes.Read the full methodology →