P0339 Toyota: Diagnose and Fix an Intermittent Crankshaft Sensor Signal
18 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0339 toyota trouble code means the engine computer has detected an intermittent signal from the Crankshaft Position Sensor A circuit. The crankshaft position sensor helps the engine control module (ECM) determine crankshaft position and engine speed. When its signal disappears temporarily or becomes unreliable, the computer may struggle to maintain accurate fuel injection and ignition timing.
A failing crankshaft position sensor is one possible cause, but replacing it immediately is not always the right repair. Damaged wiring, loose electrical connectors, poor shielding, sensor installation problems, and a damaged crankshaft sensor plate can produce similar symptoms. The correct diagnosis depends on checking the sensor signal and electrical circuit.
Toyota applications differ by model year and engine. The 2AZ-FE service information provides useful examples of Toyota’s diagnostic strategy, but its resistance specifications and detection conditions should not automatically be applied to other engines. This guide explains what P0339 means, how to investigate it with an OBD2 scanner, and how to choose an appropriate repair.
What P0339 Means on a Toyota
P0339 is the generic SAE definition for Crankshaft Position Sensor A Circuit Intermittent. On a Toyota, the ECM has detected an interruption or irregularity in the crankshaft position signal rather than simply identifying a permanently failed sensor. The distinction matters because an intermittent electrical problem can disappear temporarily and return under particular operating conditions.
The crankshaft position sensor, commonly abbreviated CKP, monitors the rotation of the crankshaft. Its signal allows the ECM to calculate engine speed and determine crankshaft position. The computer uses this information to coordinate ignition timing and fuel injection. If the signal becomes unreliable, the engine may run poorly, stall, or fail to start.
How the Toyota crankshaft signal works
Toyota’s documented 2AZ-FE engine provides a useful example of the system. Its crankshaft position sensor works with a sensor plate containing 34 teeth. As the plate rotates, the teeth pass the magnetic pickup coil and produce electrical pulses. The ECM interprets these pulses to calculate crankshaft position and engine speed.
The sensor is therefore part of an electrical and mechanical system. Even if the sensor itself is functional, the ECM may receive an unreliable signal because of damaged wiring, a poor connection, incorrect sensor installation, or a problem with the rotating sensor plate. Toyota’s service documentation lists the CKP circuit, sensor, sensor plate, and ECM among the possible trouble areas.
What the intermittent designation means
An intermittent fault occurs when the signal disappears or becomes unacceptable temporarily. The engine might operate normally for several minutes before the problem returns. Heat, vibration, engine movement, and changes in electrical connections can influence an existing fault.
Toyota’s 2AZ-FE diagnostic documentation describes a particular P0339 detection condition involving a missing crankshaft signal lasting at least 0.05 seconds. That example requires engine speed of at least 1,000 rpm, the starter signal to be OFF, and at least 3 seconds to have passed after the starter signal changes from ON to OFF. These are engine-specific diagnostic conditions, not universal specifications for every Toyota.
| Code element | Meaning |
|---|---|
| P | Powertrain-related diagnostic code |
| 0 | Generic SAE diagnostic code |
| 3 | Ignition and engine-speed-related code grouping |
| 39 | Intermittent crankshaft position sensor A circuit signal |
The generic definition applies across compatible OBD2 vehicles, but the exact Toyota monitoring strategy depends on the engine and calibration. A Toyota-specific service procedure is necessary before applying resistance specifications, connector terminal numbers, or sensor installation instructions.
Symptoms of an Intermittent Crankshaft Sensor Problem
P0339 can produce anything from an illuminated check engine light to severe drivability problems. The symptoms depend on how frequently the crankshaft signal disappears and whether the ECM can continue calculating engine speed reliably.

