OBD-II Generic Error Code P0339: How to Fix It
Medium 1-2 hours High Severity
Verified July 2026
- Error Code
- P0339
- Brand
- OBD-II Generic
- Product Type
- automotive
- Severity
- High
- DIY Difficulty
- Medium
- Estimated Fix Time
- 1-2 hours
Ad
Tools You'll Need
- OBD-II scanner
- Socket wrench set
- Multimeter
- Electrical contact cleaner
- Feeler gauge set
- Basic hand tools
How to Fix Error Code P0339
-
Turn off engine and ensure safety
Never work on a hot engine. Wait for it to cool completely to avoid burns. -
Connect OBD-II scanner and verify code
-
Locate the crankshaft position sensor
-
Inspect wiring and connections
-
Clean the sensor and connections
Disconnect the negative battery terminal before disconnecting any electrical connectors to prevent electrical damage. -
Test sensor resistance
-
Check sensor gap and alignment
-
Replace sensor if faulty
Do not overtighten the sensor mounting bolt as this can damage the sensor housing. -
Clear codes and test drive
Parts You May Need
Crankshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Engine oil
Check Price on Amazon
Crankshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Engine oil
Check Price on Amazon
Crankshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Engine oil
Check Price on Amazon
Crankshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Engine oil
Check Price on Amazon
Crankshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Engine oil
Check Price on Amazon
Crankshaft position sensor
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
Engine oil
Check Price on Amazon
Ad
When to Call a Professional
Call a professional mechanic if you're uncomfortable working with electrical components, if the sensor is located in a difficult-to-reach area requiring engine component removal, if multiple related codes are present indicating a more complex issue, or if the problem persists after sensor replacement.Frequently Asked Questions
What are the symptoms of a P0339 error code?
Common symptoms include engine stalling, rough idling, difficulty starting, reduced fuel economy, engine misfires, and intermittent loss of power. The check engine light will also be illuminated.
Can I drive with a P0339 code?
While you may be able to drive short distances, it's not recommended. The intermittent sensor signal can cause unpredictable engine behavior, including sudden stalling, which can be dangerous. Address the issue as soon as possible.
How much does it cost to fix a P0339 code?
If it's just the sensor, replacement typically costs $50-150 for the part plus 1-2 hours of labor. Total repair costs usually range from $150-400, depending on your vehicle and local labor rates.
What causes a crankshaft position sensor to fail intermittently?
Common causes include worn sensor windings that break down when heated, oil contamination on the sensor or connector, damaged wiring harness, loose connections, or debris interfering with the sensor's magnetic field.
How long do crankshaft position sensors typically last?
Crankshaft position sensors typically last 100,000-150,000 miles under normal conditions. However, exposure to heat, oil, and vibration can cause premature failure, especially in high-mileage vehicles.