Code P0339 is a serious diagnostic trouble code that signals an intermittent problem with your crankshaft position sensor signal. This sensor is critical for engine operation—it tells your vehicle’s computer exactly where the crankshaft is positioned so it can time the ignition and fuel injection correctly. When this signal drops out intermittently, your engine can’t run smoothly and may stall, hesitate, or fail to start. This is a high-severity code that requires prompt diagnosis and repair.
What Does P0339 Mean?
P0339 stands for “Crankshaft Position Sensor/Switch ‘A’ Circuit Intermittent.” The “intermittent” part is key—it means the sensor is working sometimes but losing signal at other times, rather than failing completely. Your engine’s computer (ECU) monitors the crankshaft position sensor continuously. When it detects that the signal is cutting in and out unpredictably, it sets this code and illuminates the check engine light.
The crankshaft position sensor typically uses a magnetic pickup or Hall-effect sensor to detect the rotation of the crankshaft. As the crankshaft spins, the sensor sends a signal to the ECU, which uses this information to:
- Determine engine timing for spark plug firing
- Control fuel injection timing
- Monitor engine speed (RPM)
- Detect engine misfires
When this signal becomes intermittent, the ECU can’t reliably perform these critical functions, which is why the code is classified as high severity.
Common Symptoms
- Check Engine Light: The most obvious symptom—the light will be on or flashing
- Engine Stalling: Your engine may suddenly shut off while driving or idling
- Hard Starting: The engine cranks but struggles to start, or won’t start at all
- Rough Idle: The engine runs unevenly at a stoplight or in park
- Loss of Power: Reduced acceleration and overall engine performance
- Hesitation During Acceleration: The engine hesitates or stumbles when you step on the gas
- Intermittent Misfires: You may feel a jerking or bucking sensation while driving
- Limp Mode: Your vehicle may enter a reduced-power mode to protect the engine
- No Start Condition: In severe cases, the engine won’t start at all
The key word here is “intermittent”—symptoms may come and go. You might drive fine for a while, then suddenly experience stalling or rough running. This unpredictability can make diagnosis tricky.
Possible Causes
P0339 can result from several issues. Here are the most common causes, ranked from most to least likely:
1. Faulty Crankshaft Position Sensor (Most Common)
The sensor itself may be failing, causing it to send an intermittent signal. This is the most common cause of P0339. The sensor can degrade over time due to heat, vibration, and electrical stress. When it fails intermittently, it produces this exact code.
2. Damaged or Corroded Wiring/Connectors
The wiring harness connecting the crankshaft position sensor to the ECU can become damaged, corroded, or loose. Water intrusion, rodent damage, or poor connections can cause the signal to drop out intermittently. Check for:
- Corroded connector pins
- Loose connector terminals
- Damaged or frayed wiring
- Water in the connector
3. Weak or Failing Battery
A weak battery or poor battery connections can cause voltage fluctuations that affect the crankshaft position sensor’s ability to send a stable signal. If your battery is old or corroded, this could be the culprit.
4. Engine Oil Level Too High or Too Low
In some vehicles, the crankshaft position sensor is located near the crankshaft. If oil level is incorrect, it can affect sensor operation. Check your dipstick to ensure oil is at the proper level.
5. Timing Belt or Chain Issues
A worn or damaged timing belt/chain can cause the crankshaft to move erratically, producing an intermittent signal. This is less common but possible.
6. ECU or Wiring Harness Problems
In rare cases, the issue is not with the sensor itself but with the ECU’s input circuit or the main wiring harness. This is typically a last-resort diagnosis.
7. Sensor Gap Too Large
If the crankshaft position sensor is mounted too far from the crankshaft reluctor ring, the signal will be weak or intermittent. This can happen if the sensor has shifted or been installed incorrectly.
Diagnostic Steps
Diagnosing P0339 requires a systematic approach. Here’s how a professional technician would approach it:
Step 1: Scan the Vehicle
Connect a diagnostic scanner to retrieve the code and check for any additional codes that might provide clues. Note the freeze frame data (the conditions when the code was set). Is the vehicle at idle, highway speed, or during acceleration? This can help narrow down the cause.
Step 2: Visual Inspection
Inspect the crankshaft position sensor and its wiring harness:
- Look for obvious damage, corrosion, or water intrusion
- Check the connector for loose pins or corrosion
- Trace the wiring for cuts, abrasions, or pinches
- Ensure the sensor is properly mounted and not damaged
Step 3: Check Battery and Electrical System
Test the battery voltage with a multimeter. It should read 12.6V or higher when the engine is off. With the engine running, it should be 13.5-14.5V. Check battery terminals for corrosion and ensure they’re tight.
Step 4: Check Engine Oil Level
Use the dipstick to verify oil level is correct. Top off if needed. Low oil can cause sensor issues in some vehicles.
Step 5: Connector Inspection and Cleaning
Disconnect the crankshaft position sensor connector and inspect the pins. If corroded, use electrical contact cleaner and a small brush to clean them. Reconnect firmly and test-drive to see if the code returns.
Step 6: Voltage Testing
With the engine running, use an oscilloscope or multimeter to measure the voltage signal from the crankshaft position sensor. The signal should be stable and consistent. If it’s fluctuating or dropping out, the sensor is likely faulty.
Step 7: Sensor Replacement
If all electrical checks pass but the code persists, the crankshaft position sensor itself is likely failing. Replace it with a quality OEM or equivalent aftermarket sensor. This is the most common fix for P0339.
Step 8: Clear Code and Test
After repairs, clear the code and perform a test drive under various conditions (idle, acceleration, highway speed). If the code doesn’t return after 50-100 miles of driving, the repair was successful.
Repair Cost Estimates
The cost to repair P0339 varies depending on the cause and your vehicle:
- Crankshaft Position Sensor Replacement: $150–$400 (parts + labor). Most vehicles require 0.5–1.5 hours of labor. OEM sensors are more expensive but often more reliable.
- Wiring Repair or Connector Replacement: $100–$300. If the issue is simply a corroded connector, this is a quick and inexpensive fix.
- Battery Replacement: $100–$200. If a weak battery is the culprit, this is the cheapest fix.
- Timing Belt/Chain Inspection: $200–$500. If timing components need inspection or replacement, costs can be higher.
Average Total Cost: $200–$400 for most vehicles. The good news is that crankshaft position sensor replacement is usually straightforward and relatively affordable.
Can I Still Drive?
Severity: HIGH
P0339 is a serious code, and you should not ignore it. While you may be able to drive short distances, extended driving is risky:
- Safety Risk: Your engine can stall without warning, potentially leaving you stranded on a busy highway or in an unsafe location.
- Engine Damage: Continued driving with an intermittent crankshaft position signal can cause misfires and engine damage over time.
- Limp Mode: Your vehicle may enter limp mode, severely limiting power and making it difficult to accelerate or climb hills.
- No Start: The problem may worsen until your vehicle won’t start at all.
Recommendation: Have the vehicle diagnosed and repaired as soon as possible. If you must drive it, do so carefully and avoid highways. Keep a phone charged in case you need roadside assistance.
Frequently Asked Questions
Can a loose gas cap cause P0339?
No. A loose gas cap typically triggers P0440 (evaporative emission system leak). P0339 is specific to the crankshaft position sensor signal and is unrelated to the fuel cap.
Will P0339 go away on its own?
Unlikely. P0339 indicates a real problem that will persist and likely worsen over time. While the code might occasionally clear if the sensor temporarily works, it will return. You need to address the underlying cause.
How much does a crankshaft position sensor cost?
A crankshaft position sensor typically costs $50–$150 for the part alone, depending on your vehicle make and model. Labor to install it usually runs $100–$300, bringing the total repair cost to $150–$400.
Can I drive with P0339 if the engine runs fine?
Even if your engine seems to run fine at the moment, P0339 indicates an intermittent problem that can worsen suddenly. The sensor could fail completely while you’re driving, causing your engine to stall. It’s best to have it repaired promptly rather than risk being stranded.