A Toyota may run normally during one trip and experience a sudden stall during another. This inconsistent behavior is an important diagnostic clue. A sensor circuit that fails only when hot or when the engine moves under acceleration may pass a basic inspection performed with the vehicle stationary.
Common warning signs
- Intermittent stalling: The engine may shut off unexpectedly when the ECM loses a usable crankshaft position signal.
- Hard starting: The engine may crank normally but take longer to start because the ECM cannot reliably determine engine rotation.
- Failure to start: A more serious signal interruption can prevent the engine from starting.
- Sudden hesitation: The engine may briefly lose power during acceleration or while maintaining speed.
- Rough running: An unstable crankshaft signal can interfere with ignition and injection timing.
- Intermittent check engine light: The warning light may appear after the fault occurs and remain illuminated even after the engine temporarily returns to normal operation.
- Unusual tachometer behavior: Engine-speed information may become inconsistent if the signal is interrupted.
Symptoms versus possible causes
| Observed symptom | Possible explanation | Useful check |
|---|---|---|
| Stalls after warming up | Heat-sensitive sensor or wiring fault | Hot-condition signal monitoring |
| Intermittent no-start | Missing CKP signal or electrical interruption | Cranking engine-speed data |
| Hesitation during acceleration | Loose connector or damaged harness | Connector and wiring inspection |
| Erratic engine-speed reading | Weak or interrupted CKP signal | Live RPM and oscilloscope waveform |
| Code returns after sensor replacement | Unrepaired wiring, sensor plate, or installation issue | Circuit continuity and signal inspection |
These symptoms are not exclusive to P0339. Ignition coil problems, fuel delivery faults, charging problems, and other engine-management issues can produce similar complaints. The stored code should guide testing rather than serve as proof that a particular component has failed. If you work on more than one brand, keep P0339 Hyundai handy as well.
Common Causes of P0339 on Toyota Vehicles
The most important causes to investigate are the crankshaft position sensor, its electrical circuit, the sensor plate, and the ECM. Toyota service procedures identify these components as potential trouble areas, so a systematic inspection is more reliable than replacing parts based on the code alone.

