P0339 Code: Meaning, Symptoms, Causes & Fixes

An engine that stalls when hot and restarts after it cools down is a classic sign of a failing position sensor. A P0339 code means the engine computer saw the crankshaft position sensor A signal drop out for short moments.

This guide explains why these faults come and go, what usually causes them and how to catch them.

P0339 Code Breakdown

Every OBD-II code follows the same five-character pattern set by the SAE J2012 standard. Each character narrows down which system has the fault. This table shows what each part of the code tells you.

CharacterMeaningWhat It Tells You
PPowertrainThe fault is in the engine or transmission systems.
0Generic (SAE) codeThe definition is the same on every OBD-II vehicle.
3Ignition system or misfireThe fault involves the ignition system, misfire detection or engine position sensors.
39Specific faultCrankshaft Position Sensor A Circuit Intermittent

What the P0339 Code Means

The SAE J2012 standard defines the P0339 code as Crankshaft Position Sensor A Circuit Intermittent. The crankshaft position (CKP) sensor reads a toothed reluctor ring on the crankshaft, flywheel or harmonic balancer. Most engines have one, called sensor A. Sensor B is a second crank sensor used on some engines, or the sensor some makers use for a second signal.

Most modern sensors are Hall effect types with three wires: a reference voltage, a ground and a signal that switches between about 0 and 5 volts as each tooth passes. Older or some current designs use a two-wire magnetic sensor that makes its own AC voltage, which rises with engine speed.

The powertrain control module (PCM) uses the crank signal for engine speed, ignition timing, injector timing and misfire detection. Most engines will not start without it, and losing it while driving usually stalls the engine.

Intermittent means the crankshaft position sensor A signal dropped out or jumped for short moments, faster than the real condition could change. The fault may last only a fraction of a second, so the circuit often tests fine when parked.

Symptoms of a Bad Crank Sensor A

Position sensor faults often affect starting and running. Common signs of a P0339 code include:

  • Engine cranks but will not start
  • Stalling, especially when hot
  • Tachometer not moving while cranking
  • Misfires or rough running
  • Check engine light on

A tachometer that sits at zero while you crank is a quick clue. On many vehicles, the tach reads the crank signal, so no needle movement during cranking points to the crank sensor circuit.

What Causes the P0339 Code?

Anything that breaks the circuit for an instant can set this code:

  1. Loose connector. A connector that is not fully locked loses contact with engine movement.
  2. Spread or corroded terminals. Weak pins lose grip as they heat up.
  3. Chafed wiring. Insulation wears through where wires rub on brackets.
  4. Broken wire inside the insulation. The copper separates only when flexed.
  5. Failing crankshaft position sensor A. Internal faults can come and go with heat.
  6. Moisture in the connector. A worn seal lets water in during rain or washing.

Tools You Will Need

You can do most of this testing at home with basic tools:

  • OBD-II scan tool with live data
  • Digital multimeter
  • Lab scope or graphing scan tool
  • Wiring diagram for your engine
  • Clean shop towel for wiping the sensor tip

Step-By-Step Diagnosis of the P0339 Code

Check for other codes first. Crank and cam codes together can point to a shared reference voltage, a timing problem or a wiring fault.

Check Live Data

Watch engine speed in live data while cranking. A reading of 0 rpm while the engine is clearly turning points to the crank sensor circuit.

Graph the Signal and Wiggle the Wiring

Graph the crankshaft position sensor A signal with the engine running. Gently wiggle the connector, then the wiring one section at a time. A sudden spike or drop marks the bad spot. Tap the sensor body lightly too.

Inspect the Connector

Turn the engine off and unplug the connector. Look for corrosion, spread pins, a broken lock and water inside. Check the engine ground straps if several sensors glitch at the same time.

Inspect the Sensor Tip

Remove the sensor and look at the tip for metal debris, oil and cracks. Check the O-ring. Wipe the tip clean and make sure the sensor seats fully, since a sensor that sits too far out can give a weak signal.

Repairs That Fix the P0339 Code

