P0335 code: Why your car stalls hot and starts after cooling

Trouble codes

In short

The P0335 code means the engine computer has detected a fault in the crankshaft position sensor circuit, which supplies information needed to control engine timing. A car that stalls when hot and starts again after cooling may have a heat-sensitive sensor or connection, but the code alone does not prove the sensor needs replacing. Arrange diagnosis soon; if your engine stalls or cuts out unpredictably, stop driving and arrange recovery.

  • P0335 identifies a crankshaft position sensor circuit fault.
  • Cooling down can temporarily hide an intermittent fault.
  • Wiring and signal checks should come before buying parts.

At a glance

Code
P0335
System
Sensors and valve timing
Meaning
Crankshaft Position Sensor A Circuit Malfunction
Can I keep driving?
See a shop soonCarefully and not far. Book a check in the next few days.

What does the P0335 code mean?

P0335 standard generic definition (SAE J2012): Crankshaft Position Sensor A Circuit Malfunction. In plain words, your engine computer cannot reliably read the crankshaft position signal it expects. The crankshaft turns as the engine runs, and the sensor reads a rotating reference pattern to help the computer track that movement. The letter A identifies the circuit in the code description; it is not an instruction to buy a particular replacement part without checking your vehicle's service information.

The crankshaft position sensor reports engine speed and position; without a valid signal most engines will not start or will stall. The computer uses this information to coordinate ignition and fuel injection. It can register P0335 when the expected signal is missing or does not meet its monitoring requirements while the engine is turning. The exact detection conditions vary by vehicle, so a shop should use model-specific diagnostic information rather than treating every P0335 as the same repair.

Why does it stall hot and restart after cooling?

A heat-sensitive crankshaft sensor or electrical connection can lose its signal when hot and work again after cooling. Intermittent crank sensor faults often show as stalling when hot and restarting after cooling down. Heat can expose an internal electrical weakness that is not apparent during a cold test. Georgian summer conditions and time spent in Tbilisi traffic can make a temperature-dependent problem easier to reproduce, but hot weather alone does not establish which component has failed.

Your symptoms may include sudden engine cut-out, a starter that turns the engine without it firing, or a tachometer that stays at zero during cranking. A dead tachometer can support suspicion of a missing engine-speed signal, but dashboard behaviour varies and is not proof by itself. Describe whether the engine stopped abruptly or ran roughly first, whether it restarted immediately, and whether cooling changed anything. If the starter does not turn the engine at all, tell the shop: that requires a broader starting-system check.

What usually causes P0335?

The practical order of investigation usually starts with the sensor and its wiring, then moves to contamination or damage around the rotating reference components. Common causes include a failing sensor (often heat related), damaged wiring, metal debris on a magnetic sensor tip, or a damaged reluctor (tone) ring. This is a starting order, not a universal ranking: vehicle design, previous repairs and the conditions when the fault appeared can change which cause deserves attention first.

A sensor may fail internally, while a loose terminal, corrosion or a harness damaged by heat and rubbing can interrupt an otherwise healthy signal. On a magnetic sensor, debris at the tip can interfere with its reading; a damaged reference ring can distort the pattern it reads. An imported used car's repair history may be incomplete, so mention earlier engine or gearbox work. If your car has an LPG/CNG conversion, disclose it so the technician can inspect any relevant wiring changes without assuming the conversion caused the fault.

  • First suspect: a sensor that loses its signal when hot.
  • Next checks: connector condition, terminal fit and harness damage.
  • Where applicable: debris on a magnetic sensor tip.
  • Further inspection: the reluctor ring, sensor mounting and alignment.

How urgent is P0335, and can you drive?

P0335 needs diagnosis soon, and active stalling makes continued driving unsafe. If your car currently runs normally and only has a stored code, contact a shop promptly to discuss whether a direct journey is appropriate. That is different from a car that has already cut out at junctions or repeatedly refuses to restart. A successful restart after cooling is not evidence that the fault has cleared, and it does not make another journey reliably safe.

If the engine stops in traffic, use your hazard lights and move out of the traffic stream only if you can do so safely. Steering or braking assistance may be reduced after the engine stops, depending on your vehicle. Do not try to reproduce the fault on a busy road or a mountain route where stopping safely may be difficult. For repeated stalling, arrange recovery rather than relying on cooling breaks. Record symptoms only when safely parked, never while driving.

How should a shop diagnose it step by step?

A shop should confirm when the crankshaft signal fails and test the circuit before replacing parts. Diagnosis starts by reading all stored and pending codes and saving available freeze-frame data before clearing anything. The technician should review battery and cranking condition, inspect the connector and harness, and check live engine-speed data during the no-start. If the failure happens only hot, a cold engine that starts normally is not enough to rule out the sensor or its circuit.

Next, the technician should follow the vehicle's test procedure for its sensor type, checking applicable supply, ground and signal circuits. An oscilloscope can show whether the crankshaft signal disappears or becomes distorted during the fault. Wiring may need controlled movement testing, and sensor mounting or the reference ring may need inspection. After repair, the shop should repeat the relevant hot-start conditions and check for returning codes. Ask which test result identified the failed part, rather than accepting the code description as the diagnosis.

  • Save codes and available fault-condition data before clearing.
  • Inspect wiring, connectors and relevant previous repair areas.
  • Compare live engine-speed data during normal starting and the fault.
  • Test the circuit and signal using vehicle-specific procedures.
  • Verify the repair under the conditions that originally caused the failure.

Which related codes and repair questions matter?

Related crankshaft, camshaft and timing-correlation codes can help the shop distinguish a signal problem from a wider timing issue. P0336 concerns crankshaft position sensor circuit range or performance; P0337 and P0338 concern low and high circuit input; P0339 identifies an intermittent circuit fault. P0340 concerns the camshaft position sensor circuit, while P0016 concerns crankshaft and camshaft position correlation. These codes do not automatically mean several sensors have failed. Their combination and the recorded symptoms should guide testing, not a list of replacement parts.

Before you approve parts, ask whether the fault was reproduced hot, what happened to the crankshaft signal, and whether the wiring and reference ring were checked. Ask what the estimate includes, how the proposed part was matched to your vehicle, and how the repair will be verified. With a shop using Junto, you can review suggested extra work through an SMS approval link and see each line with its price before work starts. Keep the diagnosis and repair record with your car's history.

Questions and answers

Will disconnecting the battery fix P0335?

Disconnecting the battery will not repair a failing sensor, damaged wire or reference ring. It may erase useful diagnostic information and can affect vehicle settings. Let the shop save fault data before any clearing or disconnection.

Can a cheap code reader prove the sensor is faulty?

A basic reader can identify P0335, but it cannot establish which part of the circuit caused it. Even a reader showing engine-speed data may miss a brief signal interruption. Diagnosis may require electrical testing and a recorded signal waveform.

Should you replace the camshaft sensor at the same time?

Not unless testing identifies a separate fault or the vehicle's repair procedure calls for additional work. The crankshaft and camshaft sensors provide related information, but they are not interchangeable. Ask for the evidence supporting each proposed replacement.

Does a replacement crankshaft sensor need programming?

That depends on your vehicle and the work performed. Some vehicles require a crankshaft variation relearn or another specified procedure after certain repairs. Ask the shop to check the manufacturer's instructions and include any required procedure in its repair plan.

Can passing periodic technical inspection rule out this fault?

No: an intermittent fault may not be active at the time of an inspection. A previous inspection result does not establish that your car is safe to drive after it starts stalling. Have the current symptoms assessed separately.

All pages: Trouble codes