1. Failing crankshaft position sensor
The CKP sensor is a logical starting point because it produces the signal monitored by the ECM. Internal coil damage, deterioration, or temperature-related electrical changes can make its output unreliable. A sensor may work correctly when cold but develop an interruption after the engine reaches operating temperature.
A resistance test can help identify certain sensor faults, but it cannot always reproduce an intermittent failure. A sensor may show acceptable resistance while sitting in the driveway and fail during normal operation. Signal testing under the conditions that trigger the fault is therefore important.
2. Damaged wiring or electrical connectors
The wiring between the crankshaft sensor and ECM can become damaged through heat exposure, vibration, rubbing, previous repairs, or contamination. A partially broken conductor may maintain electrical contact at rest but disconnect when the engine moves.
Connector problems deserve particular attention. Loose terminals, corrosion, damaged locking tabs, moisture, and poor electrical contact can interrupt the signal. A harness that appears intact from the outside may still contain an internal break.
3. Poor shielding or grounding
Crankshaft sensor circuits can be sensitive to electrical interference. Toyota’s 2AZ-FE documentation specifically warns that a grounding failure involving shielded wiring can introduce noise into the signal waveform. This is important because a scanner may report an intermittent signal even though the sensor itself is not defective.
Incorrect previous wiring repairs, damaged shielding, or a poor ground connection can therefore create a recurring fault. The circuit should be checked against the correct wiring diagram rather than assuming that any visible ground connection is suitable.
4. Damaged crankshaft sensor plate
The sensor plate provides the physical reference that the CKP sensor reads. Cracks, deformation, damaged teeth, or other mechanical problems can produce an inconsistent signal. Incorrect sensor positioning can also affect the quality of the signal.
Toyota’s documented 2AZ-FE inspection procedure includes checking the sensor installation and examining the sensor plate for cracks or deformation. The exact inspection access and component arrangement vary between Toyota engines.
5. Engine control module problems
An ECM fault is possible, but it should generally be considered after the sensor, wiring, connectors, shielding, installation, and sensor plate have been evaluated. Replacing an ECM without verifying its power supplies, grounds, and signal inputs can result in unnecessary expense.
If the sensor produces a correct waveform and the wiring passes the appropriate electrical tests, a technician can investigate whether the ECM is correctly receiving and interpreting the signal. Model-specific diagnostic procedures are essential before condemning the computer.
How to Diagnose P0339 with an OBD2 Scanner
A useful diagnosis begins with the stored code and the operating conditions surrounding its appearance. An OBD2 scanner can reveal engine-speed behavior, related trouble codes, and freeze-frame information. More advanced testing may require a Toyota-capable diagnostic tool, a digital multimeter, and an oscilloscope.
Step 1: Read stored, pending, and permanent codes
Connect the scanner to the 16-pin diagnostic connector, usually located beneath the dashboard on the driver’s side. Switch the ignition on and perform a complete powertrain scan before clearing anything.
Record P0339 and any accompanying codes. Look for P0335, which identifies a crankshaft position sensor A circuit problem, as well as camshaft sensor, ignition, and voltage-related codes. Multiple codes may reveal a broader electrical problem rather than an isolated sensor failure.
Understand the code status. A pending code indicates that the computer has observed a fault but has not yet confirmed it. A stored or confirmed code represents a recognized malfunction. A permanent code cannot normally be erased simply by disconnecting the battery or clearing ordinary diagnostic codes; the relevant monitor must pass after the fault is repaired.
Step 2: Examine freeze-frame information
Freeze-frame data records operating information associated with a detected fault. Depending on the Toyota model and scanner, useful information may include engine RPM, coolant temperature, vehicle speed, calculated load, and fuel-system status.
Pay attention to whether the engine was cold or warm, whether the vehicle was moving, and whether the fault appeared during acceleration or steady-speed driving. If the vehicle consistently stalls after warming up, prioritize testing under hot conditions rather than relying only on a cold inspection.
Write down the information before clearing codes. Without it, an intermittent fault can become more difficult to reproduce and diagnose. Toyota’s Camry 2AZ-FE diagnostic procedure specifically recommends using freeze-frame information to establish the engine conditions when a fault is detected.
Step 3: Monitor live engine RPM
Select the engine-speed parameter in the scanner’s live-data menu. Observe the RPM reading while the engine is cranking and, if it starts, while it idles. Compare the readings with actual engine behavior and the manufacturer’s specifications.
A zero RPM reading while the engine is physically turning is a significant clue. Toyota’s Sienna service procedure specifically explains that missing crankshaft sensor signals can result in zero displayed engine speed. An insufficient sensor output can also cause the displayed RPM to be lower than actual engine speed.
An intermittent signal may produce a brief drop or irregular change in the RPM data. Graphing the parameter can make these events easier to identify than watching a rapidly changing numerical display.
Step 4: Inspect the sensor and wiring
With the engine switched off and the appropriate safety precautions followed, inspect accessible sensor wiring and connectors. Look for damaged insulation, stretched wires, corrosion, loose connections, broken locking tabs, and signs of contact with hot or moving engine components.
Check whether the harness has been disturbed by previous repairs. Pay attention to shielding and grounding because electrical interference can distort the CKP waveform. Do not assume that a clean-looking connector has good electrical contact.
Step 5: Test sensor resistance and circuit continuity
A digital multimeter can be used to check sensor resistance when the manufacturer specifies a resistance test for that particular sensor. The sensor must be disconnected as directed by the applicable service procedure. Compare the measurement with the correct cold or hot specification.
For example, Toyota’s documented 2AZ-FE procedure specifies 985 to 1,600 ohms when cold and 1,265 to 1,890 ohms when hot. These figures apply to that documented application and must not be treated as universal Toyota CKP sensor specifications.
The wiring should also be tested for continuity and unwanted shorts using the correct connector pinout. In the documented Camry 2AZ-FE procedure, the specified signal-wire continuity is 1 ohm or less, while the specified short-to-ground checks require at least 1 megaohm. Other engines may have different circuit designs and testing requirements.
Step 6: Inspect the waveform with an oscilloscope
An oscilloscope provides a more detailed view of the crankshaft sensor output than a basic OBD2 scanner. It can help identify missing pulses, distorted signals, electrical noise, and interruptions that occur too quickly for ordinary live-data monitoring.
Toyota’s documented 2AZ-FE waveform procedure uses a setting of 5 volts per division and 20 milliseconds per division under cranking or idling conditions. These settings are an example from that engine’s service information, not a universal setting for every Toyota sensor system.
A technician can compare the waveform with the correct reference pattern and investigate whether the fault originates at the sensor, in the harness, or in the mechanical signal plate. Testing while the engine is hot may be necessary if the fault occurs only after warming up.
Tip: Do not replace the crankshaft position sensor just because P0339 is stored. Record freeze-frame data, monitor live RPM, and check the wiring before deciding which component has failed. Disconnecting electrical components or testing ECM circuits incorrectly can create additional faults. Follow the exact Toyota wiring diagram and service procedure for the vehicle’s engine. The same code can behave differently on other vehicles, so it helps to compare it with P0339 Jeep.
Repair Options for a Toyota P0339 Code
The correct repair depends on the failed component identified during diagnosis. A sensor replacement may solve the problem, but wiring repairs, connector replacement, sensor installation corrections, or mechanical repairs may be necessary instead.
Replace a defective crankshaft position sensor
If testing confirms that the CKP sensor is defective, replacing it with a component that meets the vehicle’s specifications is an appropriate repair. The replacement must match the engine application and electrical characteristics.
Sensor access and installation procedures vary considerably among Toyota models. Some installations involve relatively straightforward access, while others require additional component removal. Correct positioning, mounting, connector engagement, and routing of the wiring are important.
A new sensor will not correct an intermittent signal caused by a damaged harness or defective sensor plate. Confirm that the original problem was actually inside the sensor before completing the repair.
Repair damaged wiring or connectors
A damaged conductor may require a proper harness repair or replacement. Corroded terminals, broken connector locks, and poor electrical contacts may require connector-related repairs. The shielding and grounding arrangements must be maintained according to Toyota’s wiring specifications.
Improvised connections can introduce resistance or electrical interference. A repair should restore the original circuit characteristics and provide suitable protection against heat, vibration, and moisture.
Correct sensor installation or repair the sensor plate
If the sensor is incorrectly positioned, it must be installed according to the manufacturer’s specifications. If the sensor plate has cracks or deformation, the mechanical fault needs to be corrected. Simply installing another sensor will not resolve a damaged rotating target.
Sensor plate repairs can involve substantially more labor than replacing an accessible sensor. The exact procedure depends on the engine design and the location of the affected component. This work is generally better handled by a technician with the correct Toyota service information and equipment.
Investigate the ECM only after other checks
An ECM replacement should be considered only after the CKP sensor, electrical connections, wiring, power supplies, grounds, and mechanical signal components have been properly checked. A computer that cannot interpret an otherwise correct signal may have an internal problem, but this should be established through testing.
Depending on the Toyota application, replacement may involve programming, configuration, or other initialization procedures. The repair estimate should account for these requirements rather than treating the ECM as a simple plug-in component.
Verify the repair
After completing the repair, reconnect all components and perform the manufacturer’s verification procedure. Clear ordinary stored codes only after recording the original diagnostic information. Start the engine and monitor RPM for abnormal drops or interruptions.
Check for returning pending and confirmed codes. If the original fault appeared only after the engine warmed up, the verification process should include the relevant operating conditions. A short cold idle test is not sufficient to prove that a temperature-sensitive intermittent fault has been repaired.
Permanent diagnostic codes may remain visible until the vehicle completes the required self-monitoring process successfully. Their presence immediately after a repair does not necessarily mean the repair has failed. Confirm that the underlying fault is no longer detected and that the appropriate monitor has passed.
Is It Safe to Drive and What Affects Repair Cost?
P0339 should be treated as a potentially serious engine-management problem because an unreliable crankshaft signal can cause sudden stalling or a no-start condition. The level of risk depends on the symptoms, the frequency of signal loss, and whether the engine continues operating reliably.
Can you drive with P0339?
A Toyota that has a stored P0339 code but currently runs normally may appear driveable. However, the absence of symptoms does not prove that the fault is harmless. An intermittent signal can disappear without warning, potentially causing the engine to stall in traffic or during acceleration.
If the engine stalls, repeatedly hesitates, has difficulty restarting, or displays unstable engine-speed behavior, avoid normal driving and arrange professional diagnosis. A vehicle that stalls unexpectedly can become difficult to control, especially in busy traffic. Roadside assistance or towing is the safer option when the problem is recurring.
If the check engine light flashes, reduce engine load and stop driving as soon as it is safe to do so. A flashing light commonly indicates an active misfire that can damage the catalytic converter. Have the vehicle inspected promptly.
Even when the light is steady, an unresolved crankshaft sensor fault deserves prompt attention. Do not rely on repeatedly restarting the engine or clearing the code as a substitute for repair.
What determines the repair cost?
There is no single repair price that applies to every Toyota P0339 diagnosis. The total depends on the defective component, labor time, engine layout, access requirements, diagnostic complexity, and whether additional repairs are needed.
- Sensor replacement: The cost depends on the correct replacement part, installation access, and the labor required for that particular engine.
- Wiring repair: The extent of harness damage, connector condition, and need to restore shielding affect labor and materials.
- Sensor plate repair: Mechanical access and component removal can increase labor significantly compared with an accessible sensor replacement.
- ECM diagnosis or replacement: Advanced electrical testing, module compatibility, programming, and initialization can increase the total repair expense.
- Diagnostic labor: Intermittent faults may require additional testing under hot conditions, during vibration, or while monitoring live waveforms.
DIY repair may reduce labor expense when the sensor is accessible and the owner has the appropriate tools and model-specific instructions. However, circuit diagnosis requires accurate wiring information and electrical testing skills. A professional repair shop may be the better choice when the fault is difficult to reproduce or involves the ECM, sensor plate, or shielded wiring.
Before authorizing repairs, ask the technician which test identified the failed component. A useful estimate should distinguish diagnostic labor, replacement parts, installation work, and post-repair verification. This helps prevent paying for a sensor replacement when the actual problem is an electrical connection or mechanical component. A second fault on the same model is covered in Toyota Camshaft Actuator A Replacement.
Frequently Asked Questions
1. Does P0339 always turn on the Toyota check engine light?
Not necessarily. Toyota’s documented 2TR-FE diagnostic trouble code chart lists P0339 as stored in memory without the malfunction indicator lamp being activated for that particular entry. Warning-light behavior and monitoring strategy can differ between engine applications, so check the vehicle-specific service information.
2. What is the difference between P0335 and P0339?
P0335 identifies a crankshaft position sensor A circuit malfunction, while P0339 identifies an intermittent circuit signal. Toyota diagnostic information distinguishes conditions involving an absent signal during cranking or normal engine operation from a signal interruption detected under specific running conditions.
3. Can a Toyota have P0339 without P0335?
Yes. P0339 can be stored independently when the ECM detects the intermittent signal condition associated with that code. A separate P0335 is not required for an intermittent crankshaft signal problem to be identified.
4. Will disconnecting the battery permanently clear P0339?
No. Disconnecting the battery is not a reliable repair or permanent clearing method. Pending, stored, and permanent diagnostic codes have different clearing behavior. A permanent code requires the relevant onboard monitor to pass after the underlying fault has been corrected.
5. Can P0339 affect emissions testing?
Yes. Depending on the vehicle’s monitoring strategy and inspection program, an unresolved powertrain fault, an illuminated malfunction indicator lamp, or incomplete readiness monitors can affect an emissions inspection. Repair the underlying fault and allow the required monitors to complete before an inspection.
P0339 on a Toyota indicates an intermittent crankshaft position sensor A circuit signal, but the sensor is not automatically the failed component. Check freeze-frame information, live engine RPM, wiring, connectors, sensor resistance, and the mechanical signal plate before choosing a repair. Confirm that the fault no longer returns under the operating conditions that originally triggered it.
-
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
LearnP0353 Toyota Code: Ignition Coil C Circuit Causes and Fixes
LearnP0328 Toyota: Knock Sensor Bank 1 Code Causes and Fixes
LearnP0352 Toyota Code: Ignition Coil B Circuit Causes and Fixes
LearnP0301 Toyota Code: Cylinder 1 Misfire Meaning, Causes and Fixes
LearnP0339 Code: Crankshaft Position Sensor A Circuit Intermittent
LearnP0325 Chrysler: Diagnose Knock Sensor Circuit Problems