Match the repair to what your tests found. Then clear the code and drive under the same conditions that set it.

  • Repair the connector or wiring and route it away from hot exhaust parts.
  • Replace the crankshaft position sensor A if it fails tests or glitches when hot. Use a quality part, since cheap sensors often fail early.
  • Clean metal debris from the sensor tip and check where it comes from.
  • Repair a damaged reluctor ring, which may mean replacing the balancer, flywheel or crankshaft part that carries it.
  • Repair timing chain or belt problems if crank and cam timing do not line up.

Some vehicles need a crankshaft position variation relearn after a crank sensor or related part is replaced, so misfire detection works correctly. GM and some other makers list this procedure in the service manual.

Common Mistakes to Avoid

These mistakes waste money or leave the real fault in place:

  • Replacing parts when the circuit tests fine at rest
  • Not graphing the signal while wiggling the wiring
  • Buying the cheapest sensor, which often fails quickly
  • Ignoring a stretched timing chain when crank and cam codes appear together

Repair Cost Breakdown

The cost to fix a P0339 code depends on the cause. This table shows typical ranges for parts and labor.

RepairDIY CostTypical Shop Cost
Connector or wiring repair$10 to $40$100 to $300
Crankshaft position sensor A$20 to $120$120 to $400
Timing chain or belt repair$200 to $800$800 to $2,500
Reluctor ring or balancer repair$50 to $300$300 to $1,000

Most CKP sensor repairs are affordable, since the sensor costs little and is often easy to reach. Some engines hide it behind the starter, under the intake or near the transmission bell housing, which raises the labor.

Is It Safe to Keep Driving with a P0339 Code?

It is risky. A failing crank sensor can stall the engine without warning, which can leave you stuck in traffic or on a highway shoulder.

If the engine starts and runs, drive only as far as needed to reach a repair. If it stalls when hot, avoid driving until it is fixed.

Related Codes

These codes often show up with this one or point to the same system:

CodeMeaning
P0335Crankshaft Position Sensor A Circuit Malfunction
P0336Crankshaft Position Sensor A Circuit Range/Performance
P0337Crankshaft Position Sensor A Circuit Low Input
P0338Crankshaft Position Sensor A Circuit High Input
P0340Camshaft Position Sensor Circuit Malfunction
P0016Crankshaft/Camshaft Position Correlation, Bank 1 Sensor A

Getting a Clean Signal from Crank Sensor A

A P0339 code means the crankshaft position sensor A signal drops out for short moments. Heat-sensitive sensors and loose connectors cause most cases.

  • Check engine speed while cranking.
  • Inspect the connector and wiring.
  • Test reference, ground and signal.
  • Inspect the sensor tip for debris.
  • Check timing if crank and cam codes appear together.

Frequently Asked Questions

Why Does the Engine Stall When Hot with the P0339 Code?

Position sensors often fail with heat. As the engine warms up, a cracked internal circuit opens and the signal drops out, which stalls the engine. After it cools, the sensor works again. Replacing the sensor usually cures it.

Where Is the Crankshaft Position Sensor A?

It is usually on the front of the engine near the harmonic balancer, on the side of the block or near the transmission bell housing, reading the flywheel. Your service manual shows the exact location for your engine.

Can I Test the Sensor with a Multimeter?

A three-wire Hall effect sensor can be checked for reference voltage, ground and a switching signal with a multimeter, though a scope shows the pattern better. A two-wire magnetic sensor can be checked for resistance and AC voltage while cranking.

Can a Bad Crank Sensor Cause Misfire Codes?

Yes. The PCM detects misfires by watching crankshaft speed through this sensor. A weak signal, a damaged reluctor or electrical noise can look like a misfire, so misfire codes sometimes appear alongside crank sensor codes. Fix the sensor fault first.

Should I Buy an OEM Sensor?

For position sensors, many technicians prefer factory or top-quality parts. Cheap sensors can have the wrong air gap or weak output and may fail within weeks. Since the engine depends on this signal, it is worth paying a little more.